/* Design System */
:root {
    /* Colors */
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --ink: #0F172A;
    --charcoal: #33312E;
    --gray-5: #7F7F7F;
    --muted: #475569;
    --line: #E2E8F0;
    --bg: #FFFFFF;
    --bg-soft: #F8FAFC;
    --dark-bg: #0B1220;
    --success: #10B981;

    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-card: 0 8px 24px rgba(2, 6, 23, 0.06);
    --shadow-soft: 0 2px 8px rgba(2, 6, 23, 0.06);

    /* Typography */
    --font-family: system-ui, -apple-system, 'Segoe UI', 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 16px;
    --space-xl: 24px;
    --space-2xl: 32px;
    --space-3xl: 48px;
    --space-4xl: 64px;

    /* Container */
    --container-max: 1280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-2xl);
    }
}

/* Typography */
h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
}

h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
}

h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
}

p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--muted);
}

@media (min-width: 768px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 20px;
    }
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    opacity: 1;
}

.btn-primary:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    z-index: 100;
    padding: var(--space-lg) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 32px;
    width: auto;
    display: block;
}

.notification-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.notification-btn:hover {
    background: var(--bg-soft);
}

.notification-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    padding: var(--space-4xl) 0;
    background: var(--bg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-content h1 {
    margin-bottom: var(--space-xl);
    align-self: stretch;
    color: var(--charcoal);
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 60px;
        line-height: 60px;
    }
}

.hero-subtitle {
    margin-bottom: var(--space-2xl);
    align-self: stretch;
    color: var(--gray-5);
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 24px;
    }
}

.app-badges {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.app-badge {
    display: inline-block;
    transition: transform 0.2s;
}

.app-badge img {
    display: block;
    height: auto;
    width: auto;
    max-height: 58px;
}

.app-badge:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

/* Benefits Section */
.benefits {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: left;
    margin-bottom: var(--space-4xl);
}

.section-header h2 {
    margin-bottom: var(--space-lg);
    max-width: 758px;
    color: var(--charcoal);
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 44px;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 60px;
        line-height: 80px;
    }
}

.section-header p {
    max-width: 700px;
    align-self: stretch;
    color: var(--gray-5);
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

@media (min-width: 768px) {
    .section-header p {
        font-size: 24px;
    }
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

.benefits-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.benefit-card {
    background: var(--bg);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-lg);
    min-height: 150px;
}

.benefits-cards .benefit-card:last-child {
    min-height: 174px;
}

.benefit-content h3 {
    margin-bottom: var(--space-sm);
}

.benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.benefit-card-highlight {
    background: var(--success);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-2xl);
    min-height: 150px;
}

.benefit-card-highlight h3 {
    color: white;
    font-size: 24px;
}

.check-icon {
    margin-bottom: var(--space-sm);
}

.check-icon img {
    width: 56px;
    height: 56px;
    display: block;
    background: transparent;
    mix-blend-mode: normal;
    margin: 0 auto;
}

.benefits-phone {
    display: flex;
    justify-content: center;
}

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

.benefits-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}


@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: 1fr auto 1fr;
        align-items: start;
    }
}

/* How It Works Section */
.how-it-works {
    padding: var(--space-4xl) 0;
    background: var(--bg-soft);
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.how-content h2 {
    color: var(--ink);
    margin-bottom: var(--space-3xl);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xl);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--ink);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.step p {
    color: var(--ink);
    font-size: 18px;
}

.how-image {
    display: flex;
    justify-content: center;
}

.how-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

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

/* Security Section */
.security {
    padding: var(--space-4xl) 0;
    background: #3B3B3B;
}

.security-title {
    color: white;
    text-align: center;
    margin-bottom: var(--space-4xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    align-self: stretch;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 44px;
}

@media (min-width: 768px) {
    .security-title {
        font-size: 48px;
        line-height: 64px;
    }
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

.security-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-4xl) var(--space-3xl);
    text-align: center;
}

.security-header {
    margin-bottom: var(--space-3xl);
}

.security-header h3 {
    color: var(--ink);
    margin-bottom: var(--space-lg);
    font-size: 24px;
}

.security-header p {
    color: var(--muted);
    margin-bottom: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.security-image {
    display: flex;
    justify-content: center;
}

.security-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

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

/* FAQ Section */
.faq {
    padding: var(--space-4xl) 0;
    background: var(--bg-soft);
}

.faq-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.faq-header h2 {
    margin-bottom: var(--space-lg);
}

.faq-header p {
    max-width: 700px;
    margin: 0 auto;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-soft);
}

.faq-item summary {
    padding: var(--space-xl);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
    font-weight: 600;
    color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: var(--bg-soft);
}

.faq-item summary:focus {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.chevron {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item[open] .chevron {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 var(--space-xl) var(--space-xl);
}

.faq-content p {
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: var(--space-4xl) 0;
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.download-card {
    display: flex;
    justify-content: center;
}

.download-card img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.download-content h2 {
    margin-bottom: var(--space-lg);
}

.download-content p {
    margin-bottom: var(--space-2xl);
}

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

/* Support Section */
.support {
    padding: var(--space-4xl) 0;
    background: var(--bg-soft);
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.support-image {
    display: flex;
    justify-content: center;
}

.support-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.support-content h2 {
    color: var(--ink);
    margin-bottom: var(--space-lg);
}

.support-content > p {
    color: var(--muted);
    margin-bottom: var(--space-3xl);
}

.support-channels {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

.support-channel {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    transition: opacity 0.2s;
}

.support-channel:hover {
    opacity: 0.8;
}

.channel-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: #2D2D2D;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.support-channel span {
    color: var(--ink);
    font-size: 20px;
    font-weight: 600;
}

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

/* Footer */
footer {
    background: #3B3B3B;
    padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
}

.logo-footer {
    margin-bottom: var(--space-xl);
}

.logo-footer img {
    height: 32px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    background: transparent;
    mix-blend-mode: normal;
}

.social-links {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.social-links a {
    width: 32px;
    height: 32px;
    color: white;
    transition: opacity 0.2s;
    display: block;
}

.social-links a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    background: transparent;
    mix-blend-mode: normal;
}

.social-links a:hover {
    opacity: 0.7;
}

.address {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.footer-links a {
    color: white;
    font-size: 16px;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.7;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Sticky Mobile CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: var(--space-lg);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    z-index: 90;
    display: block;
}

.sticky-cta button {
    width: 100%;
}

@media (min-width: 768px) {
    .sticky-cta {
        display: none;
    }
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip to main content */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

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

    html {
        scroll-behavior: auto;
    }
}

/* Loading states */
img {
    background: var(--bg-soft);
}

/* Print styles */
@media print {
    header,
    .sticky-cta {
        display: none;
    }
}
