/* ============================================
   Senior Dating Sites - Custom CSS
   Mobile-First Responsive Design
   No External Dependencies
   ============================================ */

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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(--background-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

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

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

ul {
    list-style: none;
}

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

h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

section {
    padding: 3rem 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 44px;
    line-height: 1.4;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

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

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

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

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

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

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

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

.btn-extra-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.375rem;
}

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
}

.btn-glow {
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.8);
}

/* ============================================
   HEADER
   ============================================ */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--background-primary);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 8px var(--shadow-light);
}

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

.header-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.logo-text {
    font-weight: 400;
}

.logo-text strong {
    font-weight: 700;
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--background-primary);
    box-shadow: -4px 0 12px var(--shadow-medium);
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.header-nav.active {
    right: 0;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.nav-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.5rem 0;
    display: block;
}

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

.nav-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.theme-toggle:hover {
    background-color: var(--primary-color);
    color: white;
}

.theme-icon {
    width: 20px;
    height: 20px;
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.85) 0%, rgba(95, 184, 95, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 1.25rem;
}

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

.hero-subheadline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

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

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.trust-badge svg {
    flex-shrink: 0;
}

.hero-value-prop {
    font-size: 1.125rem;
    line-height: 1.7;
    color: white;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
    background-color: var(--background-primary);
}

.benefits-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background-color: var(--background-secondary);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefits-content {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.benefits-content p {
    margin-bottom: 1.5rem;
}

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

/* ============================================
   COMPARISON SECTION
   ============================================ */
.comparison-section {
    background-color: var(--background-secondary);
}

.comparison-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-light);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--background-primary);
    font-size: 1rem;
}

.comparison-table caption {
    padding: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: left;
    background-color: var(--primary-color);
    color: white;
    border-radius: 12px 12px 0 0;
}

.comparison-table thead {
    background-color: var(--background-secondary);
}

.comparison-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

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

.comparison-table tbody tr:hover {
    background-color: var(--background-tertiary);
}

.star-rating {
    color: var(--accent-color);
    font-size: 1.125rem;
}

.half-star {
    opacity: 0.5;
}

.comparison-footer {
    max-width: 900px;
    margin: 2rem auto;
}

/* Mobile table responsiveness */
@media (max-width: 767px) {
    .comparison-table thead {
        display: none;
    }
    
    .comparison-table tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        overflow: hidden;
    }
    
    .comparison-table td {
        display: flex;
        justify-content: space-between;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .comparison-table td:last-child {
        border-bottom: none;
    }
    
    .comparison-table td::before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: 1rem;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background-color: #FFF5F0;
}

[data-theme="dark"] .testimonials-section {
    background-color: #2A2520;
}

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

.testimonials-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background-color: var(--background-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.testimonial-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

.verified-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.testimonial-content {
    padding: 2rem;
    position: relative;
}

.quote-mark {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -1rem;
}

.testimonial-content blockquote {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

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

.author-location {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.author-story {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.testimonials-content {
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-content h3 {
    margin-bottom: 1.5rem;
}

/* ============================================
   SAFETY SECTION
   ============================================ */
.safety-section {
    background-color: var(--background-primary);
}

.safety-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.safety-features {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.safety-feature {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--background-secondary);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.safety-icon {
    flex-shrink: 0;
}

.safety-feature h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.safety-content {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.safety-content h3 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.safety-testimonial {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: var(--background-tertiary);
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.safety-testimonial blockquote {
    font-style: italic;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.safety-testimonial cite {
    font-style: normal;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ============================================
   STEPS SECTION
   ============================================ */
.steps-section {
    background: linear-gradient(135deg, var(--background-gradient-start) 0%, var(--background-gradient-end) 100%);
}

.steps-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.steps-process {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: var(--background-primary);
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px var(--shadow-light);
    position: relative;
}

.step-number {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 8px var(--shadow-medium);
}

.step-icon {
    margin: 1rem 0 1.5rem;
}

.step-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step-connector {
    display: none;
}

.steps-content {
    max-width: 900px;
    margin: 0 auto;
}

.steps-content h3 {
    margin-bottom: 1.5rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    background-color: var(--background-primary);
}

.features-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background-color: var(--background-secondary);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.features-content {
    max-width: 900px;
    margin: 0 auto;
}

.features-content h3 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
    background-color: var(--background-tertiary);
}

.pricing-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-cards {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background-color: var(--background-primary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px var(--shadow-light);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.pricing-card.featured {
    border: 3px solid var(--accent-color);
}

.popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.pricing-header h3 {
    margin-bottom: 1rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.pricing-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
}

.pricing-content {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.pricing-content h3 {
    margin-bottom: 1.5rem;
}

.pricing-guarantee {
    max-width: 700px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: var(--background-primary);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px var(--shadow-light);
}

.guarantee-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.guarantee-badge strong {
    font-size: 1.25rem;
    color: var(--secondary-color);
}

/* ============================================
   TIPS SECTION
   ============================================ */
.tips-section {
    background-color: var(--background-primary);
}

.tips-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.tips-list {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.tip-item {
    background-color: var(--background-secondary);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.tip-number {
    position: absolute;
    top: 1.5rem;
    left: -1.5rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 8px var(--shadow-medium);
}

.tip-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.tip-item p {
    padding-left: 2rem;
}

.tips-content {
    max-width: 900px;
    margin: 0 auto;
}

.tips-content h3 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta-section {
    position: relative;
    background: linear-gradient(135deg, #6B46C1 0%, #4A90E2 100%);
    color: white;
    padding: 4rem 0;
    overflow: hidden;
}

.final-cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
}

.final-cta-section h2 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-icon {
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

.final-cta-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.final-message {
    font-size: 1.25rem;
    line-height: 1.7;
    color: white;
    margin-bottom: 1.5rem;
}

.final-testimonial {
    max-width: 700px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.final-testimonial blockquote {
    font-style: italic;
    font-size: 1.125rem;
    color: white;
    margin-bottom: 1rem;
}

.final-testimonial cite {
    font-style: normal;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

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

.final-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: #2C3E50;
    color: #E8E8E8;
}

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

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    color: white;
}

.footer-mission {
    margin-bottom: 1.5rem;
    color: #B8C5D0;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

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

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

.footer-links a {
    color: #B8C5D0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    color: #B8C5D0;
}

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

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

.footer-address {
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-secondary {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.footer-secondary-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.footer-cta {
    text-align: center;
}

.footer-cta a {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.125rem;
}

.footer-payment-security {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #B8C5D0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
}

.footer-copyright {
    margin-bottom: 1rem;
    color: #B8C5D0;
}

.footer-disclaimer {
    font-size: 0.875rem;
    color: #8A9BA8;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   LEGAL MODALS
   ============================================ */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-bg);
    overflow-y: auto;
}

.legal-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.legal-modal-content {
    background-color: var(--background-primary);
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px var(--shadow-medium);
}

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

.legal-modal-header h2 {
    margin: 0;
}

.legal-modal-close {
    font-size: 2rem;
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.legal-modal-close:hover {
    background-color: var(--background-secondary);
    color: var(--text-primary);
}

.legal-modal-body {
    padding: 2rem;
    overflow-y: auto;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */
@media (min-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.625rem;
    }
    
    /* Header */
    .mobile-menu-toggle {
        display: none;
    }
    
    .header-nav {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    
    .nav-list {
        flex-direction: row;
        gap: 2rem;
        margin-bottom: 0;
    }
    
    .nav-actions {
        flex-direction: row;
        align-items: center;
    }
    
    /* Hero */
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-cta-group {
        flex-direction: row;
        justify-content: center;
    }
    
    /* Grids */
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .safety-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Steps */
    .step-connector {
        display: block;
        height: 2rem;
        width: 2px;
        background-color: var(--primary-color);
        margin: 0 auto;
    }
}

/* ============================================
   RESPONSIVE DESIGN - DESKTOP
   ============================================ */
@media (min-width: 1024px) {
    /* Typography */
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    /* Hero */
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    /* Grids */
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-secondary-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    /* Steps - horizontal layout */
    .steps-process {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .step-item {
        flex: 1;
        margin-bottom: 0;
    }
    
    .step-connector {
        width: 2rem;
        height: 2px;
        margin-top: 5rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    z-index: 9999;
}

.skip-to-content:focus {
    top: 0;
}

/* Print styles */
@media print {
    header,
    .hero-section,
    .final-cta-section,
    footer {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
    }
}
