/* ========================================
   VT Software Group - Modern One-Page Website
   Design: Dark immersive hero + Light sections
   Colors: Navy #0F172A, Cyan #06B6D4, Violet #8B5CF6
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --color-dark: #0F172A;
    --color-dark-secondary: #1E293B;
    --color-light: #F8FAFC;
    --color-light-secondary: #E2E8F0;
    --color-cyan: #06B6D4;
    --color-cyan-light: #22D3EE;
    --color-violet: #8B5CF6;
    --color-violet-light: #A78BFA;
    --color-text: #334155;
    --color-text-light: #64748B;
    --color-white: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-violet) 100%);
    --gradient-dark: linear-gradient(180deg, var(--color-dark) 0%, #0A0F1C 100%);
    --gradient-glow: radial-gradient(circle, var(--color-cyan) 0%, transparent 70%);
    
    /* Typography */
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: clamp(3rem, 6vw, 5rem);
    --container-max: 1280px;
    --container-padding: clamp(1rem, 5vw, 2rem);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

/* 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(--color-text);
    background-color: var(--color-light);
    overflow-x: hidden;
}

/* Utility Classes */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reveal Animation Base */
.reveal {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-48px);
}

.reveal-left.revealed {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(48px);
}

.reveal-right.revealed {
    transform: translateX(0);
}

.reveal-scale {
    transform: translateY(32px) scale(0.96);
}

.reveal-scale.revealed {
    transform: translateY(0) scale(1);
}

/* Section entrance — whole section soft fade/slide */
.section-enter {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-enter.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Background décor fades in with section */
.bg-decor-animate::before,
.bg-decor-animate::after {
    opacity: 0 !important;
    transition: opacity 1.2s ease, transform 0.15s linear !important;
}

.bg-decor-animate.section-visible::before,
.bg-decor-animate.section-visible::after {
    opacity: 1 !important;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-medium);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--font-display);
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-vt {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-menu-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-panel,
.nav-overlay {
    display: none;
}

.desktop-menu-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.desktop-menu-nav a:not(.nav-cta):hover {
    color: var(--color-dark);
}

.desktop-menu-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

.desktop-menu-nav a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    color: var(--color-white) !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-medium);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1002;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

/* ========================================
   HERO SECTION - LIGHT MODE
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 50%, #F8FAFC 100%);
    overflow: hidden;
    padding: 6rem var(--container-padding) 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Animated Gradient Orbs - Light Mode */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    will-change: transform;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: rgba(6, 182, 212, 0.3);
    top: -20%;
    left: -10%;
    opacity: 0.4;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: rgba(139, 92, 246, 0.25);
    bottom: -20%;
    right: -10%;
    opacity: 0.35;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.2));
    top: 40%;
    left: 50%;
    opacity: 0.3;
}

/* Grid Overlay - Light Mode */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Hero Pattern Overlay */
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url('images/pattern-1.png');
    background-repeat: repeat;
    opacity: 0.02;
    mix-blend-mode: multiply;
}

/* Hero Container - Split Layout */
.hero-container {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    position: relative;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid transparent;
    background-clip: padding-box;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 8px 28px rgba(15, 23, 42, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.75), rgba(139, 92, 246, 0.55));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    animation: badgeShine 4.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes badgeShine {
    0%, 55% { left: -40%; opacity: 0; }
    60% { opacity: 1; }
    80%, 100% { left: 120%; opacity: 0; }
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-violet));
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.45);
    animation: livePulse 1.8s ease-out infinite;
    flex-shrink: 0;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-dark);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.5);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(6, 182, 212, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
        transform: scale(1);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(0.9375rem, 1.25vw, 1.0625rem);
    color: var(--color-text-light);
    max-width: 420px;
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Hero Trust Indicators - Light Mode */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trust-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
}

.trust-label {
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(15, 23, 42, 0.1);
}

/* Hero Visual - Clean Terminal */
.hero-visual {
    position: relative;
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terminal-container {
    position: relative;
    width: 100%;
    max-width: 480px;
}

/* Terminal Window */
.terminal-window {
    background: #0f1419;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 50px 100px rgba(15, 23, 42, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: terminalFloat 6s ease-in-out infinite;
}

@keyframes terminalFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.terminal-header {
    background: linear-gradient(180deg, #1a1f2e 0%, #151922 100%);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.terminal-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.terminal-dots .dot:hover {
    transform: scale(1.1);
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.terminal-title {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.02em;
}

.terminal-body {
    padding: 2rem 1.5rem;
    min-height: 180px;
}

.terminal-line {
    margin-bottom: 0.75rem;
}

.terminal-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.typing-line {
    display: flex;
    align-items: center;
    min-height: 2.5rem;
    margin-bottom: 1.5rem;
}

.typing-text {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

.cursor {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 300;
    color: #06B6D4;
    animation: cursorBlink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.terminal-subtext {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.subtext-icon {
    color: #06B6D4;
    font-size: 0.875rem;
}

.subtext {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Floating Decorative Elements */
.terminal-float {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(139, 92, 246, 0.15));
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
}

.terminal-float.float-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -80px;
    animation: floatBlob1 8s ease-in-out infinite;
}

.terminal-float.float-2 {
    width: 150px;
    height: 150px;
    bottom: -40px;
    left: -60px;
    animation: floatBlob2 10s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes floatBlob1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.1); }
}

@keyframes floatBlob2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -15px) scale(1.05); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-medium);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--color-dark);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: var(--color-white);
    border-color: rgba(15, 23, 42, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Scroll Indicator - Light Mode */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(15, 23, 42, 0.2);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-cyan);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* ========================================
   SECTION COMMON STYLES
   ======================================== */
.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-cyan);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin-top: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--color-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: var(--radius-sm);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-cyan);
}

.feature span {
    font-weight: 600;
    color: var(--color-dark);
}

/* About Visual - New Design */
.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.about-main-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.1));
    transition: transform 0.6s ease;
}

.about-image-wrapper:hover .about-main-image {
    transform: scale(1.02);
}

/* Founded Badge - Modern Circular Design */
.founded-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    animation: badgeFloat 4s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.badge-inner {
    width: 80px;
    height: 80px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 30px rgba(15, 23, 42, 0.15),
        inset 0 -2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 2;
}

.badge-year {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.badge-divider {
    width: 24px;
    height: 2px;
    background: var(--gradient-primary);
    margin: 0.375rem 0;
    border-radius: 1px;
}

.badge-text {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.badge-ring {
    position: absolute;
    inset: 0;
    border: 2px dashed rgba(6, 182, 212, 0.3);
    border-radius: 50%;
    animation: badgeRingSpin 20s linear infinite;
}

@keyframes badgeRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* About Decorations */
.about {
    --scroll-x: 0px;
    --scroll-y: 0px;
    --scroll-r: 0deg;
}

.about-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
    transition: opacity 1s ease;
}

.about-decoration.dec-dots {
    width: 80px;
    height: 80px;
    bottom: 40px;
    left: 0;
    background-image: radial-gradient(circle, rgba(6, 182, 212, 0.25) 2px, transparent 2px);
    background-size: 12px 12px;
    animation: decorPulse 5s ease-in-out infinite;
}

.about-decoration.dec-circle {
    width: 120px;
    height: 120px;
    bottom: -20px;
    right: 40px;
    border: 2px solid rgba(139, 92, 246, 0.15);
    border-radius: 50%;
    animation: decorPulse 7s ease-in-out infinite reverse;
}

@keyframes decorPulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--color-light);
    position: relative;
    overflow: hidden;
    --scroll-offset: 0px;
    --scroll-x: 0px;
    --scroll-r: 0deg;
}

/* Geometric shapes background - scroll-animated */
.services::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -50px;
    width: 250px;
    height: 250px;
    border: 3px solid rgba(6, 182, 212, 0.18);
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    transform: translate(var(--scroll-x), calc(var(--scroll-offset) * -1.4)) rotate(var(--scroll-r));
}

.services::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: -30px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: var(--radius-lg);
    pointer-events: none;
    will-change: transform;
    transform: translate(calc(var(--scroll-x) * -1), var(--scroll-offset)) rotate(calc(45deg + var(--scroll-r)));
}

.services .container {
    position: relative;
    z-index: 1;
}

/* New Services Layout */
.services-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.services-left .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.services-desc {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Services Illustration */
.services-image {
    margin-top: 1rem;
}

.services-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(15, 23, 42, 0.1));
    transition: transform 0.4s ease;
}

.services-image:hover img {
    transform: scale(1.02);
}

/* Bento Grid - Uniform Cards */
.services-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.bento-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--color-light-secondary);
    transition: var(--transition-medium);
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.bento-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition-medium);
}

.bento-card:hover .bento-icon {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-violet));
}

.bento-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-cyan);
    transition: var(--transition-fast);
}

.bento-card:hover .bento-icon svg {
    stroke: var(--color-white);
}

.bento-card h4 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.bento-card p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.5;
}


/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #E0F7FA 0%, #F0F9FF 40%, #EDE9FE 100%);
    position: relative;
    overflow: hidden;
}

/* Soft theme orbs */
.partners-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.partners-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    will-change: transform;
}

.partners-orb.orb-1 {
    width: 420px;
    height: 420px;
    background: var(--color-cyan);
    top: -160px;
    left: -100px;
    opacity: 0.22;
}

.partners-orb.orb-2 {
    width: 380px;
    height: 380px;
    background: var(--color-violet);
    bottom: -100px;
    right: -60px;
    opacity: 0.2;
}

.partners-orb.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-violet));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
}

/* Grid pattern overlay */
.partners-grid-pattern {
    position: absolute;
    top: -25%;
    right: -10%;
    bottom: -25%;
    left: -10%;
    width: auto;
    height: auto;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    will-change: transform;
}

.partners .container {
    position: relative;
    z-index: 1;
}

.partners-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Partners Auto-Slider — seamless infinite marquee */
.partners-slider {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.partners-track {
    display: flex;
    width: max-content;
    animation: slidePartners 45s linear infinite;
    will-change: transform;
}

.partners-slider:hover .partners-track {
    animation-play-state: paused;
}

.partners-group {
    display: flex;
    flex-shrink: 0;
    gap: 2rem;
    padding-right: 2rem;
}

@keyframes slidePartners {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.partner-item {
    padding: 1rem 1.75rem;
    background: var(--color-white);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: var(--radius-md);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
    min-width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.partner-item:hover {
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.2);
    border-color: var(--color-cyan);
    transform: translateY(-3px);
}

.partner-item img {
    max-height: 48px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ========================================
   WHY US SECTION
   ======================================== */
.why-us {
    padding: var(--section-padding) 0;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
    --scroll-offset: 0px;
    --scroll-x: 0px;
    --scroll-r: 0deg;
}

/* Background decorative elements - scroll-animated */
.why-us::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(139, 92, 246, 0.12));
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    transform: translate(var(--scroll-x), calc(var(--scroll-offset) * 1.2)) rotate(var(--scroll-r));
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 550px;
    height: 550px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    transform: translate(calc(var(--scroll-x) * -1.1), calc(var(--scroll-offset) * -1)) rotate(calc(var(--scroll-r) * -1));
}

/* Multiple background decorations */
.why-us .container {
    position: relative;
}

/* Dotted pattern - top center */
.why-us .container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(circle, rgba(6, 182, 212, 0.14) 2px, transparent 2px);
    background-size: 15px 15px;
    pointer-events: none;
    will-change: transform;
    transform: translateX(-50%) translateY(var(--scroll-offset));
}

/* Plus signs decoration - right side */
.why-us .container::after {
    content: '+  +  +';
    position: absolute;
    top: 30%;
    right: -20px;
    font-size: 2rem;
    font-weight: 300;
    color: rgba(139, 92, 246, 0.12);
    writing-mode: vertical-rl;
    letter-spacing: 20px;
    pointer-events: none;
    will-change: transform;
    transform: translateY(calc(var(--scroll-offset) * -0.8));
}

.why-us .section-header {
    position: relative;
    z-index: 1;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.why-card {
    background: var(--color-light);
    border: 1px solid var(--color-light-secondary);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-medium);
    position: relative;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-violet));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0;
    transition: var(--transition-medium);
}

.why-card:hover {
    background: var(--color-white);
    border-color: transparent;
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.12);
    transform: translateY(-8px);
}

.why-card:hover::before {
    opacity: 1;
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-violet));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

.why-card:hover .why-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.why-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-white);
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.why-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--color-light);
    position: relative;
    overflow: hidden;
    --scroll-offset: 0px;
    --scroll-x: 0px;
    --scroll-r: 0deg;
}

/* Quote marks background decoration */
.testimonials::before {
    content: '"';
    position: absolute;
    top: 5%;
    left: 5%;
    font-family: Georgia, serif;
    font-size: 20rem;
    line-height: 1;
    color: rgba(6, 182, 212, 0.06);
    pointer-events: none;
    will-change: transform;
    transform: translate(var(--scroll-x), calc(var(--scroll-offset) * 0.7)) rotate(var(--scroll-r));
}

/* Dotted circle decoration */
.testimonials::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    border: 3px dashed rgba(139, 92, 246, 0.14);
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    transform: translate(calc(var(--scroll-x) * -1), calc(var(--scroll-offset) * -0.9)) rotate(var(--scroll-r));
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials-wrapper {
    max-width: 100%;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-item {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--color-light-secondary);
    transition: var(--transition-medium);
}

.testimonial-item:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.1);
    transform: translateY(-6px);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.testimonial-rating svg {
    width: 18px;
    height: 18px;
    fill: #FBBF24;
}

.testimonial-text {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-light-secondary);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 1rem;
}

.author-role {
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

/* ========================================
   CONTACT CTA (Homepage)
   ======================================== */
.contact-cta {
    padding: 2.75rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #E0F7FA 0%, #F0F9FF 40%, #EDE9FE 100%);
}

.contact-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-cta-bg .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.28;
    will-change: transform;
}

.contact-cta-bg .orb-1 {
    width: 360px;
    height: 360px;
    background: var(--color-cyan);
    top: -140px;
    left: -80px;
}

.contact-cta-bg .orb-2 {
    width: 320px;
    height: 320px;
    background: var(--color-violet);
    bottom: -120px;
    right: -60px;
}

.contact-cta-bg .grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.contact-cta .container {
    position: relative;
    z-index: 1;
}

.contact-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.contact-cta-text {
    flex: 1;
    min-width: 0;
}

.contact-cta .section-label {
    margin-bottom: 0.5rem;
}

.contact-cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--color-dark);
    margin-bottom: 0;
}

.contact-cta .btn-primary {
    flex-shrink: 0;
    box-shadow: 0 10px 28px rgba(6, 182, 212, 0.3);
}

@media (max-width: 640px) {
    .contact-cta {
        padding: 2rem 0;
    }

    .contact-cta-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .contact-cta .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-page-hero {
    padding: 9rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #E0F7FA 0%, #F0F9FF 40%, #EDE9FE 100%);
}

.contact-page-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-page-hero-bg .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.28;
    will-change: transform;
}

.contact-page-hero-bg .orb-1 {
    width: 480px;
    height: 480px;
    background: var(--color-cyan);
    top: -120px;
    right: 5%;
}

.contact-page-hero-bg .orb-2 {
    width: 400px;
    height: 400px;
    background: var(--color-violet);
    bottom: -100px;
    left: 0;
}

.contact-page-hero-bg .grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.contact-page-hero .container {
    position: relative;
    z-index: 1;
}

.contact-page-hero-content {
    max-width: none;
}

.contact-page-title {
    margin-bottom: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .contact-page-title {
        white-space: normal;
    }
}

.page-contact .contact {
    padding-top: 2rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
    --scroll-offset: 0px;
    --scroll-x: 0px;
    --scroll-r: 0deg;
    --scroll-scale: 1;
}

/* Gradient blob decoration */
.contact::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    transform: translate(var(--scroll-x), var(--scroll-offset)) scale(var(--scroll-scale));
}

/* Triangle decoration */
.contact::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid rgba(139, 92, 246, 0.07);
    pointer-events: none;
    will-change: transform;
    transform: translate(calc(var(--scroll-x) * -1), calc(var(--scroll-offset) * -0.8)) rotate(var(--scroll-r));
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-content .section-title {
    margin-bottom: 1.5rem;
}

.contact-text {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text);
}

.info-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-cyan);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.form-status {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    min-height: 1.25em;
}

.form-status.is-success {
    color: #059669;
}

.form-status.is-error {
    color: #DC2626;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--color-light-secondary);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-dark);
    background: var(--color-white);
    transition: var(--transition-fast);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-cyan);
}

.form-group label {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-fast);
    background: var(--color-white);
    padding: 0 0.25rem;
}

.form-group textarea + label {
    top: 1rem;
    transform: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--color-cyan);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-dark);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1.5rem;
    line-height: 1.7;
    max-width: 360px;
}

.footer-brand .nav-logo {
    display: inline-flex;
}

.footer-logo .logo-image {
    height: 48px;
    /* Reset filter for footer - keep original logo colors on dark background */
    filter: none;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gradient-primary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 0.375rem 0;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-visual {
        height: 350px;
    }
    
    .terminal-container {
        max-width: 420px;
    }
    
    .typing-text {
        font-size: 1.25rem;
    }
    
    .cursor {
        font-size: 1.25rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-image-wrapper {
        padding: 1.5rem;
    }
    
    .about-main-image {
        max-width: 400px;
    }
    
    .founded-badge {
        width: 80px;
        height: 80px;
        top: 10px;
        right: 10px;
    }
    
    .badge-inner {
        width: 70px;
        height: 70px;
    }
    
    .badge-year {
        font-size: 1.25rem;
    }
    
    .badge-divider {
        width: 20px;
        margin: 0.25rem 0;
    }
    
    .badge-text {
        font-size: 0.625rem;
    }
    
    .services-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-left {
        text-align: center;
    }
    
    .services-image {
        display: flex;
        justify-content: center;
    }
    
    .services-image img {
        max-width: 350px;
    }
    
    .services-bento {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-group {
        gap: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .partner-item {
        padding: 0.875rem 1.5rem;
        min-width: 140px;
        height: 70px;
    }
    
    .partner-item img {
        max-height: 40px;
        max-width: 120px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-menu-nav {
        display: none;
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
        z-index: 1000;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(88vw, 360px);
        height: 100dvh;
        height: 100vh;
        display: block;
        z-index: 1001;
        transform: translateX(105%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateX(0);
        pointer-events: auto;
    }

    .mobile-menu-panel {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 1.5rem 1.5rem 2rem;
        background: linear-gradient(160deg, #E0F7FA 0%, #F8FAFC 42%, #EDE9FE 100%);
        box-shadow: -20px 0 60px rgba(15, 23, 42, 0.18);
        position: relative;
        overflow: hidden;
    }

    .mobile-menu-panel::before {
        content: '';
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(6, 182, 212, 0.18);
        filter: blur(40px);
        top: -60px;
        right: -40px;
        pointer-events: none;
    }

    .mobile-menu-panel::after {
        content: '';
        position: absolute;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(139, 92, 246, 0.16);
        filter: blur(40px);
        bottom: 40px;
        left: -50px;
        pointer-events: none;
    }

    .mobile-menu-header,
    .mobile-menu-nav,
    .mobile-menu-footer {
        position: relative;
        z-index: 1;
    }

    .mobile-menu-header {
        padding-top: 0.5rem;
        margin-bottom: 2.5rem;
    }

    .mobile-menu-brand img {
        height: 36px;
        width: auto;
        display: block;
    }

    .mobile-menu-tagline {
        margin-top: 0.75rem;
        font-size: 0.8125rem;
        color: var(--color-text-light);
        font-weight: 500;
    }

    .mobile-menu-nav {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        flex: 1;
    }

    .mobile-menu-nav a {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.95rem 0.25rem;
        color: var(--color-dark);
        text-decoration: none;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        opacity: 0;
        transform: translateX(24px);
        transition: color 0.25s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
    }

    .nav-links.active .mobile-menu-nav a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active .mobile-menu-nav a:nth-child(1) { transition-delay: 0.08s; }
    .nav-links.active .mobile-menu-nav a:nth-child(2) { transition-delay: 0.14s; }
    .nav-links.active .mobile-menu-nav a:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active .mobile-menu-nav a:nth-child(4) { transition-delay: 0.26s; }
    .nav-links.active .mobile-menu-nav a:nth-child(5) { transition-delay: 0.32s; }

    .mobile-menu-nav a:hover,
    .mobile-menu-nav a:active {
        color: var(--color-cyan);
    }

    .menu-index {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--color-cyan);
        letter-spacing: 0.04em;
        min-width: 1.5rem;
    }

    .menu-label {
        font-size: 1.35rem;
        font-weight: 600;
        letter-spacing: -0.02em;
    }

    .mobile-menu-cta {
        display: inline-flex !important;
        justify-content: center;
        margin-top: 1.5rem;
        border-bottom: none !important;
        padding: 0.95rem 1.25rem !important;
        border-radius: 12px;
        box-shadow: 0 10px 28px rgba(6, 182, 212, 0.28);
    }

    .mobile-menu-cta .menu-index,
    .mobile-menu-cta .menu-label {
        display: none;
    }

    .mobile-menu-footer {
        display: flex;
        gap: 0.75rem;
        padding-top: 1.5rem;
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.4s ease 0.35s, transform 0.4s ease 0.35s;
    }

    .nav-links.active .mobile-menu-footer {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-footer a {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.75);
        border: 1px solid rgba(15, 23, 42, 0.08);
        color: var(--color-dark);
        transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    }

    .mobile-menu-footer a:hover {
        background: var(--gradient-primary);
        color: #fff;
        transform: translateY(-2px);
    }

    .mobile-menu-footer svg {
        width: 16px;
        height: 16px;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1002;
    }

    .nav-toggle.active {
        background: #fff;
        box-shadow: 0 6px 20px rgba(6, 182, 212, 0.2);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero-title br {
        display: none;
    }
    
    .hero-visual {
        height: auto;
        margin-top: 2rem;
    }
    
    .terminal-container {
        max-width: 100%;
    }
    
    .terminal-window {
        border-radius: 12px;
    }
    
    .terminal-header {
        padding: 0.875rem 1rem;
    }
    
    .terminal-body {
        padding: 1.5rem 1.25rem;
        min-height: 150px;
    }
    
    .typing-text {
        font-size: 1.125rem;
    }
    
    .cursor {
        font-size: 1.125rem;
    }
    
    .terminal-float {
        display: none;
    }
    
    .hero-trust {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .trust-divider {
        display: none;
    }
    
    .trust-item {
        flex: 1;
        min-width: 80px;
        align-items: center;
        text-align: center;
    }
    
    .services-bento {
        grid-template-columns: 1fr;
    }
    
    .services-image img {
        max-width: 300px;
    }

    .bento-wide {
        grid-column: span 1;
    }
    
    .bento-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .bento-row .bento-icon {
        margin-bottom: 0;
    }
    
    .service-featured {
        flex-wrap: wrap;
    }
    
    .featured-link {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .partners-group {
        gap: 1rem;
        padding-right: 1rem;
    }
    
    .partners-track {
        animation-duration: 40s;
    }
    
    .partner-item {
        padding: 0.75rem 1.25rem;
        min-width: 120px;
        height: 64px;
    }
    
    .partner-item img {
        max-height: 36px;
        max-width: 100px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .about-features {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .about-image-wrapper {
        padding: 1rem;
    }
    
    .about-main-image {
        max-width: 100%;
    }
    
    .founded-badge {
        width: 70px;
        height: 70px;
        top: 5px;
        right: 5px;
    }
    
    .badge-inner {
        width: 60px;
        height: 60px;
    }
    
    .badge-year {
        font-size: 1.125rem;
    }
    
    .badge-divider {
        width: 16px;
        height: 1.5px;
        margin: 0.2rem 0;
    }
    
    .badge-text {
        font-size: 0.5625rem;
    }
    
    .about-decoration {
        display: none;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .why-card {
        padding: 2rem;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .testimonial-item {
        padding: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-visual {
        height: auto;
    }
    
    .terminal-window {
        border-radius: 10px;
    }
    
    .terminal-header {
        padding: 0.75rem 1rem;
    }
    
    .terminal-dots .dot {
        width: 10px;
        height: 10px;
    }
    
    .terminal-title {
        font-size: 0.75rem;
    }
    
    .services-image img {
        max-width: 250px;
    }
    
    .terminal-body {
        padding: 1.25rem 1rem;
        min-height: 140px;
    }
    
    .terminal-label {
        font-size: 0.75rem;
    }
    
    .typing-text {
        font-size: 1rem;
    }
    
    .cursor {
        font-size: 1rem;
    }
    
    .subtext {
        font-size: 0.75rem;
    }
    
    .typing-line {
        min-height: 2rem;
    }
}
    
    .partners-group {
        gap: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .partners-track {
        animation-duration: 35s;
    }
    
    .partner-item {
        padding: 0.625rem 1rem;
        min-width: 100px;
        height: 56px;
    }
    
    .partner-item img {
        max-height: 30px;
        max-width: 90px;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .section-enter,
    .bg-decor-animate::before,
    .bg-decor-animate::after {
        opacity: 1 !important;
        transform: none !important;
    }
}
