:root {
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f7ff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --brand-blue: #1d4ed8;
    --brand-purple: #6366f1;
    --brand-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --accent-glow: rgba(37, 99, 235, 0.25);
    --glass-border: rgba(226, 232, 240, 0.8);
}

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

.hidden {
    display: none !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #ffffff;
    background-image: linear-gradient(180deg, #eff6ff 0%, #ffffff 600px);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-text .roda { color: #0f172a; }
.logo-text .read { color: var(--brand-blue); }

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.btn-ghost {
    background: none;
    border: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-ghost:hover {
    color: var(--brand-blue);
}

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--accent-glow);
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Inter', sans-serif;
}

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

.btn-primary.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.pill-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-blue);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.gradient-text {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.glow-blue {
    background: rgba(37, 99, 235, 0.12);
    top: -10%;
    right: 10%;
}

.glow-purple {
    background: rgba(99, 102, 241, 0.08);
    bottom: -10%;
    left: 10%;
}

.glass-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.03);
    z-index: 2;
}

.mockup {
    width: 100%;
    max-width: 600px;
    height: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mockup-header {
    height: 40px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #475569;
}
.dots span:nth-child(1) { background: #ef4444; }
.dots span:nth-child(2) { background: #eab308; }
.dots span:nth-child(3) { background: #22c55e; }

.mockup-body {
    display: flex;
    flex: 1;
}

.mockup-sidebar {
    width: 120px;
    border-right: 1px solid var(--glass-border);
    background: rgba(15, 17, 26, 0.3);
}

.mockup-main {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mockup-waveform {
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(56,189,248,0.1) 0%, rgba(129,140,248,0.2) 50%, rgba(56,189,248,0.1) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    position: relative;
    overflow: hidden;
}
.mockup-waveform::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 4px,
        rgba(56, 189, 248, 0.4) 4px,
        rgba(56, 189, 248, 0.4) 6px
    );
    opacity: 0.5;
}

.mockup-text-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.line {
    height: 12px;
    background: rgba(148, 163, 184, 0.1);
    border-radius: 6px;
}

.line.highlight {
    background: rgba(56, 189, 248, 0.2);
    border-left: 2px solid var(--brand-blue);
}

.w-100 { width: 100%; }
.w-90 { width: 90%; }
.w-80 { width: 80%; }
.w-60 { width: 60%; }

/* Features Section */
.features {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: #f8fafc;
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon.bg-blue {
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
}

.feature-icon.bg-purple {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.feature-icon.bg-orange {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #0f172a;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
footer {
    padding: 3rem 5%;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Auth Modal Styles - Copied from app css style */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s, visibility 0.2s;
}

.modal-overlay.hidden {
    display: none !important;
}

.modal-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    display: flex;
    flex-direction: column;
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.modal-input {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #0f172a;
    margin-bottom: 1rem;
    font-family: inherit;
    font-size: 0.95rem;
}

.modal-input:focus {
    outline: none;
    border-color: var(--brand-blue);
}

.password-container {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
}

.password-container .modal-input {
    margin-bottom: 0;
    width: 100%;
    padding-right: 2.5rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.password-toggle:hover {
    color: var(--text-primary);
}

.modal-btn {
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.modal-btn.primary {
    background: var(--brand-gradient);
    color: white;
}

.modal-btn.primary:hover {
    opacity: 0.9;
}

.modal-text-btn {
    background: none;
    border: none;
    color: var(--brand-blue);
    font-family: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    margin-top: 1rem;
}

.modal-text-btn:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding-top: 6.5rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        text-align: center;
        gap: 2.5rem;
    }
    
    .hero-cta {
        align-items: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2rem;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .navbar {
        padding: 0.85rem 1rem;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .hero {
        padding-top: 5.5rem;
        padding-bottom: 2rem;
        gap: 2rem;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-title {
        font-size: 2.1rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .mockup {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 250px;
    }

    .mockup-main {
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-links a {
        display: none;
    }
    
    .features {
        padding: 3rem 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ── Floating Cookie Consent Banner ── */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    max-width: 620px;
    width: calc(100% - 2rem);
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 0.9rem 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: cookieSlideUp 0.3s ease-out;
}

@keyframes cookieSlideUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

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

.cookie-banner-text {
    font-size: 0.85rem;
    color: #f1f5f9;
    line-height: 1.5;
    flex: 1;
    min-width: 240px;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-link {
    color: #38bdf8;
    font-size: 0.85rem;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-btn {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.cookie-btn:hover {
    background: #1d4ed8;
}
