/* ========================================
   GENRES — Integration & Career Hub
   Modern Professional Theme
   ======================================== */

/* --- CSS Variables --- */
:root {
    --color-bg: #ffffff;
    --color-bg-dark: #ffffff;
    --color-bg-card: #ffffff;
    --color-bg-card-hover: #f7faff;
    --color-surface: #ffffff;
    --color-border: rgba(15, 23, 42, 0.09);
    --color-border-light: rgba(15, 23, 42, 0.09);

    --color-primary: #1456ff;
    --color-primary-light: #2c74ff;
    --color-accent: #27b7e8;
    --color-accent-2: #6ad5ff;
    --color-gradient: linear-gradient(135deg, #1456ff 0%, #27b7e8 100%);
    --color-gradient-text: linear-gradient(135deg, #1456ff 0%, #4cbfff 100%);

    --color-text-dark: #0f172a;
    --color-text-light: #0f172a;
    --color-text-muted: #64748b;
    --color-text-muted-dark: #64748b;

    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Manrope', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 100px;

    --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 18px 38px rgba(20, 86, 255, 0.18);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide Google Translate toolbar */
body { top: 0 !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
.skiptranslate { display: none !important; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.has-depth-motion .hero,
body.has-depth-motion .section,
body.has-depth-motion .marquee-section,
body.has-depth-motion .footer {
    perspective: 920px;
    perspective-origin: 50% 38%;
    transform-style: preserve-3d;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button,
input,
select,
textarea {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(20, 86, 255, 0.12);
}

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

/* --- Section --- */
.section {
    padding: 136px 0;
    position: relative;
}

.section-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 92px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 20px;
    padding: 8px 18px;
    background: rgba(20, 86, 255, 0.08);
    border-radius: var(--radius-full);
}

.section-dark .section-tag {
    background: rgba(20, 86, 255, 0.08);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 4.4vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.section-desc {
    font-size: 1.02rem;
    color: var(--color-text-muted);
    line-height: 1.85;
}

.section-dark .section-desc {
    color: var(--color-text-muted-dark);
}

.text-gradient {
    background: var(--color-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-text {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    letter-spacing: 0.3em;
    margin-bottom: 24px;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-progress {
    height: 100%;
    width: 0;
    background: var(--color-gradient);
    border-radius: 10px;
    animation: preloaderFill 1.5s ease-out forwards;
}

@keyframes preloaderFill {
    to { width: 100%; }
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    display: block;
    width: 100%;
    height: auto;
}

.logo--nav,
.logo--footer {
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.logo--nav {
    width: 156px;
    padding: 8px 12px;
}

.logo--footer {
    width: 188px;
    padding: 10px 14px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 12px 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.7);
    transition: var(--transition);
    position: relative;
    letter-spacing: -0.01em;
}

.nav-links a:hover {
    color: var(--color-text-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gradient);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-gradient);
    padding: 10px 20px !important;
    border-radius: var(--radius-full) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn svg,
.service-link svg {
    flex-shrink: 0;
}

.btn-primary {
    background: var(--color-gradient);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(20, 86, 255, 0.22);
}

.btn-primary:hover {
    box-shadow: 0 16px 34px rgba(20, 86, 255, 0.28);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-text-dark);
    border: 1.5px solid var(--color-border-light);
}

.btn-outline:hover {
    background: #f7faff;
    border-color: rgba(20, 86, 255, 0.18);
}

.btn-outline:focus-visible,
.btn-primary:focus-visible,
.filter-btn:focus-visible,
.lang-btn:focus-visible {
    box-shadow: 0 0 0 4px rgba(20, 86, 255, 0.12);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15), transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 206, 201, 0.1), transparent 70%);
    pointer-events: none;
}

.hero > .container {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--color-border);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 6vw, 5.6rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: var(--color-text-dark);
    margin-bottom: 28px;
}

.hero-title-top,
.hero-title-bottom {
    display: block;
}

.hero-title-top {
    white-space: nowrap;
}

.hero-title-bottom {
    margin-top: 18px;
    max-width: 560px;
    font-size: clamp(1.1rem, 1.8vw, 1.55rem);
    font-weight: 600;
    line-height: 1.34;
    letter-spacing: -0.02em;
    white-space: normal;
}

.hero-subtitle {
    font-size: 1.06rem;
    line-height: 1.88;
    color: var(--color-text-muted);
    max-width: 620px;
    margin-bottom: 34px;
}

#gioi-thieu .section-header,
#he-sinh-thai .section-header {
    max-width: 980px;
}

#gioi-thieu .section-title,
#he-sinh-thai .section-title {
    white-space: nowrap;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 44px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 620px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.hero-stats .stat {
    padding: 24px 26px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-top: 8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: auto;
    background: rgba(15, 23, 42, 0.08);
}

/* Hero Visual / Dashboard Card */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 620px;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 58px 24px 78px 44px;
    border-radius: 38px;
    background: linear-gradient(180deg, rgba(20, 86, 255, 0.07), rgba(39, 183, 232, 0.02));
    border: 1px solid rgba(20, 86, 255, 0.08);
}

.hero-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-card-main {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    width: 100%;
    max-width: 520px;
    box-shadow: 0 42px 80px rgba(15, 23, 42, 0.14);
    transform: rotate(-5deg);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
}

.card-dots {
    display: flex;
    gap: 6px;
}

.card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.card-dots span:nth-child(1) { background: #ff5f57; }
.card-dots span:nth-child(2) { background: #febc2e; }
.card-dots span:nth-child(3) { background: #28c840; }

.card-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.card-body {
    padding: 26px 24px;
}

.card-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.profile-avatar {
    width: 48px;
    height: 48px;
    background: rgba(108, 92, 231, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
}

.profile-info {
    flex: 1;
}

.profile-name {
    display: block;
    font-weight: 600;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.profile-role {
    font-size: 0.8rem;
    color: var(--color-text-muted-dark);
}

.profile-status {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(0, 206, 201, 0.15);
    color: var(--color-accent);
    border-radius: var(--radius-full);
    font-weight: 500;
}

.card-progress {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.progress-item {
    display: grid;
    grid-template-columns: 110px 1fr 40px;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--color-text-muted-dark);
}

.progress-bar {
    height: 6px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-gradient);
    border-radius: 10px;
    transition: width 1.5s ease-out;
}

.progress-item span:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--color-text-light);
}

/* Floating Cards */
.hero-card-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
    animation: floatCard 6s ease-in-out infinite;
    z-index: 2;
}

.hero-card-float-1 {
    top: 7%;
    left: -8px;
    animation-delay: 0s;
}

.hero-card-float-2 {
    bottom: 8%;
    right: -4px;
    animation-delay: -3s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 206, 201, 0.15);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.float-icon.accent {
    background: rgba(108, 92, 231, 0.15);
    color: var(--color-primary-light);
}

.float-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.float-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-indicator {
    width: 20px;
    height: 32px;
    border: 1.5px solid rgba(15, 23, 42, 0.18);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--color-primary-light);
    border-radius: 4px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Marquee --- */
.marquee-section {
    background: #ffffff;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    min-width: max-content;
    align-items: center;
    gap: 40px;
    animation: marqueeFlow var(--marquee-duration, 26s) linear infinite;
    will-change: transform;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.marquee-dot {
    font-size: 0.6rem !important;
    color: var(--color-primary) !important;
}

@keyframes marqueeFlow {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(calc(-1 * var(--marquee-distance, 50%)), 0, 0); }
}

.marquee-section:hover .marquee-track {
    animation-play-state: paused;
}

.depth-motion {
    will-change: translate, rotate, scale;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition:
    translate 170ms cubic-bezier(0.19, 1, 0.22, 1),
    rotate 190ms cubic-bezier(0.19, 1, 0.22, 1),
    scale 170ms cubic-bezier(0.19, 1, 0.22, 1),
    filter 170ms cubic-bezier(0.19, 1, 0.22, 1);
}

body.has-depth-motion .section-header.depth-motion {
    transform-origin: center bottom;
}

body.has-depth-motion .hero-card.depth-motion,
body.has-depth-motion .service-card.depth-motion,
body.has-depth-motion .concept-card.depth-motion,
body.has-depth-motion .product-card.depth-motion,
body.has-depth-motion .project-card.depth-motion,
body.has-depth-motion .news-card.depth-motion {
    transform-origin: center center;
}

body.has-depth-motion .marquee-section.depth-motion,
body.has-depth-motion .cta-wrapper.depth-motion,
body.has-depth-motion .about-visual.depth-motion,
body.has-depth-motion .footer-brand.depth-motion,
body.has-depth-motion .footer-links.depth-motion,
body.has-depth-motion .contact-item.depth-motion {
    transform-origin: center center;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-lead {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-text-dark);
}

.about-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.about-feature:hover {
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
    border-color: rgba(20, 86, 255, 0.16);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(20, 86, 255, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.about-feature h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

/* About Visual */
.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-pattern {
    position: absolute;
    inset: -20px;
    background-image:
        radial-gradient(circle, rgba(108, 92, 231, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    border-radius: var(--radius-xl);
    z-index: 0;
}

.about-card {
    position: relative;
    z-index: 1;
    background: #f8fbff;
    border-radius: var(--radius-xl);
    padding: 4px;
    box-shadow: var(--shadow-lg);
}

.about-card-inner {
    background: var(--color-bg-card);
    border-radius: calc(var(--radius-xl) - 4px);
    padding: 48px 40px;
    border: 1px solid var(--color-border);
}

.about-stat-big {
    text-align: center;
    margin-bottom: 40px;
}

.big-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    background: var(--color-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.big-label {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.about-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.mini-stat span {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.mini-stat small {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 38px 30px;
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-gradient);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--color-bg-card-hover);
    transform: translateY(-6px);
    border-color: rgba(20, 86, 255, 0.16);
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.scroll-target-highlight,
.concept-card.scroll-target-highlight,
section.scroll-target-highlight {
    animation: targetPulse 1.4s ease;
}

.service-card.scroll-target-highlight,
.concept-card.scroll-target-highlight {
    border-color: rgba(0, 206, 201, 0.8);
    box-shadow: 0 0 0 1px rgba(39, 183, 232, 0.32), 0 0 0 16px rgba(39, 183, 232, 0.08), 0 20px 50px rgba(15, 23, 42, 0.12);
}

section.scroll-target-highlight {
    box-shadow: inset 0 0 0 1px rgba(0, 206, 201, 0.18);
}

@keyframes targetPulse {
    0% {
        transform: translateY(0);
        filter: saturate(1);
    }
    35% {
        transform: translateY(-4px);
        filter: saturate(1.15);
    }
    100% {
        transform: translateY(0);
        filter: saturate(1);
    }
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(20, 86, 255, 0.08), rgba(39, 183, 232, 0.06));
    border-color: rgba(20, 86, 255, 0.2);
}

.service-card.featured::before {
    opacity: 1;
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    background: var(--color-gradient);
    color: #ffffff;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.18);
    margin-bottom: 20px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(20, 86, 255, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.72;
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-primary-light);
    transition: var(--transition);
}

.service-link:hover {
    color: var(--color-accent);
    gap: 10px;
}

/* --- Process Section --- */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
    opacity: 0.2;
}

.process-step {
    display: flex;
    gap: 32px;
    padding: 32px 0;
    position: relative;
}

.step-marker {
    width: 56px;
    height: 56px;
    background: var(--color-surface);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    transition: var(--transition);
}

.step-marker span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
}

.process-step:hover .step-marker {
    background: var(--color-primary);
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.4);
}

.process-step:hover .step-marker span {
    color: var(--color-text-light);
}

.step-content {
    padding-top: 12px;
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* --- Careers / Industries --- */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.career-card {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    align-items: center;
}

.career-card:hover {
    background: var(--color-bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.career-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(15, 23, 42, 0.45);
    flex-shrink: 0;
}

.career-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.career-info p {
    font-size: 0.88rem;
    color: var(--color-text-muted-dark);
    margin-bottom: 10px;
}

.career-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
}

/* --- Testimonials --- */
.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--color-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-weight: 700;
    font-size: 0.85rem;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.author-role {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

/* --- CTA Section --- */
.cta {
    background: #ffffff;
}

.cta-wrapper {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 80px;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(108, 92, 231, 0.15), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 206, 201, 0.1), transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.cta-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 20px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder {
    color: var(--color-text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236b7280' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: #ffffff;
    color: var(--color-text-dark);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

/* --- Partners --- */
.partners {
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
}

.partners-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.22);
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.partner-logo:hover {
    color: rgba(15, 23, 42, 0.55);
}

/* --- Footer --- */
.footer {
    background: #ffffff;
    color: var(--color-text-dark);
    padding: 80px 0 0;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-top: 20px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li,
.footer-links a {
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-text-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--color-text-muted);
}

.footer-legal a:hover {
    color: var(--color-text-dark);
}

/* --- Nav Language Switcher --- */
.nav-lang {
    display: flex;
    gap: 4px;
    margin-left: 16px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.05em;
}

.lang-btn:hover {
    background: #f6f9ff;
    color: var(--color-text-dark);
}

.lang-btn.active {
    background: var(--color-gradient);
    border-color: transparent;
    color: #ffffff;
}

/* --- Hero Ecosystem Card --- */
.card-ecosystem {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.eco-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #fcfdff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--color-text-dark);
    transition: var(--transition);
}

.eco-item:hover {
    background: #f7faff;
}

.eco-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(108, 92, 231, 0.15);
    color: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eco-icon.accent {
    background: rgba(0, 206, 201, 0.15);
    color: var(--color-accent);
}

.eco-icon.green {
    background: rgba(85, 239, 196, 0.15);
    color: var(--color-accent-2);
}

.eco-icon.orange {
    background: rgba(253, 121, 168, 0.15);
    color: #fd79a8;
}

.eco-item span:nth-child(2) {
    flex: 1;
    font-weight: 500;
}

.eco-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.eco-tag.active {
    background: rgba(0, 206, 201, 0.15);
    color: var(--color-accent);
}

.eco-tag.hot {
    background: rgba(253, 121, 168, 0.15);
    color: #fd79a8;
}

/* --- Card Partners (Hero) --- */
.card-partners {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-top: 1px solid var(--color-border);
}

.partners-tag {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.partner-flags {
    display: flex;
    gap: 8px;
    font-size: 1.2rem;
}

/* --- About Values --- */
.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(20, 86, 255, 0.04);
    border: 1px solid rgba(20, 86, 255, 0.08);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.value-item:hover {
    background: rgba(20, 86, 255, 0.07);
}

.value-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(20, 86, 255, 0.12);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-item span {
    font-size: 0.88rem;
    font-weight: 500;
}

/* --- Bliss Concept Section --- */
.bliss-concept {
    background: var(--color-bg);
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.concept-card {
    --concept-accent: rgba(20, 86, 255, 0.16);
    --concept-accent-soft: rgba(39, 183, 232, 0.08);
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.concept-card:nth-child(2n) {
    --concept-accent: rgba(39, 183, 232, 0.18);
    --concept-accent-soft: rgba(20, 86, 255, 0.06);
}

.concept-card:nth-child(3n) {
    --concept-accent: rgba(12, 74, 110, 0.18);
    --concept-accent-soft: rgba(125, 211, 252, 0.08);
}

.concept-card:hover {
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.1);
    transform: translateY(-6px);
    border-color: rgba(20, 86, 255, 0.16);
}

.concept-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    isolation: isolate;
}

.concept-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.34)),
        radial-gradient(circle at top left, var(--concept-accent) 0%, transparent 44%),
        linear-gradient(135deg, var(--concept-accent-soft) 0%, transparent 66%);
    z-index: 0;
}

.concept-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 68px);
    opacity: 0.5;
    z-index: 0;
}

.concept-icon {
    font-size: 4rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 1;
}

.concept-info {
    padding: 28px;
}

.concept-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-dark);
}

.concept-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.concept-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.concept-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(20, 86, 255, 0.08);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    letter-spacing: 0.03em;
}

/* --- Product Section --- */
.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background: #f6f9ff;
    color: var(--color-text-dark);
}

.filter-btn.active {
    background: var(--color-gradient);
    border-color: transparent;
    color: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.product-card {
    --product-accent: rgba(20, 86, 255, 0.16);
    --product-accent-soft: rgba(39, 183, 232, 0.08);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:nth-child(2n) {
    --product-accent: rgba(39, 183, 232, 0.18);
    --product-accent-soft: rgba(20, 86, 255, 0.06);
}

.product-card:nth-child(3n) {
    --product-accent: rgba(12, 74, 110, 0.18);
    --product-accent-soft: rgba(125, 211, 252, 0.08);
}

.product-card:hover {
    background: var(--color-bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(20, 86, 255, 0.14);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
}

.product-card.hidden {
    display: none;
}

.product-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(15, 23, 42, 0.45);
    position: relative;
    isolation: isolate;
}

.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.28)),
        radial-gradient(circle at top left, var(--product-accent) 0%, transparent 42%),
        linear-gradient(135deg, var(--product-accent-soft) 0%, transparent 64%);
    z-index: 0;
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 60px);
    opacity: 0.45;
    z-index: 0;
}

.product-image > * {
    position: relative;
    z-index: 1;
}

.product-info {
    padding: 20px;
}

.product-cat {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    background: rgba(20, 86, 255, 0.08);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.product-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 6px;
}

.product-info p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.62;
}

.products-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* --- Projects Section --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 108px;
    gap: 22px;
}

.project-card {
    --project-accent: rgba(20, 86, 255, 0.16);
    --project-accent-soft: rgba(39, 183, 232, 0.08);
    --project-chip-start: #1456ff;
    --project-chip-end: #27b7e8;
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.98) 100%),
        radial-gradient(circle at top right, var(--project-accent) 0%, transparent 42%),
        linear-gradient(135deg, var(--project-accent-soft) 0%, transparent 58%);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    overflow: hidden;
    transition: var(--transition);
    min-height: 0;
}

.project-card:nth-child(2n) {
    --project-accent: rgba(39, 183, 232, 0.18);
    --project-accent-soft: rgba(20, 86, 255, 0.06);
    --project-chip-start: #27b7e8;
    --project-chip-end: #1456ff;
}

.project-card:nth-child(3n) {
    --project-accent: rgba(12, 74, 110, 0.18);
    --project-accent-soft: rgba(103, 232, 249, 0.08);
    --project-chip-start: #0f4c81;
    --project-chip-end: #29b6f6;
}

.project-card:nth-child(4n) {
    --project-accent: rgba(37, 99, 235, 0.14);
    --project-accent-soft: rgba(125, 211, 252, 0.08);
    --project-chip-start: #2563eb;
    --project-chip-end: #38bdf8;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 86, 255, 0.16);
    box-shadow: 0 26px 52px rgba(15, 23, 42, 0.11);
}

.project-card.project-large {
    grid-column: span 7;
    grid-row: span 4;
}

.project-card:not(.project-large) {
    grid-column: span 5;
    grid-row: span 2;
}

.project-card:nth-child(4),
.project-card:nth-child(5),
.project-card:nth-child(6) {
    grid-column: span 4;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.12) 0%, transparent 28%),
        repeating-linear-gradient(90deg, rgba(20, 86, 255, 0.04) 0 1px, transparent 1px 72px);
    pointer-events: none;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 22px;
    right: 22px;
    width: 84px;
    height: 84px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.06));
    pointer-events: none;
}

.project-overlay {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.96) 8%, rgba(255, 255, 255, 0.82) 40%, rgba(255, 255, 255, 0.12) 100%);
}

.project-year {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--project-chip-start), var(--project-chip-end));
    color: #ffffff;
    border-radius: var(--radius-full);
    width: fit-content;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.project-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 10px;
    max-width: 24ch;
}

.project-overlay p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.66;
    margin-bottom: 16px;
    max-width: 42ch;
}

.project-tags {
    display: flex;
    gap: 8px;
}

.project-tags span {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 3px 10px;
    background: rgba(20, 86, 255, 0.08);
    color: rgba(15, 23, 42, 0.72);
    border-radius: var(--radius-full);
    letter-spacing: 0.03em;
}

/* --- News Section --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 22px;
}

.news-card {
    --news-accent: rgba(20, 86, 255, 0.16);
    --news-accent-soft: rgba(39, 183, 232, 0.08);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    overflow: hidden;
    transition: var(--transition);
    grid-column: span 4;
}

.news-card:nth-child(2n) {
    --news-accent: rgba(39, 183, 232, 0.18);
    --news-accent-soft: rgba(20, 86, 255, 0.06);
}

.news-card:nth-child(3n) {
    --news-accent: rgba(12, 74, 110, 0.18);
    --news-accent-soft: rgba(125, 211, 252, 0.08);
}

.news-card:first-child {
    grid-column: span 7;
}

.news-card:nth-child(2),
.news-card:nth-child(3) {
    grid-column: span 5;
}

.news-card:hover {
    background: var(--color-bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(20, 86, 255, 0.14);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
}

.news-image {
    height: 220px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 18px;
    position: relative;
    isolation: isolate;
}

.news-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.32)),
        radial-gradient(circle at top left, var(--news-accent) 0%, transparent 44%),
        linear-gradient(135deg, var(--news-accent-soft) 0%, transparent 66%);
    z-index: 0;
}

.news-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 64px);
    opacity: 0.5;
    z-index: 0;
}

.news-card:first-child .news-image {
    height: 300px;
}

.news-date {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    color: var(--color-text-dark);
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

.news-content {
    padding: 28px;
}

.news-cat {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    background: rgba(0, 206, 201, 0.15);
    color: var(--color-accent);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.news-content h4 {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 10px;
    line-height: 1.35;
}

.news-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
}

.news-card:first-child .news-content h4 {
    font-size: 1.5rem;
    line-height: 1.18;
    max-width: 24ch;
}

.news-card:first-child .news-content p {
    max-width: 48ch;
}

/* --- Contact Info Bar --- */
.contact-bar {
    padding: 48px 0;
    border-top: 1px solid var(--color-border);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(20, 86, 255, 0.08);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* --- Form Textarea --- */
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
    resize: vertical;
    min-height: 80px;
}

.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(20, 86, 255, 0.12);
}

.form-full {
    grid-column: 1 / -1;
}

/* --- Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero > .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title-top,
    .hero-title-bottom,
    #gioi-thieu .section-title,
    #he-sinh-thai .section-title {
        white-space: normal;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        margin: 0 auto;
    }

    .hero-visual {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .concept-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
    }

    .project-card.project-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .project-card:not(.project-large),
    .project-card:nth-child(4),
    .project-card:nth-child(5),
    .project-card:nth-child(6) {
        grid-column: span 1;
        min-height: 240px;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-card:first-child {
        grid-column: span 2;
    }

    .news-card:nth-child(2),
    .news-card:nth-child(3) {
        grid-column: span 1;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .careers-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        padding: 120px 24px 40px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        border-radius: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.4rem;
        color: var(--color-text-dark);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-lang {
        margin-left: auto;
        margin-right: 16px;
    }

    .logo--nav {
        width: 132px;
        padding: 6px 10px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .concept-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .project-card.project-large,
    .project-card:not(.project-large),
    .project-card:nth-child(4),
    .project-card:nth-child(5),
    .project-card:nth-child(6) {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 220px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card:first-child,
    .news-card:nth-child(2),
    .news-card:nth-child(3) {
        grid-column: span 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .product-filters {
        gap: 6px;
    }

    .filter-btn {
        font-size: 0.78rem;
        padding: 6px 14px;
    }

    .cta-wrapper {
        padding: 48px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .partners-grid {
        gap: 30px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .hero-title-bottom {
        font-size: clamp(1rem, 3.8vw, 1.45rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .stat-divider {
        width: auto;
        height: 1px;
    }

    .products-cta {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-stats .stat {
        padding: 20px 22px;
    }

    .logo--nav {
        width: 118px;
        padding: 5px 8px;
        border-radius: 14px;
    }

    .logo--footer {
        width: 152px;
        padding: 8px 10px;
        margin: 0 auto;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .section-tag {
        font-size: 0.72rem;
    }

    .section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .section-desc {
        font-size: 0.95rem;
    }

    .about-card-inner {
        padding: 32px 24px;
    }

    .about-lead {
        font-size: 1rem;
    }

    .big-number {
        font-size: 3.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-filters {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        font-size: 0.75rem;
        padding: 8px 12px;
        min-height: 44px;
    }

    .cta-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .cta-wrapper {
        padding: 36px 16px;
        border-radius: 16px;
    }

    .cta-form input,
    .cta-form select,
    .cta-form textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .btn, .btn-primary, .btn-outline {
        min-height: 48px;
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    /* Marquee smaller on mobile */
    .marquee-content span {
        font-size: 1.6rem;
    }

    /* Contact bar stack */
    .contact-item {
        padding: 16px;
    }

    .contact-item h4 {
        font-size: 0.85rem;
    }

    .partner-flags {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .partner-flags span {
        font-size: 1.4rem;
    }

    .news-content h4 {
        font-size: 1rem;
    }

    .project-overlay h3 {
        font-size: 1.1rem;
    }

    .service-card {
        padding: 28px 20px;
    }

    .concept-card {
        flex-direction: column;
    }

    .concept-visual {
        min-height: 160px;
    }

    .nav-lang {
        gap: 2px;
    }

    .lang-btn {
        min-width: 36px;
        min-height: 36px;
        font-size: 0.72rem;
        padding: 4px 8px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Touch-friendly: minimum 44px tap targets */
@media (pointer: coarse) {
    a, button, .filter-btn, .lang-btn, .nav-cta, .service-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .nav-links a {
        padding: 12px 8px;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .marquee-content {
        animation: none;
    }

    .preloader {
        display: none;
    }
}

/* Print styles */
@media print {
    .navbar, .preloader, .marquee-section, .nav-toggle, .hero-bg-grid, .google_translate_element {
        display: none !important;
    }
    body {
        background: #fff;
        color: #000;
    }
    .section {
        padding: 20px 0;
    }
}
