/* marketing_site/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-blue: #38bdf8;
    --accent-green: #34d399;
    --glass-blur: blur(16px);
    --bg-grad-1: #1e293b;
    --bg-grad-2: #0f172a;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    background-image: radial-gradient(circle at top right, var(--bg-grad-1), transparent 40%),
                      radial-gradient(circle at bottom left, var(--bg-grad-2), transparent 40%);
    min-height: 100vh;
}

/* Glassmorphism Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

.lang-switch select {
    background: var(--bg-card);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    cursor: pointer;
}

.version-btn {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}
.version-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 5% 2rem;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    background: var(--accent-blue);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Glass Float Effect */
.glass-float {
    position: absolute;
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
}

.float-1 { top: 10%; left: -10%; }
.float-2 { bottom: 15%; right: -5%; animation-delay: -3s; }

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

/* Features */
.features {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(56, 189, 248, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Pricing / Subscription */
.pricing {
    padding: 5rem 5%;
    text-align: center;
    background: rgba(15, 23, 42, 0.5);
}

.price-card {
    max-width: 400px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(30,41,59,0.8) 0%, rgba(15,23,42,0.9) 100%);
    border: 1px solid var(--accent-blue);
    padding: 3rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.price-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent-blue);
    color: #fff;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 0.8rem;
}

.price-card h2 { margin-bottom: 1rem; }
.price { font-size: 4rem; font-weight: 800; color: var(--accent-blue); margin-bottom: 1rem; }
.price span { font-size: 1.2rem; color: var(--text-muted); }

/* Contact Form */
.contact {
    padding: 5rem 5%;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    font-family: inherit;
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .hero { flex-direction: column; padding-top: 8rem; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Simplified for demo */
    .float-1, .float-2 { display: none; }
}

/* Modules Section */
.modules-section {
    padding: 5rem 5%;
    background: rgba(15, 23, 42, 0.3);
}

.module-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.module-card {
    background: linear-gradient(90deg, rgba(30,41,59,0.8) 0%, rgba(15,23,42,0.9) 100%);
    border-left: 4px solid var(--accent-blue);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.module-card:nth-child(even) {
    flex-direction: row-reverse;
    border-left: none;
    border-right: 4px solid var(--accent-blue);
    background: linear-gradient(270deg, rgba(30,41,59,0.8) 0%, rgba(15,23,42,0.9) 100%);
}

.module-content {
    flex: 1;
}

.module-image {
    flex: 1;
    max-width: 300px;
}

.module-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .module-card, .module-card:nth-child(even) {
        flex-direction: column;
        border-left: 4px solid var(--accent-blue);
        border-right: none;
        background: linear-gradient(180deg, rgba(30,41,59,0.8) 0%, rgba(15,23,42,0.9) 100%);
    }
}

.module-card:hover {
    transform: translateX(10px);
}

.module-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.module-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    z-index: 9999;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transition: bottom 0.5s ease-in-out;
}

.cookie-banner.hidden {
    bottom: -500px;
    opacity: 0;
    pointer-events: none;
}

.cookie-banner p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
