/* ============================================
   WeFormed Landing Page - Premium Agency Design
   Enhanced with smooth animations & interactions
   ============================================ */

/* CSS Variables - Sophisticated Dark Theme */
:root {
    /* Background Colors */
    --bg-primary: #09090b;
    --bg-secondary: #0c0c0f;
    --bg-tertiary: #121218;
    --bg-elevated: #18181b;
    --bg-card: rgba(24, 24, 27, 0.6);
    --bg-card-hover: rgba(39, 39, 42, 0.8);

    /* Border Colors */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --border-accent: rgba(124, 58, 237, 0.4);

    /* Text Colors */
    --text-primary: #fafafa;
    --text-secondary: rgba(250, 250, 250, 0.7);
    --text-tertiary: rgba(250, 250, 250, 0.5);
    --text-muted: rgba(250, 250, 250, 0.35);

    /* Accent Colors - Refined violet/indigo */
    --accent-primary: #7c3aed;
    --accent-primary-light: #8b5cf6;
    --accent-secondary: #a78bfa;
    --accent-glow: rgba(124, 58, 237, 0.15);

    /* Premium Gradients */
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(167, 139, 250, 0.05) 100%);
    --gradient-text: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #a5b4fc 100%);
    --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.2) 0%, transparent 50%);

    /* Success Colors */
    --color-success: #22c55e;
    --color-success-muted: rgba(34, 197, 94, 0.15);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 140px;
    --section-padding-tablet: 100px;
    --section-padding-mobile: 72px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 150ms var(--ease-out-expo);
    --transition-normal: 300ms var(--ease-out-expo);
    --transition-slow: 500ms var(--ease-out-expo);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(124, 58, 237, 0.2);
}

/* Light Mode Overrides */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --bg-elevated: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-card-hover: rgba(255, 255, 255, 0.9);

    --border-subtle: rgba(0, 0, 0, 0.05);
    --border-default: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.12);
    --border-accent: rgba(124, 58, 237, 0.2);

    --text-primary: #09090b;
    --text-secondary: #4b5563;
    --text-tertiary: #6b7280;
    --text-muted: #9ca3af;

    --accent-glow: rgba(124, 58, 237, 0.08);
    --gradient-text: linear-gradient(135deg, #09090b 0%, #374151 50%, #4b5563 100%);
    --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.1);
}

/* Light Mode Patterns Adjustment */
[data-theme="light"] .grid-pattern {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    opacity: 0.6;
}

[data-theme="light"] .particle {
    background: var(--accent-primary);
    opacity: 0.2;
}

[data-theme="light"] .glow-line {
    opacity: 0.1;
}

[data-theme="light"] .gradient-orb {
    opacity: 0.4;
    filter: blur(100px);
}

[data-theme="light"] .service-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .proof-card,
[data-theme="light"] .stat-card {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    border-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .service-card:hover,
[data-theme="light"] .pricing-card:hover,
[data-theme="light"] .proof-card:hover,
[data-theme="light"] .stat-card:hover {
    box-shadow: var(--shadow-lg);
    background: #ffffff;
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
}

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

/* Smooth scrolling for all devices */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}

html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

html.lenis,
html.lenis body {
    height: auto;
}

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

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transition: background-color 0.3s ease, color 0.3s ease;
}
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transition: background-color 0.4s ease, color 0.4s ease;
}

::selection {
    background: rgba(124, 58, 237, 0.3);
    color: var(--text-primary);
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--accent-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    z-index: 10000;
    transition: top var(--transition-fast);
    text-decoration: none;
    font-weight: 500;
}

.skip-link:focus {
    top: 16px;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--gradient-primary);
    width: 0%;
    z-index: 10000;
    transform-origin: left;
    will-change: transform;
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--accent-secondary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.15s var(--ease-out-quint), opacity 0.2s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.custom-cursor.visible {
    opacity: 1;
}

.custom-cursor.hover {
    width: 50px;
    height: 50px;
    border-color: var(--accent-primary);
    background: rgba(124, 58, 237, 0.1);
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.cursor-dot.visible {
    opacity: 1;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation - Clean, Minimal
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: all 0.4s var(--ease-out-quint);
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom-color: var(--border-subtle);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: opacity var(--transition-fast);
}

.nav-logo:hover {
    opacity: 0.8;
}

.logo-icon {
    height: 60px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--ease-out-quint);
}

.nav-logo:hover .logo-icon {
    transform: scale(1.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-default);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quint);
}

.theme-toggle:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-toggle .sun-icon {
    display: none;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

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

.logo-text {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 450;
    transition: color var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.3s var(--ease-out-quint);
}

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

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--text-primary);
    color: var(--bg-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out-quint);
    position: relative;
    overflow: hidden;
}

/* .nav-cta::before {
    content: '';
    position: absolute;
    color: #ffffff;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
} */

.nav-cta:hover {
    transform: translateY(-2px);
    background: var(--gradient-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.nav-cta:hover::before {
    opacity: 1;
}

.nav-cta span {
    position: relative;
    z-index: 2;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-out-quint);
    transform-origin: center;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out-quint);
    z-index: 999;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-quint);
}

.mobile-menu.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) {
    transition-delay: 100ms;
}

.mobile-menu.active .mobile-nav-links li:nth-child(2) {
    transition-delay: 150ms;
}

.mobile-menu.active .mobile-nav-links li:nth-child(3) {
    transition-delay: 200ms;
}

.mobile-menu.active .mobile-nav-links li:nth-child(4) {
    transition-delay: 250ms;
}

.mobile-nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 500;
    transition: all 0.3s var(--ease-out-quint);
    transform: scale(1);
}

@media (max-width: 480px) {
    .mobile-nav-links a {
        font-size: 1.5rem;
    }
}

.mobile-nav-links a:hover {
    color: var(--accent-secondary);
    transform: scale(1.05);
}

.mobile-cta {
    padding: 16px 32px;
    background: var(--text-primary);
    color: var(--bg-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius-md);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-quint);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 480px) {
    .mobile-cta {
        padding: 12px 28px;
        font-size: 0.875rem;
        font-weight: 600;
        min-height: 44px;
    }
}

.mobile-menu.active .mobile-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 300ms;
}

/* ============================================
   Hero Section - Immersive & Dynamic
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-primary);
    z-index: 0;
}

/* Animated Gradient Background */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 20% 30%, rgba(167, 139, 250, 0.08) 0%, transparent 50%);
    animation: heroGradient 15s ease-in-out infinite;
}

@keyframes heroGradient {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Floating Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
    top: -20%;
    left: -10%;
    animation: floatOrb1 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    bottom: -15%;
    right: -10%;
    animation: floatOrb2 25s ease-in-out infinite;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    animation: floatOrb3 18s ease-in-out infinite;
}

@keyframes floatOrb1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(40px, 30px) scale(1.05);
    }

    50% {
        transform: translate(20px, -20px) scale(0.95);
    }

    75% {
        transform: translate(-30px, 20px) scale(1.02);
    }
}

@keyframes floatOrb2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-50px, -30px) scale(1.08);
    }

    66% {
        transform: translate(30px, 40px) scale(0.92);
    }
}

@keyframes floatOrb3 {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) translate(30px, -40px) scale(1.1);
    }
}

/* Grid Pattern */
.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

/* Particles */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-secondary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* Glowing Lines */
.glow-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.glow-line {
    position: absolute;
    width: 1px;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, var(--accent-primary) 50%, transparent 100%);
    opacity: 0.3;
    animation: glowLineMove 8s ease-in-out infinite;
}

.glow-line:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.glow-line:nth-child(2) {
    left: 40%;
    animation-delay: 2s;
}

.glow-line:nth-child(3) {
    left: 60%;
    animation-delay: 4s;
}

.glow-line:nth-child(4) {
    left: 80%;
    animation-delay: 6s;
}

@keyframes glowLineMove {

    0%,
    100% {
        transform: translateY(-200px);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    50% {
        transform: translateY(50vh);
        opacity: 0.3;
    }

    90% {
        opacity: 0.4;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: 28px;
    font-size: 0.8125rem;
    color: var(--accent-secondary);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.8s var(--ease-out-quint) 0.2s forwards;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    margin-bottom: 24px;
    overflow: hidden;
}

.title-line {
    display: block;
    font-size: clamp(2.75rem, 6vw, 4.25rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(60px);
    animation: titleReveal 1s var(--ease-out-quint) forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.3s;
}

.title-line:nth-child(2) {
    animation-delay: 0.45s;
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 400;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--ease-out-quint) 0.6s forwards;
    transition: all 0.4s var(--ease-out-quint);
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 0.9375rem;
        line-height: 1.6;
        margin-bottom: 28px;
    }
}

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

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--ease-out-quint) 0.75s forwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.4s var(--ease-out-quint);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .btn {
        padding: 12px 24px;
        font-size: 0.875rem;
        font-weight: 600;
        min-height: 44px;
        transition: all 0.3s var(--ease-out-quint);
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.8125rem;
        font-weight: 600;
        min-height: 42px;
    }
}

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease-out-quint);
}

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

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

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(124, 58, 237, 0.2);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-default);
}

.btn-outline:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-3px);
}

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

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15);
}

.btn-outline-white {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-quint) 0.9s forwards;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    transition: color 0.3s ease;
}

.trust-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-success);
}

.trust-badge:hover {
    color: var(--text-secondary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-quint) 1.1s forwards;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 1.5px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
    transition: border-color 0.3s ease;
}

.mouse:hover {
    border-color: var(--text-secondary);
}

.wheel {
    width: 3px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(10px);
    }
}

/* ============================================
   Scroll Animations
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-quint), transform 0.8s var(--ease-out-quint);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}

/* Stagger children animation */
.stagger-children>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out-quint), transform 0.6s var(--ease-out-quint);
}

.stagger-children.visible>*:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger-children.visible>*:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-children.visible>*:nth-child(3) {
    transition-delay: 0.15s;
}

.stagger-children.visible>*:nth-child(4) {
    transition-delay: 0.2s;
}

.stagger-children.visible>*:nth-child(5) {
    transition-delay: 0.25s;
}

.stagger-children.visible>*:nth-child(6) {
    transition-delay: 0.3s;
}

.stagger-children.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Trust Section
   ============================================ */
.trust-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.trust-section .section-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stat-card {
    background: var(--bg-tertiary);
    padding: 40px 24px;
    text-align: center;
    transition: background 0.4s var(--ease-out-quint), transform 0.4s var(--ease-out-quint);
    position: relative;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-subtle);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    background: var(--bg-elevated);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card>* {
    position: relative;
    z-index: 1;
}

.stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out-quint);
}

.stat-card:hover .stat-icon {
    opacity: 1;
    transform: scale(1.1);
}

.stat-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-secondary);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    transition: transform 0.3s var(--ease-out-quint);
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.stat-label {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin-top: 4px;
}

/* ============================================
   Section Styles
   ============================================ */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    color: var(--accent-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.6;
}

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

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.5s var(--ease-out-quint);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .service-card {
        padding: 28px;
    }
}

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

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out-quint);
}

.service-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

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

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    transition: transform 0.3s var(--ease-out-quint), box-shadow 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

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

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

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

.service-features li {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-tertiary);
    font-size: 0.8125rem;
    transition: all 0.3s var(--ease-out-quint);
}

.service-card:hover .service-features li {
    border-color: var(--border-default);
    color: var(--text-secondary);
}

/* ============================================
   Process Section
   ============================================ */
.process-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--accent-primary), var(--accent-secondary), transparent);
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-secondary);
    position: relative;
    z-index: 1;
    transition: all 0.3s var(--ease-out-quint);
}

.timeline-item:hover .timeline-number {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
}

.timeline-content {
    flex: 1;
    padding-top: 8px;
}

.timeline-duration {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-success-muted);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-success);
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   Tech Section
   ============================================ */
.tech-section {
    padding: 100px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.tech-title-compact {
    font-size: clamp(1.9rem, 3vw, 1.5rem) !important;
    line-height: 1.2;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s var(--ease-out-quint);
}

.tech-item img {
    width: 48px;
    height: 48px;
    filter: grayscale(100%) brightness(0.6);
    opacity: 0.5;
    transition: all 0.4s var(--ease-out-quint);
}

.tech-item:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: translateY(-8px) scale(1.1);
}

.tech-item span {
    font-size: 0.8125rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.tech-item:hover span {
    color: var(--text-secondary);
}

/* ============================================
   Proof/Case Studies Section
   ============================================ */
.proof-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

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

.proof-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--ease-out-quint);
}

.proof-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.proof-image {
    height: 180px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-quint);
}

.proof-card:hover .proof-image {
    transform: scale(1.05);
}

.proof-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 50%);
}

.proof-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent-glow);
    color: var(--accent-secondary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    margin: 20px 24px 10px;
}

.proof-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 0 24px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.proof-card>p {
    color: var(--text-secondary);
    padding: 0 24px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.proof-results {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 24px 24px;
}

.result-badge {
    padding: 5px 10px;
    background: var(--color-success-muted);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-success);
}

/* Excellence Section */
.excellence-section {
    padding: var(--section-padding) 0;
    position: relative;
    background: var(--bg-secondary);
}

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

.excellence-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    padding: 48px;
    border-radius: var(--radius-xl);
    transition: all 0.4s var(--ease-out-quint);
    position: relative;
    overflow: hidden;
}

.excellence-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, var(--accent-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.excellence-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.excellence-card:hover::before {
    opacity: 1;
}

.excellence-card-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-glow);
    color: var(--accent-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.4s var(--ease-out-quint);
}

.excellence-card:hover .excellence-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-primary);
    color: white;
}

.excellence-card-icon svg {
    width: 28px;
    height: 28px;
}

.excellence-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.excellence-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

[data-theme="light"] .excellence-card {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .excellence-card:hover {
    box-shadow: var(--shadow-lg);
}

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


/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
    transition: border-color 0.3s ease;
}

.faq-item:first-child {
    border-top: 1px solid var(--border-subtle);
}

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-secondary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--text-tertiary);
    transition: transform 0.4s var(--ease-out-quint), color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out-quint);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

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

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 30% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

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

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.cta-content>p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.contact-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s var(--ease-out-quint);
}

.contact-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.contact-link svg {
    width: 18px;
    height: 18px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 48px 0 24px;
    }
    
    .footer-grid {
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 20px;
    }
}

.footer-brand .nav-logo {
    margin-bottom: 12px;
}

.footer-tagline {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin-bottom: 20px;
    max-width: 240px;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-tertiary);
    transition: all 0.4s var(--ease-out-quint);
}

.social-links a:hover {
    border-color: var(--accent-primary);
    color: var(--accent-secondary);
    background: var(--accent-glow);
    transform: translateY(-2px) scale(1.05);
}

.social-links svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease-out-quint);
}

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
        gap: 10px;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .social-links a {
        width: 36px;
        height: 36px;
    }
}

.footer-links h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s var(--ease-out-quint);
    display: inline-block;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.8125rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-legal {
        justify-content: center;
    }
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--text-secondary);
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-quint);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--accent-primary);
    background: var(--accent-glow);
    transform: translateY(-4px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: transform 0.3s var(--ease-out-quint);
}

.back-to-top:hover svg {
    color: var(--accent-secondary);
    transform: translateY(-2px);
}

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

    .nav-links {
        gap: 24px;
    }

    .nav-cta {
        padding: 9px 18px;
    }

    .hamburger {
        display: none;
    }

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

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

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

/* ============================================
   Tablet Optimizations (769px - 992px)
   ============================================ */
@media (max-width: 992px) and (min-width: 769px) {
    .container {
        padding: 0 32px;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.65;
        transition: all 0.3s ease;
    }
    
    h2 {
        font-size: 2rem;
        transition: all 0.3s ease;
    }
    
    h3 {
        font-size: 1.375rem;
        transition: all 0.3s ease;
    }
    
    .btn {
        padding: 13px 26px;
        font-size: 0.9rem;
        transition: all 0.35s var(--ease-out-quint);
    }
}

/* ============================================
   Mobile Optimizations (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .container {
        padding: 0 20px;
    }
    
    /* Compact body text for mobile */
    p {
        font-size: 0.9375rem;
        line-height: 1.6;
        transition: all 0.3s ease;
    }
    
    /* Section headings - compact */
    h2 {
        font-size: 1.75rem;
        transition: all 0.3s ease;
    }
    
    h3 {
        font-size: 1.25rem;
        transition: all 0.3s ease;
    }
    
    /* Section descriptions */
    .section-desc {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    /* Service cards */
    .service-card h3 {
        font-size: 1.125rem;
    }
    
    .service-card p {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    /* Pricing cards */
    .pricing-card .price {
        font-size: 2rem;
    }
    
    .pricing-card li {
        font-size: 0.875rem;
    }
    
    /* Stat cards */
    .stat-number {
        font-size: 2.25rem;
    }
    
    .stat-label {
        font-size: 0.8125rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
        background: var(--border-subtle);
        border-radius: var(--radius-lg);
    }

    .stat-card {
        border-bottom: none;
        padding: 32px 20px;
    }

    .stat-card:nth-child(3),
    .stat-card:nth-child(4) {
        border-top: 1px solid var(--border-subtle);
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-brand .nav-logo {
        justify-content: center;
    }
    
    .footer-tagline {
        max-width: 100%;
        text-align: center;
        margin: 0 auto 20px;
    }
    
    .footer-links h4 {
        font-size: 0.75rem;
        transition: all 0.3s ease;
    }
    
    .footer-links a {
        font-size: 0.8125rem;
        transition: all 0.3s var(--ease-out-quint);
    }
    
    .footer-links a:hover {
        transform: translateX(3px);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        gap: 24px;
    }

    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    .contact-options {
        flex-direction: column;
        gap: 16px;
    }

    .trust-badges {
        flex-direction: row;
        gap: 16px;
        flex-wrap: wrap;
    }
    
    .trust-badge {
        font-size: 0.75rem;
    }

    .scroll-indicator {
        display: none;
    }

    .custom-cursor,
    .cursor-dot {
        display: none;
    }
}

@media (max-width: 480px) {

    .hero-ctas,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-ctas .btn,
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
        transition: all 0.3s var(--ease-out-quint);
    }

    .service-card,
    .pricing-card {
        padding: 24px;
        transition: all 0.3s var(--ease-out-quint);
    }
    
    /* Compact text sizes for very small screens */
    p {
        font-size: 0.875rem;
        line-height: 1.55;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.125rem;
    }
    
    /* Card text sizes - compact */
    .service-card p,
    .pricing-card p,
    .proof-card p {
        font-size: 0.8125rem;
    }
    
    .service-card h3,
    .pricing-card h3,
    .proof-card h3 {
        font-size: 1rem;
    }
    
    /* List items */
    li {
        font-size: 0.875rem;
    }
    
    /* Input fields and form elements - optimized */
    input,
    textarea,
    select {
        font-size: 0.875rem !important;
        min-height: 44px;
        transition: all 0.3s ease;
    }
    
    textarea {
        min-height: 100px;
    }
    
    label {
        font-size: 0.8125rem !important;
    }
    
    /* Footer adjustments for very small screens */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links ul {
        padding: 0;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    /* Optimize all links for mobile touch */
    a {
        -webkit-tap-highlight-color: rgba(124, 58, 237, 0.2);
        touch-action: manipulation;
    }
    
    /* Smooth transitions for all interactive elements */
    button,
    .btn,
    a,
    input,
    textarea,
    select {
        -webkit-tap-highlight-color: transparent;
        transition: all 0.3s var(--ease-out-quint);
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-quint);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    width: 95%;
    max-width: 700px;
    padding: 40px;
    border-radius: var(--radius-xl);
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s var(--ease-out-quint);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

@media (max-width: 480px) {
    .modal-overlay {
        align-items: flex-start;
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .modal-content {
        padding: 24px;
        max-height: calc(100vh - 60px); 
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

@media (max-width: 480px) {
    .modal-overlay.active .modal-content {
        transform: scale(1); /* No translate on mobile to respect flow */
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.enquiry-form .form-group:nth-child(1),
.enquiry-form .form-group:nth-child(2) {
    grid-column: span 1;
}

.enquiry-form .form-group:nth-child(3),
.enquiry-form .form-group:nth-child(4),
.submit-btn {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .enquiry-form {
        grid-template-columns: 1fr;
    }
    
    .enquiry-form .form-group,
    .submit-btn {
        grid-column: span 1 !important;
    }
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-elevated);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-success-message {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s var(--ease-out-quint);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

[data-theme="light"] .modal-content {
    background: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .modal-overlay {
    background: rgba(255, 255, 255, 0.8);
}

/* Floating WhatsApp Icon */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* Subpage Global Styles */
.subpage-main {
    padding-top: 80px;
}

.subpage-hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.subpage-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}

.subpage-hero .hero-subtitle {
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Page Styles */
.contact-page-content {
    padding: 80px 0;
}

.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.info-group h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.info-group p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.info-cards {
    display: grid;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s var(--ease-out-quint);
}

.info-card:hover {
    transform: translateX(8px);
    border-color: var(--accent-primary);
    background: var(--accent-glow);
}

.icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.icon-wrap.wa {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.icon-wrap.email {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.icon-wrap.phone {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.icon-wrap.calendly {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.card-details h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.card-details span {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.glass-form-wrap {
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    padding: 48px;
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.contact-page-form {
    display: grid;
    gap: 24px;
}

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

/* Privacy Policy Styles */
.container-narrow {
    max-width: 800px;
}

.policy-hero {
    padding: 100px 0;
}

.policy-content {
    margin-top: 60px;
}

.policy-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.policy-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.policy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-secondary);
}

.policy-content li {
    margin-bottom: 12px;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .contact-split-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .glass-form-wrap {
        padding: 30px 20px;
    }
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
}

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

.blog-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s var(--ease-out-quint);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.blog-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-quint);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    z-index: 2;
}

.blog-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--accent-primary);
}

.blog-excerpt {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .btn-text {
    margin-top: auto;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-card:hover .btn-text {
    color: var(--accent-primary);
    gap: 12px;
}

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

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

