/* ============================================
   WebCraft Studio - Main Stylesheet
   Modern 2026 Design System
   ============================================ */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
    /* Colors */
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-200: #c7d2fe;
    --primary-300: #a5b4fc;
    --primary-400: #818cf8;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --primary-800: #3730a3;
    --primary-900: #312e81;
    
    /* Shorthand aliases for quiz and other pages */
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --secondary-500: #8b5cf6;
    --secondary-600: #7c3aed;
    
    --accent-500: #06b6d4;
    --accent-600: #0891b2;
    
    --success-500: #10b981;
    --warning-500: #f59e0b;
    --error-500: #ef4444;
    
    /* Neutrals */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gray-950: #030712;
    
    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #0f0f1a;
    --bg-dark-secondary: #1a1a2e;
    
    /* Text */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --text-light: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
    --gradient-radial: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 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-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --shadow-glow-lg: 0 0 80px rgba(99, 102, 241, 0.4);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 6rem;
    --container-max: 1280px;
    --container-padding: 1.5rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-preloader: 400;
    --z-cursor: 500;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #a5b4fc;
    --text-muted: #6b7280;
}

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

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

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

body.no-scroll {
    overflow: hidden !important;
    height: 100vh;
    height: 100dvh;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--text-secondary);
}

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

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-md), 0 0 0 0 rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(99, 102, 241, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-500);
    border: 2px solid var(--primary-500);
}

.btn-outline:hover {
    background: var(--primary-500);
    color: var(--text-light);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

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

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

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

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

/* ---------- Preloader ---------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-preloader);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo .logo-text {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: var(--gray-700);
    margin-top: 1.5rem;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    display: block;
    width: 50%;
    height: 100%;
    background: var(--gradient-primary);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}

/* ---------- Custom Cursor ---------- */
.cursor-dot,
.cursor-outline {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor-dot,
    .cursor-outline {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: var(--z-cursor);
        transform: translate(-50%, -50%);
    }
    
    .cursor-dot {
        width: 8px;
        height: 8px;
        background: var(--primary-500);
        border-radius: 50%;
    }
    
    .cursor-outline {
        width: 40px;
        height: 40px;
        border: 2px solid var(--primary-300);
        border-radius: 50%;
        transition: all 0.1s ease;
    }
    
    .cursor-outline.hover {
        width: 60px;
        height: 60px;
        border-color: var(--primary-500);
        background: rgba(99, 102, 241, 0.1);
    }
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    z-index: 9999;
    transition: all var(--transition-base);
}

/* Force navbar visible when menu is open */
.navbar.menu-open {
    transform: translateY(0) !important;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon svg {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.navbar:not(.scrolled) .logo-text {
    color: white;
}

.logo-text .accent {
    color: var(--primary-500);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-500);
}

.navbar:not(.scrolled) .nav-link:hover,
.navbar:not(.scrolled) .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link i {
    font-size: 0.625rem;
    transition: transform var(--transition-fast);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

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

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: var(--primary-50);
    color: var(--primary-600);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-switcher {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 0.25rem;
}

.navbar:not(.scrolled) .language-switcher {
    background: rgba(255, 255, 255, 0.15);
}

.lang-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.navbar:not(.scrolled) .lang-btn {
    color: rgba(255, 255, 255, 0.7);
}

.lang-btn.active {
    background: white;
    color: var(--primary-600);
    box-shadow: var(--shadow-sm);
}

.navbar:not(.scrolled) .lang-btn.active {
    background: white;
    color: var(--primary-600);
}

.nav-cta {
    display: none;
}

.cart-icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.navbar:not(.scrolled) .cart-icon {
    color: white;
}

.cart-icon:hover {
    background: var(--gray-100);
    color: var(--primary-500);
}

.navbar:not(.scrolled) .cart-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: var(--primary-500);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-count:empty,
.cart-count[data-count="0"] {
    display: none;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    position: relative;
    z-index: 999999;
    cursor: pointer;
    background: transparent;
    border: none;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.navbar:not(.scrolled) .mobile-toggle span {
    background: white;
}

/* When menu is open, always show dark toggle */
.navbar.menu-open .mobile-toggle span {
    background: var(--text-primary);
}

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

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

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

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.3) 0%, transparent 60%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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 at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.badge-icon {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-title span {
    display: block;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 50%, #67e8f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-mockup {
    position: relative;
}

.mockup-browser {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.browser-dots {
    display: flex;
    gap: 8px;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.browser-dots span:first-child { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca42; }

.browser-content {
    padding: 1.5rem;
}

.mockup-demo {
    aspect-ratio: 16/10;
    background: var(--gradient-dark);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.demo-nav {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.demo-hero {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.demo-text {
    width: 80%;
    height: 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
}

.demo-cta {
    width: 40%;
    height: 16px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

.demo-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.demo-card {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
}

.floating-elements {
    position: absolute;
}

.float-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.float-1 { top: -20px; right: -20px; animation: float1 4s ease-in-out infinite; }
.float-2 { bottom: 20%; right: -40px; animation: float2 5s ease-in-out infinite; }
.float-3 { bottom: -20px; left: 20%; animation: float3 4.5s ease-in-out infinite; }
.float-4 { top: 30%; left: -30px; animation: float4 3.5s ease-in-out infinite; }

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(-5deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

@keyframes float4 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(-3deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    animation: bounce 2s ease infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ---------- Trusted Section ---------- */
.trusted-section {
    padding: 3rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.trusted-title {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.logo-carousel {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
}

.logo-track {
    display: flex;
    gap: 4rem;
    animation: scroll-logos 20s linear infinite;
}

.logo-item {
    flex-shrink: 0;
}

.logo-item span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-400);
    white-space: nowrap;
}

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

/* ---------- Free Sample Banner ---------- */
.free-sample-banner {
    background: var(--gradient-primary);
    padding: 3rem 0;
    margin-top: -1px;
}

.sample-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.sample-banner-text {
    flex: 1;
    min-width: 300px;
}

.sample-banner-text h2 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 0.5rem;
}

.sample-banner-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .sample-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .sample-banner-content .btn {
        width: 100%;
    }
}

/* ---------- Hero Trust Badges ---------- */
.hero-trust {
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.trust-badge i {
    color: #10b981;
}

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

/* ---------- How It Works Section - Futuristic 2026 Design ---------- */
.how-it-works-section {
    position: relative;
    padding: 8rem 0 10rem;
    background: linear-gradient(180deg, #030712 0%, #0a0a1a 50%, #030712 100%);
    overflow: hidden;
    isolation: isolate;
}

/* Background Effects */
.htw-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.htw-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.htw-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: htw-orb-float 20s ease-in-out infinite;
}

.htw-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.htw-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation-delay: -7s;
}

.htw-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes htw-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 30px) scale(1.05); }
}

.htw-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
    animation: htw-scan 8s linear infinite;
    opacity: 0.5;
}

@keyframes htw-scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { top: 100%; opacity: 0; }
}

/* Container */
.htw-container {
    position: relative;
    z-index: 2;
}

/* Section Header */
.htw-header {
    text-align: center;
    margin-bottom: 5rem;
}

.htw-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.htw-badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: htw-pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

@keyframes htw-pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.htw-badge-text {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.htw-badge-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    transform: translateX(-100%);
    animation: htw-badge-shine 3s ease-in-out infinite;
}

@keyframes htw-badge-shine {
    0% { transform: translateX(-100%); }
    50%, 100% { transform: translateX(100%); }
}

.htw-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.htw-title-line {
    display: block;
    opacity: 0.9;
}

.htw-title-highlight {
    display: block;
    position: relative;
}

.htw-glitch-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: htw-gradient-shift 5s ease infinite;
    position: relative;
}

.htw-glitch-text::before,
.htw-glitch-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.htw-glitch-text::before {
    animation: htw-glitch-1 5s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.htw-glitch-text::after {
    animation: htw-glitch-2 5s infinite linear alternate-reverse;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes htw-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes htw-glitch-1 {
    0%, 95%, 100% { transform: translate(0); }
    96% { transform: translate(-2px, 1px); }
    97% { transform: translate(2px, -1px); }
}

@keyframes htw-glitch-2 {
    0%, 95%, 100% { transform: translate(0); }
    96% { transform: translate(2px, 1px); }
    97% { transform: translate(-2px, -1px); }
}

.htw-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Timeline */
.htw-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    margin-bottom: 4rem;
}

.htw-timeline-track {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(99, 102, 241, 0.2);
    z-index: 1;
}

.htw-timeline-progress {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.how-it-works-section.in-view .htw-timeline-progress {
    transform: scaleX(1);
}

.htw-timeline-glow {
    position: absolute;
    inset: -4px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
    filter: blur(8px);
    opacity: 0;
    animation: htw-track-pulse 3s ease-in-out infinite;
}

@keyframes htw-track-pulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.5; }
}

/* Step Cards */
.htw-step {
    position: relative;
    z-index: 2;
}

.htw-step-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.htw-connector-dot {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.htw-dot-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: htw-ring-rotate 10s linear infinite;
}

.htw-dot-ring::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #6366f1;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px #6366f1;
}

@keyframes htw-ring-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.htw-dot-core {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 0 30px rgba(99, 102, 241, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.htw-dot-pulse {
    position: absolute;
    inset: -10px;
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 50%;
    animation: htw-dot-pulse-anim 2s ease-out infinite;
}

@keyframes htw-dot-pulse-anim {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Card Styling */
.htw-card {
    position: relative;
    background: rgba(15, 15, 30, 0.8);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.htw-card:hover {
    transform: translateY(-10px) rotateX(5deg);
}

.htw-card-bg {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
}

.htw-card-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.htw-card:hover .htw-card-grid {
    opacity: 1;
}

.htw-card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.htw-card:hover .htw-card-shine {
    transform: translateX(100%);
}

.htw-card-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.5) 0%,
        rgba(139, 92, 246, 0.2) 50%,
        rgba(6, 182, 212, 0.5) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.htw-card:hover .htw-card-border {
    opacity: 1;
}

.htw-card-hologram {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(99, 102, 241, 0.1) 25%,
        transparent 50%,
        rgba(139, 92, 246, 0.1) 75%,
        transparent 100%
    );
    background-size: 400% 400%;
    animation: htw-hologram 8s ease infinite;
    pointer-events: none;
}

@keyframes htw-hologram {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.htw-card-content {
    position: relative;
    z-index: 2;
}

/* Icon Wrapper */
.htw-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.htw-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1));
    border-radius: 20px;
    transform: rotate(45deg);
}

.htw-icon-ring {
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    transform: rotate(45deg);
}

.htw-icon-ring-1 {
    animation: htw-icon-ring-pulse 3s ease-in-out infinite;
}

.htw-icon-ring-2 {
    inset: -12px;
    border-radius: 28px;
    animation: htw-icon-ring-pulse 3s ease-in-out infinite 0.5s;
    opacity: 0.5;
}

@keyframes htw-icon-ring-pulse {
    0%, 100% { opacity: 0.3; transform: rotate(45deg) scale(1); }
    50% { opacity: 0.6; transform: rotate(45deg) scale(1.05); }
}

.htw-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.htw-icon svg {
    width: 36px;
    height: 36px;
    color: #a5b4fc;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.htw-icon-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #6366f1;
    border-radius: 50%;
    opacity: 0;
    animation: htw-particle-float 3s ease-in-out infinite;
}

.htw-icon-particles span:nth-child(1) { top: 0; left: 50%; animation-delay: 0s; }
.htw-icon-particles span:nth-child(2) { bottom: 0; left: 50%; animation-delay: 0.75s; }
.htw-icon-particles span:nth-child(3) { left: 0; top: 50%; animation-delay: 1.5s; }
.htw-icon-particles span:nth-child(4) { right: 0; top: 50%; animation-delay: 2.25s; }

@keyframes htw-particle-float {
    0%, 100% { opacity: 0; transform: translate(0, 0) scale(0); }
    50% { opacity: 1; transform: translate(var(--tx, 10px), var(--ty, -10px)) scale(1); }
}

.htw-icon-particles span:nth-child(1) { --tx: 0; --ty: -15px; }
.htw-icon-particles span:nth-child(2) { --tx: 0; --ty: 15px; }
.htw-icon-particles span:nth-child(3) { --tx: -15px; --ty: 0; }
.htw-icon-particles span:nth-child(4) { --tx: 15px; --ty: 0; }

/* Text Styling */
.htw-text {
    text-align: center;
}

.htw-step-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(99, 102, 241, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.htw-text h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.htw-text p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

/* Time Indicator */
.htw-time-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    font-size: 0.8125rem;
    color: #10b981;
}

.htw-time-indicator i {
    font-size: 0.75rem;
}

/* Featured Card (Step 2) */
.htw-card-featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(15, 15, 30, 0.9));
    transform: scale(1.05);
}

.htw-card-featured:hover {
    transform: scale(1.05) translateY(-10px) rotateX(5deg);
}

.htw-card-featured .htw-card-border {
    opacity: 0.8;
}

.htw-featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    animation: htw-badge-bounce 2s ease-in-out infinite;
}

@keyframes htw-badge-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.htw-featured-badge i {
    font-size: 0.625rem;
}

/* Magic Sparkles */
.htw-magic-sparkles {
    position: absolute;
    inset: -20px;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    font-size: 0.75rem;
    color: #fbbf24;
    animation: htw-sparkle 2s ease-in-out infinite;
}

.s1 { top: 0; left: 20%; animation-delay: 0s; }
.s2 { top: 30%; right: 0; animation-delay: 0.5s; }
.s3 { bottom: 0; left: 30%; animation-delay: 1s; }
.s4 { top: 50%; left: 0; animation-delay: 1.5s; }

@keyframes htw-sparkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

/* Preview Window */
.htw-preview-window {
    margin-top: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.htw-preview-dots {
    display: flex;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.htw-preview-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.htw-preview-dots span:first-child { background: #ef4444; }
.htw-preview-dots span:nth-child(2) { background: #fbbf24; }
.htw-preview-dots span:last-child { background: #10b981; }

.htw-preview-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.htw-preview-line {
    height: 4px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.5), rgba(139, 92, 246, 0.3));
    border-radius: 2px;
    animation: htw-preview-load 2s ease-in-out infinite;
}

.htw-preview-line.short {
    width: 60%;
}

.htw-preview-block {
    height: 30px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 4px;
    animation: htw-preview-load 2s ease-in-out infinite 0.3s;
}

@keyframes htw-preview-load {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Rocket Animation */
.htw-icon-rocket {
    animation: htw-rocket-hover 3s ease-in-out infinite;
}

@keyframes htw-rocket-hover {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.htw-rocket-trail {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.htw-rocket-trail span {
    width: 4px;
    height: 4px;
    background: linear-gradient(to bottom, #f97316, transparent);
    border-radius: 50%;
    animation: htw-trail-fade 1s ease-out infinite;
}

.htw-rocket-trail span:nth-child(2) { animation-delay: 0.2s; opacity: 0.7; }
.htw-rocket-trail span:nth-child(3) { animation-delay: 0.4s; opacity: 0.4; }

@keyframes htw-trail-fade {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(10px) scale(0.5); }
}

/* Guarantee Badge */
.htw-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    font-size: 0.8125rem;
    color: #a5b4fc;
}

.htw-guarantee i {
    color: #6366f1;
}

/* CTA Section */
.htw-cta {
    text-align: center;
    position: relative;
}

.htw-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(40px);
    pointer-events: none;
}

.htw-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 1.25rem 2.5rem;
    border-radius: 100px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.htw-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

.htw-btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transition: all 0.3s ease;
}

.htw-cta-btn:hover .htw-btn-bg {
    background: linear-gradient(135deg, #7c7fff, #a78bfa);
}

.htw-btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.htw-btn-text {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: white;
}

.htw-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.htw-cta-btn:hover .htw-btn-icon {
    transform: translateX(5px);
}

.htw-btn-icon i {
    font-size: 0.75rem;
    color: white;
}

.htw-btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.htw-cta-btn:hover .htw-btn-shine {
    left: 100%;
}

/* CTA Stats */
.htw-cta-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.htw-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.htw-stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.htw-stat-icon i {
    color: #6366f1;
    font-size: 1rem;
}

.htw-stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.htw-stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.htw-stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.3), transparent);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .htw-timeline {
        gap: 1.5rem;
    }
    
    .htw-card-featured {
        transform: scale(1);
    }
    
    .htw-card-featured:hover {
        transform: translateY(-10px) rotateX(5deg);
    }
}

@media (max-width: 768px) {
    .how-it-works-section {
        padding: 5rem 0 6rem;
    }
    
    .htw-timeline {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 400px;
        margin: 0 auto 3rem;
    }
    
    .htw-timeline-track {
        display: none;
    }
    
    .htw-step {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .htw-card {
        padding: 2rem 1.5rem;
    }
    
    .htw-cta-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .htw-stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .htw-connector-dot {
        width: 60px;
        height: 60px;
    }
    
    .htw-dot-core {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Animation on scroll */
.htw-step {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.htw-step-1 { transition-delay: 0.1s; }
.htw-step-2 { transition-delay: 0.3s; }
.htw-step-3 { transition-delay: 0.5s; }

.how-it-works-section.in-view .htw-step {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- FAQ Section ---------- */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    background: white;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question i {
    color: var(--primary-500);
    transition: transform var(--transition-fast);
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.7;
}

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

.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

.faq-cta p {
    margin-bottom: 1rem;
    font-weight: 500;
}

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

/* ---------- Testimonials Grid ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-stars {
    color: var(--warning-500);
    margin-bottom: 1rem;
}

.testimonial-stars i {
    font-size: 0.875rem;
}

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

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

/* ---------- Popular Badge ---------- */
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.25rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

/* ---------- CTA Note ---------- */
.cta-note {
    margin-top: 2.25rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Section Styles ---------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-50);
    color: var(--primary-600);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
}

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

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

.service-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

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

.service-card.featured {
    background: var(--gradient-dark);
    border-color: transparent;
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured .service-features li {
    color: white;
}

.service-card.featured .service-features li i {
    color: var(--primary-400);
}

.service-card.featured::before {
    display: none;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.service-icon-wrapper {
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-50);
    color: var(--primary-500);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.service-card.featured .service-icon {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-400);
}

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

.service-card p {
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.service-features {
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.service-features li i {
    color: var(--success-500);
    font-size: 0.75rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-500);
    font-weight: 600;
    font-size: 0.9375rem;
}

.service-card.featured .service-link {
    color: var(--primary-400);
}

.service-link i {
    transition: transform var(--transition-fast);
}

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

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

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

.process-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 4rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--gray-200);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.process-step:nth-child(odd) {
    text-align: right;
    flex-direction: row-reverse;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-200);
    line-height: 1;
    flex-shrink: 0;
}

.step-content {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-50);
    color: var(--primary-500);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.process-step:nth-child(odd) .step-icon {
    margin-left: auto;
}

.step-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9375rem;
}

/* ---------- Projects Section ---------- */
.projects-section {
    padding: var(--section-padding) 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-card.large {
    grid-row: span 2;
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-card.large .project-image {
    height: 300px;
}

.project-card:not(.large) .project-image {
    height: 180px;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-placeholder {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tags span {
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.project-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.project-stats .stat {
    text-align: center;
}

.project-stats .stat strong {
    display: block;
    font-size: 1.25rem;
    color: var(--success-500);
}

.project-stats .stat span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-500);
    font-weight: 600;
    font-size: 0.9375rem;
}

.project-link i {
    transition: transform var(--transition-fast);
}

.project-link:hover i {
    transform: translateX(4px);
}

.projects-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ---------- Testimonials Section ---------- */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--warning-500);
    margin-bottom: 1rem;
}

.stars i {
    font-size: 0.875rem;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-info strong {
    display: block;
    font-size: 0.9375rem;
}

.author-info span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: all var(--transition-fast);
}

.nav-dot.active {
    background: var(--primary-500);
    width: 32px;
    border-radius: var(--radius-full);
}

/* ---------- Pricing Preview Section ---------- */
.pricing-preview-section {
    padding: var(--section-padding) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-glow);
}

.pricing-card .featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.pricing-header p {
    font-size: 0.9375rem;
}

.pricing-price {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
}

.pricing-price .amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-price .period {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--success-500);
}

.pricing-cta {
    text-align: center;
    margin-top: 3rem;
}

.pricing-cta p {
    margin-bottom: 1rem;
}

/* ---------- Pricing Page Specific Styles ---------- */
.pricing-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.pricing-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.pricing-card.featured .pricing-tag {
    background: var(--primary-500);
    color: white;
}

.pricing-subtitle {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.25rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-period {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.pricing-price .plus {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    vertical-align: top;
}

/* ---------- Sample Banner ---------- */
.sample-banner {
    background: var(--gradient-primary);
    padding: 2rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.sample-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.sample-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
}

.sample-text {
    flex: 1;
}

.sample-text h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.sample-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
}

/* ---------- Included Section ---------- */
.included-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.included-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.included-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.included-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary-500);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.included-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.included-item p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ---------- FAQ Section (Pricing Page) ---------- */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

/* ---------- Comparison Section ---------- */
.comparison-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    font-size: 1rem;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table th.featured {
    background: var(--primary-500);
    color: white;
}

.comparison-table td.featured {
    background: var(--primary-50);
}

.comparison-table .fa-check {
    color: var(--success-500);
    font-size: 1rem;
}

.comparison-table .fa-times {
    color: var(--gray-400);
    font-size: 1rem;
}

.comparison-table .price-row td {
    font-size: 1.25rem;
    padding: 1.5rem;
    border-bottom: none;
}

.comparison-table .price-row td strong {
    color: var(--primary-600);
}

/* ---------- Hosting Page Styles ---------- */
.hosting-features-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.hosting-plans-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.feature-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.feature-card .feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary-500);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Hosting Pricing Specific */
.pricing-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Button Variants */
.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-200);
    border-color: var(--gray-400);
}

.btn-full {
    width: 100%;
}

/* FAQ Container */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Footer Social (alias for social-links) */
.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);
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-500);
    color: white;
}

/* Responsive Hosting */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ---------- Responsive Styles for Pakketten ---------- */
@media (max-width: 1024px) {
    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sample-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .sample-banner .btn {
        width: 100%;
    }
    
    .included-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        order: -1;
    }
}

/* ---------- CTA Section ---------- */
.cta-section {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--primary-400);
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact ul li i {
    color: var(--primary-400);
    margin-top: 0.25rem;
}

.footer-contact ul li a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-contact ul li a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.legal-links a:hover {
    color: var(--primary-400);
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.footer-badges .badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-badges .badge i {
    color: var(--success-500);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    z-index: 1000000;
    transform: translateY(100%);
    transition: transform var(--transition-base);
    will-change: transform;
    touch-action: manipulation;
}

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

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    font-size: 0.9375rem;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: var(--z-sticky);
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* ---------- WhatsApp Float Button ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: var(--z-sticky);
    transition: all var(--transition-base);
}

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

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--bg-dark);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 5rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* ---------- Glass Effect Variables ---------- */
:root {
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.08);
}

/* ---------- Page Header ---------- */
.page-header {
    position: relative;
    padding: 10rem 0 4rem;
    background: var(--gradient-dark);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-header-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.3) 0%, transparent 60%);
}

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

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb i {
    font-size: 0.625rem;
}

/* ---------- Services Overview / Navigation ---------- */
.services-overview {
    background: var(--bg-secondary);
    padding: 2rem 0;
    position: sticky;
    top: 70px;
    z-index: 90;
    border-bottom: 1px solid var(--gray-200);
}

.services-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.service-nav-item:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    color: var(--primary-600);
}

.service-nav-item.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.service-nav-item i {
    font-size: 1rem;
}

/* ---------- Service Detail Sections ---------- */
.service-detail {
    padding: var(--section-padding) 0;
}

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

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-tag i {
    font-size: 0.875rem;
}

.service-detail-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.service-detail-content > p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ---------- Service Features Grid ---------- */
.service-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.service-detail.alt-bg .feature-item {
    background: white;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary-50);
    color: var(--primary-500);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.feature-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---------- Service CTA ---------- */
.service-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---------- Service Visual Card ---------- */
.service-detail-visual {
    display: flex;
    justify-content: center;
}

.service-visual-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    width: 100%;
    max-width: 500px;
}

/* Webdesign Mockup */
.visual-mockup {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.mockup-screen {
    padding: 1rem;
}

.screen-nav {
    height: 12px;
    background: linear-gradient(90deg, var(--gray-300) 0%, var(--gray-300) 30%, transparent 30%);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.screen-hero {
    padding: 2rem 1rem;
    text-align: center;
}

.hero-text-block {
    width: 70%;
    height: 24px;
    background: var(--gray-300);
    border-radius: var(--radius-sm);
    margin: 0 auto 1rem;
}

.hero-cta-block {
    width: 40%;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    margin: 0 auto;
}

.screen-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 0 1rem 1.5rem;
}

.feature-block {
    height: 60px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* AI Chat Demo */
.ai-visual {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
}

.ai-chat-demo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-bubble {
    max-width: 85%;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.chat-bubble.bot {
    background: var(--primary-500);
    color: white;
    border-bottom-left-radius: var(--radius-sm);
    align-self: flex-start;
}

.chat-bubble.user {
    background: var(--gray-700);
    color: white;
    border-bottom-right-radius: var(--radius-sm);
    align-self: flex-end;
}

/* 3D Demo */
.visual-3d-demo {
    text-align: center;
    padding: 3rem 1rem;
}

/* SEO Demo */
.seo-demo {
    padding: 1rem;
}

.seo-result {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--success-500);
}

.seo-rank {
    width: 48px;
    height: 48px;
    background: var(--success-500);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.seo-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.seo-text strong {
    color: var(--primary-600);
    font-size: 1.125rem;
}

.seo-text span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Shop Demo */
.shop-demo {
    text-align: center;
    padding: 3rem 1rem;
}

/* Automation Demo */
.automation-demo {
    text-align: center;
    padding: 3rem 1rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--gradient-dark);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.3) 0%, transparent 60%);
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.cta-content h2 {
    color: white;
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.btn-white:hover {
    background: var(--gray-100);
}

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

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ---------- Responsive Styles for Diensten ---------- */
@media (max-width: 1024px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-detail-grid.reverse {
        direction: ltr;
    }
    
    .service-detail-content h2 {
        font-size: 2rem;
    }
    
    .services-overview {
        position: static;
    }
}

@media (max-width: 768px) {
    .services-nav {
        gap: 0.5rem;
    }
    
    .service-nav-item {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .service-nav-item span {
        display: none;
    }
    
    .service-features-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .service-cta {
        flex-direction: column;
    }
    
    .service-cta .btn {
        width: 100%;
    }
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-card.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 1024px) {
    /* Disable navbar hide on scroll for mobile */
    .navbar {
        transform: translateY(0) !important;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1rem;
        padding-top: 100px;
        padding-left: 2rem;
        padding-right: 2rem;
        padding-bottom: 2rem;
        z-index: 99999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    /* Force dark text color on mobile menu regardless of scroll state */
    .nav-menu .nav-link,
    .navbar:not(.scrolled) .nav-menu .nav-link,
    .navbar .nav-menu .nav-link {
        font-size: 1.25rem;
        color: var(--text-primary) !important;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--primary-500) !important;
        background: var(--primary-50);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin-top: 0.5rem;
        display: none;
        background: transparent;
    }
    
    .dropdown.open .dropdown-menu {
        display: block;
    }
    
    .dropdown .nav-link i {
        transition: transform 0.3s ease;
    }
    
    .dropdown.open .nav-link i {
        transform: rotate(180deg);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 2rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        left: 40px;
    }
    
    .process-step,
    .process-step:nth-child(odd) {
        flex-direction: row;
        text-align: left;
    }
    
    .process-step:nth-child(odd) .step-icon {
        margin-left: 0;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }
    
    .hero {
        min-height: auto;
        padding: 7rem 0 4rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: 100px;
    }
    
    .services-grid,
    .pricing-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card.large {
        grid-column: span 1;
    }
    
    .testimonial-nav {
        display: flex;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .language-switcher {
        display: none;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }
}

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* Selection Color */
::selection {
    background: var(--primary-200);
    color: var(--primary-900);
}
