/* ===================================
   KRITORO v2 - Premium Dark Theme
   Accenture × Huge × Apple Aesthetic
   =================================== */

/* Google Font - Fraunces (Display Serif for footer word) */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');

/* Custom Font - Dune Rise (KRITORO flip animation) */
@font-face {
    font-family: 'Dune Rise';
    src: url('../assets/fonts/Dune_Rise.otf') format('opentype'),
        url('../assets/fonts/Dune_Rise.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}




/* CSS Custom Properties - Dark Theme */
:root {
    /* Core Colors - Pitch Black Theme */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --bg-card: #0d0d0d;
    --bg-card-hover: #141414;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-subtle: rgba(255, 255, 255, 0.4);

    /* Accent Color - Kritoro Brand */
    --accent-primary: #6366f1;
    --accent-secondary: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.3);

    /* Borders & Lines */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --divider: rgba(255, 255, 255, 0.05);

    /* Shadows - Subtle & Premium */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--accent-glow);

    /* Typography - Lato + Display */
    --font-primary: 'Lato', 'Helvetica Neue', sans-serif;
    --font-display: 'Lato', 'Helvetica Neue', sans-serif;
    --font-kritoro: 'Dune Rise', 'Italiana', sans-serif;

    /* Spacing */
    --section-padding: 140px 0;
    --section-padding-mobile: 100px 0;
    --container-width: 1400px;
    --border-radius: 12px;
    --border-radius-lg: 20px;

    /* Transitions - Apple-style easing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.2s var(--ease-out-quart);
    --transition-smooth: 0.4s var(--ease-out-expo);
    --transition-slow: 0.8s var(--ease-out-expo);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-primary);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1, 'liga' 1;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Typography - Premium & Clean */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 3.8rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

h5 {
    font-size: 1.1rem;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
}

p {
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.8;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-secondary);
}

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

/* Selection */
::selection {
    background: var(--accent-primary);
    color: var(--text-primary);
}

/* Container - Responsive with proportional scaling
   Uses vw for Accenture-style uniform scaling at any zoom */
.container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 6vw;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* ===================================
   NAVIGATION - Glass Morphism Dark
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    height: 80px;
}

.navbar-brand-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 80px;
    padding: 6px 0;
}

.navbar-brand img {
    height: 48px;
    width: auto;
    transition: transform 0.4s var(--ease-out-expo);
    transform-origin: center center;
}

.navbar-brand:hover img {
    transform: scale(0.5) translateY(-14px);
}

.navbar-brand-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s var(--ease-out-expo) 0.05s, transform 0.35s var(--ease-out-expo) 0.05s;
    pointer-events: none;
    margin-top: -14px;
    line-height: 1;
}

.navbar-brand:hover .navbar-brand-text {
    opacity: 1;
    transform: translateY(0);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
}

/* "Let's Talk" CTA Button in Navbar */
.nav-cta-btn {
    background: var(--accent-primary) !important;
    color: #ffffff !important;
    padding: 10px 26px !important;
    border-radius: 6px;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.02em;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.nav-cta-btn:hover {
    background: #4f46e5 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.nav-cta-btn::after,
.navbar-menu a.nav-cta-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    width: auto !important;
    height: auto !important;
    bottom: auto !important;
    left: auto !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%) !important;
    pointer-events: none;
}

.navbar-menu a.nav-cta-btn:hover::after,
.navbar-menu a.nav-cta-btn.active::after {
    width: auto !important;
}

.navbar-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.01em;
    transition: var(--transition-fast);
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--text-primary);
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: var(--transition-smooth);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.navbar-cta {
    margin-left: 24px;
}

/* Ensure navbar CTA button is visible */
.navbar-menu .navbar-cta.btn-primary {
    color: var(--text-primary) !important;
    background: var(--accent-primary);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
}

.navbar-menu .navbar-cta.btn-primary::after {
    display: none;
}

.navbar-menu .navbar-cta.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
    border-radius: 1px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================================
   BUTTONS - Premium Style
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

.btn-primary:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: #ffffff;
    /* Ensure text stays visible on hover */
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

/* ===================================
   SECTIONS - Dark Theme
   =================================== */
section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-muted);
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

/* ===================================
   HERO SECTION - Premium with 3D
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Hero 3D Canvas Container */
.hero-3d-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
}

.hero-3d-container canvas {
    width: 100%;
    height: 100%;
}

/* Hero gradient overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Wider left side, less gap */
    gap: 50px;
    /* Reduced gap */
    align-items: center;
}

.hero-content {
    max-width: 700px;
    /* Wider content area */
}

.hero-content h1 {
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(40px);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 48px;
    color: var(--text-muted);
    max-width: 520px;
    opacity: 0;
    transform: translateY(40px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(40px);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-decoration {
    display: none;
}

/* Hero Animation States (GSAP will control these) */
.hero-content.animated h1,
.hero-content.animated p,
.hero-content.animated .hero-buttons,
.hero-image.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   HORIZONTAL SCROLL SECTION
   =================================== */
.horizontal-section {
    background: var(--bg-secondary);
    overflow: hidden;
    padding: 0;
}

.horizontal-wrapper {
    display: flex;
    width: fit-content;
}

.horizontal-panel {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(24px, 5vw, 80px);
}

.horizontal-panel-content {
    max-width: min(1200px, 92%);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(30px, 4vw, 70px);
    padding: 0;
}

.panel-text {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.panel-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    /* Removed pill/bracket styling - now plain like other headers */
}

.horizontal-panel-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    line-height: 1.15;
}

.horizontal-panel-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.panel-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.panel-features li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 10px 0;
    padding-left: 32px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.panel-features li:last-child {
    border-bottom: none;
}

.panel-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 1rem;
}

.panel-image {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s var(--ease-out-expo);
}

.panel-image img:hover {
    transform: scale(1.03);
}

.horizontal-panel-number {
    font-size: 8rem;
    font-weight: 700;
    color: var(--accent-primary);
    opacity: 0.15;
    position: absolute;
    top: 60px;
    left: 80px;
    line-height: 1;
}

/* ===================================
   IMAGE CARDS - Title Always Visible, Details on Hover
   =================================== */
.image-cards-section {
    background: var(--bg-primary);
}

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

.image-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    background: var(--bg-card);
    text-decoration: none;
    display: block;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo), filter 0.4s ease;
}

.image-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    transition: var(--transition-smooth);
}

.image-card:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.5) 100%);
}

.image-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

/* Title — ALWAYS visible at bottom */
.image-card-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0;
    color: #fff;
    transition: var(--transition-smooth);
    opacity: 1;
}

/* Description — hidden by default, shown on hover */
.image-card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.5s var(--ease-out-expo), opacity 0.4s ease, margin-top 0.4s ease;
}

/* Read More link — hidden by default */
.image-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-secondary);
    letter-spacing: 0.03em;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.5s var(--ease-out-expo), opacity 0.4s ease 0.1s, margin-top 0.4s ease;
}

.image-card-readmore svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.image-card:hover img {
    transform: scale(1.08);
    filter: brightness(0.8);
}

.image-card:hover .image-card-content p {
    max-height: 120px;
    opacity: 1;
    margin-top: 10px;
}

.image-card:hover .image-card-readmore {
    max-height: 40px;
    opacity: 1;
    margin-top: 12px;
}

.image-card:hover .image-card-readmore svg {
    transform: translateX(4px);
}

/* ===================================
   SHADER SECTION - Ambient WebGL
   =================================== */
.shader-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    overflow: hidden;
}

.shader-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    z-index: 0;
}

.shader-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 40px;
}

.shader-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
}

.shader-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* ===================================
   SERVICES GRID - Dark Cards
   =================================== */
.services-section {
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 48px 36px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

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

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

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

.service-card:hover .service-icon {
    background: var(--accent-primary);
}

.service-card:hover .service-icon svg {
    stroke: var(--text-primary);
}

.service-card h4 {
    margin-bottom: 14px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.service-link:hover {
    color: var(--accent-secondary);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ===================================
   STACKING CARDS - What Sets Us Apart
   =================================== */
.features-section {
    background: var(--bg-primary);
    padding-bottom: 30vh;
    overflow: visible !important;
}

.stacking-cards {
    position: relative;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.stacking-card {
    position: sticky;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(24px, 3vw, 50px);
    align-items: center;
    min-height: 500px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Very subtle base border */
    border-top: 2px solid rgba(255, 255, 255, 0.25);
    /* Bright, distinct top border for shingling */
    border-radius: 24px;
    padding: clamp(30px, 4vw, 60px);
    margin-bottom: 100px;
    /* Space between cards as they scroll up */
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    will-change: transform;
    overflow: hidden;
    --darken: 0;
    /* Animated by GSAP instead of filter, to keep border bright */
}

/* Internal overlay for darkening that doesn't affect the CSS border */
.stacking-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #000;
    opacity: var(--darken);
    pointer-events: none;
    z-index: 10;
    border-radius: inherit;
}

/* Each card sticks 20px lower — creating visible shingled stack edges */
.stacking-card:nth-child(1) {
    top: 100px;
    z-index: 1;
}

.stacking-card:nth-child(2) {
    top: 120px;
    z-index: 2;
}

.stacking-card:nth-child(3) {
    top: 140px;
    z-index: 3;
}

.stacking-card:nth-child(4) {
    top: 160px;
    z-index: 4;
}

.stacking-card:last-child {
    margin-bottom: 0;
}

.stacking-card-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stacking-card-text h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stacking-card-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 400px;
}

.stacking-card-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #222;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.stacking-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    transition: transform 0.6s var(--ease-out-expo);
}

.stacking-card:hover .stacking-card-image img {
    transform: scale(1.03);
}

.stacking-card-number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--accent-primary);
    opacity: 0.1;
    line-height: 1;
    margin-bottom: 8px;
}

/* ===================================
   ZIGZAG TIMELINE - How We Work
   =================================== */
.timeline-section {
    background: var(--bg-secondary);
}

.zigzag-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

/* SVG zigzag path background */
.zigzag-path-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    /* Behind the steps */
}

.zigzag-path-container svg {
    width: 100%;
    height: 100%;
}

.zigzag-path-bg {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zigzag-path-progress {
    fill: none;
    stroke: var(--accent-primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px var(--accent-glow));
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 0.1s linear;
}

/* Timeline step blocks — positioned absolutely at the bends/turns */
.zigzag-step {
    position: absolute;
    width: 0;
    height: 0;
    z-index: 2;
}

/* Step 1: Left bend (X=150, Y=150). Text to the right. */
.zigzag-step:nth-child(2) {
    top: 16.666%;
    /* 150 / 900 */
    left: 16.666%;
    /* 150 / 900 */
}

/* Step 2: Right bend (X=750, Y=350). Text to the left. */
.zigzag-step:nth-child(3) {
    top: 38.888%;
    /* 350 / 900 */
    left: 83.333%;
    /* 750 / 900 */
}

/* Step 3: Left bend (X=150, Y=550). Text to the right. */
.zigzag-step:nth-child(4) {
    top: 61.111%;
    /* 550 / 900 */
    left: 16.666%;
    /* 150 / 900 */
}

/* Step 4: Right bend (X=750, Y=750). Text to the left. */
.zigzag-step:nth-child(5) {
    top: 83.333%;
    /* 750 / 900 */
    left: 83.333%;
    /* 750 / 900 */
}

.zigzag-step-number {
    position: absolute;
    left: -28px;
    top: -28px;
    width: 56px;
    height: 56px;
    background: var(--bg-secondary);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: all 0.5s var(--ease-out-expo);
    z-index: 3;
}

.zigzag-step.active .zigzag-step-number {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(99, 102, 241, 0.15);
    transform: scale(1.1);
}

.zigzag-step-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
}

/* Steps 1 & 3: Text to the right of the number */
.zigzag-step:nth-child(2) .zigzag-step-content,
.zigzag-step:nth-child(4) .zigzag-step-content {
    left: 60px;
    text-align: left;
}

/* Steps 2 & 4: Text to the left of the number */
.zigzag-step:nth-child(3) .zigzag-step-content,
.zigzag-step:nth-child(5) .zigzag-step-content {
    right: 60px;
    text-align: right;
}

.zigzag-step-content h4 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
    transition: color 0.4s ease;
}

.zigzag-step.active .zigzag-step-content h4 {
    color: var(--accent-secondary);
}

.zigzag-step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===================================
   ROADMAP CARDS
   =================================== */
.roadmap-section {
    background: var(--bg-primary);
}

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

.roadmap-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 48px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.roadmap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.roadmap-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

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

.roadmap-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.roadmap-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--text-primary);
}

.roadmap-card h4 {
    margin-bottom: 20px;
}

.roadmap-card ul {
    list-style: none;
}

.roadmap-card li {
    padding: 10px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.roadmap-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
}

/* ===================================
   CONTACT SECTION - Glass Morphism
   =================================== */
.contact-section {
    background: var(--bg-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 24px;
}

.contact-info>p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.contact-details {
    margin-top: 48px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item-icon {
    width: 52px;
    height: 52px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-primary);
}

.contact-item h5 {
    margin-bottom: 4px;
    color: var(--text-primary);
}

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

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 56px;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: var(--font-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transition: var(--transition-fast);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

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

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

/* ===================================
   PAGE HERO (Inner Pages)
   =================================== */
.page-hero {
    padding: 180px 0 100px;
    background: var(--bg-secondary);
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero h1 {
    margin-bottom: 20px;
    position: relative;
}

.page-hero p {
    font-size: 1.25rem;
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-muted);
    position: relative;
}

/* ===================================
   FOOTER - Dark Premium
   =================================== */

/* KRITORO Gradient Word Section */
.footer-word-section {
    background: var(--bg-tertiary);
    padding: 80px 0 0;
    text-align: center;
    overflow: hidden;
}

.footer-word {
    font-family: 'Fraunces', 'Times New Roman', serif;
    font-weight: 400;
    font-size: clamp(80px, 22vw, 340px);
    line-height: 0.85;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    white-space: nowrap;
    text-align: center;
    background: linear-gradient(180deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.05) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
    pointer-events: none;
}

.footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    padding: 100px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: clamp(32px, 4vw, 80px);
    margin-bottom: 80px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 24px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-brand img {
    height: 45px;
}

.footer-links h5 {
    color: var(--text-primary);
    margin-bottom: 28px;
    font-size: 1rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* ===================================
   SERVICE DETAIL PAGES
   =================================== */
.service-detail-section {
    border-bottom: 1px solid var(--border-color);
}

.service-detail-section:last-of-type {
    border-bottom: none;
}

.service-detail-section:nth-child(even) {
    background: var(--bg-secondary);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}

.service-detail-section:nth-child(even) .service-detail {
    direction: rtl;
}

.service-detail-section:nth-child(even) .service-detail>* {
    direction: ltr;
}

.service-detail-content h3 {
    margin-bottom: 24px;
}

.service-detail-content>p {
    font-size: 1.1rem;
    margin-bottom: 36px;
    color: var(--text-muted);
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 14px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.service-detail-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail-image img {
    display: block;
    width: 100%;
}

/* ===================================
   SOLUTIONS PAGE
   =================================== */
.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 56px;
    margin-bottom: 32px;
    transition: var(--transition-smooth);
}

.solution-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.solution-card h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.solution-card h3 svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-primary);
}

.solution-card>p {
    font-size: 1.1rem;
    margin-bottom: 36px;
    color: var(--text-muted);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.solution-problem,
.solution-approach {
    padding: 32px;
    border-radius: var(--border-radius);
}

.solution-problem {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

.solution-approach {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.solution-problem h5,
.solution-approach h5 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.solution-problem ul,
.solution-approach ul {
    list-style: none;
}

.solution-problem li,
.solution-approach li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.solution-problem li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-subtle);
}

.solution-approach li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* ===================================
   FEATURES GRID - About Page Cards
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 44px 36px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent-primary);
}

.feature-card:hover .feature-icon {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.feature-card:hover .feature-icon svg {
    stroke: #fff;
}

.feature-card h4 {
    margin-bottom: 14px;
    color: var(--text-primary);
    font-size: 1.15rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================================
   TECH MARQUEE - SVG Icon Scroll
   =================================== */
.tech-marquee-section {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.tech-marquee-section::before,
.tech-marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.tech-marquee-section::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary) 0%, transparent 100%);
}

.tech-marquee-section::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary) 0%, transparent 100%);
}

.tech-marquee-label {
    text-align: center;
    margin-bottom: 32px;
}

.tech-marquee-label span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.tech-marquee-track {
    display: flex;
    gap: 60px;
    align-items: center;
    width: max-content;
    animation: scrollTech 30s linear infinite;
}

.tech-marquee-track:hover {
    animation-play-state: paused;
}

.tech-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    opacity: 0.4;
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(0.5);
}

.tech-icon:hover {
    opacity: 0.9;
    transform: scale(1.2) translateY(-4px);
    filter: grayscale(0) drop-shadow(0 0 12px var(--accent-glow));
}

.tech-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes scrollTech {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===================================
   SERVICE EXPAND - Read More
   =================================== */
.service-detail-content .service-text-preview {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 24px;
}

.service-detail-content .service-text-full {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
}

.service-detail-content .service-text-full.expanded {
    max-height: 2000px;
    opacity: 1;
}

.service-detail-content .service-text-full p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 20px;
}

.service-detail-content .service-text-full h4 {
    color: var(--accent-secondary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 28px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.service-detail-content .service-text-full h4:first-child {
    margin-top: 0;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-primary);
    color: var(--accent-secondary);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease, gap 0.3s ease;
    margin-top: 8px;
}

.btn-read-more:hover {
    color: var(--accent-primary);
    gap: 10px;
}

.btn-read-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-read-more.expanded svg {
    transform: rotate(180deg);
}

/* ===================================
   ABOUT PAGE
   =================================== */
.about-hero {
    background: var(--bg-secondary);
    text-align: center;
    padding: 180px 0 100px;
}

.about-hero h1 {
    margin-bottom: 24px;
}

.about-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.vision-card,
.mission-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 56px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.vision-card::before,
.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.vision-card:hover::before,
.mission-card:hover::before {
    transform: scaleX(1);
}

.vision-card h3,
.mission-card h3 {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.vision-card h3 svg,
.mission-card h3 svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

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

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

.philosophy-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
}

.philosophy-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.philosophy-item h5 {
    margin-bottom: 14px;
    color: var(--text-primary);
}

.philosophy-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===================================
   ANIMATIONS - GSAP Enhanced
   =================================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.fade-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
}

.fade-in.animated {
    opacity: 1;
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
}

.scale-in.animated {
    opacity: 1;
    transform: scale(1);
}

/* ===================================
   VISION SECTION - Accenture-Style Zoom Animation
   =================================== */
.vision-section {
    position: relative;
    width: 100%;
    background: var(--bg-primary);
    padding: 0;
    overflow: hidden;
}

.vision-container {
    position: relative;
    width: 100%;
}

/* Each panel fills the viewport — pinned by GSAP */
.vision-panel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Image wrapper — absolutely positioned so it can go full-bleed */
.vision-img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    will-change: width, left, border-radius;
}

/* Even panels: image starts on the right side */
.vision-panel:nth-child(even) .vision-img-wrap {
    left: auto;
    right: 0;
}

.vision-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Subtle dark overlay on image */
.vision-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Text container — sits on the opposite side of the image */
.vision-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 45%;
    padding: 0 clamp(40px, 5vw, 100px);
    z-index: 2;
    will-change: opacity, transform;
}

/* Even panels: text goes LEFT */
.vision-panel:nth-child(even) .vision-text {
    right: auto;
    left: 0;
}

.vision-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.vision-text h2 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    margin-bottom: 28px;
    line-height: 1.08;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.vision-text p {
    font-size: clamp(1.05rem, 1.3vw, 1.3rem);
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
}

/* CTA link in vision panels */
.vision-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
}

.vision-cta:hover {
    color: var(--accent-secondary);
}

.vision-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.vision-cta:hover svg {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .vision-text {
        width: 48%;
        padding: 0 30px;
    }

    .vision-text h2 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
}

@media (max-width: 768px) {
    .vision-panel {
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .vision-img-wrap,
    .vision-panel:nth-child(even) .vision-img-wrap {
        position: relative;
        width: 100%;
        height: 50vh;
        left: auto;
        right: auto;
    }

    .vision-text,
    .vision-panel:nth-child(even) .vision-text {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        width: 100%;
        padding: 40px 24px;
        text-align: center;
    }

    .vision-text p {
        max-width: 100%;
    }
}
/* ===================================
   STATS / METRICS BANNER
   =================================== */
.stats-section {
    background: var(--bg-secondary);
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 2px;
}

.stat-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    font-family: var(--font-display);
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

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

    .stat-number {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
}

/* ===================================
   REVIEWS MARQUEE - Sliding Testimonials
   =================================== */
.reviews-section {
    background: var(--bg-primary);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.reviews-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

/* Fade edges */
.reviews-marquee::before,
.reviews-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.reviews-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.reviews-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

.reviews-track {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: scrollReviews 40s linear infinite;
}

.reviews-marquee:hover .reviews-track {
    animation-play-state: paused;
}

@keyframes scrollReviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    flex-shrink: 0;
    width: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.4s var(--ease-out-expo),
                box-shadow 0.4s var(--ease-out-expo),
                border-color 0.3s ease;
    cursor: default;
    position: relative;
    z-index: 1;
}

.review-card:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2),
                0 0 40px rgba(99, 102, 241, 0.1);
    border-color: var(--accent-primary);
    z-index: 10;
}

.review-stars {
    font-size: 1.2rem;
    color: #f5c518;
    letter-spacing: 4px;
}

.review-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.review-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.review-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

    .review-card {
        width: 300px;
        padding: 28px 24px;
    }

    .reviews-track {
        gap: 20px;
        animation-duration: 30s;
    }

    .reviews-marquee::before,
    .reviews-marquee::after {
        width: 40px;
    }
}

/* ===================================
   FAQ ACCORDION - Dark Theme
   =================================== */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item.active {
    border-color: var(--accent-primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 32px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-tertiary);
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    padding-right: 24px;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-primary);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out-expo),
        padding 0.5s var(--ease-out-expo);
    padding: 0 32px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 32px 28px 32px;
}

.faq-answer p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===================================
   FINAL CTA SECTION - Apple Style
   =================================== */
.final-cta {
    background: var(--bg-primary);
    text-align: center;
    padding: 160px 0;
}

.final-cta h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 24px;
}

.final-cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {

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

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

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

@media (max-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-image {
        display: none;
    }

    .hero-3d-container {
        width: 100%;
        opacity: 0.3;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

    .service-detail {
        grid-template-columns: 1fr;
    }

    .service-detail-section:nth-child(even) .service-detail {
        direction: ltr;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .vision-mission {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    section {
        padding: var(--section-padding-mobile);
    }

    .navbar .container {
        height: 70px;
    }

    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-menu a {
        font-size: 1.1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar-cta {
        margin-left: 0;
    }

    .services-grid,
    .roadmap-grid,
    .image-cards-grid {
        grid-template-columns: 1fr;
    }

    /* Stacking cards mobile */
    .stacking-card {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 20px;
        top: 80px;
        min-height: auto;
    }

    .stacking-card-text h3 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    .stacking-card-number {
        font-size: 3rem;
        margin-bottom: 0;
    }

    /* Zigzag timeline mobile */
    .zigzag-timeline {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .zigzag-path-container {
        display: none;
    }

    .zigzag-step {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        margin-bottom: 0;
    }

    .zigzag-step:nth-child(odd),
    .zigzag-step:nth-child(even) {
        padding-right: 0;
        padding-left: 0;
        justify-content: flex-start;
    }

    .zigzag-step-number {
        position: relative;
        left: auto;
        top: auto;
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 0.9rem;
        margin: 0 20px 0 0 !important;
        order: -1 !important;
    }

    .zigzag-step-content {
        position: relative;
        top: auto;
        left: auto !important;
        right: auto !important;
        transform: none;
        width: 100%;
        text-align: left !important;
    }

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

    .contact-form-wrapper {
        padding: 36px 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        padding: 36px 24px;
    }

    .horizontal-panel {
        padding: 0 24px;
    }

    .horizontal-panel-number {
        font-size: 5rem;
        top: 40px;
        left: 24px;
    }
}

/* ===================================
   UTILITIES
   =================================== */
.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

/* ===================================
   LARGE SCREEN OPTIMIZATIONS
   Ensures proportional scaling on all PC screens
   =================================== */

/* -----------------------------------------------
   ACCENTURE-STYLE PROPORTIONAL SCALING
   Everything uses vw so 80% zoom = 100% layout
   ----------------------------------------------- */

/* Large Desktop cap — 1920px+ */
@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
    }
}

/* Large Desktop - 1440px+ */
@media (min-width: 1440px) {
    :root {
        --section-padding: 140px 0;
    }

    h1 {
        font-size: clamp(3rem, 5vw, 5rem);
    }

    h2 {
        font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    }

    .section-header {
        margin-bottom: 100px;
    }

    .hero-headline .headline-top,
    .hero-headline .headline-bottom {
        font-size: clamp(52px, 5vw, 84px);
    }

    .horizontal-panel-content {
        max-width: 1400px;
        gap: 100px;
    }

    .image-cards-grid {
        gap: 32px;
    }

    .stacking-card {
        padding: 70px;
    }
}

/* Extra Large Desktop - 1600px+ */
@media (min-width: 1600px) {
    :root {
        --section-padding: 160px 0;
    }

    .hero-cube-space {
        height: 380px;
    }

    .horizontal-panel {
        padding: 0 100px;
    }

    .zigzag-timeline {
        max-width: 1000px;
    }

    .roadmap-card {
        padding: 60px;
    }
}

/* 4K / Ultra-wide - 1920px+ */
@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
    }

    :root {
        --section-padding: 180px 0;
    }

    .horizontal-panel-content {
        max-width: 1600px;
    }

    .footer-content {
        gap: clamp(48px, 5vw, 100px);
    }
}

/* ===================================
   MID-RANGE LAPTOP BREAKPOINT
   Targets 1025px–1400px (zoomed-out or smaller laptops)
   Prevents huge gaps from fixed-pixel values
   =================================== */
@media (min-width: 1025px) and (max-width: 1400px) {
    .horizontal-panel-content {
        gap: clamp(24px, 3vw, 50px);
    }

    .horizontal-panel {
        padding: 0 clamp(24px, 4vw, 60px);
    }

    .stacking-card {
        padding: clamp(28px, 3.5vw, 50px);
        gap: clamp(20px, 2.5vw, 40px);
    }

    .service-detail {
        gap: clamp(32px, 4vw, 60px);
    }

    .contact-wrapper {
        gap: clamp(32px, 4vw, 60px);
    }

    .footer-content {
        gap: clamp(28px, 3vw, 60px);
    }

    .section-header {
        margin-bottom: clamp(50px, 6vw, 80px);
    }

    .vision-text {
        padding: 0 clamp(24px, 3vw, 60px);
    }
}

/* Ultra-wide screens - 2560px+ */
@media (min-width: 2560px) {
    body {
        font-size: 18px;
    }

    .container {
        max-width: 2000px;
    }

    h1 {
        font-size: 5.5rem;
    }

    h2 {
        font-size: 4rem;
    }
}

/* ===================================
   MOBILE ANIMATION OPTIMIZATIONS
   Smooth, touch-friendly animations
   =================================== */

/* Mobile-specific animation classes */
@media (max-width: 768px) {

    /* Simplified transitions for mobile */
    :root {
        --transition-fast: 0.15s ease-out;
        --transition-smooth: 0.3s ease-out;
        --transition-slow: 0.5s ease-out;
    }

    /* Hero section mobile — handled by inline styles in index.html */


    /* Horizontal scroll to vertical conversion */
    .horizontal-section {
        padding: 60px 0;
    }

    .horizontal-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .horizontal-panel {
        width: 100%;
        height: auto;
        min-height: auto;
        padding: 40px 20px;
    }

    .horizontal-panel-content {
        flex-direction: column;
        gap: 30px;
        padding: 0;
        max-width: 100%;
    }

    .panel-text {
        max-width: 100%;
        text-align: center;
    }

    .panel-text h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 15px;
    }

    .panel-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .panel-image {
        max-width: 100%;
        order: -1;
    }

    .panel-image img {
        max-height: 200px;
        width: auto;
        margin: 0 auto;
        border-radius: 12px;
    }

    .horizontal-panel-number {
        display: none;
    }

    /* Mobile card animations */
    .image-card {
        aspect-ratio: 16/12;
    }

    .image-card-content {
        transform: translateY(0);
        opacity: 1;
        padding: 20px;
    }

    .image-card-content h4 {
        font-size: 1.1rem;
    }

    .image-card-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Stacking cards mobile small */
    .stacking-card-image {
        aspect-ratio: 16/9;
    }

    /* Roadmap cards mobile */
    .roadmap-card {
        padding: 30px 24px;
    }

    .roadmap-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
    }

    /* Final CTA mobile */
    .final-cta {
        padding: 80px 0;
    }

    .final-cta h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .final-cta p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* Section headers mobile */
    .section-header {
        margin-bottom: 40px;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Button mobile optimization */
    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    /* Footer mobile */
    .footer {
        padding: 60px 0 30px;
    }

    .footer-brand img {
        height: 36px;
    }
}

/* Mobile fade-in animation */
@media (max-width: 768px) {
    .mobile-fade-in {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    }

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

    /* Touch-active states */
    .image-card.touch-active {
        transform: scale(0.98);
    }

    .image-card.touch-active img {
        transform: scale(1.05);
    }

    .btn.touch-active {
        transform: scale(0.96);
        opacity: 0.9;
    }
}

/* Small mobile devices - 375px and below */
@media (max-width: 375px) {

    .hero-headline .headline-top,
    .hero-headline .headline-bottom {
        font-size: 22px;
    }

    .container {
        padding: 0 16px;
    }

    .navbar .container {
        height: 60px;
    }

    .navbar-brand img {
        height: 32px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }
}

/* ===================================
   PERFORMANCE OPTIMIZATIONS
   =================================== */

/* Reduce motion for users who prefer it */
@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;
    }

    .hero-bg-text .flip-letter {
        animation: none;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

    /* Show content on image cards by default (no hover on touch) */
    .image-card-content {
        opacity: 1;
        transform: translateY(0);
    }

    /* Disable magnetic button effect */
    .btn-primary:hover {
        transform: none;
    }

    /* Simpler hover states */
    .service-card:hover,
    .feature-card:hover .feature-icon,
    .roadmap-card:hover,
    .philosophy-item:hover {
        transform: none;
    }
}

/* GPU acceleration for animations */
.image-card,
.service-card,
.stacking-card,
.roadmap-card,
.horizontal-panel,
.zigzag-step {
    will-change: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@media (max-width: 768px) {

    .horizontal-panel,
    .image-card {
        will-change: transform, opacity;
    }
}

/* ===================================
   WHATSAPP FLOATING WIDGET
   =================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 4000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-widget svg {
    width: 30px;
    height: 30px;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-widget svg {
        width: 26px;
        height: 26px;
    }
}

/* ===================================
   COOKIE CONSENT BANNER (GDPR)
   =================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    z-index: 9000;
    transform: translateY(100%);
    transition: transform 0.5s var(--ease-out-expo);
}

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

.cookie-consent-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 60px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-consent-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    flex: 1;
    min-width: 280px;
}

.cookie-consent-content p a {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }
}