/* Global / Navigation - Start */
.return-flag {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    padding: 0 48px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: color 0.2s, background 0.2s, transform 0.3s ease;
}

.scrolled .return-flag {
    transform: translateY(-100%);
}

.return-flag:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;

    --bg: #0a0a0a;
    --surface: #111111;
    --surface2: #181818;
    --border: rgba(255, 255, 255, 0.07);
    --accent: #E8FF47;
    --text: #f0f0f0;
    --muted: #666;
    --mid: #999;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.4;
}

.nav {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.scrolled .nav {
    transform: translateY(-40px);
}

.nav-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    color: var(--text);
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: #000;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
    background: #d4eb2a;
    transform: translateY(-1px);
}
/* Global / Navigation - End */

/* Main Page - Start */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    padding: 160px max(48px, calc((100% - 1104px) / 2)) 80px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(232, 255, 71, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.hero-left {
    max-width: 560px;
    animation: fadeUp 0.8s ease both;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--accent);
    transform: translateY(0.08em);
}

.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(4rem, 8vw, 7.5rem);
    line-height: 0.92;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-title .line2 {
    color: var(--accent);
    font-style: italic;
}

.hero-sub {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--mid);
    max-width: 420px;
    margin-bottom: 40px;
}

.hero-sub strong {
    color: var(--text);
    font-weight: 500;
}

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

.hero-image {
    width: min(100%, 300px);
    max-width: 540px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    background: #090909;
    margin: 0 auto;
    transform: rotate(4deg);
}

.hero-image img {
    width: 100%;
    display: block;
    height: auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #000;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 6px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 0 0 rgba(232, 255, 71, 0);
}

.btn-primary:hover {
    background: #d4eb2a;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(232, 255, 71, 0.2);
}

.btn-primary img {
    flex-shrink: 0;
}

.apple-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.hero-note {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeUp 0.8s 0.2s ease both;
    position: relative;
}

.tape-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
    white-space: nowrap;
    height: 48px;
    display: block;
}

.tape-inner {
    display: inline-flex;
    align-items: center;
    height: 100%;
    animation: scroll 25s linear infinite;
    gap: 0;
    flex-wrap: nowrap;
}

.tape-group {
    display: inline-flex;
    align-items: center;
    height: 100%;
    flex-wrap: nowrap;
}

.tape-item {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0;
    display: inline-flex;
    align-items: center;
}

.tape-item span {
    font-size: 0;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    margin: 0 40px;
    padding: 0;
    display: inline-block;
    transform: translateY(1px);
}

.features {
    padding: 120px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--accent);
    transform: translateY(0.08em);
}

.features-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 72px;
    max-width: 800px;
}

.features-heading em {
    font-style: italic;
    color: var(--accent);
}

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

.feature-card {
    background: var(--surface);
    padding: 40px 36px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 4rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.04);
    position: absolute;
    top: 24px;
    right: 28px;
    letter-spacing: -0.02em;
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(232, 255, 71, 0.08);
    border: 1px solid rgba(232, 255, 71, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon svg {
    color: var(--accent);
}

.feature-icon-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.feature-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--mid);
    font-weight: 300;
}

.feature-screenshot {
    width: min(100%, 300px);
    max-width: 300px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    margin: 32px auto 0;
}

.feature-screenshot img {
    width: 100%;
    display: block;
    height: auto;
}

.story {
    padding: 100px 48px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.story-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-image {
    width: min(100%, 320px);
    overflow: hidden;
    margin: 0 auto;
}

.story-image img {
    width: 100%;
    display: block;
    height: auto;
}

.story-quote {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.story-quote em {
    font-style: italic;
    color: var(--accent);
}

.story-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--mid);
    font-weight: 300;
    max-width: 460px;
}

.story-body p+p {
    margin-top: 16px;
}

.how {
    padding: 120px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 64px;
    position: relative;
}

.how-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 8px);
    right: calc(12.5% + 8px);
    height: 1px;
    background: var(--border);
}

.how-step {
    padding: 0 24px;
    position: relative;
    text-align: center;
}

.step-num {
    width: 56px;
    height: 56px;
    background: #000;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--accent);
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    cursor: default;
}

.how-step:hover .step-num {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    box-shadow: 0 0 24px rgba(232, 255, 71, 0.35);
}

.step-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--mid);
    font-weight: 300;
}

.stats-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    background: var(--surface);
    width: 100%;
}

.stat-item {
    padding: 48px 16px;
    text-align: center;
    border-right: 1px solid var(--border);
    flex: 0 0 33.3333%;
    width: 33.3333%;
    max-width: 33.3333%;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--accent);
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: 8px;
}

.stat-infinity {
    font-size: 5rem;
    margin-top: -12px;
    margin-bottom: -4px;
}

.stat-label {
    font-size: 1.05rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    display: block;
}

.cta-section {
    padding: 140px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 255, 71, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.cta-overline {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.0rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
}

.cta-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 32px;
    position: relative;
}

.cta-title .cta-line2 {
    display: block;
    color: var(--accent);
    font-style: italic;
}

.cta-title .title-case {
    text-transform: none;
    color: var(--text);
}

.cta-sub {
    font-size: 1.2rem;
    color: var(--mid);
    font-weight: 300;
    max-width: 400px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--text);
    color: var(--bg);
    text-decoration: none;
    padding: 16px 28px;
    border-radius: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.app-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(240, 240, 240, 0.1);
}

.app-store-text {
    text-align: left;
    text-transform: none;
}

.app-store-small {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    display: block;
    opacity: 0.7;
}

.app-store-large {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.03em;
    display: block;
    line-height: 1;
}

.trademark-note {
    font-size: 0.95rem;
    color: var(--mid);
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0;
    opacity: 0.8;
}
/* Main Page - End */

/* Footer - Start */
footer {
    border-top: 1px solid var(--border);
    padding: 28px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    flex: 1;
}

.footer-logo span {
    color: var(--accent);
}

.footer-links {
    font-size: 1.1rem;
    color: var(--text);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-size: 1.1rem;
    color: var(--text);
    letter-spacing: 0.04em;
    flex: 1;
    text-align: right;
}
/* Footer - End */

/* Animations - Start */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Animations - End */

/* Compact Views - Start */
@media (min-width: 600px) and (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .feature-card {
        display: grid;
        grid-template-columns: 180px 1fr;
        gap: 0 28px;
        align-items: start;
        padding: 28px 28px;
    }

    .feature-screenshot {
        grid-column: 1;
        grid-row: 1 / 5;
        width: 100%;
        max-width: 180px;
        margin: 0;
        align-self: start;
    }

    .feature-number {
        grid-column: 2;
    }

    .feature-icon {
        grid-column: 2;
        margin-bottom: 12px;
    }

    .feature-title {
        grid-column: 2;
    }

    .feature-desc {
        grid-column: 2;
    }
}

@media (max-width: 900px) {
    .return-flag {
        padding: 0 24px;
    }

    nav {
        padding: 18px 24px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 140px 24px 80px;
        text-align: center;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-sub {
        max-width: 100%;
        margin-left: 24px;
        margin-right: 24px;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-right {
        margin-top: 60px;
    }

    .features {
        padding: 80px 24px;
    }

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

    .feature-screenshot {
        max-width: 140px;
    }

    .features-heading {
        text-align: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .section-label {
        justify-content: center;
    }

    .feature-card {
        text-align: center;
    }

    .feature-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .story-quote {
        text-align: center;
    }

    .story-body {
        text-align: center;
        max-width: 100%;
        margin-left: 24px;
        margin-right: 24px;
    }

    .story {
        padding: 80px 24px;
    }

    .story-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .story-image {
        max-width: 320px;
        margin: 0 auto;
        aspect-ratio: auto;
    }

    .feature-screenshot {
        max-width: 180px;
        margin-left: auto;
        margin-right: auto;
    }

    .how {
        padding: 80px 24px;
    }

    .how-steps {
        grid-template-columns: 1fr;
        gap: 0;
        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .how-steps::before {
        display: none;
    }

    .how-step {
        padding: 0 0 0 80px;
        position: relative;
        padding-bottom: 36px;
        text-align: left;
    }

    .how-step:last-child {
        padding-bottom: 0;
    }

    .how-step::after {
        content: '';
        position: absolute;
        top: 56px;
        left: 27px;
        width: 1px;
        height: calc(100% - 56px);
        background: var(--border);
    }

    .how-step:last-child::after {
        display: none;
    }

    .how-step .step-num {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
    }

    .step-title {
        margin-top: 14px;
    }

    .stats-bar {
        flex-direction: column;
        padding: 0 24px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 36px 0;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

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

    .cta-section {
        padding: 80px 24px;
    }

    footer {
        padding: 24px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-logo, 
    .footer-copy {
        text-align: center;
    }
}
/* Compact Views - End */

/* Privacy & Terms - Start */
.secondary-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.flex-grow {
    flex-grow: 1;
}

.legal-page {
    padding-top: 160px;
    padding-bottom: 80px;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.privacy-text h1,
.terms-text h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: var(--text);
    margin-bottom: 8px;
    text-transform: uppercase;
    text-align: center;
}

.privacy-date,
.terms-date {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 48px;
    text-align: center;
    font-style: italic;
}

.privacy-header,
.terms-header {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text);
    margin-top: 40px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.privacy-section,
.terms-section {
    color: var(--mid);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 1.15rem;
}

.privacy-section a,
.terms-section a {
    color: var(--text);
    text-decoration: none;
}

.privacy-section a:hover,
.terms-section a:hover {
    text-decoration: underline;
}
/* Privacy & Terms - End */