/* ============================================
   DATALIUM - Blockchain Data Certification
   Modern, Professional Design
   ============================================ */

/* ============================================
   VIDEO OVERLAY
   ============================================ */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s ease;
}

.video-overlay video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay.video-fade-out {
    opacity: 0;
    pointer-events: none;
}

.video-controls {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 2.5rem;
    z-index: 10;
}

.video-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.video-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.video-sound-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .video-controls {
        bottom: 1.5rem;
        padding: 0 1.5rem;
    }
    .video-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    .video-sound-btn {
        width: 42px;
        height: 42px;
    }
}

.video-overlay video::cue {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    line-height: 1.6;
    border-radius: 4px;
    padding: 4px 8px;
}

:root {
    /* Primary Colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;

    /* Secondary Colors */
    --secondary: #0f172a;
    --secondary-light: #1e293b;

    /* Accent Colors */
    --accent: #06b6d4;
    --accent-light: #22d3ee;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Success/Error */
    --success: #10b981;
    --error: #ef4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --container-max: 1280px;
    --section-padding: 6rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

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

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: 1.25rem; }

p {
    margin-bottom: 1rem;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

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

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    padding: 8px;
}

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

.nav-links a {
    color: var(--gray-300);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.btn-nav {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
}

.lang-dropdown {
    position: relative;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--gray-300);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.lang-dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 80px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    overflow: visible;
}

.lang-dropdown-content::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}

.lang-dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--gray-300);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.lang-dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.lang-dropdown-content a.active {
    color: var(--accent);
    background: rgba(6, 182, 212, 0.1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='%232563eb' fill-opacity='0.05'%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;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    animation: heroLogoFloat 4s ease-in-out infinite, heroLogoFadeIn 1.2s ease-out;
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.4)) drop-shadow(0 0 60px rgba(37, 99, 235, 0.2));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.hero-logo-img:hover {
    filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.6)) drop-shadow(0 0 80px rgba(37, 99, 235, 0.4));
    transform: scale(1.05);
}

@keyframes heroLogoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes heroLogoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero > .container > .hero-content p,
.hero > .container > .hero-split .hero-text p {
    color: var(--gray-400);
    font-size: 1.125rem;
    max-width: 500px;
    margin-bottom: 1.5rem;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.stat-label {
    color: var(--gray-400);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-cube {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    animation: float 6s ease-in-out infinite;
}

.floating-cube:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-cube:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-cube:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

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

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: var(--section-padding) 0;
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.125rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--gray-50);
}

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

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

.about-features {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-feature h4 {
    margin-bottom: 0.25rem;
}

.about-feature p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin: 0;
}

.about-visual {
    position: relative;
}

.about-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.year-highlight {
    text-align: center;
}

.year-number {
    font-size: 5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.year-label {
    font-size: 1.25rem;
    color: var(--gray-600);
    font-weight: 600;
    margin-top: 0.5rem;
}

.founding-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.founding-info p {
    color: var(--gray-500);
    margin: 0;
}

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

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

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

.feature-card p {
    color: var(--gray-500);
    margin: 0;
}

/* App cards */
.apps-grid {
    grid-template-columns: repeat(2, 1fr);
}

.app-card-wallet {
    border-left: 4px solid #06b6d4;
}

.app-card-verify {
    border-left: 4px solid #8b5cf6;
}

/* eIDAS grid */
.eidas-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    background: var(--secondary);
    color: var(--white);
}

.how-it-works .section-header h2 {
    color: var(--white);
}

.how-it-works .section-header p {
    color: var(--gray-400);
}

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

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.steps.steps-3 {
    grid-template-columns: repeat(3, 1fr);
}

.step h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--gray-400);
    font-size: 0.9375rem;
}

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.tech-card {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 1px solid var(--gray-200);
    border-radius: 1.5rem;
    padding: 2.5rem;
    display: flex;
    gap: 1.5rem;
}

.tech-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-dark);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.tech-content h3 {
    margin-bottom: 0.75rem;
}

.tech-content p {
    color: var(--gray-500);
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    background: var(--gradient-primary);
    text-align: center;
    padding: 5rem 0;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

.cta .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.cta .btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--secondary);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
}

.footer-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: var(--gray-400);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

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

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

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

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

    .steps::before {
        display: none;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }

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

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        padding: 1rem 2rem;
        gap: 0.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-actions.active {
        display: flex;
        position: absolute;
        top: calc(100% + 200px);
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        padding: 1rem 2rem;
        justify-content: center;
        gap: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding-top: 2rem;
        margin-top: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid,
    .apps-grid,
    .eidas-grid {
        grid-template-columns: 1fr;
    }

    .problem-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .problem-stat-number {
        font-size: 2.25rem;
    }

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

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

    .tech-card {
        flex-direction: column;
        text-align: center;
    }

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

    .footer-brand p {
        margin: 1rem auto 0;
    }

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

@media (max-width: 480px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HERO SPLIT LAYOUT (Phones)
   ============================================ */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.hero-text {
    text-align: left;
}

.hero-text .hero-badge {
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-text .hero-tagline {
    color: var(--gray-400);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-style: italic;
    opacity: 0.85;
}

.hero-text .hero-desc {
    color: var(--gray-400);
    font-size: 1.125rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-text .hero-buttons {
    justify-content: flex-start;
}

/* ============================================
   PHONE MOCKUPS
   ============================================ */
.hero-phones {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 500px;
}

.phone-mockup {
    width: 260px;
    height: 520px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 36px;
    border: 2.5px solid rgba(6, 182, 212, 0.3);
    padding: 10px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(6, 182, 212, 0.1);
    animation: heroLogoFadeIn 1s ease-out;
}

.phone-wallet {
    transform: rotate(-6deg) translateY(0);
    z-index: 2;
    animation: phoneFloat1 5s ease-in-out infinite, heroLogoFadeIn 1s ease-out;
}

.phone-verify {
    transform: rotate(6deg) translateY(20px);
    margin-left: -40px;
    z-index: 1;
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.1);
    animation: phoneFloat2 5s ease-in-out infinite, heroLogoFadeIn 1.2s ease-out;
}

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

@keyframes phoneFloat2 {
    0%, 100% { transform: rotate(6deg) translateY(20px); }
    50% { transform: rotate(6deg) translateY(10px); }
}

.phone-notch {
    width: 100px;
    height: 22px;
    background: #0f172a;
    border-radius: 0 0 14px 14px;
    margin: 0 auto 8px;
}

.phone-screen {
    background: linear-gradient(180deg, #0f172a 0%, #162032 100%);
    border-radius: 26px;
    height: calc(100% - 30px);
    padding: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-app-title {
    text-align: center;
    margin-bottom: 0.6rem;
    line-height: 1;
}

.phone-app-logo {
    height: 56px;
    width: auto;
    display: block;
    margin: 0 auto 0.2rem;
    filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.4));
}

.phone-app-name {
    font-size: 0.65rem;
    font-weight: 700;
    color: #06b6d4;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.phone-doc-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 12px;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.phone-doc-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-doc-icon {
    font-size: 1.25rem;
}

.phone-doc-name {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
}

.phone-doc-detail {
    color: var(--gray-400);
    font-size: 0.65rem;
}

.phone-doc-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 0.6rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phone-nav-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 0.75rem;
}

.phone-nav-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.phone-nav-dots .dot.active {
    background: #06b6d4;
}

/* FOLD Verify Phone Screen */
.phone-verify-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    justify-content: center;
    gap: 1rem;
}

.phone-qr-frame {
    width: 120px;
    height: 120px;
    border: 2px dashed rgba(139, 92, 246, 0.4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(139, 92, 246, 0.6);
    font-size: 2.5rem;
}

.phone-scan-label {
    color: var(--gray-400);
    font-size: 0.75rem;
    text-align: center;
}

.phone-verify-result {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 0.75rem;
    text-align: center;
    margin-top: 0.5rem;
}

.phone-verify-check {
    color: #10b981;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.phone-verify-status {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
}

.phone-verify-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 0.6rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 0.25rem;
}

/* Showcase Phone (Discover section) */
.phone-showcase {
    width: 280px;
    height: 580px;
    margin: 0 auto;
    animation: heroLogoFloat 4s ease-in-out infinite;
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), 0 0 60px rgba(6, 182, 212, 0.15);
}

.phone-showcase .phone-screen {
    padding: 1rem 1.1rem;
}

.phone-showcase .phone-app-title {
    margin-bottom: 0.85rem;
}

.phone-showcase .phone-app-logo {
    height: 64px;
}

.phone-showcase .phone-doc-card {
    padding: 0.6rem 0.85rem;
    margin-bottom: 0.5rem;
}

.phone-showcase .phone-doc-name {
    font-size: 0.85rem;
}

.phone-showcase .phone-doc-detail {
    font-size: 0.7rem;
}

.phone-showcase .phone-doc-badge {
    font-size: 0.65rem;
    padding: 3px 10px;
}

/* Floating tags beside showcase phone */
.phone-showcase-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-floating-tag {
    position: absolute;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #06b6d4;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    animation: heroLogoFloat 4s ease-in-out infinite;
}

.phone-floating-tag.tag-secure {
    top: 10%;
    right: -10px;
    animation-delay: 0s;
}

.phone-floating-tag.tag-tracking {
    bottom: 15%;
    right: -20px;
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
    animation-delay: 1s;
}

.phone-floating-tag.tag-eidas {
    top: 45%;
    left: -20px;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
    animation-delay: 2s;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem-badge {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
    margin-bottom: 1rem;
}

.text-gradient-red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.problem-stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
}

.problem-stat-card:nth-child(1) { border-top: 3px solid #ef4444; }
.problem-stat-card:nth-child(2) { border-top: 3px solid #f59e0b; }
.problem-stat-card:nth-child(3) { border-top: 3px solid #06b6d4; }

.problem-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.problem-risk-icon {
    margin-bottom: 1rem;
}

.problem-stat-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

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

.risk-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
}

.risk-list li::before {
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #ef4444;
    font-size: 0.8rem;
    top: 2px;
}

.risk-list li:last-child {
    margin-bottom: 0;
}

/* ============================================
   DISCOVER BADGES
   ============================================ */
.discover-badges {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.discover-badge-tag {
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: #06b6d4;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================
   FAMILY PHONES ANIMATION
   ============================================ */
.family-phones-animation {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0;
}

.family-phone {
    width: 200px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(6, 182, 212, 0.3);
    display: flex;
    flex-direction: column;
}

.family-phone-notch {
    width: 50px;
    height: 5px;
    background: #334155;
    border-radius: 4px;
    margin: 6px auto 10px;
}

.family-phone-screen {
    background: #1a2332;
    border-radius: 14px;
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.family-phone-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.family-phone-header span {
    font-size: 0.7rem;
    font-weight: 700;
    color: #06b6d4;
    letter-spacing: 1.5px;
}

.family-phone-doc {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.family-phone-doc span {
    font-size: 1.5rem;
}

.family-doc-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e2e8f0;
}

.family-doc-sub {
    font-size: 0.6rem;
    color: #94a3b8;
}

.family-share-btn {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: auto;
}

.family-doc-received {
    animation: fadeInPulse 2s ease-in-out infinite;
}

.family-received-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: auto;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.family-arc-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 140px;
}

.family-arc-emoji {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    z-index: 2;
}

.family-arc-svg-wrap {
    position: relative;
    width: 140px;
    height: 110px;
}

.family-arc-svg {
    width: 140px;
    height: 110px;
    display: block;
}

.family-arc-path {
    stroke-dasharray: 6 4;
    animation: arcDash 2s linear infinite;
}

@keyframes arcDash {
    to { stroke-dashoffset: -40; }
}

.family-arc-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    background: #06b6d4;
    border-radius: 50%;
    top: 0;
    left: 0;
    offset-path: path('M 10 90 Q 70 -10 130 90');
    offset-rotate: 0deg;
    animation: dotArc 2.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

.family-arc-dot-2 {
    animation-delay: 0.8s;
}

.family-arc-dot-3 {
    animation-delay: 1.6s;
}

@keyframes dotArc {
    0% { offset-distance: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
}

@keyframes fadeInPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Verify Phone Mockup - ID Card */
.verify-phone-mockup {
    display: flex;
    justify-content: center;
}

.verify-id-card {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
}

.verify-id-photo {
    width: 48px;
    height: 56px;
    background: linear-gradient(135deg, #334155, #475569);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.verify-id-fields {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.verify-id-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
}

.verify-field-label {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 500;
}

.verify-field-value {
    font-size: 0.65rem;
    color: #e2e8f0;
    font-weight: 600;
}

.verify-field-blur {
    filter: blur(4px);
    color: #64748b;
    user-select: none;
}

.verify-id-hidden {
    opacity: 0.4;
}

.verify-id-shown {
    background: rgba(16, 185, 129, 0.08);
    border-radius: 4px;
    padding: 2px 4px;
}

@media (max-width: 768px) {
    .family-phones-animation {
        gap: 0.75rem;
    }
    .family-phone {
        width: 160px;
    }
    .family-phone-screen {
        min-height: 220px;
    }
    .family-arc-zone {
        width: 100px;
    }
    .family-arc-svg-wrap {
        width: 100px;
        height: 80px;
    }
    .family-arc-svg {
        width: 100px;
        height: 80px;
    }
    .family-arc-emoji {
        font-size: 1.8rem;
    }
    .family-arc-dot {
        offset-path: path('M 9 64 Q 50 -8 91 64');
    }
}

@media (max-width: 480px) {
    .family-phones-animation {
        gap: 0.5rem;
    }
    .family-phone {
        width: 130px;
    }
    .family-phone-screen {
        min-height: 180px;
    }
    .family-arc-zone {
        width: 80px;
    }
    .family-arc-svg-wrap {
        width: 80px;
        height: 65px;
    }
    .family-arc-svg {
        width: 80px;
        height: 65px;
    }
    .family-arc-emoji {
        font-size: 1.5rem;
    }
    .family-arc-dot {
        offset-path: path('M 7 52 Q 40 -6 73 52');
    }
}

/* ============================================
   PARTNER SECTION
   ============================================ */
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.partner-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem 3rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.partner-logo-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.partner-logo-img {
    max-height: 80px;
    max-width: 250px;
    object-fit: contain;
}

@media (max-width: 480px) {
    .partner-logo-card {
        padding: 1.5rem 2rem;
    }

    .partner-logo-img {
        max-height: 60px;
        max-width: 180px;
    }
}

/* ============================================
   RESPONSIVE - PHONES
   ============================================ */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        order: 1;
    }

    .hero-text .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-phones {
        order: 2;
        min-height: 400px;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }
}

@media (max-width: 768px) {
    .hero-phones {
        min-height: 350px;
    }

    .phone-mockup {
        width: 180px;
        height: 360px;
    }

    .phone-verify {
        margin-left: -30px;
    }

    .phone-app-logo {
        height: 40px;
    }

    .phone-app-name {
        font-size: 0.55rem;
    }

    .phone-doc-card {
        padding: 0.5rem;
        margin-bottom: 0.4rem;
    }

    .phone-doc-name {
        font-size: 0.7rem;
    }

    .phone-doc-detail {
        font-size: 0.55rem;
    }

    .phone-showcase {
        width: 250px;
        height: 500px;
    }

    .phone-showcase .phone-app-logo {
        height: 48px;
    }

    .phone-floating-tag {
        display: none;
    }

    .problem-tags {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        width: 150px;
        height: 300px;
    }

    .phone-verify {
        margin-left: -20px;
    }

    .phone-notch {
        width: 70px;
        height: 16px;
    }

    .phone-doc-icon {
        font-size: 0.9rem;
    }

    .phone-app-logo {
        height: 32px;
    }

    .phone-app-name {
        font-size: 0.5rem;
    }

    .phone-showcase {
        width: 220px;
        height: 440px;
    }

    .phone-showcase .phone-app-logo {
        height: 38px;
    }
}
