:root {
    /* App Palette */
    --bg-color: #050505;       /* Deep Void Black */
    --card-bg: #121212;        /* Card Surface */
    --text-main: #ffffff;
    --text-muted: #a1a1aa;     /* Neutral gray */
    
    /* Brand Colors */
    --accent-purple: #a855f7;  /* Oracle Purple */
    --accent-glow: rgba(168, 85, 247, 0.4);
    
    /* UI Borders */
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-highlight: rgba(255, 255, 255, 0.2);
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
    font-family: 'Playfair Display', serif; /* Matches App Headers */
    font-weight: 700;
    color: var(--text-main);
    margin-top: 0;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding-top: 100px;
    padding-bottom: 0px;
    text-align: center;
    overflow: hidden;
}

/* The "Arcane Glow" Background */
.glow-backdrop {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    margin-bottom: 30px;
}

/* Floating Animation for Icon */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.floating { animation: float 6s ease-in-out infinite; }


/* --- BUTTONS --- */
.store-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #000;
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    box-shadow: 0 0 20px var(--accent-glow);
}

.store-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--accent-glow);
}


/* --- SHOWCASE (PHONES) --- */
.showcase-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 80px;
    flex-wrap: wrap;
    perspective: 1000px; /* Adds 3D depth */
}

.device-frame {
    width: 300px;
    aspect-ratio: 9/19.5;
    background: #000;
    border: 8px solid #1a1a1a;
    border-radius: 48px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    position: relative;
    /* This creates the "Bezel" shine */
    box-shadow: 
        0 0 0 2px #333,
        0 25px 50px -12px rgba(0,0,0,0.8);
}

.device-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Stagger the phones for visual interest */
.offset-up { transform: translateY(0); }
.offset-down { transform: translateY(40px); }

@media (max-width: 768px) {
    .offset-down { transform: translateY(0); }
    .showcase-grid { gap: 20px; }
}


/* --- FEATURES SECTION --- */
.features-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, transparent, #000);
}

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

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

/* THE CARD UI (Matches your App's Cards) */
.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-subtle);
    padding: 32px;
    border-radius: 24px;
    transition: transform 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
    background-color: #1a1a1a;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    /* Optional: Add a glow behind the emoji */
    text-shadow: 0 0 20px var(--accent-glow);
}

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

.feature-card p {
    color: var(--text-muted);
    margin: 0;
}


/* --- FOOTER --- */
footer {
    padding: 80px 0 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-links a:hover { opacity: 1; color: var(--accent-purple); }

.copyright { color: var(--text-muted); font-size: 0.9rem; }

.disclaimer {
    font-size: 0.75rem;
    color: #555;
    max-width: 600px;
    margin: 20px auto 0 auto;
    line-height: 1.4;
}

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