/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #fafbfc;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: #34495e;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2980b9;
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e1e8ed;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    color: #2c3e50;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    color: #2980b9;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2980b9;
}

.nav-link.nav-cta {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link.nav-cta:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 3px;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: #2c3e50;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e1e8ed;
        padding: 1rem 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
}

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

.btn-primary {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233498db' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.5;
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-cta {
    margin-top: 2rem;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-dashboard {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
}

.dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem;
}

.dashboard-tabs {
    display: flex;
    gap: 0.5rem;
}

.tab {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.dashboard-content {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
}

/* Statement Section */
.statement {
    padding: 4rem 0;
    background: #ffffff;
    text-align: center;
}

.statement-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #2c3e50;
    margin-bottom: 2rem;
}

.statement-text {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #f8f9fa;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature.feature-reverse {
    direction: rtl;
}

.feature.feature-reverse > * {
    direction: ltr;
}

.feature-content {
    max-width: 500px;
}

.feature-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 1.5rem;
}

.feature-description {
    font-size: 1rem;
    color: #7f8c8d;
    line-height: 1.8;
}

/* Feature Mockups */
.feature-mockup {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e1e8ed;
}

.mockup-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1rem;
    font-weight: 600;
    text-align: center;
}

.mockup-content {
    padding: 1.5rem;
}

/* Lead Intelligence Mockup */
.lead-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #fafbfc;
}

.lead-avatar {
    font-size: 2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lead-info {
    flex: 1;
}

.lead-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.lead-details {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.lead-ai-insight {
    font-size: 0.85rem;
    color: #27ae60;
    background: #d5f4e6;
    padding: 0.5rem;
    border-radius: 4px;
    border-left: 3px solid #27ae60;
}

/* Quote Generator Mockup */
.quote-search {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.quote-search input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    font-size: 0.9rem;
}

.quote-search button {
    padding: 0.75rem 1.5rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
}

.quote-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    position: relative;
}

.quote-option.best {
    border-color: #27ae60;
    background: #f8fff9;
}

.carrier-logo {
    font-size: 1.5rem;
}

.quote-details {
    flex: 1;
}

.carrier-name {
    font-weight: 600;
    color: #2c3e50;
}

.quote-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #27ae60;
}

.quote-coverage {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.best-badge {
    background: #27ae60;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Follow-up Assistant Mockup */
.followup-item {
    padding: 1rem;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #fafbfc;
}

.followup-item.urgent {
    border-color: #e74c3c;
    background: #fdf2f2;
}

.followup-time {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.followup-task {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.followup-ai {
    font-size: 0.9rem;
    color: #7f8c8d;
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #3498db;
}

/* Agency Dashboard Mockup */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.card-title {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.card-metric {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.card-label {
    font-size: 0.8rem;
    color: #7f8c8d;
}

.recent-activity {
    border-top: 1px solid #e1e8ed;
    padding-top: 1rem;
}

.activity-item {
    font-size: 0.9rem;
    color: #7f8c8d;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2980b9;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: 500;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 4rem;
}

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

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.step-description {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.benefit {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.benefit-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.benefit-description {
    color: #7f8c8d;
    line-height: 1.6;
}

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

.waitlist-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.waitlist-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.waitlist-form {
    max-width: 500px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.waitlist-form input,
.waitlist-form select {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.btn-loading {
    display: none;
}

.waitlist-form.loading .btn-text {
    display: none;
}

.waitlist-form.loading .btn-loading {
    display: inline;
}

.waitlist-success {
    display: none;
    max-width: 500px;
    margin: 2rem auto 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.waitlist-success h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.waitlist-success.show {
    display: block;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .feature.feature-reverse {
        direction: ltr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 6rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .feature {
        margin-bottom: 3rem;
    }
    
    .waitlist {
        padding: 3rem 0;
    }
    
    .waitlist-title {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-visual,
.feature-content,
.feature-visual {
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature:nth-child(2) .feature-content,
.feature:nth-child(2) .feature-visual {
    animation-delay: 0.2s;
}

.feature:nth-child(3) .feature-content,
.feature:nth-child(3) .feature-visual {
    animation-delay: 0.4s;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.show {
    display: block;
}

/* Smooth transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
