/* Interracial Dating Landing Page - Mobile-First CSS */
/* ================================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease, opacity 0.3s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    font-weight: 800;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* Header Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo svg {
    color: var(--color-primary);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding: 2rem;
}

.nav-menu.active {
    transform: translateX(0);
    opacity: 1;
}

.nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.nav-cta {
    background: var(--color-primary);
    color: var(--text-on-primary);
}

.nav-cta:hover {
    background: var(--color-primary-dark);
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
}

.theme-icon {
    transition: all 0.3s ease;
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 44px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--text-on-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--color-primary);
    color: var(--text-on-primary);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-xlarge {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(107, 70, 193, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(107, 70, 193, 0);
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-text h1 {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subheading {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: center;
}

.hero-trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.trust-badge {
    text-align: center;
}

.trust-badge strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--color-accent);
}

.trust-badge span {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.section-content-text {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 20px;
}

.section-content-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.section-content-text p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

/* Benefits Section */
.benefits-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.benefit-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.benefit-stats {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--bg-gradient-soft);
    border-radius: 8px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

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

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.testimonial-image {
    aspect-ratio: 3/4;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 1.5rem;
}

.testimonial-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.testimonial-meta {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    display: block;
    margin-bottom: 1rem;
}

blockquote {
    font-style: italic;
    color: var(--text-secondary);
    margin: 1rem 0;
    padding: 0;
    border: none;
}

.testimonial-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.stat-badge {
    padding: 0.375rem 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
}

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

.trust-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-gradient-soft);
    border-radius: 8px;
}

.trust-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

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

/* Tabs Section */
.tabs-container {
    margin: 2rem 0;
}

.tabs-navigation {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn:focus {
    border-color: var(--color-primary);
    background: var(--bg-tertiary);
}

.tab-btn.active {
    background: var(--color-primary);
    color: var(--text-on-primary);
    border-color: var(--color-primary);
}

.tab-btn svg {
    flex-shrink: 0;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-split {
    display: grid;
    gap: 2rem;
}

.stat-bar-chart {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-bar-item {
    display: grid;
    gap: 0.5rem;
}

.bar-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.bar-container {
    position: relative;
    height: 40px;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--bg-gradient);
    border-radius: 8px;
    transition: width 0.6s ease;
}

.bar-value {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.bar-income {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* Technology Section */
.tech-split-layout {
    display: grid;
    gap: 3rem;
    margin: 2rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th {
    background: var(--color-primary);
    color: var(--text-on-primary);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.highlight-stat {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.125rem;
}

.success-leader {
    color: var(--color-success);
}

.table-note {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: 1rem;
}

.phone-mockup {
    max-width: 300px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.tech-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
}

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

.tech-stat-card {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--color-primary);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

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

/* Demographics Section */
.demographics-showcase {
    margin: 3rem 0;
}

.demo-category {
    margin-bottom: 4rem;
}

.demo-category h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-primary);
}

.demo-cards-grid {
    display: grid;
    gap: 2rem;
}

.demo-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.gen-z {
    border-color: var(--color-accent);
}

.millennial {
    border-color: var(--color-primary);
}

.gen-x {
    border-color: var(--color-secondary);
}

.demo-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.demo-icon {
    font-size: 2.5rem;
}

.demo-title h4 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.demo-age {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.demo-stat-large {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.demo-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.demo-traits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demo-traits li {
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.demo-traits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

.demo-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    color: var(--color-primary);
}

.demo-stat-medium {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    text-align: center;
}

.demo-sublabel {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.demo-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.detail-item {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.demo-persona-summary {
    background: var(--bg-gradient-soft);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
}

.demo-persona-summary h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.persona-grid {
    display: grid;
    gap: 1rem;
}

.persona-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 8px;
}

.persona-item strong {
    font-weight: 600;
    color: var(--text-primary);
}

.persona-item span {
    color: var(--text-secondary);
}

/* Geographic Section */
.geographic-showcase {
    margin: 3rem 0;
}

.geo-section {
    margin-bottom: 4rem;
}

.geo-section h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-primary);
}

.metro-cards {
    display: grid;
    gap: 2rem;
}

.metro-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

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

.metro-card.featured {
    border: 2px solid var(--color-primary);
}

.metro-rank {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--text-on-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    z-index: 1;
}

.metro-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.metro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.metro-content {
    padding: 1.5rem;
}

.metro-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.metro-stats {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.stat-primary {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
}

.metro-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.highlight-item {
    text-align: center;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.highlight-item strong {
    display: block;
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.highlight-item span {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.state-card {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.state-leader {
    border: 2px solid var(--color-primary);
}

.state-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.state-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.state-stat {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.regional-comparison {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.regional-comparison h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.region-bars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.region-bar-item {
    display: grid;
    gap: 0.5rem;
}

.region-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.region-bar {
    position: relative;
    height: 48px;
    background: var(--bg-primary);
    border-radius: 8px;
    overflow: hidden;
}

.region-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--bg-gradient);
    border-radius: 8px;
}

.region-value {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--text-primary);
}

/* Success Factors Section */
.challenges-solutions-layout {
    display: grid;
    gap: 3rem;
    margin: 3rem 0;
}

.challenges-column h3,
.solutions-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.challenge-cards,
.solution-cards {
    display: grid;
    gap: 1.5rem;
}

.challenge-card,
.solution-card {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.challenge-card:hover,
.solution-card:hover {
    box-shadow: var(--shadow-md);
}

.challenge-icon,
.solution-icon {
    width: 48px;
    height: 48px;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.solution-icon {
    color: var(--color-success);
}

.challenge-card h4,
.solution-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.solution-stat {
    display: block;
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--bg-gradient-soft);
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.success-metrics {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-gradient-soft);
    border-radius: 12px;
}

.success-metrics h3 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 8px;
    text-align: center;
}

.metric-item svg {
    color: var(--color-primary);
}

.metric-item strong {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
}

.metric-item span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Economic Section */
.economic-comparison-grid {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.comparison-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.comparison-card.featured {
    border: 2px solid var(--color-primary);
}

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

.comparison-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.comparison-header p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin: 0;
}

.comparison-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bar-group {
    display: grid;
    gap: 0.5rem;
}

.bar-group .bar-label {
    font-size: 0.875rem;
    font-weight: 600;
}

.bar-group.interracial .bar-fill {
    background: var(--bg-gradient);
}

.bar-group.same-race .bar-fill {
    background: var(--border-color);
}

.comparison-difference {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    text-align: center;
}

.comparison-difference strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-success);
    margin-bottom: 0.25rem;
}

.comparison-difference span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.percentage-circles {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin: 1rem 0;
}

.circle-stat {
    position: relative;
    text-align: center;
}

.circle-stat.interracial svg circle:last-child {
    stroke: var(--color-primary);
}

.circle-stat.same-race svg circle:last-child {
    stroke: var(--text-tertiary);
}

.circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.circle-text strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.circle-text span {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.credit-score-display {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    margin: 1rem 0;
}

.score-item {
    text-align: center;
}

.score-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.score-rating {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    color: var(--color-success);
    font-weight: 600;
    margin-top: 0.5rem;
}

.score-divider {
    width: 2px;
    height: 80px;
    background: var(--border-color);
}

.economic-summary {
    margin: 3rem 0;
    padding: 2.5rem;
    background: var(--bg-gradient-soft);
    border-radius: 12px;
    text-align: center;
}

.summary-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.summary-stat {
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 8px;
}

.summary-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.summary-stat span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.95), rgba(233, 30, 99, 0.85));
}

.cta-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
}

.cta-header {
    margin-bottom: 3rem;
}

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

.cta-subheading {
    font-size: 1.125rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.journey-steps {
    display: grid;
    gap: 1.5rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.step-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    text-align: left;
}

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

.step-content h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    margin: 0;
}

.cta-trust-signals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 3rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.trust-signal-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    font-size: 0.875rem;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 3rem 0;
    align-items: center;
}

.btn-xlarge {
    width: 100%;
    max-width: 400px;
}

.urgency-triggers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 0.9375rem;
}

.urgency-divider {
    color: rgba(255, 255, 255, 0.5);
}

.final-message {
    color: white;
}

.final-message h3 {
    color: white;
}

.final-message p {
    color: rgba(255, 255, 255, 0.95);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-trust-badges {
    padding: 2rem 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.trust-badges-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
}

.trust-badge-item svg {
    color: var(--color-primary);
}

.footer-main {
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.footer-mission {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-stats-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.footer-column h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.footer-cta-box {
    margin-top: 1rem;
}

.btn-footer-cta {
    display: block;
    width: 100%;
    padding: 0.875rem;
    background: var(--color-primary);
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-footer-cta:hover {
    background: var(--color-primary-dark);
}

.footer-stats-band {
    padding: 1.5rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-band-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.band-divider {
    color: var(--text-tertiary);
}

.footer-legal {
    padding: 2rem 0;
}

.legal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.copyright {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin: 0;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.legal-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--color-primary);
}

/* Legal Modals */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.legal-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.modal-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-tertiary);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.modal-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-body ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

/* Tablet Styles */
@media (min-width: 768px) {
    h1 {
        font-size: 2.75rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-cta-group {
        flex-direction: row;
        justify-content: center;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        transform: none;
        opacity: 1;
        flex-direction: row;
        background: transparent;
        gap: 0.5rem;
        padding: 0;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tabs-navigation {
        flex-direction: row;
        justify-content: center;
    }
    
    .tab-btn {
        flex: 1;
        justify-content: center;
        text-align: center;
    }
    
    .tab-split {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .tech-split-layout {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .tech-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .demo-cards-grid.professional {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .challenges-solutions-layout {
        grid-template-columns: 1fr 1fr;
    }
    
    .economic-comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .summary-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .journey-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: row;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
    
    .legal-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .content-section {
        padding: 6rem 0;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-carousel {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .demo-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .demo-cards-grid.professional {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .persona-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .economic-comparison-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .journey-steps {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .step-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 1rem;
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    .hero-text h1 {
        font-size: 4rem;
    }
    
    .cta-header h2 {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    header,
    .scroll-indicator,
    .nav-menu,
    .theme-toggle,
    .section-cta,
    footer {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
}