/* ============================================
   SiteGPT — Server Marketing CSS
   Clean Startup Light Theme — Trust Blue
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: rgba(37, 99, 235, 0.12);
    --sky: #38BDF8;
    --heading: #0F172A;
    --body: rgba(15, 23, 42, 0.75);
    --body-light: rgba(15, 23, 42, 0.55);
    --bg-page: #FFFFFF;
    --bg-surface: #F8FAFC;
    --bg-card: #F1F5F9;
    --border: rgba(15, 23, 42, 0.10);
    --border-strong: rgba(15, 23, 42, 0.16);
    --success: #16A34A;
    --danger: #EF4444;
    --gradient: linear-gradient(90deg, #2563EB, #38BDF8);
    --gradient-soft: linear-gradient(90deg, rgba(37, 99, 235, 0.12), rgba(56, 189, 248, 0.10));
    --glow: 0 0 0 1px rgba(37, 99, 235, 0.10), 0 18px 45px rgba(37, 99, 235, 0.18);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --max-w: 1200px;
    --transition: 0.25s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--body);
    background: var(--bg-page);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: var(--glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12), 0 22px 55px rgba(37, 99, 235, 0.22);
}

.btn-secondary {
    background: var(--bg-page);
    color: var(--heading);
    border: 1.5px solid var(--border-strong);
}

.btn-secondary:hover {
    background: var(--bg-surface);
    border-color: var(--primary);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--heading);
}

.nav-logo svg {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--body);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.nav-toggle {
    display: none;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.burger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--heading);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-mobile-menu {
    display: none;
}

.hero {
    padding: 100px 0 120px;
    overflow: hidden;
    background: radial-gradient(1200px circle at 20% 10%, rgba(37, 99, 235, 0.18) 0%, rgba(56, 189, 248, 0.10) 35%, transparent 70%), var(--bg-page);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    background: var(--gradient-soft);
    border: 1px solid rgba(37, 99, 235, 0.20);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-badge svg {
    width: 20px;
    height: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--heading);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
}

.hero h1 .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    list-style: none;
    margin-bottom: 36px;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--heading);
}

.hero-bullets svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.widget-preview {
    background: var(--bg-page);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
    overflow: hidden;
    max-width: 420px;
    margin-left: auto;
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface);
}

.widget-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-avatar svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.widget-header-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--heading);
}

.widget-header-text span {
    font-size: 0.8rem;
    color: var(--success);
}

.widget-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 90%;
    animation: fadeSlideIn 0.5s ease both;
}

.chat-bubble.bot {
    background: var(--bg-card);
    color: var(--heading);
    border-bottom-left-radius: 4px;
}

.chat-bubble.user {
    background: var(--gradient);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-citation {
    font-size: 0.78rem;
    color: var(--primary);
    margin-top: 6px;
    font-weight: 500;
}

.widget-prompts {
    padding: 0 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prompt-btn {
    display: block;
    width: 100%;
    padding: 10px 14px;
    background: var(--gradient-soft);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    text-align: left;
    cursor: default;
    transition: all var(--transition);
}

.prompt-btn:hover {
    background: var(--primary-light);
    border-color: rgba(37, 99, 235, 0.30);
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.social-proof {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface);
    text-align: center;
}

.social-proof p {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--body-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.comparison {
    padding: 100px 0;
    background: var(--bg-page);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--heading);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--body);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.comparison-card {
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.comparison-card.before {
    background: #FEF2F2;
    border-color: rgba(239, 68, 68, 0.20);
}

.comparison-card.after {
    background: #EFF6FF;
    border-color: rgba(37, 99, 235, 0.20);
}

.comparison-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-card.before h3 {
    color: var(--danger);
}

.comparison-card.after h3 {
    color: var(--primary);
}

.comparison-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comparison-card li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--heading);
}

.comparison-card li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.comparison-card.before li svg {
    color: var(--danger);
}

.comparison-card.after li svg {
    color: var(--success);
}

.how-it-works {
    padding: 100px 0;
    background: var(--bg-surface);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    background: var(--bg-page);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.25);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--body);
    line-height: 1.6;
}

.step-icon {
    margin-bottom: 16px;
}

.step-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary);
}

.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -18px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid var(--primary);
}

.features {
    padding: 100px 0;
    background: var(--bg-page);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 10px;
}

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

.embed-section {
    padding: 100px 0;
    background: var(--bg-surface);
}

.embed-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.embed-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--heading);
    line-height: 1.2;
    margin-bottom: 20px;
}

.embed-content p {
    font-size: 1.05rem;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 28px;
}

.code-block {
    background: #0F172A;
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.20);
    padding: 24px;
    overflow-x: auto;
}

.code-block code {
    font-family: 'SFMono-Regular', 'Fira Code', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    color: #e2e8f0;
    white-space: pre;
}

.code-block .code-tag {
    color: #7dd3fc;
}

.code-block .code-attr {
    color: #93c5fd;
}

.code-block .code-str {
    color: #86efac;
}

.code-block .code-comment {
    color: #64748b;
}

.final-cta {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(900px circle at 50% 50%, rgba(37, 99, 235, 0.14) 0%, rgba(56, 189, 248, 0.08) 40%, transparent 70%), var(--bg-page);
}

.final-cta h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.final-cta p {
    font-size: 1.15rem;
    color: var(--body);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .btn-primary {
    padding: 18px 44px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.site-footer {
    padding: 40px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading);
}

.footer-logo svg {
    width: 24px;
    height: 24px;
}

.footer-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--body-light);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--heading);
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--body-light);
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .burger {
        display: flex;
    }

    .nav-toggle:checked~.nav-mobile-menu {
        display: flex;
    }

    .nav-toggle:checked~.burger span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }

    .nav-toggle:checked~.burger span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked~.burger span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    .nav-mobile-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-page);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
    }

    .nav-mobile-menu a {
        font-size: 1rem;
        font-weight: 500;
        color: var(--heading);
        padding: 8px 0;
    }

    .nav-mobile-menu .btn {
        width: 100%;
        text-align: center;
    }

    .hero {
        padding: 48px 0 64px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .widget-preview {
        max-width: 100%;
        margin-left: 0;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card::after {
        display: none;
    }

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

    .embed-inner {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .final-cta h2 {
        font-size: 2.2rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .comparison,
    .how-it-works,
    .features,
    .embed-section,
    .final-cta {
        padding: 64px 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 1.05rem;
    }

    .hero-bullets {
        flex-direction: column;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .final-cta h2 {
        font-size: 1.8rem;
    }

    .comparison-card {
        padding: 28px 20px;
    }

    .step-card {
        padding: 28px 20px;
    }

    .feature-card {
        padding: 28px 20px;
    }
}