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

:root {
    --bg: #0A0A0C;
    --surface: #141418;
    --border: #1E1E24;
    --text: #E8E8EC;
    --text-secondary: #8A8A94;
    --accent: #4AE6A0;
    --accent-dim: rgba(74, 230, 160, 0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--accent);
}

a:hover {
    color: #3BD48E;
}

/* Hero Nav */
.hero-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-nav .logo {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: 2px;
}

.hero-nav .nav-links {
    display: flex;
    gap: 24px;
}

.hero-nav .nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.hero-nav .nav-links a:hover {
    color: #FFFFFF;
}

/* Hero Logo */
.hero-logo {
    font-size: 64px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 6px;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Hero */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/images/hero-bg.png') center top / cover no-repeat;
    background-color: #0A0A0C;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(10, 10, 12, 0.5) 0%,
            rgba(10, 10, 12, 0.65) 40%,
            rgba(10, 10, 12, 0.85) calc(100% - 200px),
            #0A0A0C 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 250px 40px 80px;
}

.hero-content h1 {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 4px;
    margin-top: -20px;
    margin-bottom: 60px;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    color: rgba(232, 232, 236, 0.85);
}

.subtitle {
    font-size: 19px;
    color: rgba(232, 232, 236, 0.85);
    margin-top: -20px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.cta {
    display: inline-block;
    background: var(--accent);
    color: var(--bg);
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: opacity 0.2s;
}

.cta:hover {
    opacity: 0.85;
}

/* Showcase Sections */
.showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px 80px;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 80px 0;
}

.showcase-item + .showcase-item {
    border-top: 1px solid var(--border);
}

.showcase-item.reverse {
    flex-direction: row-reverse;
}

.showcase-text {
    flex: 1;
}

.showcase-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.showcase-text p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.showcase-phone {
    flex: 0 0 auto;
    position: relative;
}

.showcase-phone img {
    width: 280px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* CTA Banner */
.cta-banner {
    text-align: center;
    padding: 100px 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(74, 230, 160, 0.04) 100%);
}

.cta-banner h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.app-store-badge {
    height: 54px;
    width: auto;
    transition: opacity 0.2s;
}

.app-store-badge:hover {
    opacity: 0.85;
}

/* Page Nav */
.page-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border);
}

.page-nav .logo {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: 2px;
}

.page-nav .nav-links {
    display: flex;
    gap: 24px;
}

.page-nav .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.page-nav .nav-links a:hover {
    color: var(--text);
}

/* FAQ */
.faq {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 40px;
    border-top: 1px solid var(--border);
}

.faq h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.faq-item {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.faq-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.faq-item p strong {
    color: var(--text);
}

/* Index pages */
.index-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.index-page h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.index-page .page-desc {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 48px;
    line-height: 1.7;
}

.index-page .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.index-page .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    text-decoration: none;
    transition: border-color 0.2s;
    display: block;
}

.index-page .card:hover {
    border-color: var(--accent);
}

.index-page .card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}

.index-page .card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Blog list */
.post-list {
    list-style: none;
    padding: 0;
}

.post-list li {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.post-list li:last-child {
    border-bottom: none;
}

.post-list a {
    text-decoration: none;
}

.post-list h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.post-list .post-date {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.post-list .post-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tables in content */
.legal table, .faq table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.legal th, .legal td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-secondary);
}

.legal th {
    color: var(--text);
    font-weight: 600;
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 40px 40px;
    border-top: 1px solid var(--border);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-secondary {
    margin-top: 0;
}

.copyright {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Legal pages */
.legal {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.legal h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.legal .updated {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 40px;
}

.legal h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal p,
.legal li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 12px;
}

.legal ul {
    padding-left: 24px;
    margin-bottom: 12px;
}

.legal a {
    color: var(--accent);
    text-decoration: none;
}

.legal a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }
    .hero-content {
        padding: 310px 20px 60px;
    }
    .hero-content h1 {
        font-size: 24px;
    }
    .showcase-item,
    .showcase-item.reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 60px 0;
    }
    .showcase-text h2 {
        font-size: 28px;
    }
    .showcase-phone img {
        width: 240px;
    }
    .cta-banner h2 {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 16px 20px;
    }
    .hero-content h1 {
        font-size: 20px;
    }
    .hero-content {
        padding: 290px 20px 40px;
    }
    .subtitle {
        font-size: 16px;
    }
    .features {
        padding: 40px 20px;
        grid-template-columns: 1fr;
    }
    .legal {
        padding: 40px 20px 60px;
    }
}
