:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --primary: #38bdf8;
    --primary-glow: rgba(56, 189, 248, 0.4);
    --secondary: #818cf8;
    --accent: #10b981;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --gradient-1: linear-gradient(135deg, #38bdf8, #818cf8);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(129, 140, 248, 0.15), transparent 25%);
    background-attachment: fixed;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Outfit', sans-serif;
}

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

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

.header-logo {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 15px var(--primary-glow);
    border: 1px solid var(--primary);
}

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

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

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

.cta-btn {
    background: var(--gradient-1);
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--primary-glow);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.cta-btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(129, 140, 248, 0.6);
}

.cta-btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-btn-outline:hover {
    background: rgba(56, 189, 248, 0.1);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 4rem;
    text-align: center;
    position: relative;
    flex-direction: column;
}

.hero-visual {
    margin-top: 3rem;
    max-width: 800px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    animation: fadeIn 1.5s forwards;
    opacity: 0;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    animation: fadeIn 1s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-inline: auto;
}

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

/* Trust Strip */
.trust-strip {
    padding: 3rem 5%;
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
}

.trust-strip h3 {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-items span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    opacity: 0.8;
}

/* Generic Section styling */
.section {
    padding: 6rem 5%;
    position: relative;
}

.section-alt {
    background: rgba(15, 23, 42, 0.5);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-inline: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.section-body {
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-size: 1.125rem;
    text-align: center;
}

/* Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.price-anchor {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 1rem;
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
}

.feature-list {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.check-list {
    list-style: none;
    text-align: left;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    margin-bottom: 1rem;
    border-radius: 12px;
    padding: 1.5rem;
}

.faq-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.faq-item p {
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    background: #0b1120;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.875rem;
}

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.25rem; }
    .hero-actions { flex-direction: column; }
}

[data-theme="light"] {
    --bg-dark: #f0f4f8;
    --bg-card: rgba(255, 255, 255, 0.9);
    --primary: #0284c7;
    --primary-glow: rgba(2, 132, 199, 0.2);
    --secondary: #4f46e5;
    --accent: #059669;
    --text-main: #0f172a;
    --text-muted: #475569;
    --gradient-1: linear-gradient(135deg, #0284c7, #4f46e5);
    --glass-border: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] body {
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(2, 132, 199, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(79, 70, 229, 0.05), transparent 25%);
}

[data-theme="light"] nav {
    background: rgba(240, 244, 248, 0.85);
}

[data-theme="light"] footer {
    background: #e2e8f0;
}

[data-theme="light"] .hero h1 {
    background: linear-gradient(to right, #0f172a, #334155);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Light mode specific inversions */
[data-theme="light"] .card {
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
[data-theme="light"] .card:hover { border-color: var(--primary); }

[data-theme="light"] .faq-item {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0,0,0,0.1);
}

/* Ensure sub-headers and text on gray background banner have high contrast */
[data-theme="light"] .section-alt .section-header p,
[data-theme="light"] .section-alt .section-body {
    color: #ffffff;
}
[data-theme="light"] .section-alt .check-list li {
    color: #ffffff;
}

[data-theme="light"] .trust-strip { background: rgba(240, 244, 248, 0.9); }

.theme-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    background: var(--primary-glow);
    color: var(--primary);
}

[data-theme="light"] .theme-btn {
    background: rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .theme-btn:hover {
    background: var(--primary-glow);
}
