:root {
    /* Foundation Colors */
    --white: #FFFFFF;
    --near-black: #1A1A1A;
    --dark-gray: #4B5563;
    --medium-gray: #6B7280;
    --light-gray: #F8F9FA;
    --border-gray: #E5E7EB;

    /* Brand Accent */
    --primary-blue: #0085cc;
    --primary-blue-hover: #0073B3;

    /* Typography */
    --font-serif: 'Merriweather', serif;
    --font-sans: 'Inter', system-ui, sans-serif;
}

/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-serif);
    color: var(--near-black);
    font-weight: 700;
}

h1 { font-size: 56px; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: 36px; letter-spacing: -0.01em; font-weight: 600; }
h3 { font-size: 24px; font-weight: 500; font-family: var(--font-sans); }

.body-large { font-size: 18px; line-height: 1.7; }
.small-text { font-size: 14px; color: var(--medium-gray); }

/* Spacing System */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.section-light { background-color: var(--light-gray); }

/* =========================
   Glass / Liquid Top Panel
   ========================= */

/* Container for the frosted glass nav */
nav {
    position: fixed;
    top: 1px;                     /* slight inset from the very top for floating look */
    left: 24px;
    right: 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 1100;

    /* Glass look */
    background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(250,250,251,0.30) 100%);
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(10, 20, 30, 0.12), inset 0 1px 0 rgba(255,255,255,0.6);

    /* Blur backdrop (frosted glass) - modern browsers */
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    backdrop-filter: blur(10px) saturate(120%);

    /* fallback for older browsers that don't support backdrop-filter */
    background-color: rgba(255,255,255,0.85);
    transition: transform 0.22s cubic-bezier(.2,.9,.25,1), box-shadow 0.22s ease;
}

/* Slight lift on hover for interactive feel */
nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(10, 20, 30, 0.15), inset 0 1px 0 rgba(255,255,255,0.65);
}

/* Keep nav compact on small viewports, keep rounded corners */
@media (max-width: 767px) {
    nav {
        left: 12px;
        right: 12px;
        padding: 0 14px;
        height: 60px;
    }
}

/* Logo area styling remains but tuned to sit on glass */
.nav-left { display: flex; align-items: center; gap: 12px; }
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
    color: var(--near-black);
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
}

/* Slight translucent icon to match the frosted nav */
.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(0,0,0,0.06));
    color: var(--near-black);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-weight: 800;
    font-size: 13px;
    border: 1px solid rgba(0,0,0,0.06);
    backdrop-filter: none;
}

/* Center links - slightly spaced, and subtle glass-hover effect */
.nav-center { display: flex; gap: 22px; align-items: center; }

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: rgba(26,26,26,0.88);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    transition: color 0.18s ease, background 0.18s ease, transform 0.12s ease;
    will-change: transform;
}

/* glassy halo on hover */
.nav-link:hover {
    color: var(--primary-blue);
    background: linear-gradient(180deg, rgba(255,255,255,0.25), rgba(255,255,255,0.08));
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Right-side small actions */
.nav-right { display: flex; align-items: center; gap: 14px; }

/* Sign-in link (subtle) */
.sign-in {
    color: rgba(26,26,26,0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease;
}
.sign-in:hover {
    color: var(--primary-blue);
    background: rgba(0,0,0,0.03);
}

/* Glassy button base (used by Get Started) */
.btn {
    padding: 8px 18px;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: transform 0.16s cubic-bezier(.2,.9,.25,1), box-shadow 0.16s ease, background 0.16s ease;
    backdrop-filter: none;
}

/* Outline button reworked as glassy pill */
.btn-outline {
    background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.06));
    color: var(--primary-blue);
    border: 1px solid rgba(0,133,204,0.12);
    box-shadow: 0 6px 18px rgba(0, 133, 204, 0.06);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.btn-outline:hover {
    background: linear-gradient(180deg, rgba(0,133,204,0.08), rgba(0,133,204,0.04));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,133,204,0.12);
}

/* Primary button (stronger glass + accent) */
.btn-primary {
    background: linear-gradient(180deg, rgba(0,133,204,0.95), rgba(0,115,179,0.95));
    color: var(--white);
    border: none;
    box-shadow: 0 10px 30px rgba(0,115,179,0.20);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(0,115,179,0.28);
}

/* Keep small visual balance on mobile */
@media (max-width: 480px) {
    .nav-center { display: none; }
    .logo { font-size: 16px; }
    .logo-icon { width: 28px; height: 28px; font-size: 12px; border-radius: 6px; }
    .btn { padding: 8px 12px; font-size: 14px; }
}



/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(to bottom, var(--white) 0%, #FAFBFC 100%);
    text-align: center;
}

.hero-logo { margin-bottom: 40px; }
.hero-headline { margin-bottom: 16px; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero-subheadline { margin-bottom: 24px; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero-text { max-width: 600px; margin: 0 auto 40px; color: var(--medium-gray); }

.search-container { max-width: 700px; margin: 0 auto 32px; position: relative; }

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    height: 60px;
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.2s ease;
}
.search-bar:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0px 2px 12px rgba(0, 133, 204, 0.15);
}

.search-icon { padding: 0 16px; color: var(--dark-gray); font-size: 20px; }
.search-input {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--near-black);
}
.search-input::placeholder { color: #9CA3AF; }

.search-actions { display: flex; align-items: center; padding-right: 12px; }
.ai-icon { margin-right: 12px; color: var(--primary-blue); font-size: 20px; }

.search-btn {
    padding: 8px 16px;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    opacity: 0;
    pointer-events: none;
}
.search-bar.active .search-btn { opacity: 1; pointer-events: all; }
.search-btn:hover { background-color: #0073B3; }

.example-queries {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.query-pill {
    background-color: #F3F4F6;
    color: var(--dark-gray);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.query-pill:hover { background-color: #E5E7EB; }

.trust-line { color: var(--medium-gray); font-size: 14px; }

/* How It Works */
.how-it-works { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 24px; }
.section-subtitle { text-align: center; max-width: 700px; margin: 0 auto 48px; color: var(--medium-gray); }

.steps {
    display: flex;
    justify-content: center;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}
.step { text-align: center; max-width: 280px; }
.step-icon {
    width: 64px;
    height: 64px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-blue);
    font-size: 32px;
}
.step-title { margin-bottom: 12px; font-size: 18px; font-weight: 600; font-family: var(--font-sans); }

/* Demo Section */
.demo-section { padding: 80px 0; }
.demo-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
}
.demo-query { background-color: #F8F9FA; padding: 16px; border-radius: 8px; margin-bottom: 24px; font-weight: 600; }
.demo-response { padding: 16px; margin-bottom: 24px; }
.demo-sources { display: flex; flex-wrap: wrap; gap: 12px; }
.source-link { color: var(--primary-blue); text-decoration: none; font-size: 14px; }
.source-link:hover { text-decoration: underline; }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}
.feature-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    transition: all 0.2s ease;
}
.feature-card:hover { box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12); transform: translateY(-4px); }
.feature-icon {
    width: 56px;
    height: 56px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-blue);
    font-size: 32px;
}
.feature-title { font-size: 20px; font-weight: 600; margin-bottom: 12px; font-family: var(--font-sans); }

/* Coverage Section */
.coverage-section { padding: 80px 0; }
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}
.coverage-category h4 { margin-bottom: 16px; font-size: 20px; font-weight: 600; font-family: var(--font-sans); }
.coverage-list { list-style: none; }
.coverage-list li { padding: 6px 0; color: var(--dark-gray); }

/* For Agents */
.agents-section { padding: 80px 0; }
.benefit-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}
.benefit-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 40px 32px;
    text-align: center;
}
.stat { font-size: 48px; font-weight: 700; margin-bottom: 16px; font-family: var(--font-serif); }

/* Testimonials */
.testimonials-section { padding: 80px 0; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}
.testimonial-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 32px;
    position: relative;
}
.testimonial-card::before {
    content: "\"";
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 64px;
    font-family: var(--font-serif);
    color: #E5E7EB;
    line-height: 1;
}
.testimonial-text { font-style: italic; margin-bottom: 24px; position: relative; z-index: 1; }
.attribution { display: flex; align-items: center; gap: 12px; }
.name { font-weight: 600; font-size: 16px; }
.title { font-size: 14px; color: var(--medium-gray); }

/* Pricing */
.pricing-section { padding: 80px 0; }
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}
.pricing-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
}
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}
.price { font-size: 48px; font-weight: 700; margin: 16px 0; font-family: var(--font-serif); }
.period { color: var(--medium-gray); margin-bottom: 24px; }
.features-list { list-style: none; margin: 24px 0; text-align: left; }
.features-list li { padding: 8px 0; display: flex; align-items: center; gap: 12px; }
.checkmark { color: var(--primary-blue); font-size: 18px; }
.pricing-note { text-align: center; margin-top: 40px; color: var(--medium-gray); font-size: 14px; }

/* FAQ */
.faq-section { padding: 80px 0; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-gray); padding: 24px 0; }
.faq-question {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    color: var(--dark-gray);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 500px; }

/* Final CTA */
.final-cta { padding: 100px 0; text-align: center; }
.final-cta-headline { margin-bottom: 16px; }
.final-cta-text { max-width: 600px; margin: 0 auto 40px; color: var(--medium-gray); }
.cta-buttons { display: flex; justify-content: center; gap: 20px; margin-top: 32px; }
.trust-elements { display: flex; justify-content: center; gap: 24px; margin-top: 32px; color: var(--medium-gray); font-size: 14px; }

/* Footer */
footer { background-color: var(--light-gray); padding: 60px 0 30px; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}
.footer-column h4 { font-size: 16px; font-weight: 600; margin-bottom: 20px; font-family: var(--font-sans); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--dark-gray); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--primary-blue); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0;
    border-top: 1px solid var(--border-gray);
    max-width: 1200px;
    margin: 0 auto;
}
.social-icons { display: flex; gap: 16px; }
.social-icon { color: var(--medium-gray); font-size: 18px; text-decoration: none; }
.social-icon:hover { color: var(--primary-blue); }

/* Responsive Design */
@media (max-width: 1199px) {
    .container { padding: 0 40px; }
    .steps { gap: 24px; }
    .features-grid, .benefit-cards, .pricing-cards { grid-template-columns: repeat(2, 1fr); }
    .coverage-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    nav { padding: 0 20px; }
    .nav-center { display: none; }
    .hero { padding: 140px 0 80px; }
    h1 { font-size: 44px; }
    h2 { font-size: 32px; }
    .search-container { max-width: calc(100% - 40px); }
    .steps, .features-grid, .benefit-cards, .pricing-cards, .coverage-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 480px) {
    .hero { padding: 120px 0 60px; }
    h1 { font-size: 36px; }
    .btn { width: 100%; max-width: 300px; }
    .footer-grid { grid-template-columns: 1fr; }
}

.pricing-card .price {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    margin-bottom: 4px;
  }
  
  .pricing-card .period {
    font-size: 0.95rem;
    color: #666;
  }
  