/* ============================================
   GLOBAL STYLES & VARIABLES
   ============================================ */

:root {
    --primary-color: #1a7a6e;
    --primary-dark: #0f5548;
    --primary-light: #2da99d;
    --secondary-color: #0f1f3a;
    --secondary-mid: #1e2d3d;
    --accent-gold: #c9a84c;
    --accent-gold-light: #dfc072;
    --accent-gold-bg: rgba(201,168,76,0.08);
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --bg-light: #f5f6fa;
    --bg-white: #ffffff;
    --bg-section: #fafbfd;
    --text-dark: #0f1f3a;
    --text-gray: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --border-light: #f0f2f5;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-gold: 0 8px 32px rgba(201,168,76,0.25);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

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

section {
    padding: 96px 0;
    position: relative;
}

/* NOTE: Do not add nth-child background rules here — each section class controls its own background */

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.3px;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: -0.1px;
}

h4 {
    font-size: 1.05rem;
    font-weight: 600;
}

p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.75;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Section headings with decorative underline */
.section-heading {
    position: relative;
    display: inline-block;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 20px rgba(0,0,0,0.18);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(201,168,76,0.25);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 24px;
    height: auto;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand {
    flex: 0 0 auto;
    align-self: center;
    display: flex;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 230px;
    height: auto;
    max-height: 130px;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.brand-name,
.brand-tagline {
    display: none;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.2px;
}

.brand-tagline {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: block;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    flex: 1;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-gold-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-auth {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.auth-btn {
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.2px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.login-btn {
    color: rgba(255,255,255,0.9);
    background: transparent;
    border: none;
    padding-left: 0;
    padding-right: 0;
}

.login-btn:hover {
    color: white;
}

.signup-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    font-weight: 600;
}

.signup-btn:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26,122,110,0.35);
    color: white;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: rgba(255,255,255,0.85);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary,
.btn-secondary,
.btn-login,
.btn-get-started {
    padding: 13px 28px;
    border: none;
    border-radius: 7px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    letter-spacing: 0.3px;
    font-family: var(--font-sans);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(26,122,110,0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0a3e34 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26,122,110,0.4);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.6);
    letter-spacing: 0.3px;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.12);
    border-color: white;
    color: white;
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8933e 100%);
    color: var(--secondary-color);
    font-weight: 700;
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(201,168,76,0.4);
    color: var(--secondary-color);
}

.btn-login {
    color: var(--text-dark);
    background: transparent;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-login:hover {
    color: var(--primary-color);
}

.btn-get-started {
    background: var(--accent-gold);
    color: var(--secondary-color);
    border-radius: 7px;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 11px 22px;
}

.btn-get-started:hover {
    background: var(--accent-gold-light);
    color: var(--secondary-color);
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-mt-sm {
    margin-top: 15px;
}

.btn-mt-md {
    margin-top: 20px;
}

.form-hidden {
    display: none;
}

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

.hero {
    background: linear-gradient(150deg, #1a8b7f 0%, #0f5548 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    display: none;
}

.hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-text .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-text .hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1.5px;
    background: var(--accent-gold);
}

.hero-text h1 {
    color: white;
    font-family: var(--font-sans);
    font-size: 3.4rem;
    margin-bottom: 1.5rem;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.hero-text h1 span {
    display: inline;
    color: white;
}

.hero-text p {
    color: rgba(255,255,255,0.95);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background-color: white;
    color: var(--primary-color);
    box-shadow: none;
    font-weight: 600;
}

.hero-buttons .btn-primary:hover {
    background-color: rgba(255,255,255,0.92);
    transform: translateY(-2px);
    color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.hero-buttons .btn-secondary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.hero-buttons .btn-secondary:hover {
    background-color: rgba(255,255,255,0.12);
    border-color: white;
}

.hero-trust {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
}

.hero-trust .stars {
    color: var(--accent-gold);
    font-size: 1rem;
}

.document-display {
    background: rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 44px 36px 36px;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.document-display::before {
    display: none;
}

.document-label {
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 30px;
    opacity: 0.9;
    text-transform: uppercase;
}

.document-lines {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.document-lines div {
    height: 1.5px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

.document-lines div.doc-short {
    width: 55%;
}

.document-seal {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
}

.seal-inner {
    width: 64px;
    height: 64px;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 6px rgba(255,255,255,0.06);
}

/* ============================================
   PROVEN RESULTS SECTION
   ============================================ */

.proven-results {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #162840 100%);
    color: white;
    padding: 88px 0;
    position: relative;
    overflow: hidden;
}

.proven-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5), transparent);
}

.results-header {
    text-align: center;
    margin-bottom: 4rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--accent-gold), #b8933e);
    color: var(--secondary-color);
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
}

.badge-featured {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-gold), #b8933e);
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.results-header h2 {
    color: white;
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--accent-gold-light);
}

.results-header p {
    color: rgba(255,255,255,0.72);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.result-card {
    background: rgba(255,255,255,0.05);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 2px solid rgba(201,168,76,0.4);
    transition: var(--transition);
    position: relative;
}

.result-card:hover {
    background: rgba(255,255,255,0.09);
    transform: translateY(-6px);
    border-top-color: var(--accent-gold);
}

.result-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.result-value {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent-gold-light);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.result-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products {
    background-color: var(--bg-section);
    padding: 96px 0;
}

.products h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--border-color);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-top-color: var(--primary-color);
}

.product-card.featured {
    border: 1px solid rgba(201,168,76,0.3);
    border-top: 3px solid var(--accent-gold);
    background: white;
    box-shadow: var(--shadow-gold);
    transform: scale(1.02);
}

.product-card.featured:hover {
    transform: scale(1.02) translateY(-6px);
    box-shadow: 0 20px 64px rgba(201,168,76,0.3);
}

.product-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.product-header h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.price {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.product-card.featured .price {
    color: var(--primary-dark);
}

.duration {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.savings {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: rgba(201,168,76,0.12);
    color: #8a6d1a;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 30px;
    border: 1px solid rgba(201,168,76,0.25);
}

.product-features {
    flex: 1;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    color: var(--text-gray);
    font-size: 0.9rem;
    align-items: flex-start;
}

.checkmark {
    color: var(--primary-color);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.95rem;
    margin-top: 1px;
}

.product-card.featured .checkmark {
    color: var(--accent-gold);
}

.product-card .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.product-card.featured .btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8933e 100%);
    color: var(--secondary-color);
    font-weight: 700;
}

/* ============================================
   APPLICATION COUNTER SECTION
   ============================================ */

.app-counter {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #162840 60%, #0f3030 100%);
    color: white;
    padding: 88px 0;
    position: relative;
    overflow: hidden;
}

.app-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
}

.app-counter h2 {
    color: white;
    text-align: center;
    margin-bottom: 3.5rem;
}

.counter-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.counter-item {
    background: rgba(255,255,255,0.04);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 2px solid rgba(201,168,76,0.35);
    transition: var(--transition);
}

.counter-item:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
    border-top-color: var(--accent-gold);
}

.counter-number {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent-gold-light);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.counter-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-choose {
    padding: 96px 0;
    background: var(--bg-white);
}

.why-choose h2 {
    text-align: center;
    margin-bottom: 0.75rem;
}

.why-choose .section-subtitle {
    margin-bottom: 3.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.feature-card {
    text-align: center;
    padding: 2.75rem 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-top: 3px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
    border-top-color: var(--accent-gold);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(26,122,110,0.08) 0%, rgba(201,168,76,0.08) 100%);
    border: 1px solid rgba(26,122,110,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(26,122,110,0.12) 0%, rgba(201,168,76,0.12) 100%);
    border-color: rgba(201,168,76,0.25);
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1.15rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    z-index: 0;
}

.step-card {
    background: white;
    padding: 2.25rem 1.75rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: rgba(201,168,76,0.3);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8933e 100%);
    color: white;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 20px rgba(201,168,76,0.35);
    border: 3px solid white;
    outline: 2px solid rgba(201,168,76,0.2);
}

.step-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1.05rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    background-color: var(--bg-section);
    padding: 96px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 0.75rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.testimonial-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #eef0f5;
    position: relative;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.9);
}

.testimonial-rating {
    padding: 1.5rem 2rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    font-size: 1.1rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.testimonial-text {
    padding: 0.5rem 2rem 1rem;
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.75;
    font-size: 0.92rem;
    flex: 1;
    position: relative;
}

.testimonial-text::before {
    content: '\201C';
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: rgba(201,168,76,0.2);
    line-height: 1;
    position: absolute;
    top: -0.5rem;
    left: 1.25rem;
    font-style: normal;
}

.testimonial-author {
    padding: 0 2rem 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-author::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 1px;
}

/* ============================================
   PEACE OF MIND SECTION
   ============================================ */

.peace-of-mind {
    background-color: var(--bg-white);
    padding: 96px 0;
}

.peace-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 5rem;
    align-items: center;
}

.peace-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #eef0f5;
    position: relative;
}

.peace-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(201,168,76,0.15);
    z-index: 1;
    pointer-events: none;
}

.peace-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.peace-content h2 {
    margin-bottom: 1.25rem;
}

.peace-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.peace-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: linear-gradient(135deg, var(--accent-gold), #b8933e);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 1px;
}

.peace-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer {
    background: linear-gradient(170deg, var(--secondary-color) 0%, #0a1628 100%);
    color: white;
    padding: 80px 0 28px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-section {
    transition: var(--transition);
}

.footer-section h4 {
    color: var(--accent-gold-light);
    margin-bottom: 1.25rem;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-section a {
    display: block;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.625rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: rgba(255,255,255,0.9);
    padding-left: 4px;
}

.footer-section p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.82rem;
    padding-top: 0.5rem;
    gap: 1rem;
}

.footer-bottom::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: rgba(201,168,76,0.4);
}

.footer-bottom::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: rgba(201,168,76,0.4);
}

/* ============================================
   AUTH SECTION
   ============================================ */

.auth-page-bg {
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, var(--secondary-color) 0%, #162840 60%, #0f3030 100%);
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 0 auto;
    max-width: 1100px;
    padding: 0 24px;
    width: 100%;
}

.auth-card {
    background: white;
    padding: 3.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-gold);
}

.auth-form h2 {
    font-family: var(--font-serif);
    color: var(--secondary-color);
    margin-bottom: 0.35rem;
}

.auth-form p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.92rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-dark);
    letter-spacing: 0.2px;
}

.required-asterisk {
    color: var(--accent-gold);
    font-weight: 700;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    transition: var(--transition);
    color: var(--text-dark);
    background: var(--bg-white);
}

.form-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.75;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.form-group small {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.form-remember {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.form-remember label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin: 0;
}

.form-remember a {
    color: var(--primary-color);
}

.form-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
    color: var(--text-gray);
}

.form-divider::before,
.form-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: var(--border-color);
}

.form-divider::before {
    left: 0;
}

.form-divider::after {
    right: 0;
}

.form-checkbox {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.form-checkbox input {
    width: auto;
    margin-top: 3px;
    accent-color: var(--primary-color);
}

.product-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.option:hover {
    border-color: var(--primary-color);
    background: rgba(26, 139, 127, 0.05);
}

.option input {
    width: auto;
    margin-right: 1rem;
    accent-color: var(--primary-color);
}

.option-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-content strong {
    color: var(--text-dark);
}

.option-content span {
    color: var(--primary-color);
    font-weight: 600;
}

.auth-benefits {
    background: rgba(255,255,255,0.04);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 2px solid rgba(201,168,76,0.5);
}

.auth-benefits h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
}

.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
}

.benefit-item .checkmark {
    color: var(--accent-gold);
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================
   CARD STYLES
   ============================================ */

.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.card h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.empty-state {
    text-align: center;
    color: var(--text-gray);
    padding: 2rem;
}

.empty-state a {
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   KNOWLEDGE PAGE STYLES
   ============================================ */

.knowledge-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #162840 60%, #0f3030 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.knowledge-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
}

.knowledge-header h1 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1rem;
}

.knowledge-header p {
    font-size: 1.05rem;
    opacity: 0.82;
    max-width: 560px;
    margin: 0 auto;
}

.knowledge-toc {
    background: var(--bg-section) !important;
    padding: 4rem 0;
}

.knowledge-toc h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.toc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    border: 2px solid transparent;
}

.toc-item:hover {
    border-color: var(--primary-color);
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.toc-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.toc-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.knowledge-section {
    background: var(--bg-white) !important;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.knowledge-section h2 {
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.knowledge-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.knowledge-article {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    color: var(--text-dark);
}

.knowledge-article h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.knowledge-article h4 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.knowledge-article p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.knowledge-article ul,
.knowledge-article ol {
    margin-left: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.knowledge-article ul li,
.knowledge-article ol li {
    margin-bottom: 0.75rem;
    color: var(--text-gray);
}

.knowledge-article strong {
    color: var(--text-dark);
    font-weight: 600;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 1.5rem 0;
}

.article-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.article-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.article-card h4 {
    color: var(--primary-color);
    margin-top: 0;
}

.article-card p {
    color: var(--text-gray);
    margin: 0;
}

.knowledge-faq {
    background: var(--bg-section) !important;
    padding: 4rem 0;
}

.knowledge-faq h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

.knowledge-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #162840 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

.knowledge-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
}

.knowledge-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.knowledge-cta p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Knowledge Preview Section on Index */

.knowledge-preview {
    background: var(--bg-white);
    padding: 6rem 0;
}

.knowledge-preview h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.knowledge-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.knowledge-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    border-top: 3px solid transparent;
    box-shadow: var(--shadow-xs);
}

.knowledge-card:hover {
    border-top-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.knowledge-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    width: 52px;
    height: 52px;
    line-height: 52px;
    text-align: center;
    background: var(--accent-gold-bg);
    border-radius: 12px;
}

.knowledge-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.knowledge-card p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.65;
    font-size: 0.9rem;
}

.knowledge-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.knowledge-card ul li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.875rem;
}

.knowledge-card ul li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: 700;
    position: absolute;
    left: 0;
}

.knowledge-cta-section {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #162840 100%);
    border-radius: var(--radius-xl);
    color: white;
    border-top: 2px solid rgba(201,168,76,0.4);
    box-shadow: var(--shadow-lg);
}

.knowledge-cta-section .btn-primary {
    background: var(--accent-gold);
    color: var(--secondary-color);
    font-weight: 700;
}

.knowledge-cta-section .btn-primary:hover {
    background: var(--accent-gold-light);
    color: var(--secondary-color);
}

.knowledge-cta-section p {
    margin: 0;
    margin-top: 0.75rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.how-it-works-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.how-it-works-cta p {
    color: var(--text-gray);
    margin: 0;
}

.how-it-works-cta a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.how-it-works-cta a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.step-details {
    display: none;
}

.step-card:hover .step-details {
    display: block;
}

.step-details ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.step-details ul li {
    color: var(--text-gray);
    font-size: 0.9rem;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.step-details ul li:before {
    content: "▸";
    color: var(--primary-color);
    font-weight: 700;
    position: absolute;
    left: 0;
}

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

@media (max-width: 768px) {
    .toc-grid,
    .article-grid,
    .faq-grid,
    .knowledge-preview-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .container,
    .products-grid,
    .features-grid,
    .steps-grid,
    .results-grid,
    .counter-stats,
    .testimonials-grid,
    .peace-grid {
        grid-template-columns: 1fr;
    }

    .product-card.featured {
        transform: scale(1);
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-auth {
        gap: 0.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .auth-container {
        grid-template-columns: 1fr;
        margin: 30px 0;
    }

    .auth-card {
        padding: 2rem;
    }

    .auth-benefits {
        order: -1;
    }
}

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

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .navbar .container {
        height: auto;
        flex-wrap: wrap;
    }

    .nav-brand {
        width: 100%;
    }

    .logo {
        gap: 10px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 40px 0;
    }

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

/* ============================================
   LEGAL PAGES (Privacy & Terms)
   ============================================ */

.legal-page {
    background-color: var(--bg-light);
    padding: 2rem 0;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.legal-container h1 {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 3rem 3rem 2rem;
    margin: 0;
    font-size: 2.2rem;
    letter-spacing: -0.5px;
}

.last-updated {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: rgba(255, 255, 255, 0.8);
    padding: 0 3rem 3rem;
    margin: 0;
    font-size: 0.95rem;
    font-style: italic;
}

.legal-section {
    padding: 2rem 3rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    padding-top: 0;
    letter-spacing: -0.3px;
}

.legal-section h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.5rem;
    background: var(--primary-color);
    margin-right: 0.75rem;
    border-radius: 2px;
}

.legal-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
    color: var(--text-gray);
    line-height: 1.8;
    margin: 1rem 0 1.5rem;
    padding-left: 2.5rem;
}

.legal-section ul li,
.legal-section ol li {
    margin-bottom: 0.8rem;
}

.legal-section ul li:last-child,
.legal-section ol li:last-child {
    margin-bottom: 0;
}

.legal-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

.legal-section em {
    color: var(--primary-dark);
    font-style: italic;
}

/* Highlight for important sections */
.legal-section p strong {
    color: var(--secondary-color);
}

/* Nested lists */
.legal-section ul ul,
.legal-section ol ol {
    margin: 0.8rem 0;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-container {
        border-radius: 0;
        box-shadow: none;
    }

    .legal-container h1 {
        font-size: 1.75rem;
        padding: 2rem 1.5rem 1.5rem;
    }

    .last-updated {
        padding: 0 1.5rem 2rem;
    }

    .legal-section {
        padding: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .legal-section ul,
    .legal-section ol {
        padding-left: 2rem;
    }
}
