/* ============================================
   SolidFund Finance - Modern Multi-Page CSS
   Clean Fintech Design System
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #0A2540;
    --primary-light: #1a365d;
    --accent: #00C9A7;
    --accent-light: #00e6b8;
    --accent-dark: #00a88a;
    --success: #00C9A7;
    --warning: #FFB547;
    --error: #FF6B6B;
    --white: #ffffff;
    --bg-light: #F8FAFC;
    --bg-gray: #f1f5f9;
    --text-primary: #0A2540;
    --text-secondary: #425466;
    --text-muted: #8898aa;
    --border: #e6e8eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

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

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.logo svg {
    width: 36px;
    height: 36px;
    color: var(--accent);
}

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

.nav { display: flex; align-items: center; gap: 32px; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--bg-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 140px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.lang-option:hover, .lang-option.active {
    background: var(--bg-light);
    color: var(--accent);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 24px;
    z-index: 999;
}

.mobile-nav.active { display: block; }

.mobile-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}

.mobile-nav .nav-link {
    display: block;
    padding: 16px;
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .nav { display: none; }
    .menu-toggle { display: flex; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 201, 167, 0.3);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 201, 167, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--bg-light);
}

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

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

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

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(0, 201, 167, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 201, 167, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 24px;
}

.hero-badge svg { width: 18px; height: 18px; }

.hero-title {
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-item { text-align: left; }

.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-card {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero-card-main {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: var(--radius-sm);
}

.card-icon svg { width: 24px; height: 24px; color: var(--white); }

.card-title {
    font-size: 1.125rem;
    color: var(--primary);
}

.card-subtitle { font-size: 0.875rem; color: var(--text-muted); }

.approval-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(0, 201, 167, 0.08);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.approval-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success);
    border-radius: 50%;
}

.approval-icon svg { width: 20px; height: 20px; color: var(--white); }

.approval-text h4 {
    font-size: 1rem;
    color: var(--accent-dark);
}

.approval-text p { font-size: 0.875rem; color: var(--text-muted); }

.loan-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.loan-detail {
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.loan-detail-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.loan-detail-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-float {
    position: absolute;
    padding: 16px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.hero-float-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.hero-float-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
}

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 80px 0; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 201, 167, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 16px;
}

.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.125rem; color: var(--text-secondary); }

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
    padding: 60px 0;
    background: var(--primary);
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.trust-icon svg { width: 24px; height: 24px; color: var(--white); }

.trust-text h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 4px;
}

.trust-text p { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }

@media (max-width: 768px) {
    .trust-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section { background: var(--bg-light); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 201, 167, 0.1), rgba(0, 201, 167, 0.05));
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.service-icon svg { width: 28px; height: 28px; color: var(--accent); }

.service-title {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent);
}

.service-link:hover { gap: 10px; }
.service-link svg { width: 16px; height: 16px; }

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: 2px;
    z-index: 0;
}

.step-card {
    position: relative;
    text-align: center;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 3px solid var(--accent);
    border-radius: 50%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.step-title {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid::before { display: none; }
}

@media (max-width: 640px) {
    .steps-grid { grid-template-columns: 1fr; }
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits-section { background: var(--bg-light); }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.benefit-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
}

.benefit-icon svg { width: 32px; height: 32px; color: var(--white); }

.benefit-title {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.benefit-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .benefits-grid { grid-template-columns: 1fr; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: var(--warning);
    color: var(--warning);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--white);
    font-size: 0.875rem;
}

.author-name {
    font-weight: 600;
    color: var(--primary);
}

.author-location {
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 80px 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    text-align: center;
}

.page-header h1 { margin-bottom: 16px; }
.page-header p { font-size: 1.125rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h3 { margin-bottom: 16px; }
.about-text p { color: var(--text-secondary); margin-bottom: 16px; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 201, 167, 0.1);
    border-radius: 50%;
}

.value-icon svg { width: 28px; height: 28px; color: var(--accent); }
.value-card h4 { margin-bottom: 8px; }
.value-card p { font-size: 0.9375rem; color: var(--text-muted); }

@media (max-width: 768px) {
    .about-content { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ELIGIBILITY PAGE
   ============================================ */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.requirement-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.requirement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.requirement-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.requirement-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.requirement-title {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.requirement-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.requirement-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.requirement-check svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.eligibility-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.eligibility-cta-content {
    flex: 1;
}

.eligibility-cta h2 {
    color: var(--white);
    margin-bottom: 12px;
}

.eligibility-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.eligibility-cta-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.eligibility-cta-icon svg {
    width: 40px;
    height: 40px;
    color: var(--accent);
}

@media (max-width: 1024px) {
    .requirements-grid { grid-template-columns: repeat(2, 1fr); }
    .eligibility-cta { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
    .requirements-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CALCULATOR PAGE
   ============================================ */
.calculator-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.calculator-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.calculator-header {
    text-align: center;
    margin-bottom: 32px;
}

.calculator-header h2 {
    margin-bottom: 8px;
}

.calculator-header p {
    color: var(--text-secondary);
}

.calculator-inputs {
    margin-bottom: 32px;
}

.input-group {
    margin-bottom: 28px;
}

.input-group:last-child {
    margin-bottom: 0;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.slider-header {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.currency-prefix {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
}

.value-display {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(0, 201, 167, 0.2);
}

.slider-range {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.calculator-output {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.result-card {
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    text-align: center;
}

.primary-result {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    margin-bottom: 16px;
}

.result-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.result-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.result-value-sm {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

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

.calculator-footer {
    margin-top: 24px;
}

.calculator-disclaimer {
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

.calculator-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.info-card h3 {
    font-size: 1.125rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.info-card ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-card li svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-card li span {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.info-card li strong {
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .calculator-wrapper { grid-template-columns: 1fr; }
    .result-grid { grid-template-columns: 1fr; }
}

/* ============================================
   APPLY PAGE
   ============================================ */
.apply-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.apply-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
    position: relative;
}

.apply-progress::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 64px;
    right: 64px;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.step-indicator {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 3px solid var(--border);
    border-radius: 50%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
}

.progress-step.active .step-indicator,
.progress-step.completed .step-indicator {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.progress-step span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.progress-step.active span,
.progress-step.completed span {
    color: var(--accent);
}

.apply-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-step-header h2 {
    margin-bottom: 8px;
}

.form-step-header p {
    color: var(--text-secondary);
}

.form-group-full {
    grid-column: span 2;
}

.required {
    color: var(--error);
}

.field-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-consent {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    line-height: 1.6;
}

.checkbox-label input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.checkbox-label a {
    color: var(--accent);
    text-decoration: underline;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.btn-prev {
    display: none;
}

.btn-prev svg {
    width: 18px;
    height: 18px;
}

.apply-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.review-section {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px;
}

.review-section h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.review-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .apply-form { padding: 24px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group-full { grid-column: auto; }
    .review-grid { grid-template-columns: 1fr; }
    .apply-progress::before { display: none; }
    .step-indicator { width: 48px; height: 48px; font-size: 1rem; }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 32px;
}

.contact-form-header h2 {
    margin-bottom: 8px;
}

.contact-form-header p {
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 48px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 201, 167, 0.1);
    border-radius: 50%;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--accent);
}

.form-success h3 {
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-secondary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
    font-size: 1.125rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method .contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 201, 167, 0.1);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-method .contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.method-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.method-value {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
}

a.method-value:hover {
    color: var(--accent);
}

.method-note {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.contact-hours-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.contact-hours-card h3 {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.day-row {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.day-row span:first-child {
    color: var(--text-secondary);
}

.day-row span:last-child {
    font-weight: 500;
    color: var(--text-primary);
}

.hours-note {
    margin-top: 16px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.contact-emergency {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.emergency-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.emergency-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.emergency-content h4 {
    color: var(--white);
    margin-bottom: 4px;
}

.emergency-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.emergency-phone {
    display: inline-block;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--accent);
}

.benefit-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent);
}

.benefit-link:hover {
    gap: 10px;
}

.benefit-link svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CALCULATOR
   ============================================ */
.calculator-section { background: var(--bg-light); }

.calculator-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.calc-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.calc-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.calc-group input,
.calc-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

.calc-group input:focus,
.calc-group select:focus {
    border-color: var(--accent);
    outline: none;
}

.calc-slider {
    width: 100%;
    margin-top: 12px;
    -webkit-appearance: none;
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.calc-results {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.result-main {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.result-main .label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.result-main .value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

.results-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.result-item .label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.result-item .value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.calc-note {
    margin-top: 24px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .calc-inputs { grid-template-columns: 1fr; }
    .results-row { grid-template-columns: 1fr; }
    .calculator-card { padding: 24px; }
}

/* ============================================
   APPLY FORM
   ============================================ */
.apply-section { background: var(--bg-light); }

.apply-container {
    max-width: 800px;
    margin: 0 auto;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
}

.progress-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.progress-circle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 3px solid var(--border);
    border-radius: 50%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--text-muted);
}

.progress-step.active .progress-circle,
.progress-step.completed .progress-circle {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.progress-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.progress-step.active .progress-label,
.progress-step.completed .progress-label {
    color: var(--accent);
}

.apply-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.form-step { display: none; }
.form-step.active { display: block; }

.form-step h3 {
    text-align: center;
    margin-bottom: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: span 2; }

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
}

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

.error-text {
    font-size: 0.75rem;
    color: var(--error);
    margin-top: 4px;
    min-height: 18px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.checkbox-group {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.checkbox-group input { margin-top: 4px; }
.checkbox-group a { color: var(--accent); text-decoration: underline; }

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: auto; }
    .apply-form { padding: 24px; }
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 201, 167, 0.1);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-icon svg { width: 24px; height: 24px; color: var(--accent); }

.contact-card h4 { margin-bottom: 4px; }
.contact-card p, .contact-card a {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.contact-card a:hover { color: var(--accent); }

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   SUCCESS MODAL
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
}

.modal.active { display: flex; }

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 201, 167, 0.1);
    border-radius: 50%;
}

.modal-icon svg { width: 40px; height: 40px; color: var(--accent); }

.modal h3 { margin-bottom: 16px; }
.modal p { color: var(--text-secondary); margin-bottom: 24px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand .logo span { color: var(--accent); }
.footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: 0.9375rem; }

.footer-section h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    background: transparent;
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: var(--transition);
}

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

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

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

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* ============================================
   SELECTION
   ============================================ */
::selection { background: var(--accent); color: var(--white); }

/* ============================================
   FOCUS
   ============================================ */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
