@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --primary-color: #2F6FDB;
    --dark-blue: #102044;
    --text-color: #222936;
    --text-light: #687386;
    --background-color: #F8FAFC;
    --light-gray-bg: #EEF3F8;
    --border-color: #DCE4EE;
    --ink: #101624;
    --paper: #F7F5F0;
    --surface: #FFFFFF;
    --accent: #2F6FDB;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Be Vietnam Pro', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    text-rendering: geometricPrecision;
}

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

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

/* Header */
header {
    background: var(--background-color);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between; /* This will push the items to the edges */
    align-items: center;
}


.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
}

.logo img {
    height: 40px;
    margin-right: 12px;
}

.nav-links a {
    margin: 0 15px;
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.3s ease;
}

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

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #357ABD;
}

/* Hero Section */
#hero {
    text-align: center;
    padding: 80px 0;
}

#hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark-blue);
    max-width: 800px;
    margin: 0 auto 20px;
}

#hero p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 30px;
}

.app-stores {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.store-badge {
    display: inline-block; /* Ensure transform applies correctly */
    transition: transform 0.3s ease;
}

.store-badge:hover {
    transform: scale(1.05);
}

.store-badge img {
    height: 50px;
    display: block; /* Remove any extra space below the image */
}

.hero-images {
    margin-top: 50px;
}

.hero-images .main-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Features Section */
#features {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-card img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

/* Supported Languages Section */
#supported-languages {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.language-ribbon {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.language-ribbon::before,
.language-ribbon::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.language-ribbon::before {
    left: 0;
    background: linear-gradient(to right, #f9f9f9, transparent);
}

.language-ribbon::after {
    right: 0;
    background: linear-gradient(to left, #f9f9f9, transparent);
}

.ribbon-track {
    display: flex;
    width: calc(200px * 20); /* 20 flags * 200px width per flag */
    animation: scroll 40s linear infinite;
}

.ribbon-track img {
    height: 60px;
    margin: 0 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ribbon-track img:hover {
    transform: scale(1.15);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 10)); /* Scroll by the width of 10 flags */
    }
}

/* Testimonials Section */
#testimonials {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}

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

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.testimonial-card .quote {
    font-style: italic;
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 20px;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--dark-blue);
    text-align: right;
}

/* Get Started Section */
#get-started {
    padding: 80px 0;
}

.get-started-content {
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.get-started-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.get-started-text p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.get-started-image img {
    max-width: 250px;
    height: auto;
}

.get-started-content-centered {
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 60px 0 20px;
}

footer .logo {
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about p {
    max-width: 250px;
    color: rgba(255,255,255,0.7);
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer .social-icons a:hover {
    transform: scale(1.1);
}

.footer-support {
    text-align: left;
    max-width: 300px;
}

.footer-support h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-support p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-support a {
    color: #63b3ed;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-support a:hover {
    color: #90cdf4;
    text-decoration: underline;
}

@keyframes zoom-in-out {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.store-badge.highlight-animation {
    animation: zoom-in-out 0.8s ease-in-out;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 992px) {
    .get-started-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simple hide for mobile, can be replaced with a hamburger menu */
    }

    #hero h1 {
        font-size: 36px;
    }

    .get-started-content {
        padding: 40px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-about p {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 32px;
    }

    #hero p {
        font-size: 16px;
    }

    .app-stores {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .store-badge img {
        height: 45px;
    }

    .section-header h2, .get-started-text h2 {
        font-size: 28px;
    }
}

/* Wavento app directory and GPLX static pages */
.site-header {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.88);
    padding: 12px 0;
}

.nav-action {
    color: var(--dark-blue);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: background-color 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.nav-action:hover {
    background: #f0f7ff;
    border-color: rgba(74, 144, 226, 0.3);
    transform: translateY(-1px);
}

.nav-action:active,
.btn:active,
.store-button:active {
    transform: translateY(1px);
}

.apps-page,
.gplx-page {
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 191, 87, 0.18), transparent 28rem),
        radial-gradient(circle at 0% 18%, rgba(74, 144, 226, 0.14), transparent 30rem),
        #fbfcff;
}

.directory-hero {
    padding: 72px 0 44px;
}

.directory-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
    gap: 34px;
    align-items: stretch;
}

.directory-copy {
    max-width: 780px;
}

.section-kicker,
.app-row-type {
    color: #1d73c9;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.directory-copy h1,
.gplx-hero h1 {
    color: var(--dark-blue);
    font-size: clamp(38px, 5.2vw, 64px);
    font-weight: 800;
    line-height: 0.98;
    margin: 12px 0 18px;
    max-width: 850px;
    text-wrap: balance;
}

.directory-copy p:not(.section-kicker),
.hero-summary,
.list-heading p,
.app-row p,
.feature-mosaic p,
.download-panel p {
    color: #596579;
    font-size: 17px;
    line-height: 1.75;
    max-width: 66ch;
}

.directory-panel {
    display: grid;
    align-content: end;
    min-height: 280px;
    padding: 28px;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(13, 36, 79, 0.96), rgba(29, 115, 201, 0.88)),
        var(--dark-blue);
    color: white;
    box-shadow: 0 24px 70px rgba(13, 36, 79, 0.18);
}

.directory-number {
    font-size: 84px;
    font-weight: 800;
    line-height: 0.9;
}

.directory-label {
    font-size: 17px;
    font-weight: 700;
    margin-top: 12px;
}

.directory-note {
    color: rgba(255, 255, 255, 0.72);
    margin-top: 8px;
}

.apps-list-section {
    padding: 20px 0 96px;
}

.list-heading {
    margin-bottom: 24px;
}

.list-heading h2,
.feature-band h2,
.screenshot-gallery h2,
.download-panel h2 {
    color: var(--dark-blue);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    margin-bottom: 12px;
    text-wrap: balance;
}

.app-row {
    display: grid;
    grid-template-columns: minmax(300px, 1.2fr) minmax(240px, 0.8fr);
    gap: 28px;
    align-items: center;
    padding: 28px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 70px rgba(13, 36, 79, 0.09);
}

.app-row + .app-row {
    margin-top: 18px;
}

.app-row-featured {
    grid-template-columns: minmax(320px, 1.05fr) minmax(270px, 0.75fr);
}

.app-row-identity {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.app-row-icon {
    width: 92px;
    height: 92px;
    border-radius: 22px;
    box-shadow: 0 16px 34px rgba(13, 36, 79, 0.16);
}

.app-row h3 {
    color: var(--dark-blue);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.1;
    margin: 4px 0 10px;
}

.app-row-shots {
    display: flex;
    justify-content: flex-end;
    min-height: 260px;
    padding-right: 14px;
}

.app-row-shots img {
    width: min(31%, 120px);
    min-width: 84px;
    aspect-ratio: 265 / 592;
    object-fit: cover;
    border-radius: 20px;
    border: 5px solid #101827;
    box-shadow: 0 18px 36px rgba(13, 36, 79, 0.16);
}

.app-row-shots img:nth-child(1) {
    transform: rotate(-5deg) translateX(24px) translateY(20px);
}

.app-row-shots img:nth-child(2) {
    transform: rotate(2deg);
    z-index: 1;
}

.app-row-shots img:nth-child(3) {
    transform: rotate(6deg) translateX(-24px) translateY(24px);
}

.app-row-meta {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.app-stat {
    padding: 18px;
    border-radius: 14px;
    background: #f4f8fd;
}

.app-stat strong {
    display: block;
    color: var(--dark-blue);
    font-size: 32px;
    line-height: 1;
}

.app-stat span {
    display: block;
    color: #66758a;
    font-size: 14px;
    margin-top: 8px;
}

.app-row-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-secondary {
    color: var(--dark-blue);
    background: #eef5fd;
    border: 1px solid rgba(74, 144, 226, 0.18);
}

.btn-secondary:hover {
    background: #e2f0ff;
}

.app-row-coming {
    grid-template-columns: 1fr;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(244, 248, 253, 0.82)),
        #f4f8fd;
    border: 1px dashed rgba(13, 36, 79, 0.22);
    box-shadow: none;
}

.gplx-hero {
    padding: 64px 0 48px;
    overflow: hidden;
}

.gplx-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
    gap: 54px;
    align-items: center;
}

.app-title-lockup {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.app-title-lockup img {
    width: 86px;
    height: 86px;
    border-radius: 21px;
    box-shadow: 0 16px 34px rgba(13, 36, 79, 0.16);
}

.app-title-lockup p {
    color: #1d73c9;
    font-weight: 700;
    margin-bottom: 4px;
}

.hero-summary {
    font-size: 19px;
    margin: 22px 0 28px;
}

.store-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.store-button {
    display: inline-flex;
    min-width: 156px;
    flex-direction: column;
    justify-content: center;
    min-height: 58px;
    padding: 10px 18px;
    border-radius: 14px;
    color: var(--dark-blue);
    background: white;
    border: 1px solid rgba(13, 36, 79, 0.12);
    font-weight: 700;
    line-height: 1.05;
    box-shadow: 0 12px 28px rgba(13, 36, 79, 0.08);
    transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.store-button span {
    color: #66758a;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(13, 36, 79, 0.14);
}

.store-button-dark {
    color: white;
    background: #12264d;
}

.store-button-dark span {
    color: rgba(255, 255, 255, 0.72);
}

.hero-screenshot-stack {
    position: relative;
    min-height: 560px;
}

.shot {
    position: absolute;
    width: min(48vw, 280px);
    max-width: 48%;
    aspect-ratio: 265 / 592;
    object-fit: cover;
    border-radius: 32px;
    border: 8px solid #101827;
    box-shadow: 0 28px 80px rgba(13, 36, 79, 0.24);
}

.shot-back {
    left: 4%;
    top: 42px;
    transform: rotate(-8deg);
}

.shot-front {
    right: 8%;
    top: 0;
    transform: rotate(6deg);
}

.proof-strip {
    padding: 24px 0 70px;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.proof-grid div,
.feature-mosaic article {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    padding: 22px;
    box-shadow: 0 16px 46px rgba(13, 36, 79, 0.07);
}

.proof-grid strong {
    display: block;
    color: var(--dark-blue);
    font-size: 30px;
    line-height: 1;
}

.proof-grid span {
    display: block;
    color: #66758a;
    margin-top: 9px;
}

.feature-band,
.screenshot-gallery {
    padding: 76px 0;
}

.feature-mosaic {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 14px;
    margin-top: 24px;
}

.feature-mosaic article:nth-child(3) {
    background:
        linear-gradient(145deg, rgba(29, 115, 201, 0.92), rgba(13, 36, 79, 0.94)),
        var(--dark-blue);
}

.feature-mosaic article:nth-child(3) h3,
.feature-mosaic article:nth-child(3) p {
    color: white;
}

.feature-mosaic h3 {
    color: var(--dark-blue);
    font-size: 23px;
    margin-bottom: 8px;
}

.screenshot-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 230px);
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 10px 6px 24px;
    scroll-snap-type: inline mandatory;
}

.screenshot-rail img {
    width: 100%;
    aspect-ratio: 265 / 592;
    object-fit: cover;
    border-radius: 30px;
    border: 8px solid #101827;
    box-shadow: 0 18px 46px rgba(13, 36, 79, 0.18);
    scroll-snap-align: start;
}

.download-panel {
    padding: 42px 0 98px;
}

.download-panel-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 34px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 84% 12%, rgba(255, 191, 87, 0.28), transparent 18rem),
        #edf6ff;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 992px) {
    .directory-hero-grid,
    .gplx-hero-grid,
    .app-row,
    .app-row-featured {
        grid-template-columns: 1fr;
    }

    .directory-panel {
        min-height: 220px;
    }

    .app-row-shots {
        justify-content: center;
    }

    .hero-screenshot-stack {
        min-height: 480px;
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
    }

    .proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .download-panel-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .directory-hero,
    .gplx-hero {
        padding-top: 44px;
    }

    .directory-copy h1,
    .gplx-hero h1 {
        font-size: clamp(32px, 9.5vw, 46px);
    }

    .app-row {
        padding: 22px;
        border-radius: 16px;
    }

    .app-row-identity,
    .app-title-lockup {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 15px;
    }

    .app-row-icon,
    .app-title-lockup img {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .app-row-shots {
        min-height: 220px;
        padding-right: 0;
    }

    .app-row-meta,
    .proof-grid,
    .feature-mosaic {
        grid-template-columns: 1fr;
    }

    .hero-screenshot-stack {
        min-height: 330px;
    }

    .shot {
        width: min(44vw, 220px);
        max-width: 50%;
        border-radius: 26px;
        border-width: 6px;
    }

    .store-button {
        min-width: 148px;
    }
}

@media (max-width: 520px) {
    .directory-panel {
        min-height: 180px;
        padding: 22px;
    }

    .directory-number {
        font-size: 64px;
    }

    .app-row-shots img {
        min-width: 76px;
        border-width: 4px;
        border-radius: 16px;
    }

    .app-row-shots img:nth-child(1) {
        transform: rotate(-4deg) translateX(18px) translateY(18px);
    }

    .app-row-shots img:nth-child(3) {
        transform: rotate(5deg) translateX(-18px) translateY(20px);
    }

    .hero-screenshot-stack {
        min-height: 300px;
    }

    .shot-back {
        left: 0;
    }

    .shot-front {
        right: 0;
    }

    .screenshot-rail {
        grid-auto-columns: minmax(170px, 72vw);
    }
}

/* 2026 product-register redesign */
.site-header {
    background: rgba(248, 250, 252, 0.86);
    border-bottom: 1px solid rgba(16, 22, 36, 0.08);
    box-shadow: none;
}

.site-header .container {
    max-width: 1320px;
}

.logo {
    color: var(--ink);
    font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
    letter-spacing: -0.02em;
}

.logo img {
    border-radius: 3px;
}

.nav-action {
    background: rgba(255, 255, 255, 0.68);
    border-color: rgba(16, 22, 36, 0.12);
    border-radius: 999px;
    color: var(--ink);
    min-width: 104px;
    text-align: center;
}

.nav-action:focus-visible,
.btn:focus-visible,
.store-button:focus-visible {
    outline: 3px solid rgba(47, 111, 219, 0.3);
    outline-offset: 3px;
}

.apps-page,
.gplx-page {
    background:
        linear-gradient(90deg, rgba(16, 22, 36, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(16, 22, 36, 0.03) 1px, transparent 1px),
        var(--paper);
    background-size: 72px 72px;
}

.apps-page::before,
.gplx-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    opacity: 0.18;
    background-image:
        radial-gradient(circle at 18% 22%, rgba(47, 111, 219, 0.16), transparent 24rem),
        radial-gradient(circle at 84% 12%, rgba(16, 22, 36, 0.12), transparent 18rem);
}

.directory-hero {
    padding: clamp(64px, 10vw, 128px) 0 56px;
}

.directory-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
    max-width: 1320px;
    gap: clamp(28px, 7vw, 96px);
}

.apps-page .directory-copy h1,
.apps-page .list-heading h2 {
    font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
    letter-spacing: -0.055em;
}

.directory-copy h1 {
    color: var(--ink);
    font-size: clamp(48px, 9vw, 118px);
    line-height: 0.88;
    max-width: 920px;
}

.directory-copy p:not(.section-kicker) {
    color: #4c5668;
    font-size: clamp(17px, 2vw, 22px);
    max-width: 620px;
}

.section-kicker,
.app-row-type {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 0.14em;
}

.directory-panel {
    min-height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 42%),
        #111827;
    box-shadow: 0 34px 80px rgba(16, 22, 36, 0.18);
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 260ms ease, box-shadow 260ms ease;
}

.directory-panel.is-tilting {
    box-shadow: 0 44px 90px rgba(16, 22, 36, 0.24);
}

.directory-number {
    font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
    font-size: clamp(76px, 9vw, 132px);
    letter-spacing: -0.08em;
}

.directory-label {
    font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.directory-note {
    max-width: 28ch;
}

.apps-list-section {
    padding: 24px 0 120px;
}

.apps-list-section .container {
    max-width: 1320px;
}

.list-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.48fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 34px;
    padding-top: 28px;
    border-top: 1px solid rgba(16, 22, 36, 0.14);
}

.list-heading h2 {
    color: var(--ink);
    font-size: clamp(40px, 6vw, 76px);
    margin: 0;
}

.list-heading p {
    margin-left: auto;
    max-width: 440px;
}

.app-row {
    position: relative;
    grid-template-columns: minmax(360px, 0.86fr) minmax(340px, 0.64fr);
    gap: clamp(24px, 4vw, 58px);
    overflow: hidden;
    padding: clamp(24px, 4.5vw, 58px);
    border: 1px solid rgba(16, 22, 36, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: none;
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 260ms ease, border-color 260ms ease, background-color 260ms ease;
}

.app-row::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(47, 111, 219, 0.08), transparent);
}

.app-row:hover {
    border-color: rgba(47, 111, 219, 0.28);
    background: rgba(255, 255, 255, 0.86);
}

.app-row-identity {
    position: relative;
    z-index: 1;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 24px;
}

.app-row-icon {
    width: 104px;
    height: 104px;
    border-radius: 24px;
    box-shadow: 0 16px 38px rgba(16, 22, 36, 0.12);
}

.app-row h3 {
    color: var(--ink);
    font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
    font-size: clamp(34px, 4vw, 58px);
    letter-spacing: -0.055em;
}

.app-row p {
    color: #4c5668;
}

.app-row-shots {
    position: relative;
    z-index: 1;
    min-height: 0;
    height: clamp(264px, 24vw, 298px);
    justify-content: center;
    align-items: center;
    padding-right: 0;
}

.app-row-shots img {
    width: auto;
    height: 100%;
    min-width: 0;
    max-width: 32%;
    border: 6px solid #111827;
    border-radius: 28px;
    box-shadow: 0 26px 56px rgba(16, 22, 36, 0.18);
    aspect-ratio: 265 / 520;
    object-fit: cover;
    object-position: center 48%;
    background: #f8fbff;
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.app-row:hover .app-row-shots img:nth-child(1) {
    transform: rotate(-7deg) translateX(18px) translateY(4px);
}

.app-row:hover .app-row-shots img:nth-child(2) {
    transform: rotate(0deg) translateY(-14px);
}

.app-row:hover .app-row-shots img:nth-child(3) {
    transform: rotate(7deg) translateX(-18px) translateY(8px);
}

.app-row-meta {
    position: relative;
    z-index: 1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(16, 22, 36, 0.12);
    padding-top: 20px;
}

.app-stat {
    padding: 0 18px 0 0;
    border-radius: 0;
    background: transparent;
}

.app-stat + .app-stat {
    border-left: 1px solid rgba(16, 22, 36, 0.12);
    padding-left: 18px;
}

.app-stat strong,
.proof-grid strong {
    color: var(--ink);
    font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
    font-variant-numeric: tabular-nums;
}

.app-row-actions {
    position: relative;
    z-index: 1;
}

.btn {
    border-radius: 999px;
    padding: 12px 18px;
}

.btn-primary {
    background: var(--ink);
    color: white;
}

.btn-primary:hover {
    background: #273245;
}

.btn-secondary {
    background: transparent;
    border-color: rgba(16, 22, 36, 0.14);
}

.btn-secondary:hover {
    background: rgba(47, 111, 219, 0.08);
}

.btn-store-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-store-mini img {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.app-row-coming {
    border-style: solid;
    background: rgba(255, 255, 255, 0.34);
}

.gplx-page {
    background:
        linear-gradient(90deg, rgba(16, 22, 36, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(16, 22, 36, 0.025) 1px, transparent 1px),
        #F7FAFD;
    background-size: 72px 72px;
}

.gplx-hero {
    padding: clamp(54px, 8vw, 104px) 0 32px;
}

.gplx-hero-grid {
    max-width: 1320px;
    grid-template-columns: minmax(0, 0.86fr) minmax(380px, 0.74fr);
}

.gplx-hero h1 {
    color: var(--ink);
    font-size: clamp(46px, 6.2vw, 88px);
    line-height: 0.92;
    letter-spacing: -0.045em;
}

.app-title-lockup p {
    color: var(--accent);
}

.hero-summary {
    color: #4c5668;
    font-size: clamp(18px, 2vw, 22px);
    max-width: 660px;
}

.store-button {
    position: relative;
    border-radius: 18px;
    border-color: rgba(16, 22, 36, 0.12);
    box-shadow: none;
    padding-left: 56px;
}

.store-button img {
    position: absolute;
    left: 18px;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
}

.store-button-dark img {
    filter: brightness(0) invert(1);
}

.store-button-dark {
    background: var(--ink);
}

.hero-screenshot-stack {
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 260ms ease;
}

.shot {
    border-color: #111827;
    box-shadow: 0 34px 80px rgba(16, 22, 36, 0.22);
}

.proof-grid {
    max-width: 1320px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.proof-grid div,
.feature-mosaic article {
    border: 1px solid rgba(16, 22, 36, 0.1);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: none;
}

.feature-band .container,
.screenshot-gallery .container,
.download-panel .container {
    max-width: 1320px;
}

.feature-band h2,
.screenshot-gallery h2,
.download-panel h2 {
    color: var(--ink);
    max-width: 760px;
}

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

.feature-mosaic article {
    min-height: 190px;
}

.feature-mosaic article:nth-child(1) {
    grid-row: span 2;
    min-height: 394px;
}

.feature-mosaic article:nth-child(3) {
    background: #111827;
}

.feature-mosaic h3 {
    color: var(--ink);
    font-size: 25px;
}

.screenshot-rail {
    grid-auto-columns: minmax(210px, 248px);
    gap: 22px;
}

.screenshot-rail img {
    border-color: #111827;
    box-shadow: 0 26px 56px rgba(16, 22, 36, 0.18);
}

.download-panel-inner {
    border: 1px solid rgba(16, 22, 36, 0.1);
    background: #111827;
    color: white;
}

.download-panel-inner h2,
.download-panel-inner p {
    color: white;
}

.download-panel-inner p {
    opacity: 0.72;
}

.download-panel-inner .store-button:not(.store-button-dark) {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.18);
}

.download-panel-inner .store-button:not(.store-button-dark) span {
    color: rgba(255, 255, 255, 0.64);
}

.is-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 620ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

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

@media (max-width: 992px) {
    .directory-hero-grid,
    .gplx-hero-grid,
    .list-heading,
    .app-row,
    .app-row-featured {
        grid-template-columns: 1fr;
    }

    .directory-panel {
        min-height: 300px;
    }

    .app-row-meta,
    .proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .feature-mosaic article:nth-child(1) {
        grid-row: auto;
        min-height: 190px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 10px 0;
    }

    .logo {
        font-size: 22px;
    }

    .directory-hero {
        padding-top: 48px;
    }

    .directory-copy h1,
    .gplx-hero h1 {
        font-size: clamp(40px, 12vw, 58px);
        line-height: 0.94;
    }

    .directory-panel {
        border-radius: 22px;
    }

    .list-heading {
        align-items: start;
    }

    .app-row {
        border-radius: 22px;
    }

    .app-row-identity {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    .app-row-icon {
        width: 80px;
        height: 80px;
        border-radius: 20px;
    }

    .app-row h3 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .app-row-shots {
        height: clamp(226px, 58vw, 270px);
        min-height: 0;
    }

    .app-row-meta,
    .proof-grid,
    .feature-mosaic {
        grid-template-columns: 1fr;
    }

    .app-stat + .app-stat {
        border-left: 0;
        border-top: 1px solid rgba(16, 22, 36, 0.12);
        padding-left: 0;
        padding-top: 14px;
    }

    .hero-screenshot-stack {
        min-height: 350px;
    }

    .screenshot-rail {
        grid-auto-columns: minmax(176px, 72vw);
    }
}

/* Legal pages */
.legal-page {
    background:
        linear-gradient(90deg, rgba(16, 22, 36, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(16, 22, 36, 0.03) 1px, transparent 1px),
        var(--paper);
    background-size: 72px 72px;
    color: var(--text-color);
}

.legal-shell {
    min-height: 100dvh;
}

.legal-header {
    padding: 12px 0;
}

.legal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
}

.legal-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.legal-brand img {
    width: 40px;
    height: 40px;
    border-radius: 3px;
}

.legal-layout {
    max-width: 1120px;
    padding-top: clamp(48px, 8vw, 96px);
    padding-bottom: 96px;
}

.legal-hero {
    display: grid;
    gap: 16px;
    margin-bottom: 34px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(16, 22, 36, 0.14);
}

.legal-hero h1 {
    color: var(--ink);
    font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
    font-size: clamp(48px, 8vw, 94px);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.055em;
    margin: 0;
}

.legal-hero p:not(.section-kicker) {
    max-width: 720px;
    color: #4c5668;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.7;
}

.legal-hero span {
    color: #687386;
    font-size: 14px;
    font-weight: 600;
}

.legal-card {
    padding: clamp(24px, 5vw, 56px);
    border: 1px solid rgba(16, 22, 36, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
}

.legal-card .prose {
    color: #303947;
    font-size: 16px;
    line-height: 1.82;
}

.legal-card .prose h2 {
    color: var(--ink);
    font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin-top: 2.4rem;
}

.legal-card .prose h3 {
    color: var(--ink);
    font-size: 19px;
    font-weight: 700;
}

.legal-card .prose ul {
    list-style-position: outside;
    padding-left: 1.35rem;
}

.legal-card .prose li {
    margin-bottom: 0.55rem;
}

.legal-card .prose a {
    color: var(--accent);
    font-weight: 600;
}

.legal-product-note {
    margin: 34px 0;
    padding: 22px;
    border: 1px solid rgba(47, 111, 219, 0.16);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(47, 111, 219, 0.08), rgba(255, 255, 255, 0.56)),
        rgba(255, 255, 255, 0.72);
}

.legal-product-note > div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.legal-product-note img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(16, 22, 36, 0.12);
}

.legal-product-note h3 {
    margin: 0 0 8px;
}

.legal-product-note p {
    margin: 0;
}

@media (max-width: 640px) {
    .legal-layout {
        padding-top: 44px;
        padding-bottom: 72px;
    }

    .legal-card {
        border-radius: 22px;
    }

    .legal-product-note > div {
        grid-template-columns: 1fr;
    }
}
