/* ===================================
   IA ITALIA - Design System v2.0
   Modern AI Enterprise Website
   =================================== */

/* ===================================
   Custom Font - IM Fell English SC
   =================================== */
@font-face {
    font-family: 'IM Fell English SC';
    src: url('../fonts/IMFellEnglishSC-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===================================
   CSS Custom Properties
   =================================== */
:root {
    /* Brand Colors */
    --gold: #D4AF37;
    --gold-light: #E5C85C;
    --gold-dark: #B8962E;
    --gold-glow: rgba(212, 175, 55, 0.4);

    /* Surface Colors */
    --bg-primary: #080F22;
    --bg-secondary: #0D1632;
    --bg-tertiary: #142045;
    --bg-card: #0E1930;
    --bg-card-hover: #142040;

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #A0B0C8;
    --text-muted: #6B7A90;
    --text-dark: #050A18;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-gold: rgba(212, 175, 55, 0.3);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-brand: 'IM Fell English SC', Georgia, serif;

    /* Spacing */
    --section-gap: 120px;
    --container-max: 1200px;
    --container-padding: 24px;

    /* Effects */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 60px var(--gold-glow);

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   Reset & Base
   =================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-name {
    font-family: var(--font-brand);
    letter-spacing: 0.12em;
    word-spacing: 0.15em;
}

/* ===================================
   Layout
   =================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===================================
   Section Header
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #14202E;
    border: 1px solid var(--border-gold);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(5, 10, 24, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    position: absolute;
    left: 0;
}

.nav-logo img {
    height: 36px;
    width: auto;
}

.nav-logo span {
    font-family: var(--font-brand);
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    word-spacing: 0.2em;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    list-style: none;
    flex-wrap: nowrap;
    width: 100%;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-base);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--gold);
}

.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gold) !important;
    color: var(--text-dark) !important;
    padding: 10px 20px !important;
    font-weight: 600;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--gold-light) !important;
    color: var(--text-dark) !important;
    transform: translateY(-2px);
}

.nav-client {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px !important;
    border: 1px solid var(--gold);
    border-radius: var(--radius-sm);
    color: var(--gold) !important;
    font-weight: 500;
    transition: var(--transition-base);
    white-space: nowrap;
}

.nav-client::after {
    display: none;
}

.nav-client svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: var(--transition-base);
}

.nav-client:hover {
    background: var(--gold);
    color: var(--text-dark) !important;
    transform: translateY(-2px);
}

.nav-client:hover svg {
    stroke: var(--text-dark);
}

/* Language Switcher */
.nav-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    right: 0;
}

.lang-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
    padding: 4px 6px;
}

.lang-link:hover {
    color: var(--text-primary);
}

.lang-link.active {
    color: var(--gold);
    font-weight: 600;
}

.lang-sep {
    color: var(--text-muted);
    font-size: 12px;
    opacity: 0.5;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn svg {
    transition: transform var(--transition-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--text-dark);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: #0D1528;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 120px var(--container-padding) 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 90%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 90% 10%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(15, 30, 56, 0.5) 0%, transparent 70%);
}

/* Grid now drawn entirely on canvas for perfect alignment */

/* Energy Grid Canvas */
.energy-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Section Grid Canvas (services, cta, etc.) */
.section-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.grid-wrapper {
    position: relative;
    background: var(--bg-primary);
}

.grid-wrapper > .section-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.grid-wrapper .partnership,
.grid-wrapper .cta {
    position: static;
    background: transparent;
}

.grid-wrapper .partnership::before,
.grid-wrapper .cta::before {
    display: none;
}

.hero-content {
    z-index: 1;
}

.hero-centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.hero-logo img {
    width: 200px;
    height: auto;
    animation: float 6s ease-in-out infinite;
    margin-bottom: 16px;
}

.hero-brand {
    font-family: var(--font-brand);
    font-size: 2rem;
    letter-spacing: 0.15em;
    color: var(--text-primary);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    background: #14202E;
    border: 1px solid var(--border-gold);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

.hero-subtitle img {
    width: 50px;
    height: auto;
    vertical-align: middle;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* Hero Visual / Mockup */
.hero-visual {
    z-index: 1;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-large {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-large img {
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

.hero-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-slow);
}

.hero-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-tertiary);
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: auto;
}

.mockup-content {
    padding: 24px;
}

.chat-demo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    max-width: 85%;
    padding: 14px 18px;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    line-height: 1.5;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.chat-message.user {
    align-self: flex-end;
    background: var(--gold);
    color: var(--text-dark);
    animation-delay: 0.2s;
}

.chat-message.assistant {
    align-self: flex-start;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    animation-delay: 0.6s;
}

.chat-message.assistant.visible {
    animation-delay: 1s;
}

.agent-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.agent-list li {
    font-size: 0.85rem;
    line-height: 1.4;
    padding-left: 20px;
    position: relative;
}

.agent-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.agent-list li strong {
    color: var(--gold);
}

.case-study-demo {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
}

.case-study-demo::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    border-radius: var(--radius-xl);
    pointer-events: none;
    z-index: -1;
}

.case-study-demo .chat-message {
    opacity: 1;
    animation: none;
}

.chat-message.success {
    border-color: rgba(40, 200, 64, 0.3);
    animation-delay: 2s;
}

.chat-message.success::before {
    content: '✓ ';
    color: #28c840;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

.chat-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 1.4s;
    opacity: 0;
}

.chat-progress span {
    font-size: 0.8rem;
    color: var(--gold);
}

.progress-bar {
    height: 4px;
    background: var(--bg-primary);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    animation: progressFill 1.5s ease forwards;
    animation-delay: 1.6s;
}

@keyframes progressFill {
    to { width: 100%; }
}

/* ===================================
   Case Study Section
   =================================== */
.case-study {
    padding: var(--section-gap) 0;
    background: var(--bg-secondary);
}

/* Quick Stats Bar */
.quick-stats {
    background: linear-gradient(135deg, #0c1a35 0%, #122040 50%, #0f1d38 100%);
    padding: 32px 0;
    border-bottom: 1px solid var(--border-gold);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}

.quick-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quick-stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--gold);
}

.quick-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Case Study Page */
.case-study-page {
    padding: 60px 0;
    background: linear-gradient(180deg, #0a1528 0%, #0e1a32 40%, #111e3a 100%);
    position: relative;
}

.case-study-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 50% 40% at 20% 30%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 80% 70%, rgba(212, 175, 55, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.case-challenge,
.case-solution {
    padding: 36px;
    background: rgba(14, 25, 48, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all 0.3s ease;
}

.case-challenge:hover,
.case-solution:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.case-challenge::before,
.case-solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.case-challenge::before {
    background: linear-gradient(90deg, #ff6b6b, #ff8787);
}

.case-solution::before {
    background: linear-gradient(90deg, #51cf66, #69db7c);
}

.case-challenge h3,
.case-solution h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-challenge h3 svg { color: #ff6b6b; }
.case-solution h3 svg { color: #51cf66; }

.case-challenge p,
.case-solution p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.case-challenge strong,
.case-solution strong {
    color: var(--text-primary);
}

/* Screenshot Gallery */
.case-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 64px;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-placeholder {
    aspect-ratio: 16/10;
    background: var(--bg-tertiary);
    border: 2px dashed var(--border-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.gallery-item.main .gallery-placeholder {
    aspect-ratio: 16/9;
}

.gallery-placeholder:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.gallery-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    display: block;
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
}

.placeholder-content svg {
    opacity: 0.5;
}

.placeholder-content span {
    font-size: 0.9rem;
    font-weight: 500;
}

.placeholder-content small {
    font-size: 0.75rem;
    opacity: 0.7;
}

.gallery-caption {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gallery-caption strong {
    font-size: 0.95rem;
}

.gallery-caption span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Results */
.case-results {
    margin-bottom: 48px;
}

.case-results h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 32px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.result-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.result-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
}

.result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    color: var(--gold);
}

.result-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Tech Stack */
.case-tech {
    text-align: center;
}

.case-tech h4 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tech-tag {
    padding: 10px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.tech-tag:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ===================================
   Partnership Section
   =================================== */
.partnership {
    padding: var(--section-gap) 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.partnership::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse 80% 80% at 80% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.partnership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.partnership-content .section-badge {
    margin-bottom: 16px;
}

.partnership-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.partnership-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.partnership-text strong {
    color: var(--gold);
}

.partnership-text a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.partnership-text a:hover {
    text-decoration: underline;
}

.partnership-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #0E1930;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    position: relative;
    z-index: 1;
}

.benefit:hover {
    border-color: var(--border-gold);
}

.benefit svg {
    color: var(--gold);
    flex-shrink: 0;
}

.benefit span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.partnership-visual {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.certificate-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    max-width: 360px;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E52329, #E52329 50%, var(--gold) 50%, var(--gold));
}

.certificate-badge {
    margin-bottom: 24px;
}

.certificate-badge img {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.certificate-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.certificate-status {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.certificate-program {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.certificate-year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 8px;
    align-self: center;
}

@media (max-width: 1024px) {
    .partnership-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .partnership-content .section-title {
        text-align: center;
    }

    .partnership-content {
        text-align: center;
    }

    .partnership-benefits {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .partnership-benefits {
        flex-direction: column;
    }

    .benefit {
        justify-content: center;
    }

    .certificate-card {
        padding: 32px;
    }
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: var(--section-gap) 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.service-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border-color: var(--border-gold);
    background: linear-gradient(135deg, #12203A 0%, var(--bg-card) 50%);
}

.service-number {
    display: none;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--gold);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--section-gap) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-badge {
    margin-bottom: 16px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--gold);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.value {
    display: flex;
    align-items: center;
    gap: 14px;
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #1a2340;
    border-radius: var(--radius-sm);
    color: var(--gold);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.value span:not(.value-icon) {
    font-weight: 500;
    color: var(--text-primary);
}

/* About Cards */
.about-visual {
    position: relative;
}

.about-card-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.about-card:hover {
    transform: translateX(8px);
}

.about-card.highlight {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
}

.about-card .card-icon {
    margin-bottom: 16px;
    color: var(--gold);
}

.about-card.highlight .card-icon {
    color: var(--text-dark);
}

.about-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.about-card.highlight h4,
.about-card.highlight p {
    color: var(--text-dark);
}

.about-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Centered (Home page) */
.about-centered {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-centered .section-badge {
    display: inline-flex;
}

.about-centered .about-values {
    justify-content: center;
    margin-top: 32px;
}

/* Section CTA */
.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* Services Preview (Home page - 4 cards) */
.services-preview {
    grid-template-columns: repeat(4, 1fr);
}

.services-preview .service-card {
    padding: 28px;
}

.services-preview .service-card p {
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .services-preview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-preview {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Infrastructure Section
   =================================== */
.infrastructure {
    padding: var(--section-gap) 0;
    background: linear-gradient(135deg, #0a1628 0%, #152642 50%, #1a3052 100%);
    position: relative;
}

.badge-infrastructure {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border: 1px solid var(--gold);
    color: var(--gold);
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.infrastructure-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition-normal);
}

.infrastructure-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.infrastructure-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gold) 0%, #F4E4A6 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.infrastructure-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--bg-primary);
}

.infrastructure-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.infrastructure-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.infrastructure-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.infrastructure-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.infrastructure-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .infrastructure-grid {
        grid-template-columns: 1fr;
    }

    .infrastructure-card {
        padding: 32px;
    }
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 16px;
}

.cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--section-gap) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.contact-info .section-badge {
    margin-bottom: 16px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-intro {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--gold);
}

.contact-item > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item a {
    color: var(--gold);
    font-weight: 500;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: var(--gold-light);
}

.contact-item span:not(.contact-label) {
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 32px;
    color: var(--text-primary);
}

.contact-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding: 16px 20px;
    background: #1D2232;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
}

.contact-note svg {
    color: var(--gold);
    flex-shrink: 0;
}

.contact-note p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Contact Form */
.contact-form {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: #151D30;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* ===================================
   Page Header (for internal pages)
   =================================== */
.page-header {
    padding: 120px var(--container-padding) 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #0b1730 100%);
    border-bottom: 1px solid var(--border-subtle);
}

.page-header--compact {
    padding: 100px var(--container-padding) 32px;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin: 12px 0;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===================================
   Demo Showcase (Services page)
   =================================== */
.demo-showcase {
    padding: 80px 0;
    background: var(--bg-primary);
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.demo-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 20px;
}

.demo-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

.demo-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.demo-mockup .mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-subtle);
}

.demo-mockup .mockup-dots {
    display: flex;
    gap: 6px;
}

.demo-mockup .mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
}

.demo-mockup .mockup-dots span:first-child {
    background: #ff5f57;
}

.demo-mockup .mockup-dots span:nth-child(2) {
    background: #febc2e;
}

.demo-mockup .mockup-dots span:last-child {
    background: #28c840;
}

.demo-mockup .mockup-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.demo-mockup .mockup-content {
    padding: 24px;
}

.demo-mockup .chat-demo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-mockup .chat-message {
    max-width: 85%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    line-height: 1.5;
}

.demo-mockup .chat-message.user {
    align-self: flex-end;
    background: var(--gold);
    color: var(--text-dark);
}

.demo-mockup .chat-message.assistant {
    align-self: flex-start;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
}

.demo-mockup .chat-message.success {
    border-color: rgba(40, 200, 64, 0.3);
    background: rgba(40, 200, 64, 0.1);
}

.demo-mockup .typing-indicator {
    display: flex;
    gap: 4px;
}

.demo-mockup .typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typing 1.4s infinite;
}

.demo-mockup .typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.demo-mockup .typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

.demo-mockup .chat-progress {
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.demo-mockup .progress-bar {
    height: 4px;
    background: var(--border-subtle);
    border-radius: 2px;
    margin-bottom: 8px;
    overflow: hidden;
}

.demo-mockup .progress-fill {
    height: 100%;
    width: 0;
    background: var(--gold);
    border-radius: 2px;
    animation: progress 2s ease-out forwards;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@media (max-width: 900px) {
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .demo-content {
        text-align: center;
    }
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 60px 0 30px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    margin-bottom: 12px;
}

.footer-logo img {
    height: 32px;
}

.footer-logo span {
    font-family: var(--font-brand);
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    word-spacing: 0.2em;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-col a,
.footer-col span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===================================
   Cookie Banner
   =================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px var(--container-padding);
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-subtle);
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cookie-content a {
    color: var(--gold);
    text-decoration: underline;
}

/* ===================================
   Animations & Effects
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations */
.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.15s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.25s; }
.fade-in:nth-child(5) { transition-delay: 0.3s; }
.fade-in:nth-child(6) { transition-delay: 0.35s; }

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    :root {
        --section-gap: 100px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
        padding-top: 140px;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-subtitle {
        margin: 0 auto 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-mockup {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }

    .quick-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .case-study-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .case-gallery {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content .section-title,
    .contact-info .section-title {
        text-align: center;
    }

    .about-values {
        align-items: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-gap: 80px;
        --container-padding: 20px;
    }

    .nav-logo {
        position: static;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        gap: 16px;
        padding: 40px;
        transition: right var(--transition-slow);
        border-left: 1px solid var(--border-subtle);
        width: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .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);
    }

    .nav-lang {
        position: static;
        padding-top: 16px;
        margin-top: 8px;
        border-top: 1px solid var(--border-subtle);
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .services-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .nav-client {
        width: 100%;
        justify-content: center;
        padding: 12px 20px !important;
    }

    .page-header {
        padding: 100px var(--container-padding) 48px;
    }

    .page-header--compact {
        padding: 90px var(--container-padding) 32px;
    }

    .quick-stats {
        padding: 24px 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle img {
        width: 35px;
        margin: 0 5px;
    }

    .hero-logo-large img {
        width: 260px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-card,
    .result-card,
    .contact-form,
    .contact-info {
        padding: 24px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ===================================
   Collaborate Page
   =================================== */

/* Path Selector */
.collab-paths {
    padding: 48px 0 80px;
    background: var(--bg-secondary);
}

.collab-paths-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.collab-path-card {
    position: relative;
    padding: 36px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: block;
    color: inherit;
}

.collab-path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transition: height 0.3s ease;
}

.collab-path-card--careers::before {
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
}

.collab-path-card--partnership::before {
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.collab-path-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-light);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.collab-path-card:hover::before {
    height: 4px;
}

.collab-path-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.collab-path-card--careers .collab-path-icon {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.collab-path-card--partnership .collab-path-icon {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.collab-path-icon svg {
    width: 28px;
    height: 28px;
}

.collab-path-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.collab-path-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.collab-path-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.collab-path-card--careers .collab-path-arrow {
    color: var(--gold);
}

.collab-path-card--partnership .collab-path-arrow {
    color: var(--gold);
}

.collab-path-card:hover .collab-path-arrow {
    gap: 14px;
}

.collab-path-arrow svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.collab-path-card:hover .collab-path-arrow svg {
    transform: translateX(4px);
}

/* Collaborate Sections */
.collab-section {
    padding: 38px 0 80px;
    position: relative;
    overflow: hidden;
}

.collab-section .section-header {
    margin-bottom: 28px;
}

.collab-section .section-subtitle {
    max-width: none;
}

.collab-section--careers {
    background: var(--bg-primary);
}

.collab-section--partnership {
    background: var(--bg-secondary);
}

/* Collaborate Grid */
.collab-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Collaborate Values */
.collab-values {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.collab-value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.collab-section--careers .collab-value {
    background: var(--bg-secondary);
}

.collab-value:hover {
    transform: translateX(4px);
}

.collab-section--careers .collab-value:hover {
    border-color: var(--border-gold);
}

.collab-section--partnership .collab-value:hover {
    border-color: var(--border-gold);
}

.collab-value-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.collab-section--careers .collab-value-icon {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.collab-section--partnership .collab-value-icon {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.collab-value-icon svg {
    width: 22px;
    height: 22px;
}

.collab-value-content h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.collab-value-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Collaborate Note */
.collab-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
}

.collab-section--careers .collab-note {
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid var(--border-gold);
}

.collab-section--partnership .collab-note {
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid var(--border-gold);
}

.collab-section--careers .collab-note svg {
    color: var(--gold);
    flex-shrink: 0;
}

.collab-section--partnership .collab-note svg {
    color: var(--gold);
    flex-shrink: 0;
}

.collab-note p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* CV Attach Button */
.cv-attach {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold);
    opacity: 0.7;
}

.cv-attach:hover {
    opacity: 1;
}

.cv-attach svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.cv-attach input[type="file"] {
    display: none;
}

.cv-attach--active {
    opacity: 1;
}

.cv-filename {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cv-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    transition: color var(--transition-fast);
}

.cv-remove:hover {
    color: var(--text-primary);
}

.collab-section .contact-form {
    position: relative;
}

/* Compact Form in Collaborate */
.collab-section .contact-form {
    padding: 28px;
}

.collab-section .form-row {
    gap: 16px;
}

.collab-section .form-group {
    gap: 6px;
    margin-bottom: 14px;
}

.collab-section .form-group label {
    font-size: 0.85rem;
}

.collab-section .form-group input,
.collab-section .form-group textarea {
    padding: 11px 14px;
    font-size: 0.95rem;
}

.collab-section .form-group textarea {
    min-height: 100px;
}

.collab-section .btn-full {
    padding: 12px 24px;
}

.collab-section .form-note {
    margin-top: 12px;
}

/* Section Accent Divider */
.collab-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light) 20%, var(--border-gold) 50%, var(--border-light) 80%, transparent);
}

/* Collaborate Responsive */
@media (max-width: 1024px) {
    .collab-paths-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .collab-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .collab-section {
        padding: 60px 0 80px;
    }

    .collab-paths {
        padding: 24px 0 40px;
    }

    .collab-path-card {
        padding: 28px 24px;
    }

    .collab-value {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .collab-path-card {
        padding: 24px 20px;
    }

    .collab-path-icon {
        width: 48px;
        height: 48px;
    }

    .collab-path-icon svg {
        width: 24px;
        height: 24px;
    }

    .collab-value-icon {
        width: 40px;
        height: 40px;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
