/* KundliChat Web Features */
.feature-hero {
    background: linear-gradient(135deg, #FFFDF2 0%, #FFF4B8 50%, #FFE77A 100%);
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(233, 208, 0, 0.15);
    border: 1px solid rgba(233, 208, 0, 0.4);
}

.feature-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--kc-title, #191506);
    margin-bottom: 12px;
}

.feature-hero p {
    font-size: 1.1rem;
    color: var(--kc-subtitle, #5F5209);
    max-width: 640px;
    margin: 0 auto 24px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

@media (min-width: 576px) {
    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (min-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 16px;
        margin-bottom: 28px;
    }

    .feature-card-link {
        padding: 18px 10px;
    }
}

.feature-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 12px;
    background: #fff;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    color: inherit;
}

.feature-card-link .icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.feature-card-link span {
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

.btn-primary-kc {
    background: linear-gradient(135deg, #ff8a00, #ff6f00);
    border: none;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-kc:hover {
    color: white;
    opacity: 0.92;
}

.rashi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.rashi-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
    transition: box-shadow 0.2s;
}

.rashi-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    color: inherit;
}

.rashi-card .emoji { font-size: 1.75rem; }
.rashi-card .name { font-weight: 600; margin-top: 4px; }
.rashi-card .score { font-size: 0.85rem; color: #888; }

.horoscope-section {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.horoscope-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #c15700;
}

.kundli-chart-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    max-width: 400px;
    margin: 0 auto;
    border: 2px solid #333;
}

.kundli-cell {
    border: 1px solid #ccc;
    padding: 8px 4px;
    min-height: 60px;
    font-size: 0.75rem;
    background: #fffef5;
    text-align: center;
}

.kundli-cell.asc { background: #ffe8c4; font-weight: 700; }

.planets-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.planets-table th, .planets-table td { padding: 10px; border-bottom: 1px solid #eee; text-align: left; }
.planets-table th { background: #fff8e7; font-weight: 600; }

.scan-upload {
    border: 2px dashed #ffb366;
    border-radius: 16px;
    padding: 48px 24px;
    text-align: center;
    background: #fffaf4;
    cursor: pointer;
}

.scan-upload input[type=file] { display: none; }

.report-preview { background: #fff; border-radius: 16px; padding: 24px; margin-top: 24px; border: 1px solid #eee; }

.auth-card {
    max-width: 420px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-weight: 600;
    text-decoration: none;
    color: #333;
}

.btn-google:hover { background: #f8f8f8; color: #333; }

.wallet-pack {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.wallet-pack:hover, .wallet-pack.selected { border-color: #ff8a00; }

.seo-content {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.seo-content h2 { font-size: 1.25rem; font-weight: 700; margin-top: 24px; }
.seo-content p, .seo-content li { color: #555; line-height: 1.7; }

.chat-cta-banner {
    background: linear-gradient(90deg, var(--kc-gold-soft, #FFF6B0), var(--kc-gold, #E9D000));
    color: var(--kc-ink, #1E1A08);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0 20px;
    border: 1px solid var(--kc-gold, #E9D000);
}

.chat-cta-banner a {
    color: var(--kc-ink, #1E1A08);
    background: rgba(255, 255, 255, 0.75);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.chat-cta-banner a:hover {
    background: #fff;
    color: var(--kc-ink, #1E1A08);
}

@media (max-width: 768px) {
    .index-page .container.kc-page {
        padding-top: 4px;
    }

    .feature-hero { padding: 32px 20px; }
    .kundli-chart-grid { max-width: 100%; }
    .chat-cta-banner {
        padding: 16px 18px;
        margin: 16px 0 16px;
    }
    .chat-cta-banner a {
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 992px) {
    .feature-hero {
        padding: 56px 40px;
    }

    .container.content {
        padding-top: 8px;
        padding-bottom: 32px;
    }

    .index-page .chat-cta-banner {
        margin: 20px 0 8px;
        padding: 22px 28px;
    }

    .index-page .chat-cta-banner strong {
        font-size: 1.15rem;
    }
}
