/**
 * Clinics Page - Growth Membership Styles
 * 
 * Light Mode Design - Healthcare Professional Aesthetic
 * Trust-focused, clean, clinical authority
 */

/* ========================================
   BASE & CONTAINER
   ======================================== */
.growth-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #333333;
    line-height: 1.6;
    background: #ffffff;
}

.growth-page * {
    box-sizing: border-box;
}

/* ========================================
   COLOR VARIABLES
   ======================================== */
:root {
    --brand-navy: #0f172a;
    --text-dark: #333333;
    --text-medium: #475569;
    --text-light: #64748b;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-section: #f1f5f9;
    --emerald-primary: #059669;
    --emerald-hover: #047857;
    --emerald-light: #d1fae5;
    --medical-blue: #0284c7;
    --medical-blue-light: #e0f2fe;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
}

/* ========================================
   HERO SECTION - LIGHT MODE
   ======================================== */
.growth-hero {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    color: var(--text-dark);
    padding: 80px 24px 100px;
}

.growth-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.growth-hero-content {
    text-align: left;
}

.growth-hero h1 {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 24px 0;
    line-height: 1.15;
    color: var(--brand-navy);
}

.growth-hero h1 span {
    color: var(--emerald-primary);
}

.growth-hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-medium);
    margin: 0 0 36px 0;
    line-height: 1.7;
}

.growth-hero-subtitle strong {
    color: var(--brand-navy);
    font-weight: 600;
}

.growth-hero-cta {
    display: inline-block;
    background: var(--emerald-primary);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
    border: none;
    cursor: pointer;
}

.growth-hero-cta:hover,
.growth-hero-cta:focus {
    background: var(--emerald-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
    color: #ffffff;
    text-decoration: none;
    outline: 3px solid var(--emerald-light);
    outline-offset: 2px;
}

/* Trust Logos */
.growth-trust-logos {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.growth-trust-logos p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.trust-logos-grid {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.trust-logo-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    padding: 8px 16px;
    background: #f1f5f9;
    border-radius: 6px;
    white-space: nowrap;
}

.trust-logo-text:hover {
    color: #475569;
    background: #e2e8f0;
}

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

.hero-mockup {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    max-width: 400px;
    width: 100%;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.mockup-badge {
    background: var(--emerald-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mockup-clinic-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.mockup-ranking {
    background: var(--medical-blue-light);
    color: var(--medical-blue);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
}

.mockup-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mockup-stat {
    background: var(--bg-light);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.mockup-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.mockup-stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ========================================
   PROBLEM SECTION
   ======================================== */
.growth-problem {
    background: var(--bg-white);
    padding: 72px 24px;
    border-left: none;
}

.growth-problem-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.growth-problem h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--brand-navy);
    margin: 0 0 28px 0;
    font-weight: 700;
}

.growth-problem p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin: 0 0 20px 0;
    line-height: 1.7;
}

.growth-problem p strong {
    color: var(--brand-navy);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.growth-how-it-works {
    padding: 96px 24px;
    background: var(--bg-section);
}

.growth-how-it-works-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.growth-how-it-works h2 {
    text-align: center;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    margin: 0 0 64px 0;
    color: var(--brand-navy);
    font-weight: 700;
}

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

.growth-step {
    background: var(--bg-white);
    text-align: center;
    padding: 40px 28px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.growth-step:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.growth-step-icon {
    width: 56px;
    height: 56px;
    background: var(--medical-blue-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.growth-step-icon svg {
    width: 28px;
    height: 28px;
    color: var(--medical-blue);
}

.growth-step-number {
    width: 32px;
    height: 32px;
    background: var(--brand-navy);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.growth-step h3 {
    font-size: 1.25rem;
    margin: 0 0 14px 0;
    color: var(--brand-navy);
    font-weight: 700;
}

.growth-step p {
    color: var(--text-medium);
    font-size: 1rem;
    margin: 0;
    line-height: 1.65;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.growth-faq {
    padding: 96px 24px;
    background: var(--bg-section);
}

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

.growth-faq h2 {
    text-align: center;
    font-size: clamp(1.75rem, 3.5vw, 2rem);
    margin: 0 0 48px 0;
    color: var(--brand-navy);
    font-weight: 700;
}

.growth-faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.growth-faq-item h3 {
    font-size: 1.1rem;
    color: var(--brand-navy);
    margin: 0 0 12px 0;
    font-weight: 600;
}

.growth-faq-item p {
    color: var(--text-medium);
    margin: 0;
    line-height: 1.65;
    font-size: 0.95rem;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */
.growth-final-cta {
    background: var(--brand-navy);
    color: #ffffff;
    padding: 96px 24px;
    text-align: center;
}

.growth-final-cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.growth-final-cta h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    margin: 0 0 20px 0;
    color: #ffffff;
    font-weight: 700;
}

.growth-final-cta p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin: 0 0 40px 0;
    line-height: 1.7;
}

/* Form Container - White with Shadow */
.growth-form-container {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 44px 36px;
    max-width: 560px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    text-align: left;
}

/* Gravity Forms overrides */
.growth-form-container .gform_wrapper .gfield_label {
    color: var(--brand-navy);
    font-weight: 600;
    font-size: 0.9rem;
}

.growth-form-container .gform_wrapper input[type="text"],
.growth-form-container .gform_wrapper input[type="email"],
.growth-form-container .gform_wrapper input[type="tel"],
.growth-form-container .gform_wrapper textarea,
.growth-form-container .gform_wrapper select {
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.growth-form-container .gform_wrapper input:focus,
.growth-form-container .gform_wrapper textarea:focus,
.growth-form-container .gform_wrapper select:focus {
    border-color: var(--emerald-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.growth-form-container .gform_wrapper .gform_button {
    background: var(--emerald-primary);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.25s ease;
}

.growth-form-container .gform_wrapper .gform_button:hover {
    background: var(--emerald-hover);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .growth-hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .growth-hero-content {
        text-align: center;
    }

    .growth-trust-logos {
        text-align: center;
    }

    .trust-logos-grid {
        justify-content: center;
    }

    .growth-hero-visual {
        order: -1;
    }

    .hero-mockup {
        max-width: 360px;
    }
}

@media (max-width: 900px) {
    .growth-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .growth-step {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .growth-hero {
        padding: 60px 20px 80px;
    }

    .growth-hero h1 {
        font-size: 1.85rem;
    }

    .growth-hero-cta {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .trust-logos-grid {
        gap: 20px;
    }

    .trust-logo {
        height: 22px;
    }

    .hero-mockup {
        padding: 20px;
    }

    .growth-problem,
    .growth-how-it-works,
    .growth-faq,
    .growth-final-cta {
        padding: 64px 20px;
    }

    .growth-faq-item {
        padding: 22px 18px;
    }

    .growth-form-container {
        padding: 28px 22px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.growth-page a:focus,
.growth-page button:focus {
    outline: 3px solid var(--emerald-primary);
    outline-offset: 2px;
}

.growth-final-cta a:focus {
    outline-color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {

    .growth-hero-cta,
    .growth-step {
        transition: none;
    }

    .growth-hero-cta:hover,
    .growth-step:hover {
        transform: none;
    }
}

/* ========================================
   NEW PATIENT NOTIFICATION MOCKUP
   ======================================== */
.notification-mockup {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    max-width: 380px;
    width: 100%;
    overflow: hidden;
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--emerald-primary) 0%, var(--emerald-hover) 100%);
    color: white;
}

.notification-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.notification-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notification-badge {
    background: #ffffff;
    color: var(--emerald-primary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    width: fit-content;
}

.notification-label {
    font-size: 1rem;
    font-weight: 600;
}

.notification-body {
    padding: 20px;
}

.notification-procedure {
    font-size: 1.1rem;
    color: var(--brand-navy);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.notification-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.notification-detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.detail-label {
    color: var(--text-light);
}

.detail-value {
    color: var(--brand-navy);
    font-weight: 500;
}

.notification-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald-light);
    padding: 10px 14px;
    border-radius: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--emerald-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.status-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--emerald-primary);
}

.notification-actions {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.notification-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

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

.notification-btn.primary:hover {
    background: var(--emerald-hover);
}

.notification-btn.secondary {
    background: white;
    color: var(--brand-navy);
    border: 1px solid var(--border-light);
}

.notification-btn.secondary:hover {
    background: var(--bg-section);
}

/* ========================================
   TERRITORY CHECK FORM STYLES
   ======================================== */
.territory-check-field {
    margin-bottom: 24px;
}

.territory-check-field label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-navy);
    margin-bottom: 8px;
}

.territory-check-field input {
    width: 100%;
    padding: 16px 18px;
    font-size: 1.1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    text-align: center;
    letter-spacing: 4px;
    font-weight: 600;
    transition: border-color 0.2s ease;
}

.territory-check-field input:focus {
    border-color: var(--emerald-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.territory-check-field input::placeholder {
    letter-spacing: normal;
    font-weight: 400;
    color: var(--text-light);
}

.scarcity-note,
.growth-form-container .scarcity-note {
    margin-top: 20px;
    padding: 14px 18px;
    background: #fef3c7 !important;
    border: 1px solid #fde68a;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1f2937 !important;
    text-align: center;
}

.scarcity-note strong,
.growth-form-container .scarcity-note strong {
    color: #111827 !important;
}

/* ========================================
   RESPONSIVE: NOTIFICATION MOCKUP
   ======================================== */
@media (max-width: 640px) {
    .notification-mockup {
        max-width: 100%;
    }

    .notification-header {
        padding: 14px 16px;
    }

    .notification-body {
        padding: 16px;
    }

    .notification-actions {
        padding: 14px 16px;
    }
}