@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --navy: #0A0F1E;
    --navy-light: #161C2D;
    --navy-dark: #050810;
    --gold: #C9A84C;
    --gold-hover: #b3943d;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-gray: #4A4A4A;
    --risk-bg: #1a0808;
    --risk-text: #ff9999;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p { font-size: 1.1rem; color: var(--text-gray); }

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

nav.scrolled {
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

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

.logo span { color: var(--gold); }

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--gold);
}

.lang-switcher {
    position: relative;
    cursor: pointer;
}

.lang-switcher select {
    background: transparent;
    color: var(--white);
    border: none;
    padding: 0.4rem 0;
    cursor: pointer;
    font-family: inherit;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.lang-switcher select option {
    background: var(--navy);
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--navy);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-color: var(--navy);
    background-image: radial-gradient(circle at 2px 2px, rgba(201, 168, 76, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
}

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

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

.hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
}

/* Problem Section */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.card {
    padding: 2.5rem;
    background: #fdfdfd;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(10, 15, 30, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

/* Legal Risk Section */
.legal-risk {
    background-color: var(--risk-bg);
    color: var(--white);
}

.legal-risk h2 { color: var(--white); }

.law-card {
    background: rgba(255,255,255,0.03);
    border-left: 4px solid #cc3333;
    padding: 2rem;
    margin-bottom: 2rem;
}

.law-title {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ff9999;
    margin-bottom: 1rem;
    display: block;
}

.law-quote {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    display: block;
}

.risk-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 50, 50, 0.2);
    border: 1px solid rgba(255, 50, 50, 0.4);
    border-radius: 4px;
    color: #ff9999;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Solution Section */
.feature-block {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.feature-block:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-content { flex: 1; }
.feature-visual {
    flex: 1;
    background: var(--navy);
    padding: 2rem;
    border-radius: 12px;
    color: var(--white);
    font-family: 'JetBrains Mono', monospace;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.offline-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
}

/* Founder Section */
.founder-grid {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.founder-photo {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #eee;
    overflow: hidden;
    border: 5px solid var(--gold);
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-bio p { margin-bottom: 1.5rem; }

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.badge {
    padding: 0.5rem 1rem;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    padding: 3rem;
    border: 1px solid #eee;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.pricing-card.pro {
    border: 2px solid var(--gold);
    transform: scale(1.05);
    background: #f9f9f9;
}

.pricing-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(201, 168, 76, 0.05);
    border-radius: 8px;
}

.price-option {
    text-align: center;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--gold);
}

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

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 0.8rem;
    display: flex;
    gap: 0.5rem;
}

.features-list li::before {
    content: '✓';
    color: var(--gold);
    font-weight: bold;
}

.features-list li.no-check::before {
    content: none;
}

/* CTA Footer Section */
.cta-banner {
    background: var(--navy);
    color: var(--white);
    text-align: center;
}

.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }

/* Footer */
footer {
    padding: 4rem 0;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-gray);
}

.legal-copy {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: #999;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .feature-block, .feature-block:nth-child(even) {
        flex-direction: column;
    }
    .founder-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .pricing-card.pro {
        transform: scale(1);
    }
    .pricing-breakdown {
        grid-template-columns: 1fr;
    }
    .feature-visual {
        font-size: 0.8rem !important;
    }
}

/* EU Map Section */
.eu-map-section {
    background: #fdfdfd;
    padding: 6rem 0;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.eu-map-container {
    max-width: 800px;
    margin: 3rem auto;
}

.eu-map-container svg {
    width: 100%;
    height: auto;
}

.eu-map-container path {
    fill: #eee;
    stroke: #fff;
    stroke-width: 0.5;
    transition: all 0.3s ease;
}

.eu-map-container a {
    outline: none;
}

.eu-map-container path.active-country {
    fill: #e0e0e0;
    cursor: pointer;
}

.eu-map-container a:hover path.active-country {
    fill: var(--gold);
    filter: drop-shadow(0 4px 15px rgba(201, 168, 76, 0.4));
}

.eu-map-container path:not(.active-country) {
    pointer-events: none;
    opacity: 0.4;
}

.country-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding: 0 1rem;
}

.country-badge {
    padding: 0.7rem 1.4rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #888;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
    text-align: left;
}

.country-badge:hover {
    border-color: var(--gold);
    color: var(--navy);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.country-badge strong {
    color: #444;
}

.badge-short {
    display: none;
}

@media (max-width: 850px) {
    .eu-map-container {
        display: none;
    }
    
    .country-badges {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .badge-text {
        display: none;
    }

    .badge-short {
        display: inline;
        font-weight: 600;
        color: var(--navy);
    }
    
    .country-badge {
        justify-content: center;
        padding: 0.8rem;
        font-size: 1.2rem; /* Make flags a bit bigger on mobile */
    }
}



/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
.benefit-card {
    text-align: center;
}
.benefit-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--gold);
}
.benefit-card h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.benefit-card p {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}
