:root {
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --brand: #4f46e5;
    --brand-light: #6366f1;
    --brand-dark: #4338ca;
    --accent: #10b981;
    --accent-dark: #059669;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);
    --shadow-glow: 0 20px 60px rgba(79, 70, 229, 0.25);
    --radius: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.logo span {
    font-family: 'Archivo Black', Impact, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 400;
    font-size: 1.5rem;
    color: #243447;
}

.footer-brand .logo span {
    color: white;
}

.logo img {
    height: 48px;
    width: 48px;
    border-radius: 8px;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
    color: var(--text);
    background: var(--bg-soft);
}

.nav-cta {
    background: var(--text) !important;
    color: white !important;
    padding: 10px 18px !important;
}

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

/* Hero */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--brand);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 540px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--brand);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: white;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    transform: translateY(-1px);
}

.hero-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-meta-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

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

.phone-frame {
    position: relative;
    width: 280px;
    padding: 12px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 40px;
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: #020617;
    border-radius: 3px;
    z-index: 2;
}

.phone-frame img {
    width: 100%;
    border-radius: 28px;
    display: block;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border);
    animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 18%;
    right: -8%;
    animation-delay: 3s;
}

.floating-card .icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.floating-card-1 .icon {
    background: rgba(16, 185, 129, 0.12);
}

.floating-card-2 .icon {
    background: rgba(79, 70, 229, 0.12);
}

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

/* Trust strip */
.trust-strip {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
}

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

.trust-item .number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.trust-item .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Section common */
.section {
    padding: 100px 0;
}

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

.section-eyebrow {
    display: inline-block;
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Features */
.features {
    background: var(--bg);
}

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

.feature-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(79, 70, 229, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Screenshots */
.screenshots {
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.screenshot {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    background: #1e293b;
    aspect-ratio: 9 / 19.5;
}

.screenshot:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Privacy */
.privacy-section {
    background: var(--bg-darker);
    color: white;
    position: relative;
    overflow: hidden;
}

.privacy-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.privacy-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.privacy-section .container {
    position: relative;
}

.privacy-section .section-header h2 {
    color: white;
}

.privacy-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.privacy-section .section-eyebrow {
    color: var(--accent);
}

.privacy-points {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.privacy-point {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 20px;
    border-radius: 16px;
    text-align: center;
    transition: background 0.2s, border-color 0.2s;
}

.privacy-point:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.privacy-point .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 14px;
}

.privacy-point .label {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
}

/* CTA */
.cta-section {
    padding: 100px 0;
    background: var(--bg);
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    border-radius: 24px;
    padding: 64px 40px;
    position: relative;
    overflow: hidden;
    color: white;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    position: relative;
}

.cta-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-card .btn {
    position: relative;
    background: white;
    color: var(--brand);
}

.cta-card .btn:hover {
    background: var(--text);
    color: white;
}

/* Donation */
.donate-section {
    background: var(--bg-soft);
}

.donate-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.donate-copy h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.donate-copy p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.donate-steps {
    padding-left: 20px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.donate-steps li {
    margin-bottom: 8px;
}

.donate-steps a,
.donate-fine a {
    color: var(--brand);
}

.donate-fine {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.donate-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.donate-panel img {
    width: 220px;
    height: 220px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: white;
    display: block;
}

.donate-panel code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
    word-break: break-all;
    color: var(--text);
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    max-width: 100%;
}

.donate-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.donate-actions .btn {
    padding: 12px 20px;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--bg-darker);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links-group {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}

.footer-col h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-meta {
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .privacy-points {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .donate-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 36px;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 70px 0;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .floating-card {
        display: none;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links-group {
        gap: 40px;
    }
}

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

.guide-card {
    display: block;
    background: white;
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(79, 70, 229, 0.2);
}

.guide-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.guide-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

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

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 16px;
}

.faq-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.faq-item a {
    color: var(--brand);
}

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