:root {
    /* Premium SaaS Dark Theme (Vercel / Linear inspired) */
    --bg-main: #000000;
    --bg-card: #000000;
    --bg-card-hover: #080808;
    --text-main: #ededed;
    --text-muted: #888888;
    --accent-blue: #0070f3; /* Clear distinct blue */
    --accent-blue-hover: #0050c2;
    
    /* Strict minimal borders */
    --border-subtle: 1px solid #1a1a1a;
    --border-hover: 1px solid #333333;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Layout */
    --container-width: 1040px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Transitions */
    --transition: all 0.2s ease;
}

/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Subtle ambient background gradients */
.bg-glow { position:fixed; border-radius:50%; pointer-events:none; z-index:-1; filter:blur(80px); opacity:0; animation: glowIn 2s ease forwards; }
.bg-glow-1 { width:600px; height:600px; top:-200px; left:-100px; background:radial-gradient(circle, rgba(0,112,243,0.07) 0%, transparent 70%); animation-delay:0.2s; }
.bg-glow-2 { width:500px; height:500px; bottom:-100px; right:-100px; background:radial-gradient(circle, rgba(59,130,246,0.05) 0%, transparent 70%); animation-delay:0.6s; }
.bg-glow-3 { width:400px; height:400px; top:40%; left:50%; transform:translateX(-50%); background:radial-gradient(circle, rgba(0,112,243,0.04) 0%, transparent 70%); animation-delay:1s; }
@keyframes glowIn { to { opacity:1; } }

img, svg {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Typography refinements */
h1, h2, h3, h4, h5 {
    letter-spacing: -0.04em;
    font-weight: 600;
}

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

.section {
    padding: 120px 0;
}

.section-header {
    margin-bottom: 64px;
}

.section-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* Buttons - Flat & Crisp */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-lg {
    padding: 12px 24px;
    font-size: 0.95rem;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    background: #f0f0f0;
}

.btn-secondary {
    background: transparent;
    color: #ededed;
    border: var(--border-subtle);
}

.btn-secondary:hover {
    background: #111;
    border-color: #444;
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
}

.navbar.scrolled {
    padding: 16px 0;
    border-bottom: var(--border-subtle);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.02em;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: #fff;
}

/* Mobile Icon */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 16px;
    position: relative;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: #fff;
    position: absolute;
    transition: var(--transition);
}
.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 7px; }
.mobile-menu-btn span:nth-child(3) { top: 14px; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg); top: 7px; }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg); top: 7px; }

/* Hero */
.hero {
    padding: 200px 0 120px;
    text-align: left;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: var(--border-subtle);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    color: #fff;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: var(--border-subtle);
    padding-top: 32px;
    max-width: 600px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Features - Minimal Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: var(--border-subtle);
    border-left: var(--border-subtle);
}

.feature-card {
    padding: 40px 32px;
    border-right: var(--border-subtle);
    border-bottom: var(--border-subtle);
    background: var(--bg-main);
    transition: background 0.2s;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    background: #050505; /* Extremely subtle hover */
}

.feature-icon {
    margin-bottom: 24px;
    color: #fff;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-content h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Pricing Section */
.billing-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.toggle-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
}

.toggle-label.active {
    color: #fff;
}

.toggle-switch {
    width: 36px;
    height: 20px;
    background: #fff;
    border-radius: var(--radius-full);
    padding: 2px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.toggle-knob {
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 50%;
    transition: transform 0.2s;
    transform: translateX(16px);
}

.toggle-switch.off {
    background: #333;
}
.toggle-switch.off .toggle-knob {
    transform: translateX(0);
    background: #888;
}

.savings-badge {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 8px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin-top: 40px;
}

.pricing-card {
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 32px;
    background: #020202;
    display: flex;
    flex-direction: column;
}

.pricing-card.recommended {
    border-color: #333;
    background: #050505;
}

.recommended-badge {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 16px;
    display: inline-block;
}

.plan-header {
    margin-bottom: 32px;
}

.plan-header h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #fff;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.price-container {
    height: 60px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.hidden { display: none !important; }

.price .amount {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.04em;
}

.price .currency, .price .period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.billing-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.plan-features {
    flex-grow: 1;
    margin-bottom: 32px;
}

.features-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.plan-features ul {
    list-style: none;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-main);
}

.plan-features li svg {
    width: 14px;
    height: 14px;
    color: #fff;
    opacity: 0.5;
}

/* How It Works - Clean linear steps */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    border-left: var(--border-subtle);
    padding-left: 32px;
    margin-left: 12px;
}

.step {
    position: relative;
}

.step-number {
    position: absolute;
    left: -48px;
    top: 0;
    width: 32px;
    height: 32px;
    background: #000;
    border: var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* About Us - Strict grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: #050505;
    border: var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.image-placeholder svg {
    width: 32px;
    height: 32px;
    color: #333;
}

.about-content h2 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
}

.about-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.about-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.about-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-main);
}

.about-points svg {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
}

/* FAQ - Minimal Rows */
.faq-list {
    border-top: var(--border-subtle);
    max-width: 800px;
}

.faq-row {
    border-bottom: var(--border-subtle);
}

.faq-question {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

.faq-question svg {
    transition: transform 0.2s;
    color: var(--text-muted);
}

.faq-row.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA */
.cta-box {
    text-align: left;
    border-top: var(--border-subtle);
    padding-top: 120px;
}

.cta-box h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    border-top: var(--border-subtle);
    padding: 60px 0 40px;
    margin-top: 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 16px;
    line-height: 1.6;
}

.footer-links-group h4 {
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 500;
}

.footer-links-group a {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.footer-links-group a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.contact-email a {
    color: var(--text-muted);
}
.contact-email a:hover {
    color: #fff;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(10px); /* Subtler translateY */
    animation: fadeUpAnim 0.6s ease forwards;
}

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

.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }

.reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== LIFE & MOTION ===== */

/* Page entrance */
body { animation: pageIn 0.5s ease; }
@keyframes pageIn { from { opacity:0; } to { opacity:1; } }

/* Badge dot pulse */
.badge-dot { animation: dotPulse 2s ease-in-out infinite; }
@keyframes dotPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(0,112,243,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(0,112,243,0); }
}

/* Hero title gradient shimmer */
.text-gradient {
    background: linear-gradient(90deg, #ffffff 0%, #0070f3 40%, #60a5fa 60%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* Button hover glow */
.btn-primary { transition: all 0.3s ease; }
.btn-primary:hover { box-shadow: 0 4px 24px rgba(255,255,255,0.12); transform: translateY(-1px); }
.btn-secondary { transition: all 0.3s ease; }
.btn-secondary:hover { box-shadow: 0 4px 16px rgba(255,255,255,0.04); }

/* Feature card lift */
.feature-card { transition: background 0.3s, transform 0.3s, box-shadow 0.3s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.feature-icon svg { transition: color 0.3s; }
.feature-card:hover .feature-icon svg { color: #0070f3; }

/* Pricing card hover */
.pricing-card { transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); border-color: #333; }
.pricing-card.recommended:hover { border-color: #0070f3; box-shadow: 0 12px 40px rgba(0,112,243,0.08); }

/* Step number glow on hover */
.step-number { transition: border-color 0.3s, color 0.3s, box-shadow 0.3s; }
.step:hover .step-number { border-color: #0070f3; color: #0070f3; box-shadow: 0 0 12px rgba(0,112,243,0.2); }

/* About section floating glow sphere */
.image-placeholder { position: relative; overflow: hidden; }
.glow-sphere { position:absolute; width:120px; height:120px; background:radial-gradient(circle, rgba(0,112,243,0.35) 0%, transparent 70%); border-radius:50%; animation:sphereFloat 6s ease-in-out infinite; z-index:0; }
@keyframes sphereFloat {
    0%,100% { transform:translate(-30px, 0); }
    33% { transform:translate(30px, -25px); }
    66% { transform:translate(-10px, 25px); }
}
.image-placeholder svg { z-index:1; position:relative; }

/* Input focus glow (global) */
input:focus, textarea:focus, select:focus { box-shadow: 0 0 0 2px rgba(0,112,243,0.15) !important; }

/* FAQ row hover */
.faq-row { transition: background 0.2s; padding: 0 12px; margin: 0 -12px; border-radius: 8px; }
.faq-row:hover { background: rgba(255,255,255,0.02); }

/* Status badge pulse (for dashboard) */
@keyframes statusPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50% { box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}

/* Responsive */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .hero h1 { font-size: 3.5rem; }
    .hero { text-align: center; }
    .hero p { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { margin-inline: auto; justify-content: center; border-top: none; padding-top: 0; }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        padding: 24px;
        border-bottom: var(--border-subtle);
    }
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
