/* ===== Kings Pharmacy Landing Page Base Styles ===== */
/* Mobile First Approach */

:root {
    --primary-color: #0a9a73;
    --primary-dark: #078a65;
    --primary-light: #0dba8a;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.4;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 154, 115, 0.3);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 10px;
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

/* ===== Header ===== */
.header {
    background: var(--primary-color);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===== Hero Section ===== */
.hero {
    padding: 2rem 0 2.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #e6fffa 50%, #f0fdfa 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
}

.hero-image img {
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-600);
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 60px 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 2rem;
}

.step-item {
    background: var(--gray-50);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.2s ease;
    border: 1px solid var(--gray-200);
}

.step-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

.step-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--gray-900);
    font-weight: 700;
}

.step-item p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 60px 0;
    background: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    line-height: 1.4;
}

.faq-question svg {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 20px 18px;
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== Consultation CTA ===== */
.consultation-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #0a9a73 0%, #047857 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-content>p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 500;
}

.consultation-cta .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    font-size: 17px;
    padding: 16px 36px;
}

.consultation-cta .btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-disclaimer {
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Trust Section ===== */
.trust-section {
    padding: 48px 0;
    background: var(--gray-50);
}

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

.trust-card {
    padding: 20px;
}

.trust-card img {
    height: 60px;
    margin: 0 auto 12px;
    object-fit: contain;
}

.trust-card p {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

/* ===== Case Study / Reviews ===== */
.case-study {
    padding: 60px 0;
    background: var(--gray-50);
}

/* ===== Footer ===== */
.footer {
    background: #0E1311;
    color: rgba(255, 255, 255, 0.8);
    padding: 48px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 40px;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-contact {
    margin-top: 16px;
    font-size: 14px;
}

.footer-contact p {
    margin-bottom: 4px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p {
    margin-bottom: 4px;
}

/* ===== Responsive - Tablet ===== */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* ===== Responsive - Mobile ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 1rem 0 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        font-size: 0.95rem;
    }

    .hero-image {
        order: -1;
        max-width: 220px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .step-item {
        padding: 16px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .step-item h3 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .step-item p {
        font-size: 0.8rem;
        display: none;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .trust-card img {
        height: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 16px;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 8px;
    }

    .faq-question {
        font-size: 1rem;
        padding: 16px;
    }

    .faq-answer p {
        padding: 0 16px 16px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 15px;
        width: 100%;
    }
}
