/* --- Global Styles & Variables --- */
:root {
    --primary-color: #affc41; /* Bright lime green */
    --primary-dark: #86cc28;
    --bg-dark: #0a0c08;       /* Near-black with a hint of green */
    --bg-elevated: #11140e;   /* Section alternation */
    --bg-card: #161a12;       /* Card background */
    --text-light: #f4f6f0;
    --text-grey: #9aa294;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --glow: rgba(175, 252, 65, 0.35);
    --radius-lg: 20px;
    --radius-md: 14px;
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3 {
    line-height: 1.15;
    margin-bottom: 0.6em;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.4em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    color: var(--text-grey);
    margin-bottom: 1em;
}

/* Gradient headline accent */
.text-gradient {
    background: linear-gradient(100deg, var(--primary-color) 20%, #5ee6a8 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Section kicker label */
.section-kicker {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* Scroll-reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 999px;
    font-weight: 600;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-free {
    background-color: var(--primary-color);
    color: #000;
    box-shadow: 0 0 18px var(--glow);
}

.btn-free:hover {
    background-color: var(--primary-dark);
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 24px var(--glow);
}

.btn-google-play {
    background-color: var(--primary-color);
    color: #000;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 0 24px var(--glow), 0 8px 20px rgba(0, 0, 0, 0.35);
}

.btn-google-play:hover {
    background-color: var(--primary-dark);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 36px var(--glow), 0 12px 24px rgba(0, 0, 0, 0.4);
}

.btn-google-play span {
    font-size: 1rem;
}

.btn-google-play img {
    height: 30px;
    width: auto;
}

/* --- Navbar --- */
.navbar {
    background-color: rgba(10, 12, 8, 0.72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

.logo:hover {
    color: var(--primary-color);
}

.logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 90px 0 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -220px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 620px;
    background:
        radial-gradient(ellipse at center, rgba(175, 252, 65, 0.14) 0%, rgba(94, 230, 168, 0.06) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.hero-content p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem;
    color: var(--text-grey);
}

.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 28px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
}

.rating-pill:hover {
    border-color: var(--glow);
    color: var(--text-light);
}

.stars-display {
    color: var(--primary-color);
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.rating-number {
    font-weight: 700;
    color: var(--text-light);
}

.rating-divider {
    color: var(--border-strong);
}

.rating-count {
    color: var(--text-grey);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.hero-cta-note {
    font-size: 0.85rem;
    color: var(--text-grey);
}

.hero-image-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 24px;
    /* Clip the phone mockup so the next section's background cuts it off */
    max-height: 540px;
    overflow: hidden;
}

.hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg-elevated));
    pointer-events: none;
    z-index: 3;
}

.phone-mockup {
    max-width: 320px;
    z-index: 1;
    position: relative;
    box-shadow:
        0 0 60px rgba(175, 252, 65, 0.12),
        0 30px 70px rgba(0, 0, 0, 0.55);
    border-radius: 40px;
    overflow: hidden;
    border: 8px solid #1d211a;
}

.phone-mockup img {
    display: block;
}

/* Floating Charts */
.floating-chart {
    position: absolute;
    z-index: 2;
    width: 230px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    background: rgba(22, 26, 18, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    animation: float 7s ease-in-out infinite;
}

.floating-chart img {
    display: block;
}

.chart-left {
    left: 50%;
    top: 8%;
    transform: translateX(-300px) rotate(-8deg);
    animation-delay: 0s;
}

.chart-right {
    left: 50%;
    top: 42%;
    transform: translateX(90px) rotate(6deg);
    animation-delay: 3.5s;
}

@keyframes float {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -14px; }
}

@media (prefers-reduced-motion: reduce) {
    .floating-chart { animation: none; }
}

/* --- Features Section --- */
.features {
    padding: 100px 0 80px;
    background-color: var(--bg-elevated);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.feature-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.0)), var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(175, 252, 65, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(175, 252, 65, 0.08);
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(175, 252, 65, 0.1);
    border: 1px solid rgba(175, 252, 65, 0.25);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    color: var(--text-light);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-grey);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.feature-placeholder {
    background-color: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
    position: relative;
}

.feature-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* --- How It Works Section --- */
.how-it-works {
    padding: 90px 0;
    background-color: var(--bg-dark);
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 10px;
    position: relative;
}

/* connector line between steps */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 18%;
    right: 18%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(175, 252, 65, 0.35), transparent);
}

.step {
    padding: 20px;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #7ee06a);
    color: #000;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 24px rgba(175, 252, 65, 0.25);
    position: relative;
    z-index: 1;
}

.step h3 {
    color: var(--text-light);
    margin-bottom: 10px;
}

.step p {
    color: var(--text-grey);
    font-size: 0.95rem;
}

/* --- Premium Section --- */
.premium {
    padding: 40px 0 90px;
    background-color: var(--bg-dark);
}

.premium-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 44px;
    text-align: center;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(175, 252, 65, 0.25);
    background:
        radial-gradient(120% 120% at 50% 0%, rgba(175, 252, 65, 0.08) 0%, transparent 55%),
        var(--bg-card);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.premium-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(175, 252, 65, 0.12);
    border: 1px solid rgba(175, 252, 65, 0.35);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.premium-card h2 {
    margin-bottom: 28px;
    font-size: 1.9rem;
}

.premium-features {
    list-style: none;
    padding: 0;
    max-width: 540px;
    margin: 0 auto 36px auto;
    text-align: left;
}

.premium-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.6;
    color: var(--text-grey);
}

.premium-features li:last-child {
    border-bottom: none;
}

.premium-features strong {
    color: var(--text-light);
}

.premium-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(175, 252, 65, 0.15);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 90px 0;
    background-color: var(--bg-elevated);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.testimonials-grid {
    display: flex;
    flex-direction: row;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
}

.testimonials-grid::-webkit-scrollbar {
    height: 4px;
}

.testimonials-grid::-webkit-scrollbar-track {
    background: transparent;
}

.testimonials-grid::-webkit-scrollbar-thumb {
    background-color: var(--border-strong);
    border-radius: 2px;
}

.testimonial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    min-width: 280px;
    flex: 1;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
}

.testimonial-stars {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-card > p {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.reviewer {
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

.reviewer-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
}

.reviewer-date {
    color: var(--text-grey);
    font-size: 0.8rem;
}

/* --- SEO Benefits Section --- */
.seo-benefits {
    padding: 80px 0 40px;
    background-color: var(--bg-dark);
    color: var(--text-grey);
    text-align: center;
}

.seo-benefits h2 {
    margin-bottom: 30px;
    font-size: 1.9rem;
}

.seo-benefits p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    line-height: 1.7;
    text-align: left;
}

.seo-benefits p strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* --- Final CTA --- */
.final-cta {
    padding: 70px 0 90px;
    text-align: center;
    background:
        radial-gradient(60% 90% at 50% 100%, rgba(175, 252, 65, 0.08) 0%, transparent 70%),
        var(--bg-dark);
}

.final-cta h2 {
    margin-bottom: 12px;
}

.final-cta p {
    margin-bottom: 28px;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-grey);
    font-size: 0.9rem;
}

.footer-link {
    color: var(--text-grey);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--text-light);
    text-decoration: underline;
}

/* --- Responsive Design --- */

/* Medium Screens (Tablets, smaller desktops) */
@media (max-width: 992px) {
    .floating-chart {
        width: 170px;
        opacity: 0.9;
    }

    .chart-left {
        transform: translateX(-260px) rotate(-8deg);
    }

    .chart-right {
        transform: translateX(100px) rotate(6deg);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .testimonials-grid { gap: 16px; }
}

/* Small Screens (Mobile) */
@media (max-width: 768px) {
    .container { padding: 0 18px; }

    .hero { padding: 60px 0 0; }
    .hero-content p { font-size: 1rem; }

    .rating-pill {
        gap: 8px;
        padding: 7px 14px;
        font-size: 0.82rem;
    }

    .btn-google-play {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        width: 85%;
        max-width: 240px;
        margin: 0 auto;
    }
    .btn-google-play img { height: 25px; }

    .phone-mockup {
        max-width: 250px;
        border-width: 6px;
        border-radius: 30px;
    }

    .hero-image-container { max-height: 430px; }

    .floating-chart {
        width: 125px;
        opacity: 0.85;
    }

    .chart-left {
        top: 12%;
        transform: translateX(-180px) rotate(-6deg);
    }

    .chart-right {
        top: 45%;
        transform: translateX(60px) rotate(6deg);
    }

    .features { padding: 70px 0 60px; }
    .features-grid { gap: 20px; }
    .feature-card { padding: 24px; }

    .how-it-works { padding: 60px 0; }
    .steps-grid { grid-template-columns: 1fr; gap: 24px; }
    .steps-grid::before { display: none; }

    .premium { padding: 20px 0 70px; }
    .premium-card { padding: 36px 24px; }

    .testimonials { padding: 60px 0; }
    .testimonials-grid { gap: 16px; }

    .final-cta { padding: 50px 0 70px; }
}

/* --- Policy Page Specific Styles --- */
.policy-container {
    padding-top: 40px;
    padding-bottom: 60px;
}

.policy-container h1 {
    text-align: center;
    margin-top: 1em;
    margin-bottom: 1.5em;
    font-size: 2.8rem;
}

.policy-container h2 {
    margin-top: 2em;
    margin-bottom: 1em;
    text-align: left;
    font-size: 1.8rem;
}

.policy-container h3 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-size: 1.3rem;
}

.policy-container p,
.policy-container ul {
    color: var(--text-light);
    margin-bottom: 1em;
}

.policy-container ul {
    list-style: disc;
    padding-left: 25px;
}

.policy-container strong {
    font-weight: 600;
    color: var(--primary-color);
}

.policy-container a {
    color: var(--primary-color);
    text-decoration: underline;
}

.policy-container a:hover {
    color: var(--primary-dark);
}
