:root {
    --bg-dark: #0a0a0c;
    --bg-darker: #050506;
    --bg-card: #151518;
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1aa;
    --accent: #ff6b35; /* a pop of color for emphasis */
    --accent-glow: rgba(255, 107, 53, 0.2);
    --border: #27272a;
}

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

body {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('assets/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent, var(--bg-dark));
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
    width: 100%;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.app-store-btn {
    display: inline-block;
    transition: transform 0.2s ease, filter 0.2s ease;
}
.app-store-btn img {
    height: 56px;
}
.app-store-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.screenshots-fan {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fan-img {
    position: absolute;
    width: 240px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.fan-left {
    transform: translateX(-100px) rotate(-8deg) scale(0.85);
    z-index: 1;
    opacity: 0.6;
}

.fan-center {
    transform: translateX(0) scale(1.05);
    z-index: 3;
}

.fan-right {
    transform: translateX(100px) rotate(8deg) scale(0.85);
    z-index: 2;
    opacity: 0.6;
}

.screenshots-fan:hover .fan-left {
    transform: translateX(-140px) rotate(-12deg) scale(0.9);
    opacity: 0.9;
}

.screenshots-fan:hover .fan-right {
    transform: translateX(140px) rotate(12deg) scale(0.9);
    opacity: 0.9;
}

.screenshots-fan:hover .fan-center {
    transform: translateX(0) scale(1.1);
}

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

.alt-bg {
    background-color: var(--bg-darker);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 64px;
    font-weight: 600;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--text-secondary);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #fff;
}

.card p {
    color: var(--text-secondary);
}

.warning-box {
    background-color: rgba(255, 107, 53, 0.1);
    border-left: 4px solid var(--accent);
    padding: 24px;
    border-radius: 0 8px 8px 0;
    color: #fff;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background-color: var(--bg-card);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.feature-list .icon {
    font-size: 2rem;
    background: var(--bg-dark);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #fff;
}

.feature-list span {
    color: var(--text-secondary);
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
    background-color: var(--bg-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: #fff;
}

.footer-col p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.support-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}
.support-link:hover {
    color: #fff;
}

/* DOCUMENT PAGES (privacy) — plain reading, not a landing page. Narrow measure,
   generous leading, and no decoration competing with the text. */
.doc {
    max-width: 720px;
    padding-top: 64px;
    padding-bottom: 96px;
}

.doc-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 8px;
}

.doc-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.doc h2 {
    font-size: 1.05rem;
    color: #fff;
    margin: 32px 0 10px;
}

.doc p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
}

.doc a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.doc a:hover { color: #fff; }

.doc-back {
    font-size: 0.9rem;
    margin-bottom: 32px;
}
.doc-back-bottom {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .screenshots-fan {
        height: 450px;
        margin-top: 40px;
    }
    .fan-img {
        width: 180px;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .description {
        margin: 0 auto 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
