:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #1f2937;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

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

.logo-icon { font-size: 1.75rem; }
.logo .highlight { color: var(--primary); }

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

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--light-gray);
}

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

.btn-large { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-full { width: 100%; }
.btn-small { padding: 0.5rem 1rem; font-size: 0.9rem; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 4rem 0 6rem;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero h1 .highlight { color: #fbbf24; }

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

/* Audience Cards */
.audience-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 3rem auto;
}

.audience-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.2);
}

.audience-card.seller { background: rgba(16,185,129,0.2); }
.audience-card.agent { background: rgba(245,158,11,0.2); }

.audience-icon { font-size: 3rem; margin-bottom: 1rem; }
.audience-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.audience-card p { opacity: 0.9; margin-bottom: 1rem; }
.audience-card ul { list-style: none; margin-bottom: 1.5rem; }
.audience-card li { padding: 0.3rem 0; opacity: 0.9; }

/* Platform Flow */
.platform-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 3rem 0;
}

.flow-step {
    text-align: center;
    max-width: 200px;
}

.flow-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.flow-step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.flow-step p { font-size: 0.9rem; color: var(--gray); }
.flow-arrow { font-size: 2rem; color: var(--primary); font-weight: 700; }

/* Stats */
.stats { background: var(--light-gray); padding: 4rem 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}
.stat-label { color: var(--gray); font-size: 1.1rem; }

/* Section Titles */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features */
.features { padding: 5rem 0; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-block {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 2.5rem;
}

.feature-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.feature-list { margin-bottom: 2rem; }
.feature-item { margin-bottom: 1.5rem; }
.feature-item h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-item p { color: var(--gray); font-size: 0.95rem; }

/* Comparison Table */
.pricing-comparison { padding: 5rem 0; background: var(--light-gray); }
.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    align-items: center;
}

.comparison-header {
    background: var(--dark);
    color: white;
    font-weight: 600;
}

.comparison-row.featured {
    background: #ecfdf5;
    font-weight: 600;
}

.comparison-row.featured .savings { color: var(--secondary); }

.comparison-note {
    text-align: center;
    color: var(--gray);
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

/* Agent Showcase */
.agent-showcase { padding: 5rem 0; }
.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.agent-card {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.agent-photo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), #764ba2);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.agent-card h3 { margin-bottom: 0.25rem; }
.agent-location { color: var(--gray); font-size: 0.9rem; }
.agent-rating { color: var(--accent); margin: 0.5rem 0; }
.agent-commission {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin: 0.5rem 0;
    font-weight: 600;
}

.agent-bio { color: var(--gray); font-size: 0.9rem; margin: 1rem 0; }

/* White Label Preview */
.white-label-preview { padding: 5rem 0; background: var(--light-gray); }
.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.feature-checklist { list-style: none; margin: 1.5rem 0; }
.feature-checklist li { padding: 0.5rem 0; font-size: 1.05rem; }

.website-preview {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.browser-bar {
    background: #e5e7eb;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #f59e0b; }
.browser-dot.green { background: #10b981; }

.browser-url {
    margin-left: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.preview-content {
    padding: 3rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.preview-content h4 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.preview-btn {
    background: white;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
}

/* Testimonials */
.testimonials { padding: 5rem 0; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.testimonial-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.testimonial-card p { font-style: italic; margin: 1rem 0; }
.testimonial-author strong { display: block; }
.testimonial-author span { color: var(--gray); font-size: 0.9rem; }

/* FAQ */
.faq { padding: 5rem 0; }
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 1.5rem;
}

.faq-item h3 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--dark); }
.faq-item p { color: var(--gray); font-size: 0.95rem; }

/* Contact CTA */
.contact { padding: 5rem 0; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.contact-cta { text-align: center; }
.contact-cta h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-cta p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2rem; }

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer { background: var(--dark); color: white; padding: 4rem 0 2rem; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo { color: white; margin-bottom: 1rem; }
.footer-brand p { opacity: 0.8; font-size: 0.95rem; }

.footer-links h4 { margin-bottom: 1rem; font-size: 1rem; }
.footer-links a {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

.text-center { text-align: center; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: block; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.75rem; }
    .platform-flow { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); }
    .comparison-header,
    .comparison-row { grid-template-columns: 1fr; gap: 0.5rem; }
}
