@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700;800&family=Outfit:wght@400;500;600&display=swap');

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box;
}

:root {
    --green: #3de878;
    --green-dim: rgba(61, 232, 120, 0.22);
    --green-glow: rgba(61, 232, 120, 0.45);
    --glass: rgba(255, 255, 255, 0.07);
    --glass-hover: rgba(255, 255, 255, 0.11);
    --border: rgba(255, 255, 255, 0.13);
    --border-green: rgba(61, 232, 120, 0.38);
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.56);
    --dim: rgba(255, 255, 255, 0.28);
    --r: 16px;
    --max: 1100px;
}

html {
    scroll-behavior: smooth;
    background: #2a0d1a; /* fallback behind gradient div */
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: transparent;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Fixed gradient — replaces background-attachment:fixed which iOS Safari ignores */
.bg-gradient {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(152deg,
        #0c1e47 0%,
        #3d1a60 38%,
        #5e1535 72%,
        #2a0d1a 100%
    );
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 28px;
}

a { color: inherit; text-decoration: none; }

/* ── Floating Music Notes ─────────────────────────────────── */
.bg-notes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.note {
    position: absolute;
    color: rgba(255, 255, 255, 0.052);
    animation: noteDrift linear infinite;
    user-select: none;
    line-height: 1;
}

.n1 { font-size: 52px; top:  6%; left:  5%; animation-duration: 28s; animation-delay:    0s; }
.n2 { font-size: 28px; top: 18%; right: 8%; animation-duration: 22s; animation-delay:   -8s; }
.n3 { font-size: 40px; top: 44%; left:  3%; animation-duration: 32s; animation-delay:  -15s; }
.n4 { font-size: 56px; top: 60%; right: 5%; animation-duration: 25s; animation-delay:   -4s; }
.n5 { font-size: 22px; top: 80%; left: 14%; animation-duration: 20s; animation-delay:  -11s; }
.n6 { font-size: 44px; top: 35%; left: 80%; animation-duration: 30s; animation-delay:   -6s; }
.n7 { font-size: 30px; top: 70%; left: 60%; animation-duration: 24s; animation-delay:  -18s; }
.n8 { font-size: 20px; top: 88%; right:18%; animation-duration: 26s; animation-delay:   -2s; }

@keyframes noteDrift {
    0%   { transform: translateY(  0px) rotate(  0deg); opacity: 0.052; }
    25%  { transform: translateY(-16px) rotate(  7deg); opacity: 0.082; }
    50%  { transform: translateY( -8px) rotate( -4deg); opacity: 0.036; }
    75%  { transform: translateY(-22px) rotate(  9deg); opacity: 0.068; }
    100% { transform: translateY(  0px) rotate(  0deg); opacity: 0.052; }
}

/* ── Header ──────────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 30, 71, 0.62);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: var(--green);
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    color: #000;
    flex-shrink: 0;
    box-shadow: 0 0 14px var(--green-dim);
}

.nav-cta {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 999px;
    background: var(--green);
    color: #000;
    letter-spacing: -0.01em;
    transition: opacity 0.2s, transform 0.18s;
}

.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    padding: 96px 0 84px;
    position: relative;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    background: var(--green-dim);
    border: 1px solid var(--border-green);
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    margin-bottom: 26px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: dotPulse 2.4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1;   transform: scale(1);   }
    50%       { opacity: 0.4; transform: scale(0.65); }
}

.hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.07;
    margin-bottom: 22px;
}

.accent { color: var(--green); }

.subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.72;
    margin-bottom: 44px;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    background: var(--green);
    color: #000;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: -0.01em;
    transition: transform 0.18s, box-shadow 0.18s;
    box-shadow: 0 0 40px var(--green-dim), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 70px rgba(61, 232, 120, 0.5), 0 8px 28px rgba(0, 0, 0, 0.35);
}

.btn-play-icon {
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.58rem;
    flex-shrink: 0;
}

.hero-stat strong {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 2px;
}

.hero-stat {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ── Phone Mockup ─────────────────────────────────────────── */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at 50% 65%, rgba(61, 232, 120, 0.14), transparent 68%);
    pointer-events: none;
}

.phone {
    position: relative;
    z-index: 1;
    border-radius: 46px;
    background: #060606;
    border: 2px solid rgba(255, 255, 255, 0.18);
    padding: 12px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 40px 100px rgba(0, 0, 0, 0.65),
        0 0 80px rgba(61, 232, 120, 0.1);
    overflow: hidden;
}

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

.hero-visual .phone { width: 230px; }

/* ── Divider ─────────────────────────────────────────────── */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    position: relative;
    z-index: 1;
    margin: 0 28px;
}

/* ── Section Common ───────────────────────────────────────── */
.section-label {
    display: block;
    text-align: center;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-align: center;
    font-size: clamp(1.65rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.14;
    margin-bottom: 14px;
}

.section-intro {
    text-align: center;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 56px;
    font-size: 1rem;
    line-height: 1.72;
}

/* ── Features ─────────────────────────────────────────────── */
.features {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.feature-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 30px 26px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(61, 232, 120, 0.07), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.feature-card:hover {
    border-color: var(--border-green);
    background: var(--glass-hover);
    transform: translateY(-4px);
}

.feature-card:hover::after { opacity: 1; }

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ── Screenshots ──────────────────────────────────────────── */
.screenshots {
    padding: 80px 0 100px;
    position: relative;
    z-index: 1;
}

.phone-gallery {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 32px;
    flex-wrap: wrap;
}

.phone-gallery .phone {
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s;
    cursor: default;
}

.phone-gallery .phone:nth-child(1) {
    width: 200px;
    transform: rotate(-4deg) translateY(20px);
}

.phone-gallery .phone:nth-child(2) {
    width: 220px;
    transform: rotate(0deg) translateY(0px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.07),
        0 60px 120px rgba(0, 0, 0, 0.7),
        0 0 100px rgba(61, 232, 120, 0.18);
}

.phone-gallery .phone:nth-child(3) {
    width: 200px;
    transform: rotate(4deg) translateY(20px);
}

.phone-gallery .phone:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.03) !important;
    z-index: 2;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 60px 120px rgba(0, 0, 0, 0.6),
        0 0 100px rgba(61, 232, 120, 0.2) !important;
}

/* ── Editions ─────────────────────────────────────────────── */
.editions {
    padding: 80px 0 100px;
    position: relative;
    z-index: 1;
}

.editions-panel {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 60px 44px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.edition-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 760px;
    margin: 0 auto;
}

.edition-tags span {
    display: inline-block;
    padding: 7px 17px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border);
    letter-spacing: -0.01em;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.edition-tags span:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.tag-more {
    color: var(--muted) !important;
    font-style: italic;
    border-color: transparent !important;
    background: transparent !important;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 36px;
}

.testimonial-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 30px 26px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
    position: relative;
    overflow: hidden;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(61, 232, 120, 0.07), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

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

.testimonial-card:hover::after { opacity: 1; }

.stars {
    color: var(--green);
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.testimonial-card blockquote {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.testimonial-author {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}

.testimonial-sep {
    color: var(--dim);
    font-size: 0.82rem;
}

.testimonial-date {
    font-size: 0.82rem;
    color: var(--dim);
}

.testimonial-note {
    text-align: center;
    color: var(--dim);
    font-size: 0.82rem;
    font-style: italic;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--r);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: border-color 0.25s, background 0.25s;
    overflow: hidden;
}

.faq-item[open] {
    border-color: var(--border-green);
    background: var(--glass-hover);
}

.faq-question {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 26px;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    user-select: none;
    transition: color 0.2s;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question:hover { color: var(--green); }

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--green);
    font-size: 0.55rem;
    transition: border-color 0.25s, transform 0.25s;
}

.faq-icon::after {
    content: '▼';
    display: block;
    transition: transform 0.25s;
}

.faq-item[open] .faq-icon { border-color: var(--border-green); }
.faq-item[open] .faq-icon::after { transform: rotate(180deg); }

.faq-answer {
    padding: 0 26px 22px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.72;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}

/* ── Download ─────────────────────────────────────────────── */
.download {
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.play-ring-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 44px;
}

.play-ring {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    border: 3px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: ringGlow 3.2s ease-in-out infinite;
}

.play-ring::before {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 1px solid rgba(61, 232, 120, 0.22);
    animation: ringExpand 3.2s ease-in-out infinite;
}

.play-ring-icon {
    font-size: 2.4rem;
    color: var(--green);
    margin-left: 8px;
    line-height: 1;
}

@keyframes ringGlow {
    0%, 100% { box-shadow: 0 0 40px var(--green-dim), 0 0 80px rgba(61, 232, 120, 0.1); }
    50%       { box-shadow: 0 0 80px rgba(61, 232, 120, 0.5), 0 0 140px rgba(61, 232, 120, 0.2); }
}

@keyframes ringExpand {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50%       { opacity: 0.08; transform: scale(1.18); }
}

.download .section-title { margin-bottom: 14px; }

.download p {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 38px;
}

.badge-wrap {
    display: inline-block;
    transition: opacity 0.2s, transform 0.2s;
}

.badge-wrap:hover { opacity: 0.82; transform: translateY(-2px); }

.badge-wrap img {
    height: 58px;
    filter: invert(1);
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
    padding: 36px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

footer p { color: var(--dim); font-size: 0.85rem; }

.disclaimer {
    margin-top: 6px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.2);
}

/* ── Nav secondary link ───────────────────────────────────── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s;
}

.nav-link:hover { color: var(--text); }

/* ── Contact ──────────────────────────────────────────────── */
.contact {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.contact-form {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--muted);
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.form-input::placeholder { color: var(--dim); }

.form-input:focus {
    border-color: var(--border-green);
    background: var(--glass-hover);
    box-shadow: 0 0 0 3px rgba(61, 232, 120, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

.form-submit {
    align-self: flex-start;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    margin-top: 4px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-visual .phone { width: 190px; }
    .phone-glow { display: none; }
}

@media (max-width: 640px) {
    .hero { padding: 68px 0 56px; }

    .features, .editions, .download, .screenshots, .testimonials, .contact {
        padding: 60px 0;
    }

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

    .editions-panel { padding: 36px 22px; }

    .phone-gallery { gap: 16px; }
    .phone-gallery .phone { width: 150px !important; }
    .phone-gallery .phone:nth-child(1) { transform: rotate(-2deg) translateY(14px); }
    .phone-gallery .phone:nth-child(3) { transform: rotate(2deg) translateY(14px); }
}
