@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=DM+Sans:wght@400;500;700&display=swap');

:root {
    --bg: #FAF8F5;
    --bg-white: #FFFFFF;
    --sage: #8B9D77;
    --sage-dark: #6B7D5A;
    --sage-light: #D4DCC9;
    --sage-xlight: #EDF1E8;
    --text: #2C2C2C;
    --text-muted: #6B6B6B;
    --warm-cream: #F0EDE8;
    --accent-terracotta: #C4956A;
    --error: #C75050;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 2px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
    --transition: 0.25s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
    color: var(--sage-dark);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--sage); }

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER / NAV
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sage-light);
    padding: 8px 0;
    overflow: visible;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 160px;
    width: auto;
    position: relative;
    z-index: 101;
    margin: -20px 0 -60px;
}

.logo span {
    color: var(--sage);
}

.header-cta {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--sage-dark);
    border: 1.5px solid var(--sage);
    padding: 8px 20px;
    border-radius: 100px;
    transition: all var(--transition);
}

.header-cta:hover {
    background: var(--sage);
    color: #fff;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    z-index: 0;
    transition: opacity 0.6s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44,44,44,0.3) 0%, rgba(44,44,44,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 32px;
}

.hero-arrow {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    position: relative;
    animation: bounceDown 2s ease infinite;
    cursor: pointer;
}

.hero-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255,255,255,0.8);
    border-bottom: 2px solid rgba(255,255,255,0.8);
    transform: translate(-50%, -60%) rotate(45deg);
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ============================================
   FORM CARD
   ============================================ */

.form-section {
    padding: 60px 24px;
    display: flex;
    justify-content: center;
}

.form-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px 36px;
    max-width: 520px;
    width: 100%;
    border: 1px solid var(--sage-light);
}

.form-card h2 {
    text-align: center;
    margin-bottom: 8px;
    color: var(--text);
}

.form-card .subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

/* Progress bar */
.form-progress {
    display: flex;
    gap: 6px;
    margin-bottom: 28px;
}

.form-progress .step-bar {
    flex: 1;
    height: 4px;
    background: var(--sage-light);
    border-radius: 2px;
    transition: background var(--transition);
}

.form-progress .step-bar.active {
    background: var(--sage);
}

/* Form steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Fields */
.field-group {
    margin-bottom: 18px;
}

.field-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.field-group input,
.field-group select {
    width: 100%;
    padding: 12px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--text);
    background: var(--bg);
    border: 1.5px solid var(--sage-light);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.field-group input:focus,
.field-group select:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(139, 157, 119, 0.15);
}

.field-group input.error,
.field-group select.error {
    border-color: var(--error);
}

.field-error {
    font-size: 0.8rem;
    color: var(--error);
    margin-top: 4px;
    display: none;
}

.field-group.has-error .field-error {
    display: block;
}

/* Select styling */
.field-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* Two-column row */
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Consent checkbox */
.consent-group {
    margin: 20px 0 24px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.consent-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--sage);
    flex-shrink: 0;
    cursor: pointer;
}

.consent-group label {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-muted);
    cursor: pointer;
}

.consent-group label a {
    color: var(--sage-dark);
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--sage);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.btn:hover {
    background: var(--sage-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 125, 90, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    background: transparent;
    color: var(--sage);
    border: 1.5px solid var(--sage);
}

.btn-outline:hover {
    background: var(--sage);
    color: #fff;
}

.btn-back {
    background: transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 10px;
    margin-bottom: 8px;
}

.btn-back:hover {
    background: transparent;
    color: var(--text);
    box-shadow: none;
    transform: none;
}

.btn-row {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Loading spinner on button */
.btn .spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
}

.btn.loading .spinner { display: inline-block; }
.btn.loading { pointer-events: none; opacity: 0.7; }

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

/* ============================================
   TRUST BADGES
   ============================================ */

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 32px 24px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    color: var(--sage);
    flex-shrink: 0;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.benefits {
    background: var(--warm-cream);
    padding: 72px 24px;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 48px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--sage-light);
    transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--sage);
}

.benefit-card h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */

.social-proof {
    padding: 60px 24px;
    text-align: center;
}

.social-proof h2 {
    margin-bottom: 40px;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.testimonial {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid var(--sage-light);
    text-align: left;
}

.testimonial-stars {
    color: var(--accent-terracotta);
    font-size: 0.9rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial p {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--text);
    color: rgba(255,255,255,0.7);
    padding: 48px 24px 32px;
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand p {
    margin-bottom: 6px;
}

.footer-links h4 {
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin-bottom: 6px;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--sage-light);
}

.footer-bottom {
    max-width: 960px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   THANK YOU STATE
   ============================================ */

.thank-you {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

.thank-you.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.thank-you svg {
    width: 56px;
    height: 56px;
    color: var(--sage);
    margin-bottom: 16px;
}

.thank-you h2 {
    margin-bottom: 8px;
}

.thank-you p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================
   NP (ADVERTORIAL) STYLES
   ============================================ */

.article-layout {
    max-width: 720px;
    margin: 0 auto;
    padding: 100px 24px 60px;
}

.article-layout .article-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.article-layout h1 {
    font-size: 2.25rem;
    margin-bottom: 20px;
    color: var(--text);
}

.article-layout .article-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
    border-left: 3px solid var(--sage);
    padding-left: 20px;
}

.article-layout .article-body {
    line-height: 1.8;
    margin-bottom: 40px;
}

.article-layout .article-body p {
    margin-bottom: 18px;
}

.article-layout .article-body h2 {
    font-size: 1.5rem;
    margin: 36px 0 16px;
}

.article-cta-box {
    background: var(--sage-xlight);
    border: 1.5px solid var(--sage-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 36px 0;
    text-align: center;
}

.article-cta-box h3 {
    margin-bottom: 8px;
}

.article-cta-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* ============================================
   SMS PAGE
   ============================================ */

.sms-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.sms-card {
    max-width: 440px;
    width: 100%;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 100px 24px 60px;
}

.legal-page h1 {
    margin-bottom: 8px;
}

.legal-page .last-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.legal-page h2 {
    font-size: 1.35rem;
    margin: 32px 0 12px;
    color: var(--text);
}

.legal-page p,
.legal-page li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.legal-page ul, .legal-page ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-page strong {
    color: var(--text);
}

/* ============================================
   SPLIT-SCREEN LAYOUT (info.php)
   ============================================ */

.split-page {
    background: var(--bg-white);
}

.split-layout {
    display: flex;
    min-height: 100vh;
}

.split-left {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh;
    overflow: hidden;
}

.split-left-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.6s ease;
}

.split-left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44,44,44,0.35) 0%, rgba(44,44,44,0.55) 100%);
}

.split-left-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 48px;
    color: #fff;
}

.split-logo {
    width: 220px;
    height: auto;
    margin-bottom: 32px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)) brightness(1.4);
}

.split-left-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.split-left-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 400px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.split-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.split-badges span {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 100px;
}

.split-right {
    margin-left: 50%;
    width: 50%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.split-form-wrap {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}

.split-form-wrap h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 4px;
}

.split-form-wrap .subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.split-footer {
    max-width: 480px;
    width: 100%;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--sage-light);
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.split-footer a {
    color: var(--sage-dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .hero { min-height: 420px; padding: 100px 20px 40px; }
    .hero h1 { font-size: 2.25rem; }

    .form-card { padding: 28px 20px; }

    .field-row { grid-template-columns: 1fr; }

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

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

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

    .trust-badges { gap: 16px; }

    /* Split layout stacks on mobile — SMS optimized */
    .split-layout { flex-direction: column; }

    .split-left {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .split-left-content {
        padding: 24px 20px 20px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .split-left-content h1 { font-size: 1.5rem; margin-bottom: 8px; }
    .split-left-content p { font-size: 0.9rem; margin-bottom: 16px; }
    .split-logo { width: 140px; margin-bottom: 12px; }
    .split-badges { justify-content: center; gap: 6px; }
    .split-badges span { font-size: 0.7rem; padding: 4px 10px; }

    .split-right {
        margin-left: 0;
        width: 100%;
        padding: 20px 16px;
    }

    .split-form-wrap h2 { font-size: 1.35rem; }
    .split-form-wrap .subtitle { font-size: 0.8rem; margin-bottom: 18px; }

    .split-footer { margin-top: 24px; padding-top: 16px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }
    .header-cta { display: none; }
    .form-card { padding: 24px 16px; }
}
