/* ==========================================================================
   ENSURE HITELBIZTOSÍTÁS - Premium Landing Page Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --color-primary: #0A1628;
    --color-primary-light: #1E3A5F;
    --color-primary-lighter: #2D4A6F;

    --color-accent-teal: #00D4AA;
    --color-accent-teal-light: #00F5C4;
    --color-accent-purple: #7C3AED;
    --color-accent-purple-light: #A78BFA;
    --color-accent-amber: #F59E0B;

    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-danger: #EF4444;

    --color-light: #F8FAFC;
    --color-light-100: #F1F5F9;
    --color-light-200: #E2E8F0;

    --color-text: #0F172A;
    --color-text-secondary: #64748B;
    --color-text-muted: #94A3B8;

    --color-white: #FFFFFF;
    --color-black: #000000;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-accent-teal) 0%, var(--color-accent-purple) 100%);
    --gradient-dark: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Space Grotesk', var(--font-primary);

    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    --font-size-7xl: 4.5rem;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    --line-height-tight: 1.1;
    --line-height-snug: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --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-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-teal: 0 0 40px rgba(0, 212, 170, 0.3);
    --shadow-glow-purple: 0 0 40px rgba(124, 58, 237, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-index */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;

    /* Layout */
    --container-max: 1280px;
    --header-height: 80px;
}

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

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

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-light);
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

input, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--color-accent-teal);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background-color: var(--color-accent-teal);
    color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Dot Grid Pattern (Global)
   -------------------------------------------------------------------------- */
.dot-grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* --------------------------------------------------------------------------
   Gradient Mesh Background
   -------------------------------------------------------------------------- */
.gradient-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: visible;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.8;
    will-change: transform;
    pointer-events: none;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-accent-teal) 0%, transparent 70%);
    top: -200px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-accent-purple) 0%, transparent 70%);
    top: 40%;
    right: -150px;
}

.blob-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 70%);
    bottom: -100px;
    left: 30%;
}


/* --------------------------------------------------------------------------
   Scroll Progress Bar
   -------------------------------------------------------------------------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: var(--z-fixed);
    transition: width 0.1s linear;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-8);
    }
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: var(--z-sticky);
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(248, 250, 252, 0.95);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
}

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

.nav-menu {
    display: none;
    align-items: center;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

.nav-cta {
    display: none;
}

@media (min-width: 1024px) {
    .nav-cta {
        display: inline-flex;
    }
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-teal);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* Shimmer effect on primary buttons */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg);
    z-index: 2;
    pointer-events: none;
}

.btn-primary:hover::after {
    animation: btn-shimmer 0.8s ease forwards;
}

@keyframes btn-shimmer {
    to { left: 150%; }
}

.btn-ghost {
    color: var(--color-text-secondary);
    background: transparent;
}

.btn-ghost:hover {
    color: var(--color-text);
    background: var(--color-light-100);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-base);
    border-radius: var(--radius-xl);
}

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

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

/* Glow button */
.btn-glow {
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.2);
    animation: btn-glow-pulse 3s ease-in-out infinite;
}

@keyframes btn-glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 170, 0.2); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 170, 0.4), 0 0 80px rgba(124, 58, 237, 0.15); }
}

/* Magnetic button effect handled in JS */
.magnetic {
    will-change: transform;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(var(--header-height) + var(--space-16));
    padding-bottom: var(--space-16);
    display: flex;
    flex-direction: column;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
    flex: 1;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-accent-teal);
    margin-bottom: var(--space-6);
    animation: badge-float 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.badge-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.2), transparent);
    animation: shimmer-sweep 4s ease-in-out infinite;
}

@keyframes shimmer-sweep {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent-teal);
    border-radius: var(--radius-full);
    animation: pulse 2s ease-in-out infinite;
}

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

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

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-extrabold);
    line-height: var(--line-height-tight);
    color: var(--color-text);
    margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: var(--font-size-5xl);
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: var(--font-size-6xl);
    }
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: title-reveal 0.8s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }
.title-line:nth-child(4) { animation-delay: 0.4s; }

@keyframes title-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transform-origin: left;
    animation: underline-draw 0.6s ease forwards 0.8s;
}

@keyframes underline-draw {
    to { transform: scaleX(1); }
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-8);
    opacity: 0;
    animation: fade-up 0.6s ease forwards 0.5s;
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    opacity: 0;
    animation: fade-up 0.6s ease forwards 0.6s;
}

/* Video Placeholder */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fade-up 0.8s ease forwards 0.7s;
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-2xl);
    z-index: 1;
    position: relative;
}

.video-sound-toggle {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    color: var(--color-white);
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.video-sound-toggle:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.video-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(ellipse at center,
        rgba(0, 212, 170, 0.2) 0%,
        rgba(124, 58, 237, 0.1) 40%,
        transparent 70%
    );
    z-index: 0;
    animation: glow-pulse 4s ease-in-out infinite;
}

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

/* Hero Stats - Glassmorphism Card */
.hero-stats-wrapper {
    margin-top: auto;
    padding: var(--space-8) 0;
}

.hero-stats-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-2xl);
    padding: var(--space-6) var(--space-8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    opacity: 0;
    animation: fade-up 0.6s ease forwards 0.8s;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .hero-stats {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: var(--space-8);
    }
}

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

.stat-number {
    font-family: var(--font-accent);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-accent);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent-teal);
}

.stat-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-top: var(--space-1);
}

.stat-divider {
    display: none;
    width: 1px;
    height: 40px;
    background: var(--color-light-200);
}

@media (min-width: 768px) {
    .stat-divider {
        display: block;
    }
}


/* --------------------------------------------------------------------------
   Section Common Styles
   -------------------------------------------------------------------------- */
.section {
    padding: var(--space-24) 0;
    position: relative;
}

@media (min-width: 768px) {
    .section {
        padding: var(--space-32) 0;
    }
}

@media (min-width: 1280px) {
    .section {
        padding: 10rem 0;
    }
}

.section-header {
    margin-bottom: var(--space-16);
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 5rem;
    }
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent-teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--color-text);
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--font-size-4xl);
    }
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-top: var(--space-4);
}

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

/* --------------------------------------------------------------------------
   Problems Section
   -------------------------------------------------------------------------- */
.problems-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
}

.problem-card {
    background: var(--color-white);
    border: 1px solid var(--color-light-200);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    flex: 1 1 100%;
    border-top: 3px solid transparent;
}

@media (min-width: 768px) {
    .problem-card {
        flex: 1 1 calc(50% - var(--space-6));
        max-width: calc(50% - var(--space-6) / 2);
    }
}

@media (min-width: 1024px) {
    .problem-card {
        flex: 1 1 calc(33.333% - var(--space-6));
        max-width: calc(33.333% - var(--space-6) * 2 / 3);
    }
    .problem-card.featured {
        border-top-color: transparent;
    }
}

/* Number watermark */
.problem-card::after {
    content: attr(data-number);
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    font-family: var(--font-accent);
    font-size: 4rem;
    font-weight: var(--font-weight-extrabold);
    line-height: 1;
    opacity: 0.04;
    pointer-events: none;
}

/* Gradient top border */
.problem-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

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

/* Featured card - dark variant */
.problem-card.featured {
    background: var(--color-primary);
    border-color: var(--color-primary-light);
}

.problem-card.featured .card-title {
    color: var(--color-white);
}

.problem-card.featured .card-text {
    color: rgba(255, 255, 255, 0.7);
}

.problem-card.featured::after {
    opacity: 0.06;
    color: var(--color-white);
}

.problem-card.featured::before {
    opacity: 1;
}

.problem-card.featured:hover {
    box-shadow: var(--shadow-2xl), var(--shadow-glow-teal);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    position: relative;
}

.card-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-warning);
}

.card-icon.danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--color-danger);
}

.problem-card.featured .card-icon.danger {
    background: rgba(239, 68, 68, 0.25);
}

.icon-pulse {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    animation: icon-pulse 2s ease-in-out infinite;
}

.card-icon.warning .icon-pulse {
    background: rgba(245, 158, 11, 0.2);
}

.card-icon.danger .icon-pulse {
    background: rgba(239, 68, 68, 0.2);
}

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

.card-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin-bottom: var(--space-3);
    position: relative;
}

.card-text {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    position: relative;
}

/* Domino Visual */
.domino-visual {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-6);
    position: relative;
}

.domino {
    width: 12px;
    height: 32px;
    background: var(--color-danger);
    border-radius: var(--radius-sm);
    transform-origin: bottom;
    animation: domino-fall 3s ease-in-out infinite;
}

.domino:nth-child(1) { animation-delay: 0s; }
.domino:nth-child(2) { animation-delay: 0.3s; }
.domino:nth-child(3) { animation-delay: 0.6s; }
.domino:nth-child(4) { animation-delay: 0.9s; }

@keyframes domino-fall {
    0%, 15%, 100% { transform: rotate(0deg); opacity: 1; }
    25%, 85% { transform: rotate(35deg); opacity: 0.6; }
}

/* Time Bar */
.time-bar {
    height: 8px;
    background: var(--color-light-200);
    border-radius: var(--radius-full);
    margin-top: var(--space-6);
    overflow: hidden;
    position: relative;
}

.time-fill {
    height: 100%;
    width: 75%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: time-fill 3s ease-in-out infinite;
}

@keyframes time-fill {
    0%, 100% { width: 30%; }
    50% { width: 85%; }
}

/* --------------------------------------------------------------------------
   Benefits Section - Bento Grid
   -------------------------------------------------------------------------- */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
    }
}

.bento-card {
    background: var(--color-white);
    border: 1px solid var(--color-light-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

/* Gradient border on hover */
.bento-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

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

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

.bento-large {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-color: var(--color-primary-light);
}

.bento-large .card-title {
    color: var(--color-white);
}

.bento-large .card-text {
    color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 1024px) {
    .bento-large {
        grid-column: span 1;
        grid-row: span 2;
        flex-direction: column;
        justify-content: flex-start;
    }
}

.bento-wide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .bento-wide {
        grid-column: span 2;
    }
}

.card-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    flex-shrink: 0;
}

.card-icon-wrapper.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
}

.bento-large .card-icon-wrapper.success {
    background: rgba(16, 185, 129, 0.2);
}

.card-icon-wrapper.growth {
    background: rgba(0, 212, 170, 0.1);
    color: var(--color-accent-teal);
}

.card-icon-wrapper.finance {
    background: rgba(124, 58, 237, 0.1);
    color: var(--color-accent-purple);
}

.card-icon-wrapper.trust {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
}

.card-icon-wrapper.vat {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-warning);
}

.card-icon-wrapper.global {
    background: rgba(0, 212, 170, 0.1);
    color: var(--color-accent-teal);
}

.bento-card .card-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-2);
}

.bento-card .card-text {
    font-size: var(--font-size-sm);
}

/* Progress Ring */
.progress-ring-container {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}

.progress-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 8;
}

.progress-ring-fill {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    transition: stroke-dashoffset 2s ease;
}

.progress-ring-fill.animated {
    stroke-dashoffset: 44;
}

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

.progress-number {
    font-family: var(--font-accent);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
}

.progress-symbol {
    font-family: var(--font-accent);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent-teal);
}

/* Mini Chart - auto animate on scroll */
.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: var(--space-2);
    height: 60px;
    margin-top: var(--space-4);
}

.chart-bar {
    flex: 1;
    height: var(--height);
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.6s ease;
}

.chart-bar.animated {
    transform: scaleY(1);
}

.chart-bar:nth-child(1) { transition-delay: 0s; }
.chart-bar:nth-child(2) { transition-delay: 0.1s; }
.chart-bar:nth-child(3) { transition-delay: 0.2s; }
.chart-bar:nth-child(4) { transition-delay: 0.3s; }
.chart-bar:nth-child(5) { transition-delay: 0.4s; }

/* VAT Badge */
.vat-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    padding: var(--space-1) var(--space-3);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-full);
    font-family: var(--font-accent);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-warning);
}

/* Globe Visual */
.globe-visual {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.globe {
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent-teal);
    border-radius: var(--radius-full);
    position: relative;
    animation: globe-rotate 20s linear infinite;
}

.globe-line {
    position: absolute;
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-full);
}

.globe-line:nth-child(1) {
    width: 100%;
    height: 60%;
    top: 20%;
    left: 0;
}

.globe-line:nth-child(2) {
    width: 60%;
    height: 100%;
    top: 0;
    left: 20%;
}

.globe-line:nth-child(3) {
    width: 80%;
    height: 40%;
    top: 30%;
    left: 10%;
}

.globe-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--color-accent-teal);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-glow-teal);
}

.globe-dot.hungary {
    top: 35%;
    left: 55%;
    animation: dot-pulse 2s ease-in-out infinite;
}

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

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

/* --------------------------------------------------------------------------
   Services Section - Premium Accordion
   -------------------------------------------------------------------------- */
.services {
    background: linear-gradient(180deg, var(--color-light) 0%, var(--color-light-100) 50%, var(--color-light) 100%);
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: start;
}

@media (min-width: 1024px) {
    .services-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.accordion-item {
    background: var(--color-white);
    border: 1px solid var(--color-light-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-slow);
    position: relative;
}

.accordion-active-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    z-index: 2;
}

.accordion-item:hover {
    border-color: rgba(0, 212, 170, 0.3);
}

.accordion-item.active {
    border-color: rgba(0, 212, 170, 0.2);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 212, 170, 0.1);
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.03) 0%, rgba(124, 58, 237, 0.02) 100%);
}

.accordion-item.active .accordion-active-bar {
    opacity: 1;
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    text-align: left;
    transition: background var(--transition-fast);
}

.accordion-header:hover {
    background: rgba(0, 212, 170, 0.03);
}

.accordion-number {
    font-family: var(--font-accent);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-muted);
    min-width: 24px;
    transition: color var(--transition-base);
}

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

.accordion-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-teal);
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.accordion-item.active .accordion-icon {
    background: var(--color-accent-teal);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
}

.accordion-item:not(.active):hover .accordion-icon {
    transform: scale(1.05);
}

.accordion-title {
    flex: 1;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
}

.accordion-arrow {
    width: 24px;
    height: 24px;
    color: var(--color-text-muted);
    transition: all var(--transition-base);
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--color-accent-teal);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding: 0 var(--space-6) var(--space-6);
}

.accordion-body {
    display: flex;
    align-items: flex-start;
    gap: var(--space-6);
}

.accordion-body p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    padding-left: calc(24px + 40px + var(--space-4) + var(--space-4));
    flex: 1;
}

/* Inline visual for mobile */
.accordion-inline-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-teal);
    opacity: 0.6;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .accordion-inline-visual {
        display: none;
    }
}

/* Services Visual Panel - Premium Dark */
.services-visual {
    display: none;
    position: sticky;
    top: calc(var(--header-height) + var(--space-8));
}

@media (min-width: 1024px) {
    .services-visual {
        display: block;
    }
}

.visual-container {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 440px;
    position: relative;
    overflow: hidden;
}

.visual-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, rgba(124, 58, 237, 0.08) 50%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: visual-glow-breathe 4s ease-in-out infinite;
}

@keyframes visual-glow-breathe {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.visual-items-wrapper {
    position: relative;
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.visual-item.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.visual-icon {
    color: var(--color-accent-teal);
    filter: drop-shadow(0 0 20px rgba(0, 212, 170, 0.2));
}

.visual-label {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
}

.visual-sublabel {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* Visual SVG animations */
.visual-svg-rotate {
    animation: svg-slow-rotate 15s linear infinite;
    transform-origin: center;
}

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

.visual-svg-pulse {
    animation: svg-node-pulse 2s ease-in-out infinite;
}

@keyframes svg-node-pulse {
    0%, 100% { opacity: 0.5; r: 4; }
    50% { opacity: 1; r: 6; }
}

.visual-svg-dash {
    animation: svg-dash-flow 3s linear infinite;
}

@keyframes svg-dash-flow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: 16; }
}

/* --------------------------------------------------------------------------
   Process Section
   -------------------------------------------------------------------------- */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-track {
    display: none;
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-light-200);
    transform: translateX(-50%);
}

@media (min-width: 768px) {
    .timeline-track {
        display: block;
    }
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--gradient-primary);
    transition: height 0.3s ease;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .process-step {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--space-12);
    }

    .process-step:nth-child(even) {
        flex-direction: row-reverse;
    }

    .process-step:nth-child(even) .step-content {
        text-align: right;
    }
}

.step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .step-marker {
        flex: 0 0 auto;
        width: 100px;
    }
}

.step-number {
    font-family: var(--font-accent);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-dot {
    width: 20px;
    height: 20px;
    background: var(--color-white);
    border: 3px solid var(--color-accent-teal);
    border-radius: var(--radius-full);
    position: relative;
    box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.1);
}

.step-dot::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-full);
    animation: step-pulse 2s ease-in-out infinite;
}

@keyframes step-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0; }
}

.step-content {
    flex: 1;
    background: var(--color-white);
    border: 1px solid var(--color-light-200);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

/* Gradient top accent on step cards */
.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.step-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 212, 170, 0.3);
}

.step-content:hover::before {
    opacity: 1;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-teal);
    margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
    .process-step:nth-child(even) .step-icon {
        margin-left: auto;
    }
}

.step-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.step-text {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.process-cta {
    text-align: center;
    margin-top: var(--space-16);
}

/* --------------------------------------------------------------------------
   Trust Section
   -------------------------------------------------------------------------- */
.trust-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}

@media (min-width: 1024px) {
    .trust-layout {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.trust-content .section-title {
    margin-bottom: var(--space-6);
}

.trust-text {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-8);
}

.trust-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.trust-feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-base);
    color: var(--color-text);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast);
}

.trust-feature:hover {
    background: var(--color-light-100);
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-experience {
    background: rgba(0, 212, 170, 0.1);
    color: var(--color-accent-teal);
}

.feature-icon-personal {
    background: rgba(124, 58, 237, 0.1);
    color: var(--color-accent-purple);
}

.feature-icon-compare {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-warning);
}

/* Partners */
.partners-showcase {
    background: var(--color-white);
    border: 1px solid var(--color-light-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
}

.partners-title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: var(--space-8);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.partner-card {
    background: var(--color-light-100);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.partner-card:hover {
    background: var(--color-white);
    border-color: var(--color-light-200);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.partner-logo-img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.partner-card:hover .partner-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo {
    text-align: center;
}

.partner-name {
    display: block;
    font-family: var(--font-accent);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.partner-sub {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact {
    background: linear-gradient(180deg, var(--color-light) 0%, var(--color-white) 100%);
    position: relative;
    overflow: hidden;
}

.contact-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse at center,
        rgba(0, 212, 170, 0.1) 0%,
        rgba(124, 58, 237, 0.05) 40%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: var(--color-white);
    border: 1px solid var(--color-light-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-4);
    padding-top: var(--space-6);
    background: var(--color-light-100);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    color: var(--color-text);
    transition: all var(--transition-base);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    padding-right: var(--space-10);
}

.form-group select:invalid {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background-color: var(--color-white);
    border-color: var(--color-accent-teal);
    box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.1);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: var(--space-4);
    transform: translateY(-50%);
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all var(--transition-base);
}

.form-group textarea ~ label {
    top: var(--space-6);
    transform: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:not(:invalid) ~ label {
    top: var(--space-2);
    left: var(--space-4);
    font-size: var(--font-size-xs);
    color: var(--color-accent-teal);
    transform: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

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

.form-privacy {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-align: center;
    margin-top: var(--space-4);
}

.form-privacy a {
    color: var(--color-accent-teal);
    font-weight: var(--font-weight-medium);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.form-privacy a:hover {
    color: var(--color-accent-purple);
}

.btn-submit {
    width: 100%;
    margin-top: var(--space-4);
    position: relative;
}

.btn-submit .btn-text,
.btn-submit .btn-loading,
.btn-submit .btn-success {
    transition: all var(--transition-base);
}

.btn-submit .btn-loading,
.btn-submit .btn-success {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

.btn-submit.loading .btn-text {
    opacity: 0;
}

.btn-submit.loading .btn-loading {
    opacity: 1;
}

.btn-submit.success .btn-text {
    opacity: 0;
}

.btn-submit.success .btn-loading {
    opacity: 0;
}

.btn-submit.success .btn-success {
    opacity: 1;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form Trust Bar */
.form-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-4);
    flex-wrap: wrap;
}

.form-trust-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

.form-trust-item svg {
    flex-shrink: 0;
    color: var(--color-accent-teal);
}

.form-trust-divider {
    width: 1px;
    height: 16px;
    background: var(--color-light-200);
}

/* Contact Info */
.contact-info {
    display: flex;
    justify-content: center;
}

.info-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    background: var(--color-white);
    border: 1px solid var(--color-light-200);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-teal);
}

.info-label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.info-value:hover {
    color: var(--color-accent-teal);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-16) 0 var(--space-8);
    position: relative;
}

.footer-top-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
    }
}

.footer-brand .nav-logo {
    margin-bottom: var(--space-4);
}

.footer-brand .nav-logo-img {
    height: 32px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    max-width: 250px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-column h4 {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-column a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-accent-teal);
}

.footer-info {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    padding-top: var(--space-8);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   Back to Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 48px;
    height: 48px;
    background: var(--color-white);
    border: 1px solid var(--color-light-200);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-fixed);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all var(--transition-base);
}

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

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

/* --------------------------------------------------------------------------
   Animations & Scroll Reveal
   -------------------------------------------------------------------------- */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Varied animation directions */
[data-aos="fade-left"] {
    transform: translateX(-40px);
}

[data-aos="fade-right"] {
    transform: translateX(40px);
}

[data-aos="scale-in"] {
    transform: scale(0.9);
}

/* --------------------------------------------------------------------------
   Mobile Optimizations
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    /* Reduce gradient blob sizes and blur for mobile GPU performance */
    .gradient-blob {
        filter: blur(50px);
        opacity: 0.5;
    }

    .blob-1 {
        width: 300px;
        height: 300px;
    }

    .blob-2 {
        width: 250px;
        height: 250px;
    }

    .blob-3 {
        width: 200px;
        height: 200px;
    }

    /* Disable video glow animation on mobile */
    .video-glow {
        animation: none;
        opacity: 0.4;
    }

    /* Stack bento-large card vertically on mobile */
    .bento-large {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Reduce progress ring size on mobile */
    .progress-ring-container {
        width: 110px;
        height: 110px;
        align-self: center;
    }

    /* Reduce stat number size on small screens */
    .stat-number {
        font-size: var(--font-size-3xl);
    }

    .stat-suffix {
        font-size: var(--font-size-xl);
    }

    /* Ensure bento-wide stacks on mobile */
    .bento-wide {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Globe visual smaller on mobile */
    .globe-visual {
        width: 80px;
        height: 80px;
        align-self: center;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .gradient-blob {
        animation: none;
    }
}

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