:root {
    --red:        #e8192c;
    --red-dark:   #b5111f;
    --red-light:  #ff4757;
    --gold:       #f5a623;
    --gold-dark:  #d4890f;
    --gold-light: #ffd166;
    --dark:       #1a1a2e;
    --dark-mid:   #2d2d44;
    --text:       #1f2328;
    --text-muted: #5a6270;
    --surface:    #f7f8fc;
    --border:     #e4e7ed;
    --white:      #ffffff;
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

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

/* Nav */
.site-header {
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.site-nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.nav-brand {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.site-nav ul a {
    color: #a8b0bc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.site-nav ul a:hover {
    color: var(--white);
}

.nav-cta {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 7px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem !important;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: var(--red-light) !important;
    color: var(--white) !important;
}

@media (max-width: 520px) {
    .site-nav ul li:not(:last-child) { display: none; }
}

/* Hero */
.hero {
    background: linear-gradient(150deg, var(--red-dark) 0%, var(--red) 50%, #ff3347 100%);
    color: var(--white);
    padding: 90px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 90%, rgba(255,255,255,0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 10%, rgba(255,255,255,0.06) 0%, transparent 55%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.hero-content h2 {
    font-size: clamp(1.05rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: rgba(255,255,255,0.88);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    text-shadow: none;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: var(--gold);
    color: var(--dark) !important;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 4px 18px rgba(245,166,35,0.4);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245,166,35,0.45);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--red) !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

.cta-button.secondary:hover {
    background: var(--surface);
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

.submit-button {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 13px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(232,25,44,0.3);
    width: 100%;
    max-width: 200px;
}

.submit-button:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,25,44,0.4);
}

/* Section base */
section {
    padding: 72px 0;
}

.mission, .cta-section {
    background: var(--surface);
    text-align: center;
}

.features {
    background: var(--white);
}

.stats {
    background: var(--dark);
}

.download-section {
    background: var(--surface);
    text-align: center;
    padding: 72px 24px;
}

.contact-content {
    background: var(--white);
}

.faq-section {
    background: var(--surface);
}

/* Typography */
h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Feature cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem 1.75rem;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--gold));
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: transparent;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Stats */
.stats h2 {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 0.4rem;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.72);
    font-weight: 500;
}

/* Download */
.download-section h2 { margin-bottom: 0.75rem; }
.download-section p  { margin-bottom: 1.75rem; }
.store-badge img     { display: inline-block; }

/* CTA section */
.cta-section h2 { margin-bottom: 0.75rem; }
.cta-section p  { margin-bottom: 0; }

/* About */
.mission .container {
    max-width: 700px;
    text-align: center;
}

/* Contact form */
.contact-single {
    display: flex;
    justify-content: center;
    max-width: 580px;
    margin: 0 auto;
}

.contact-form-section {
    width: 100%;
}

.contact-form-section h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(232,25,44,0.1);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.faq-item {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
    border-color: var(--red);
    box-shadow: 0 4px 16px rgba(232,25,44,0.08);
}

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

.faq-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    position: relative;
}

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

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #8a95a3;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--white);
}

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

.footer-section:first-child p {
    color: #8a95a3;
    font-size: 0.9rem;
    margin: 0;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: #606878;
    margin: 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    section { padding: 52px 0; }

    .features-grid,
    .faq-grid { grid-template-columns: 1fr; }

    .contact-single { padding: 0 8px; }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-section h2 {
        text-align: center;
    }
}
