/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #1a1a2e;
    overflow-x: hidden;
}

/* === VARIABLES === */
:root {
    --green: #10B981;
    --green-dark: #059669;
    --navy: #0F172A;
    --navy-2: #1E293B;
    --indigo: #6366F1;
    --text-muted: #64748B;
    --border: rgba(0,0,0,0.08);
}

/* === NAV === */
.navbar-custom {
    background: rgba(15,23,42,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 14px 0;
    transition: all 0.3s;
}
.navbar-custom .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.navbar-custom .brand-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
}
.navbar-custom .nav-link {
    color: rgba(255,255,255,0.72) !important;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 13px !important;
    border-radius: 8px;
    transition: all 0.2s;
}
.navbar-custom .nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.09);
}
.btn-nav-cta {
    background: linear-gradient(135deg, var(--green), var(--green-dark)) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 8px 22px !important;
    font-weight: 600 !important;
}
.btn-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(16,185,129,0.45) !important;
}
.navbar-toggler { border-color: rgba(255,255,255,0.2); }
.navbar-toggler-icon { filter: invert(1); }

/* === HERO === */
.hero {
    background: linear-gradient(140deg, #0F172A 0%, #1E293B 55%, #0d2118 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 110px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -150px;
    width: 650px; height: 650px;
    background: radial-gradient(circle, rgba(16,185,129,0.14) 0%, transparent 68%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -200px; left: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16,185,129,0.13);
    border: 1px solid rgba(16,185,129,0.28);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}
.hero-badge .dot {
    width: 7px; height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.75); }
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.14;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, #10B981, #34D399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p.lead {
    color: rgba(255,255,255,0.62);
    font-size: 1.05rem;
    line-height: 1.72;
    margin-bottom: 36px;
    max-width: 500px;
}
.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}
.btn-store {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    padding: 12px 22px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}
.btn-store:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.28);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.3);
}
.btn-store .store-icon { font-size: 1.8rem; line-height: 1; }
.btn-store .store-text small {
    display: block;
    font-size: 0.63rem;
    opacity: 0.68;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 500;
}
.btn-store .store-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}
.hero-stats {
    display: flex;
    gap: 28px;
}
.hero-stats .stat {
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
}
.hero-stats .stat strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
}

/* === PHONE MOCKUPS === */
.phones-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 18px;
    padding: 20px 10px 40px;
}
.phone-mock {
    border-radius: 36px;
    overflow: hidden;
    position: relative;
}
.phone-mock img {
    display: block;
    width: 100%;
    height: auto;
}
.phone-mock.android-phone {
    width: 185px;
    border-radius: 28px;
    transform: translateY(20px) rotate(-3deg);
    box-shadow: 0 25px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08);
}
.phone-mock.ios-phone {
    width: 205px;
    border-radius: 36px;
    z-index: 2;
    box-shadow: 0 35px 90px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.13);
}
.platform-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.65);
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* === SECTION COMMON === */
section { padding: 88px 0; }
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--green);
    margin-bottom: 10px;
}
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.022em;
    margin-bottom: 14px;
}
.section-sub {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.72;
    max-width: 540px;
    margin: 0 auto 48px;
}

/* === FEATURES === */
.features-section { background: #F8FAFC; }
.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 22px;
    height: 100%;
    border: 1px solid #E2E8F0;
    transition: all 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 42px rgba(0,0,0,0.09);
    border-color: rgba(16,185,129,0.22);
}
.feature-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 16px;
}
.fi-green   { background: rgba(16,185,129,0.12); color: #10B981; }
.fi-indigo  { background: rgba(99,102,241,0.12);  color: #6366F1; }
.fi-orange  { background: rgba(249,115,22,0.12);  color: #F97316; }
.fi-blue    { background: rgba(59,130,246,0.12);  color: #3B82F6; }
.fi-pink    { background: rgba(236,72,153,0.12);  color: #EC4899; }
.fi-yellow  { background: rgba(234,179,8,0.12);   color: #EAB308; }
.fi-teal    { background: rgba(20,184,166,0.12);  color: #14B8A6; }
.fi-red     { background: rgba(239,68,68,0.12);   color: #EF4444; }
.feature-card h5 {
    font-size: 0.93rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* === SCREENSHOTS === */
.screenshots-section { background: var(--navy); }
.screenshots-section .section-title { color: #fff; }
.screenshots-section .section-sub { color: rgba(255,255,255,0.48); }
.platform-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}
.platform-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 26px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.14);
    background: transparent;
    color: rgba(255,255,255,0.58);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}
.platform-tab.active {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}
.platform-tab:hover:not(.active) {
    border-color: rgba(255,255,255,0.28);
    color: #fff;
}
.screenshots-scroll {
    overflow-x: auto;
    padding: 16px 0 44px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.screenshots-scroll::-webkit-scrollbar { display: none; }
.screenshots-track {
    display: flex;
    gap: 20px;
    width: max-content;
    margin: 0 auto;
    padding: 0 20px;
}
.screenshot-item { flex-shrink: 0; text-align: center; }
.screenshot-item img {
    border-radius: 22px;
    height: 400px;
    width: auto;
    box-shadow: 0 18px 55px rgba(0,0,0,0.5);
    transition: transform 0.3s;
    display: block;
}
.screenshot-item:hover img {
    transform: scale(1.04) translateY(-5px);
}
.screenshot-caption {
    margin-top: 14px;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.tab-pane-screenshots { display: none; }
.tab-pane-screenshots.active { display: block; }

/* === DOWNLOAD CTA === */
.download-cta {
    background: linear-gradient(140deg, #0F172A, #1a2f1f);
    text-align: center;
    padding: 110px 20px;
    position: relative;
    overflow: hidden;
}
.download-cta::before {
    content: '';
    position: absolute;
    top: -150px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(16,185,129,0.18) 0%, transparent 62%);
    pointer-events: none;
}
.download-cta h2 {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.download-cta p {
    color: rgba(255,255,255,0.58);
    max-width: 480px;
    margin: 0 auto 42px;
    font-size: 1.05rem;
}

/* === FAQ === */
.faq-section { background: #fff; }
.accordion-item {
    border: none;
    border-bottom: 1px solid #E2E8F0;
}
.accordion-button {
    font-weight: 600;
    color: #0F172A;
    font-size: 0.93rem;
    background: transparent !important;
    box-shadow: none !important;
    padding: 20px 0;
    font-family: 'Inter', sans-serif;
}
.accordion-button:not(.collapsed) { color: var(--green) !important; }
.accordion-body {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.72;
    padding: 0 0 20px;
}

/* === POLICY / ABOUT === */
.policy-section, .about-section { background: #F8FAFC; }
.content-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #E2E8F0;
    line-height: 1.82;
    color: #475569;
    font-size: 0.88rem;
}

/* === CONTACT === */
.contact-section { background: #fff; text-align: center; }
.contact-email-card {
    display: inline-block;
    background: #F8FAFC;
    border-radius: 18px;
    padding: 30px 52px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 22px rgba(0,0,0,0.05);
}
.contact-email-card a {
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
}
.contact-email-card a:hover { text-decoration: underline; }

/* === FOOTER === */
footer {
    background: var(--navy);
    padding: 52px 0 28px;
    color: rgba(255,255,255,0.45);
    font-size: 0.84rem;
}
footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
footer .footer-brand span { font-weight: 700; color: #fff; font-size: 0.98rem; }
footer a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--green); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
footer hr { border-color: rgba(255,255,255,0.07); margin: 28px 0 18px; }

/* === REVEAL ANIMATION === */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .hero { padding: 100px 0 60px; text-align: center; }
    .hero p.lead { margin-left: auto; margin-right: auto; }
    .download-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .phones-wrap { margin-top: 55px; }
}
@media (max-width: 576px) {
    .phone-mock.android-phone { width: 135px; }
    .phone-mock.ios-phone { width: 150px; }
    .screenshot-item img { height: 310px; }
    .content-card { padding: 24px; }
}
