/*
 * Homepage-specific styles for pepguide.ai
 * Hero, features, pricing, newsletter, testimonials, founder sections
 */

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #0f172a;
}

.hero-subtitle {
    font-size: 20px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 16px;
}

.trust-line {
    font-size: 14px;
    color: #94a3b8;
}

/* Problem Statement */
.problem {
    text-align: center;
}

.problem h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 48px;
    color: #0f172a;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.problem-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.problem-card h3 {
    font-size: 32px;
    font-weight: 700;
    color: #0ea5e9;
    margin-bottom: 12px;
}

.problem-card p {
    color: #64748b;
    font-size: 16px;
}

/* Features Section */
.features {
    padding: 120px 0;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

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

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

.feature-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    font-size: 40px;
}

.feature-content p {
    font-size: 18px;
    color: #64748b;
    line-height: 1.7;
}

/* Mock UI Previews */
.feature-visual {
    background: #f8fafc;
    height: 300px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    padding: 24px;
    font-family: 'Inter', sans-serif;
}

.mock-ui-bar { 
    height: 8px; 
    border-radius: 4px; 
    margin-bottom: 8px; 
}

.mock-ui-row { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    padding: 10px 0; 
    border-bottom: 1px solid #f1f5f9; 
}

.mock-ui-dot { 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    flex-shrink: 0; 
}

.mock-ui-label { 
    font-size: 12px; 
    color: #94a3b8; 
}

.mock-ui-value { 
    font-size: 12px; 
    color: #334155; 
    font-weight: 600; 
    margin-left: auto; 
}

.mock-ui-badge { 
    font-size: 10px; 
    padding: 2px 8px; 
    border-radius: 10px; 
    font-weight: 500; 
}

.mock-ui-header { 
    font-size: 11px; 
    font-weight: 600; 
    color: #64748b; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    margin-bottom: 12px; 
}

.mock-chart { 
    display: flex; 
    align-items: flex-end; 
    gap: 6px; 
    height: 120px; 
    padding-top: 20px; 
}

.mock-chart-bar { 
    flex: 1; 
    border-radius: 4px 4px 0 0; 
    min-width: 16px; 
}

.mock-calendar { 
    display: grid; 
    grid-template-columns: repeat(7, 1fr); 
    gap: 4px; 
}

.mock-cal-day { 
    width: 100%; 
    aspect-ratio: 1; 
    border-radius: 6px; 
    font-size: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #94a3b8; 
}

.mock-chat-bubble { 
    padding: 10px 14px; 
    border-radius: 12px; 
    font-size: 11px; 
    line-height: 1.4; 
    max-width: 85%; 
    margin-bottom: 8px; 
}

.mock-input { 
    display: flex; 
    gap: 8px; 
    margin-top: auto; 
}

.mock-input-field { 
    flex: 1; 
    height: 36px; 
    border-radius: 8px; 
    border: 1px solid #e2e8f0; 
    background: white; 
}

.mock-input-btn { 
    width: 36px; 
    height: 36px; 
    border-radius: 8px; 
    background: #0ea5e9; 
}

.mock-calc-row { 
    display: flex; 
    justify-content: space-between; 
    padding: 8px 0; 
    border-bottom: 1px solid #f1f5f9; 
}

.mock-calc-label { 
    font-size: 12px; 
    color: #64748b; 
}

.mock-calc-value { 
    font-size: 12px; 
    color: #0f172a; 
    font-weight: 600; 
}

/* How It Works */
.how-it-works {
    text-align: center;
}

.how-it-works h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 48px;
    color: #0f172a;
}

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

.step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #0ea5e9;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.step p {
    color: #64748b;
    font-size: 16px;
}

/* Market Status / Trust Section */
.market-status {
    text-align: center;
}

.market-status h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 48px;
    color: #0f172a;
}

.status-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.status-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s;
}

.status-card:hover {
    transform: translateY(-4px);
}

.status-card.approved {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.status-card.compounding {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.status-card.research {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.status-badge.approved {
    background: #10b981;
    color: white;
}

.status-badge.compounding {
    background: #f59e0b;
    color: white;
}

.status-badge.research {
    background: #ef4444;
    color: white;
}

.status-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0f172a;
}

.status-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.market-note {
    margin-top: 32px;
    font-size: 16px;
    color: #64748b;
}

/* Newsletter Section */
.newsletter {
    text-align: center;
}

.newsletter h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

.newsletter-subtitle {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto 16px;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-form input:focus {
    border-color: #0ea5e9;
}

.newsletter-form button {
    padding: 16px 24px;
    background: #0ea5e9;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: #0284c7;
}

.newsletter-count {
    font-size: 14px;
    color: #94a3b8;
}

/* Pricing Section */
.pricing {
    text-align: center;
}

.pricing h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 48px;
    color: #0f172a;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 820px;
    margin: 0 auto;
}

.price-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.price-card.featured {
    border-color: #0ea5e9;
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.15);
}

.price-card .tier-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 8px;
}

.price-card.featured .tier-label {
    color: #0ea5e9;
}

.price-card .popular-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #0ea5e9;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #e2e8f0;
}

.price-card.featured::before {
    background: linear-gradient(90deg, #0ea5e9, #06b6d4);
}

.price-card .tier-name {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.free-intake-section {
    max-width: 600px;
    margin: 0 auto 48px;
    padding: 32px;
    background: #f0f9ff;
    border-radius: 16px;
    border: 1px solid #bae6fd;
    text-align: center;
}

.free-intake-section h3 { 
    font-size: 20px; 
    font-weight: 700; 
    color: #0f172a; 
    margin-bottom: 8px; 
}

.free-intake-section p { 
    color: #475569; 
    font-size: 15px; 
    margin-bottom: 0; 
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.price-amount .month {
    font-size: 18px;
    color: #64748b;
    font-weight: 400;
}

.price-desc {
    color: #64748b;
    margin-bottom: 32px;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
    padding: 0;
}

.price-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    position: relative;
    padding-left: 32px;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 18px;
}

.price-trial {
    margin-top: 16px;
    font-size: 14px;
    color: #94a3b8;
}

/* Trust/Founder Section */
.trust {
    text-align: center;
}

.trust h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #0f172a;
}

.founder-note {
    max-width: 600px;
    margin: 0 auto 24px;
    font-size: 18px;
    color: #64748b;
    line-height: 1.7;
}

.trust-statement {
    max-width: 500px;
    margin: 0 auto;
    font-size: 16px;
    color: #64748b;
    font-style: italic;
}

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

.founder-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px;
    display: block;
    border: 4px solid #e2e8f0;
}

.founder-name {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.founder-title {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.founder-bio {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
}

.founder-bio p {
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    transition: border-color 0.2s;
}

.social-link:hover {
    border-color: #0ea5e9;
}

/* FAQ Section */
.faq {
    text-align: center;
}

.faq h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 48px;
    color: #0f172a;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.faq-toggle {
    font-size: 20px;
    color: #0ea5e9;
    transition: transform 0.2s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    background: #f8fafc;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 24px;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .problem-cards {
        grid-template-columns: 1fr;
    }

    .feature-item {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }

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

    .status-categories {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

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

    h2 {
        font-size: 32px !important;
    }

    .features {
        padding: 80px 0;
    }

    .feature-item {
        margin-bottom: 60px;
    }

    .feature-content h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .feature-visual {
        height: 250px;
        padding: 16px;
    }

    .price-card {
        padding: 24px 20px;
    }

    .free-intake-section {
        padding: 24px;
    }
}