:root {
    --bg-page: #f2f2f4;
    --surface: #ffffff;
    --ink: #0d0d0f;
    --ink-soft: #63636b;
    --ink-faint: #9a9aa1;
    --line: rgba(13, 13, 15, 0.08);
    --hero-grad-1: #c4c4c8;
    --hero-grad-2: #eeeeef;
    --visual-grad-1: #1a1a1d;
    --visual-grad-2: #6a6a70;
    --radius-shell: 40px;
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-full: 999px;
    --shadow-soft: 0 20px 45px rgba(13, 13, 15, 0.08);
    --shadow-card: 0 12px 30px rgba(13, 13, 15, 0.14);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-page);
    color: var(--ink-soft);
    line-height: 1.6;
}

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

a {
    font-family: inherit;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.logo-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 8%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px rgba(13, 13, 15, 0.06);
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar nav a {
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s var(--ease);
}

.navbar nav a:hover {
    color: var(--ink);
}

.navbar nav a:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--visual-grad-1);
    outline-offset: 3px;
    border-radius: 4px;
}

/* BUTTONS */
.btn {
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 10px 24px rgba(13, 13, 15, 0.18);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(13, 13, 15, 0.24);
}

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--line);
}

.btn-secondary i {
    transition: transform 0.25s var(--ease);
}

.btn-secondary:hover {
    border-color: var(--ink);
    background: rgba(13, 13, 15, 0.03);
}

.btn-secondary:hover i {
    transform: translateX(3px);
}

.btn-light {
    background: var(--ink);
    color: #fff !important;
    padding: 10px 20px;
    font-size: 0.88rem;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 16px rgba(13, 13, 15, 0.16);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(13, 13, 15, 0.22);
}

/* Android APK download button in navbar */
.btn-app-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.10);
    color: #065f46 !important;
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    border-radius: var(--radius-full);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-app-nav i {
    font-size: 1.1rem;
    color: #16a34a;
}

.btn-app-nav:hover {
    background: rgba(16, 185, 129, 0.18);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
    color: #065f46 !important;
}

/* APK download button in hero CTA */
.btn-apk {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.30);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-apk i {
    font-size: 1.2rem;
}

.btn-apk:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(22, 163, 74, 0.38);
}

/* HERO */
.hero {
    padding: 130px 4% 60px;
    display: flex;
    justify-content: center;
}

.hero-shell {
    width: 100%;
    max-width: 1400px;
    background: linear-gradient(155deg, var(--hero-grad-1), var(--hero-grad-2));
    border-radius: var(--radius-shell);
    padding: 4px;
    box-shadow: var(--shadow-soft);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2rem;
    padding: 4.5rem 4rem;
}

.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(13, 13, 15, 0.08);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1.75rem;
}

.eyebrow-badge i {
    color: var(--visual-grad-1);
}

.headline {
    font-size: clamp(2.6rem, 5.2vw, 4.6rem);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 1.5rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.accent {
    background: linear-gradient(100deg, var(--visual-grad-1), var(--visual-grad-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtext {
    max-width: 460px;
    font-size: 1.08rem;
    color: var(--ink-soft);
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* HERO VISUAL */
.visual-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}

.visual-card {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl);
    background: linear-gradient(155deg, var(--visual-grad-1), var(--visual-grad-2));
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visual-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.22), transparent 55%);
}

.path-graphic {
    width: 78%;
    height: 82%;
}

.path-node {
    fill: #ffffff;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7));
}

.node-1 { animation: pulseNode 2.8s var(--ease) infinite; }
.node-2 { animation: pulseNode 2.8s var(--ease) infinite 0.5s; }
.node-3 { animation: pulseNode 2.8s var(--ease) infinite 1s; }
.node-4 { animation: pulseNode 2.8s var(--ease) infinite 1.5s; }

.path-line {
    stroke-dashoffset: 0;
    animation: dashFlow 6s linear infinite;
}

.trend-icon {
    position: absolute;
    bottom: 24px;
    left: 24px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.4rem;
}

.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.65rem 1rem 0.65rem 0.65rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-card);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ink);
    animation: floatChip 4.5s ease-in-out infinite;
}

.chip-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--visual-grad-2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.chip-check-alt {
    background: var(--visual-grad-1);
}

.chip-1 {
    top: 8%;
    left: -6%;
    animation-delay: 0s;
}

.chip-2 {
    top: 22%;
    left: 4%;
    animation-delay: 0.6s;
}

.float-card {
    position: absolute;
    bottom: 6%;
    right: -8%;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--surface);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    max-width: 240px;
    animation: floatChip 5.2s ease-in-out infinite 0.3s;
}

.float-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(13, 13, 15, 0.08);
    color: var(--visual-grad-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.float-card-title {
    font-weight: 700;
    color: var(--ink);
    font-size: 0.88rem;
    margin-bottom: 2px;
}

.float-card-sub {
    font-size: 0.76rem;
    color: var(--ink-faint);
}

@keyframes floatChip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulseNode {
    0%, 100% { opacity: 0.6; r: 7; }
    50% { opacity: 1; r: 9; }
}

@keyframes dashFlow {
    to { stroke-dashoffset: -160; }
}

/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* FEATURES */
.features-section {
    padding: 120px 8% 100px;
    scroll-margin-top: 80px;
}

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

.section-title {
    text-align: center;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: var(--ink);
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--ink-faint);
}

.features-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    background: var(--surface);
    padding: 2.25rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--line);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13, 13, 15, 0.1);
    border-color: transparent;
}

.feature-item h4 {
    color: var(--ink);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-item p {
    font-size: 0.92rem;
    color: var(--ink-faint);
}

.icon-circle {
    width: 56px;
    height: 56px;
    background: linear-gradient(155deg, var(--visual-grad-1), var(--visual-grad-2));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    font-size: 1.3rem;
    transition: transform 0.35s var(--ease);
}

.feature-item:hover .icon-circle {
    transform: scale(1.08) rotate(-4deg);
}

/* ABOUT */
.about-section {
    padding: 40px 8% 120px;
    scroll-margin-top: 80px;
}

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

.about-card {
    background: var(--surface);
    padding: 3rem;
    border-radius: var(--radius-xl);
    max-width: 900px;
    margin: auto;
    border: 1px solid var(--line);
    box-shadow: 0 10px 40px rgba(13, 13, 15, 0.05);
}

.about-card p {
    margin-bottom: 1rem;
    color: var(--ink-soft);
}

.about-card p:last-child {
    margin-bottom: 0;
}

/* FOOTER */
.site-footer {
    padding: 32px 8% 40px;
    border-top: 1px solid var(--line);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-nav {
    display: flex;
    gap: 1.75rem;
}

.footer-nav a {
    text-decoration: none;
    color: var(--ink-faint);
    font-weight: 600;
    font-size: 0.85rem;
    transition: color 0.2s var(--ease);
}

.footer-nav a:hover {
    color: var(--ink);
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: none;
    border: none;
    gap: 5px;
    border-radius: 10px;
    transition: background 0.2s ease;
    z-index: 1100;
    flex-shrink: 0;
}

.hamburger:hover {
    background: rgba(13,13,15,0.06);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.35s var(--ease), opacity 0.25s ease, width 0.3s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,13,15,0.35);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
}

/* MOBILE */
@media (max-width: 1000px) {
    .hero-grid {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        text-align: center;
    }

    .subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-group {
        justify-content: center;
    }

    .visual-content {
        min-height: 360px;
        margin-top: 2rem;
    }

    .visual-card {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-backdrop {
        display: block;
        pointer-events: none;
    }

    .navbar {
        padding: 12px 5%;
    }

    .navbar nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100dvh;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 80px 24px 40px;
        z-index: 1050;
        transition: right 0.4s var(--ease);
        box-shadow: -12px 0 40px rgba(13,13,15,0.12);
        border-left: 1px solid var(--line);
    }

    .navbar nav.open {
        right: 0;
    }

    .navbar nav a {
        display: flex !important;
        align-items: center;
        width: 100%;
        padding: 14px 16px;
        border-radius: 14px;
        font-size: 1rem;
        font-weight: 600;
        color: var(--ink-soft);
        transition: background 0.2s ease, color 0.2s ease;
        margin-bottom: 4px;
        text-decoration: none;
    }

    .navbar nav a:hover {
        background: rgba(13,13,15,0.05);
        color: var(--ink);
    }

    .navbar nav .btn-light {
        margin-top: 16px;
        background: var(--ink);
        color: #fff !important;
        justify-content: center;
        padding: 14px 20px;
        border-radius: var(--radius-full);
        box-shadow: 0 6px 16px rgba(13,13,15,0.16);
    }

    .navbar nav .btn-app-nav {
        background: rgba(16,185,129,0.10);
        color: #065f46 !important;
        border: 1.5px solid rgba(16,185,129,0.35);
        border-radius: var(--radius-full);
        margin-bottom: 4px;
    }

    .navbar nav .btn-app-nav:hover {
        background: rgba(16,185,129,0.18);
    }

    .logo {
        font-size: 1.1rem;
    }

    .hero {
        padding: 110px 4% 40px;
    }

    .hero-shell {
        border-radius: 28px;
    }

    .hero-grid {
        padding: 2.5rem 1.5rem;
    }

    .headline {
        font-size: 2.2rem;
    }

    .subtext {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-group .btn {
        justify-content: center;
        width: 100%;
    }

    .float-chip,
    .float-card {
        font-size: 0.75rem;
        padding: 0.5rem 0.85rem 0.5rem 0.5rem;
    }

    .chip-1 { left: 0; }
    .chip-2 { left: 6%; }
    .float-card { right: 0; max-width: 200px; }

    .features-section,
    .about-section {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-card {
        padding: 1.75rem;
        border-radius: 20px;
        font-size: 1rem;
    }

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

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}