/* /public_html/assets/css/style.css (Marketing Site - Complete Light Theme) */

/* --- 1. Color Palette --- */
:root {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --border-color: #e2e8f0;
    --success: #16a34a;
}

/* --- 2. Base Reset --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; background: var(--text-main); color: #fff; padding: 10px 14px; border-radius: 4px; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(37, 99, 235, .35); outline-offset: 3px; }

/* --- 3. Navigation Bar --- */
.navbar {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.navbar .brand { font-size: 1.5rem; font-weight: 800; color: var(--text-main); text-decoration: none; }
.navbar .brand span { color: var(--accent); }
.nav-links a { color: var(--text-muted); text-decoration: none; margin-left: 25px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-main); }
.nav-links .btn-login { border: 1px solid var(--border-color); padding: 8px 16px; border-radius: 4px; }
.nav-links .btn-login:hover { border-color: var(--text-muted); }
.nav-links .btn-signup { color: var(--accent); }

/* --- 4. Hero Section --- */
.hero { text-align: center; padding: 100px 20px 80px; max-width: 900px; margin: 0 auto; }
.hero h1 { font-size: 3.5rem; margin-bottom: 24px; color: var(--text-main); line-height: 1.15; letter-spacing: -1px; }
.hero p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* --- 5. Buttons --- */
.btn-primary { background-color: var(--accent); color: #ffffff; padding: 14px 32px; text-decoration: none; border-radius: 6px; font-weight: 600; font-size: 1.1rem; transition: background-color 0.2s; display: inline-block; text-align: center; }
.btn-primary:hover { background-color: var(--accent-hover); }
.btn-secondary { background-color: transparent; color: var(--text-main); border: 1px solid var(--border-color); padding: 14px 32px; text-decoration: none; border-radius: 6px; font-weight: 600; font-size: 1.1rem; transition: all 0.2s; display: inline-block; text-align: center; }
.btn-secondary:hover { background-color: var(--card-bg); border-color: var(--text-muted); }
.btn-outline { background: transparent; color: var(--accent); border: 1px solid var(--accent); padding: 13px 30px; text-decoration: none; border-radius: 6px; font-weight: 600; display: inline-block; text-align: center; }
.btn-outline:hover { background: #eff6ff; color: var(--accent-hover); border-color: var(--accent-hover); }

/* --- 6. Feature & Steps Grids (Homepage & Features) --- */
.features-container, .steps-container, .pricing-container {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card, .step-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.step-card { text-align: center; }
.feature-icon { font-size: 2.5rem; margin-bottom: 20px; display: inline-block; }
.feature-card h3, .step-card h3 { color: var(--text-main); font-size: 1.3rem; margin-top: 0; margin-bottom: 15px;}
.feature-card p, .step-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* Missing Homepage Specifics */
.how-it-works { background: var(--card-bg); padding: 80px 20px; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 60px; color: var(--text-main); }
.step-number {
    background: var(--bg-color);
    color: var(--accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    border: 2px solid var(--border-color);
}
.code-preview { background: #1e293b; padding: 15px; border-radius: 6px; font-family: monospace; color: #4ade80; font-size: 0.9rem; margin-top: 20px; border: 1px solid var(--border-color); text-align: left; overflow-x: auto; }

/* --- 7. Pricing Cards --- */
.pricing-card { background: var(--card-bg); padding: 40px 30px; border-radius: 8px; border: 1px solid var(--border-color); display: flex; flex-direction: column; position: relative; box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }
.pricing-card.popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #ffffff; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; }
.tier-name { font-size: 1.4rem; color: var(--text-main); margin-top: 0; margin-bottom: 10px; }
.price { font-size: 2.5rem; font-weight: bold; color: var(--text-main); margin-bottom: 5px; }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: normal; }
.tier-desc { color: var(--text-muted); margin-bottom: 30px; font-size: 0.95rem; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.feature-list { list-style: none; padding: 0; margin: 0 0 30px 0; flex-grow: 1; }
.feature-list li { margin-bottom: 15px; position: relative; padding-left: 28px; color: var(--text-main); font-size: 0.95rem; }
.feature-list li::before { content: '✓'; color: var(--success); position: absolute; left: 0; font-weight: bold; }

/* Missing FAQ Specifics */
.faq-section { max-width: 800px; margin: 0 auto 80px; padding: 0 20px; }
.faq-section h2 { text-align: center; font-size: 2rem; margin-bottom: 40px; color: var(--text-main); }
.faq-item { margin-bottom: 25px; }
.faq-item h4 { margin: 0 0 10px 0; color: var(--text-main); font-size: 1.1rem; }
.faq-item p { margin: 0; color: var(--text-muted); }

/* --- 8. CTA & Footer --- */
.cta-section, .cta-bottom { text-align: center; padding: 80px 20px; background: var(--card-bg); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.cta-section h2, .cta-bottom h2 { font-size: 2.5rem; color: var(--text-main); margin-bottom: 20px; margin-top: 0; }
.cta-section p, .cta-bottom p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; }

footer { text-align: center; padding: 40px 20px; color: var(--text-muted); font-size: 0.9rem; border-top: 1px solid var(--border-color); background: var(--card-bg); }

.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text-main); }
.small { font-size: .88rem; }

.docs-layout { max-width: 880px; margin: 0 auto; padding: 36px 20px 80px; }
.breadcrumbs { display: flex; gap: 10px; color: var(--text-muted); font-size: .9rem; margin-bottom: 34px; }
.breadcrumbs a { color: var(--accent); }
.docs-header { margin-bottom: 48px; }
.docs-header h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); line-height: 1.12; letter-spacing: -1px; margin-bottom: 18px; }
.docs-header p { font-size: 1.2rem; color: var(--text-muted); }
.docs-layout article > section { margin-bottom: 44px; }
.docs-layout h2 { font-size: 1.65rem; margin-bottom: 12px; }
.docs-layout h3 { margin-top: 26px; }
.docs-layout pre { background: #0f172a; color: #dbeafe; padding: 18px; border-radius: 8px; overflow-x: auto; font-size: .9rem; line-height: 1.55; }
.docs-layout code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.docs-callout { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 30px; margin-top: 55px; }

@media (max-width: 760px) {
    .navbar { align-items: flex-start; gap: 14px; padding: 16px 20px; }
    .nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 16px; }
    .nav-links a { margin-left: 0; }
    .nav-links .btn-login { padding: 3px 8px; }
    .hero { padding: 65px 20px 55px; }
    .hero h1 { font-size: clamp(2.25rem, 11vw, 3.25rem); }
    .features-container, .steps-container, .pricing-container { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
