/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --p:       #6366f1;
    --p2:      #8b5cf6;
    --p-dark:  #4f46e5;
    --green:   #10b981;
    --red:     #ef4444;
    --txt:     #0f172a;
    --txt2:    #475569;
    --txt3:    #94a3b8;
    --bg:      #ffffff;
    --bg2:     #f8fafc;
    --bg3:     #f1f5f9;
    --border:  #e2e8f0;
    --shadow:  0 4px 24px rgba(0,0,0,.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,.12);
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--txt);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Safe area support for notched devices */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.logo img { border-radius: 10px; }
.logo-text { font-size: 22px; font-weight: 800; background: linear-gradient(135deg, var(--p), var(--p2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--txt2); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .2s; padding: 8px 4px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:hover { color: var(--p); }
.btn-nav-cta { background: linear-gradient(135deg, var(--p), var(--p2)); color: white !important; padding: 8px 20px; border-radius: 10px; font-weight: 600 !important; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
.mobile-menu-btn span { width: 22px; height: 2px; background: var(--txt); border-radius: 2px; transition: all .3s; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===== BUTTONS ===== */
.btn-primary, .btn-outline, .btn-ghost, .btn-white {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 12px; font-weight: 600; font-size: 15px;
    text-decoration: none; cursor: pointer; border: none; transition: all .25s; font-family: inherit;
    min-height: 44px; /* Minimum touch target size */
}
.btn-primary { background: linear-gradient(135deg, var(--p), var(--p2)); color: white; box-shadow: 0 4px 16px rgba(99,102,241,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,.45); }
.btn-primary:focus { outline: 3px solid rgba(99,102,241,.4); outline-offset: 2px; }
.btn-outline { background: transparent; color: var(--p); border: 2px solid var(--p); }
.btn-outline:hover { background: var(--p); color: white; }
.btn-outline:focus { outline: 3px solid rgba(99,102,241,.4); outline-offset: 2px; }
.btn-ghost { background: rgba(255,255,255,.15); color: white; border: 2px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.25); }
.btn-ghost:focus { outline: 3px solid rgba(255,255,255,.5); outline-offset: 2px; }
.btn-white { background: white; color: var(--p); font-weight: 700; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-white:focus { outline: 3px solid rgba(99,102,241,.4); outline-offset: 2px; }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 14px; min-height: 52px; }
.btn-block { width: 100%; }

/* ===== SECTION COMMON ===== */
.section-head { text-align: center; margin-bottom: 64px; }
.section-head h2 { font-size: 42px; font-weight: 800; margin-bottom: 12px; }
.section-head p { font-size: 18px; color: var(--txt2); }
.grad { background: linear-gradient(135deg, var(--p), var(--p2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== HERO ===== */
.hero { position: relative; padding: 148px 0 100px; overflow: hidden; }
.hero-glow {
    position: absolute; top: -200px; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(99,102,241,.12) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-tag { display: inline-block; background: var(--bg3); color: var(--txt2); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 20px; margin-bottom: 20px; }
.hero h1 { font-size: 54px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero-sub { font-size: 19px; color: var(--txt2); line-height: 1.7; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 24px; }
.proof-item { text-align: center; }
.proof-item strong { display: block; font-size: 26px; font-weight: 800; background: linear-gradient(135deg, var(--p), var(--p2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.proof-item span { font-size: 13px; color: var(--txt3); }
.proof-sep { width: 1px; height: 36px; background: var(--border); }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }
.phone-wrap { position: relative; animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }
.phone-frame { width: 300px; height: 600px; background: linear-gradient(135deg, var(--p), var(--p2)); border-radius: 40px; padding: 10px; box-shadow: 0 32px 64px rgba(99,102,241,.35); position: relative; }
.phone-frame::before { content:''; position:absolute; top:18px; left:50%; transform:translateX(-50%); width:90px; height:22px; background:rgba(0,0,0,.75); border-radius:11px; z-index:2; }
.phone-screen { width:100%; height:100%; background: linear-gradient(180deg,#f8fafc,#e2e8f0); border-radius:32px; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.phone-screen img { width:100%; height:100%; object-fit:cover; }
.phone-glow { position:absolute; bottom:-40px; left:50%; transform:translateX(-50%); width:200px; height:60px; background:rgba(99,102,241,.3); filter:blur(30px); border-radius:50%; }

/* ===== PROBLEM / SOLUTION ===== */
.problem-section { padding: 80px 0; background: var(--bg2); }
.problem-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center; max-width: 860px; margin: 0 auto; }
.problem-arrow { font-size: 36px; color: var(--txt3); text-align: center; }
.side-label { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.side-label--bad { color: var(--red); }
.side-label--good { color: var(--green); }
.problem-list, .solution-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.problem-list li, .solution-list li { font-size: 15px; padding: 12px 16px; border-radius: 10px; }
.problem-list li { background: rgba(239,68,68,.06); color: var(--txt2); }
.problem-list li::before { content: '✗ '; color: var(--red); font-weight: 700; }
.solution-list li { background: rgba(16,185,129,.06); color: var(--txt2); }
.solution-list li::before { content: '✓ '; color: var(--green); font-weight: 700; }

/* ===== FEATURES ===== */
.features { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feat-card { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 36px 28px; transition: all .3s; }
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feat-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feat-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feat-card p { font-size: 15px; color: var(--txt2); line-height: 1.65; }

/* ===== REVIEWS ===== */
.reviews-section { padding: 80px 0; background: var(--bg2); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: white; border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.review-stars { color: #f59e0b; font-size: 18px; margin-bottom: 12px; }
.review-card p { font-size: 15px; color: var(--txt2); line-height: 1.65; margin-bottom: 16px; font-style: italic; }
.review-author { font-size: 13px; font-weight: 600; color: var(--txt3); }

/* ===== PRICING ===== */
.pricing { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; max-width: 900px; margin: 0 auto; align-items: start; }

.price-card { background: white; border: 2px solid var(--border); border-radius: 24px; padding: 40px 36px; }
.price-card--premium { background: linear-gradient(135deg, var(--p) 0%, var(--p2) 100%); border: none; position: relative; }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg,#f093fb,#f5576c); color: white; padding: 5px 20px; border-radius: 20px; font-size: 13px; font-weight: 700; white-space: nowrap; }

.price-card-head { margin-bottom: 32px; }
.price-tier { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.price-val { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.price-num { font-size: 56px; font-weight: 800; line-height: 1; }
.price-cur { font-size: 26px; font-weight: 700; color: var(--txt2); }
.price-period { font-size: 16px; color: var(--txt3); margin-left: 4px; }
.price-desc { font-size: 14px; color: var(--txt3); }
.price-save { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); margin-top: 4px; min-height: 20px; }

/* Plan tabs */
.plan-tabs { display: flex; gap: 6px; margin-bottom: 20px; background: rgba(255,255,255,.15); border-radius: 12px; padding: 4px; }
.plan-tab { flex: 1; padding: 8px 4px; border: none; background: transparent; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 600; border-radius: 9px; cursor: pointer; transition: all .2s; font-family: inherit; }
.plan-tab.active { background: white; color: var(--p); }

.price-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.price-features li { font-size: 15px; color: var(--txt2); display: flex; align-items: center; gap: 10px; }
.price-features li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; background-size: 12px; background-repeat: no-repeat; background-position: center; }
.price-features li.ok::before { background-color: rgba(16,185,129,.15); background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2310b981' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.price-features li.no::before { background-color: rgba(148,163,184,.1); background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.price-features li.no { color: var(--txt3); }
.price-features--light li { color: rgba(255,255,255,.9); }
.price-features--light li.ok::before { background-color: rgba(255,255,255,.2); background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.price-note { text-align: center; font-size: 13px; color: rgba(255,255,255,.65); margin-top: 14px; }

/* ===== FAQ ===== */
.faq { padding: 80px 0; background: var(--bg2); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; padding: 22px 0; text-align: left; font-size: 17px; font-weight: 600; color: var(--txt); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: inherit; transition: color .2s; min-height: 44px; }
.faq-q:hover { color: var(--p); }
.faq-q svg { flex-shrink: 0; transition: transform .3s; width: 20px; height: 20px; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }
.faq-a p { font-size: 15px; color: var(--txt2); line-height: 1.7; }

/* ===== DOWNLOAD ===== */
.download { padding: 80px 0; background: linear-gradient(135deg, var(--p), var(--p2)); }
.download-inner { text-align: center; }
.download-text { max-width: 600px; margin: 0 auto; }
.download h2 { font-size: 40px; font-weight: 800; color: white; margin-bottom: 12px; }
.download p { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 36px; }
.store-btn { display: inline-flex; align-items: center; gap: 16px; background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.3); color: white; padding: 16px 32px; border-radius: 16px; text-decoration: none; transition: all .25s; min-height: 44px; }
.store-btn:hover { background: rgba(255,255,255,.25); transform: translateY(-3px); }
.store-sub { font-size: 12px; opacity: .8; text-align: left; }
.store-name { font-size: 22px; font-weight: 700; text-align: left; }

/* ===== FOOTER ===== */
.footer { background: #0f172a; color: white; padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; margin-bottom: 48px; }
.footer-brand p { color: rgba(255,255,255,.5); font-size: 14px; margin-top: 12px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 16px; color: rgba(255,255,255,.9); }
.footer-col a { display: block; color: rgba(255,255,255,.5); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px; text-align: center; color: rgba(255,255,255,.35); font-size: 13px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero-visual { order: -1; }
    .hero h1 { font-size: 42px; }
    .hero-btns { justify-content: center; }
    .hero-proof { justify-content: center; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .problem-grid { grid-template-columns: 1fr; }
    .problem-arrow { display: none; }
    .plan-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    
    /* Header */
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .nav-links.open { 
        display: flex; flex-direction: column; 
        position: absolute; top: 68px; left: 0; right: 0; 
        background: white; border-bottom: 1px solid var(--border); 
        padding: 20px 24px; gap: 16px; z-index: 99;
        box-shadow: 0 8px 24px rgba(0,0,0,.1);
    }
    .nav-links.open a {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        transition: background .2s;
    }
    .nav-links.open a:hover {
        background: var(--bg2);
    }
    .nav-links.open .btn-nav-cta {
        text-align: center;
        justify-content: center;
    }
    
    /* Hero */
    .hero { padding: 120px 0 72px; }
    .hero h1 { font-size: 34px; }
    .hero-sub { font-size: 16px; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns a { width: 100%; }
    .hero-proof { flex-wrap: wrap; gap: 16px; }
    .proof-sep { display: none; }
    
    /* Phone mockup */
    .phone-frame { width: 260px; height: 520px; }
    
    /* Sections */
    .section-head h2 { font-size: 30px; }
    .section-head p { font-size: 16px; }
    
    /* Features */
    .features-grid { grid-template-columns: 1fr; }
    .feat-card { padding: 28px 20px; }
    
    /* Problem/Solution */
    .problem-section { padding: 60px 0; }
    .problem-list, .solution-list { gap: 8px; }
    .problem-list li, .solution-list li { font-size: 14px; padding: 10px 14px; }
    
    /* Reviews */
    .reviews-grid { grid-template-columns: 1fr; }
    
    /* Pricing */
    .pricing { padding: 80px 0; }
    .pricing-grid { max-width: 100%; }
    .price-card { padding: 32px 24px; }
    .price-num { font-size: 48px; }
    .plan-cards { grid-template-columns: 1fr; max-width: 100%; }
    .plan-card { padding: 32px 24px; }
    .plan-amount { font-size: 48px; }
    
    /* FAQ */
    .faq { padding: 60px 0; }
    .faq-q { font-size: 16px; padding: 18px 0; }
    
    /* Download */
    .download { padding: 60px 0; }
    .download h2 { font-size: 32px; }
    .download p { font-size: 16px; margin-bottom: 28px; }
    .store-btn { padding: 14px 28px; gap: 12px; width: 100%; max-width: 320px; justify-content: center; }
    .store-name { font-size: 20px; }
    
    /* Footer */
    .footer { padding: 60px 0 32px; }
    .footer-cols { grid-template-columns: 1fr; gap: 24px; }
    .footer-col h4 { margin-bottom: 12px; }
    .footer-brand .logo { justify-content: center; }
    .footer-brand p { text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }
    
    /* Hero */
    .hero { padding: 100px 0 60px; }
    .hero h1 { font-size: 28px; line-height: 1.2; }
    .hero-sub { font-size: 15px; line-height: 1.6; }
    .hero-tag { font-size: 12px; padding: 5px 12px; }
    .stat-number { font-size: 22px; }
    .stat-label { font-size: 12px; }
    .hero-btns { gap: 12px; }
    .hero-btns a { font-size: 15px; padding: 14px 24px; }
    
    /* Phone */
    .phone-frame { width: 220px; height: 440px; }
    .carousel-dots { gap: 6px; }
    .cdot { min-width: 28px; min-height: 28px; }
    .cdot::before { width: 6px; height: 6px; }
    .cdot.active::before { width: 18px; }
    
    /* Buttons */
    .btn-primary, .btn-outline, .btn-ghost { font-size: 14px; padding: 12px 20px; }
    .btn-lg { font-size: 15px; padding: 14px 24px; }
    
    /* Sections */
    .section-head h2 { font-size: 26px; }
    .section-head p { font-size: 15px; }
    .section-head { margin-bottom: 48px; }
    
    /* Features */
    .features { padding: 80px 0; }
    .feat-card { padding: 24px 16px; }
    .feat-icon { width: 48px; height: 48px; }
    .feat-card h3 { font-size: 17px; }
    .feat-card p { font-size: 14px; line-height: 1.6; }
    
    /* Problem */
    .problem-section { padding: 48px 0; }
    .side-label { font-size: 15px; }
    
    /* Reviews */
    .reviews-section { padding: 60px 0; }
    .review-card { padding: 20px; }
    .review-card p { font-size: 14px; line-height: 1.6; }
    
    /* Pricing */
    .pricing { padding: 60px 0; }
    .price-card { padding: 28px 20px; }
    .price-num { font-size: 42px; }
    .price-features li { font-size: 14px; }
    .plan-card { padding: 28px 20px; }
    .plan-amount { font-size: 42px; }
    .plan-tab { font-size: 12px; padding: 10px 8px; }
    
    /* FAQ */
    .faq-q { font-size: 15px; line-height: 1.4; }
    .faq-a p { font-size: 14px; line-height: 1.6; }
    
    /* Download */
    .download h2 { font-size: 28px; }
    .store-btn { padding: 12px 24px; gap: 10px; }
    .store-name { font-size: 18px; }
    .store-sub { font-size: 11px; }
    
    /* Footer */
    .footer-brand { text-align: center; }
    .footer-links { text-align: center; }
    .footer-brand .logo { justify-content: center; }
    .footer-col a { font-size: 13px; padding: 6px 0; }
}

/* Landscape phones */
@media (max-width: 768px) and (orientation: landscape) {
    .hero { padding: 80px 0 60px; }
    .hero-inner { gap: 32px; }
    .phone-frame { width: 200px; height: 400px; }
    .hero h1 { font-size: 32px; }
    .hero-sub { font-size: 15px; }
    .section-head h2 { font-size: 28px; }
    .features { padding: 60px 0; }
    .pricing { padding: 60px 0; }
}

/* Extra small screens */
@media (max-width: 360px) {
    .hero h1 { font-size: 24px; }
    .hero-sub { font-size: 14px; }
    .hero-tag { font-size: 11px; }
    .phone-frame { width: 200px; height: 400px; }
    .section-head h2 { font-size: 24px; }
    .section-head p { font-size: 14px; }
    .feat-card h3 { font-size: 16px; }
    .feat-card p { font-size: 13px; }
    .price-num { font-size: 36px; }
    .download h2 { font-size: 24px; }
    .store-name { font-size: 16px; }
}

/* ===== APP SCREENS CAROUSEL ===== */
.phone-screen.phone-carousel {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    border-radius: 32px;
    display: block;
    padding: 0;
}

.app-screen {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    background: #0f172a;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .45s ease, transform .45s ease;
    pointer-events: none;
    overflow: hidden;
}
.app-screen.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

/* Top bar */
.app-topbar {
    background: #1e1b4b;
    padding: 28px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}
.app-topbar-title { font-size: 15px; font-weight: 700; color: #e2e8f0; }
.app-topbar-sub { font-size: 10px; color: rgba(199,210,254,.6); }

/* Tabs */
.app-tabs {
    display: flex;
    background: #1e1b4b;
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0;
}
.app-tab {
    flex: 1; text-align: center; padding: 8px 4px;
    font-size: 11px; font-weight: 600; color: rgba(199,210,254,.5);
    border-bottom: 2px solid transparent;
}
.app-tab--active { color: #a5b4fc; border-bottom-color: #6366f1; }

/* Oil widget */
.app-oil-widget {
    margin: 8px 10px 0;
    background: rgba(255,152,0,.1);
    border: 1px solid rgba(255,152,0,.3);
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    flex-shrink: 0;
}
.app-oil-icon { font-size: 16px; }
.app-oil-title { font-size: 10px; font-weight: 700; color: #fb923c; margin-bottom: 2px; }
.app-oil-sub { font-size: 9px; color: rgba(251,146,60,.8); line-height: 1.4; }

/* List */
.app-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    scrollbar-width: none;
}
.app-list::-webkit-scrollbar { display: none; }

/* Cards */
.app-card {
    background: rgba(255,255,255,.05);
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.07);
}
.app-card--orange { border: 2px solid rgba(255,152,0,.5); background: rgba(255,152,0,.06); }
.app-card-chip {
    display: inline-block;
    background: rgba(99,102,241,.25);
    color: #a5b4fc;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 5px;
}
.app-card-title { font-size: 12px; font-weight: 700; color: #e2e8f0; margin-bottom: 3px; }
.app-card-date { font-size: 9px; color: #64748b; margin-bottom: 6px; }
.app-card-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.app-card-total { font-size: 11px; font-weight: 700; color: #6366f1; margin-top: 4px; }
.app-card-mileage { font-size: 9px; color: #64748b; margin-top: 2px; }
.app-card-oil-badge {
    margin-top: 5px;
    background: rgba(255,152,0,.15);
    color: #fb923c;
    font-size: 9px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
}

/* Chips */
.chip {
    font-size: 9px; font-weight: 600;
    padding: 3px 8px; border-radius: 6px;
    display: inline-flex; align-items: center; gap: 3px;
}
.chip--blue { background: rgba(99,102,241,.2); color: #a5b4fc; }
.chip--teal { background: rgba(20,184,166,.2); color: #5eead4; }

/* Stat cards */
.app-stat-card {
    border-radius: 12px;
    padding: 14px;
    flex-shrink: 0;
}
.app-stat-card--purple { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.app-stat-label { font-size: 10px; color: rgba(255,255,255,.75); margin-bottom: 4px; }
.app-stat-value { font-size: 22px; font-weight: 800; color: white; }

/* Bar chart */
.app-bar-row {
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 6px; font-size: 9px; color: #94a3b8;
}
.app-bar-row span:first-child { width: 60px; flex-shrink: 0; }
.app-bar-row span:last-child { width: 44px; text-align: right; flex-shrink: 0; font-weight: 600; color: #e2e8f0; }
.app-bar { flex: 1; height: 6px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; }
.app-bar-fill { height: 100%; border-radius: 3px; }

/* Month rows */
.app-month-row {
    display: flex; justify-content: space-between;
    font-size: 10px; color: #94a3b8; padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

/* FAB */
.app-fab {
    position: absolute;
    bottom: 52px; right: 12px;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: white; font-weight: 300;
    box-shadow: 0 4px 12px rgba(99,102,241,.5);
    z-index: 2;
}

/* Bottom navbar */
.app-navbar {
    display: flex;
    background: #1e1b4b;
    border-top: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0;
    padding: 6px 0 10px;
}
.app-nav-item {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; gap: 2px;
    font-size: 16px; color: rgba(199,210,254,.35);
    cursor: pointer;
}
.app-nav-item span { font-size: 8px; font-weight: 500; }
.app-nav-item--active { color: #6366f1; }

/* Carousel dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.cdot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(99,102,241,.25);
    border: none; cursor: pointer;
    transition: all .3s;
    padding: 0;
    min-width: 32px; /* Larger touch target */
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.cdot::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(99,102,241,.25);
    transition: all .3s;
}
.cdot.active::before { 
    background: #6366f1; 
    width: 24px; 
    border-radius: 4px; 
}
.cdot:focus {
    outline: 2px solid rgba(99,102,241,.4);
    outline-offset: 2px;
}

/* Responsive carousel */
@media (max-width: 768px) {
    .phone-frame { width: 260px; height: 520px; }
    .app-topbar { padding: 24px 12px 8px; }
    .app-topbar-title { font-size: 14px; }
    .app-list { padding: 6px 8px; gap: 6px; }
    .app-card { padding: 8px 10px; }
    .app-fab { width: 32px; height: 32px; font-size: 18px; bottom: 48px; right: 10px; }
}

@media (max-width: 480px) {
    .phone-frame { width: 220px; height: 440px; }
    .app-topbar { padding: 20px 10px 6px; }
    .app-topbar-title { font-size: 13px; }
    .app-topbar-sub { font-size: 9px; }
    .app-oil-widget { margin: 6px 8px 0; padding: 6px 8px; }
    .app-oil-icon { font-size: 14px; }
    .app-oil-title { font-size: 9px; }
    .app-oil-sub { font-size: 8px; }
    .app-list { padding: 6px 8px; gap: 5px; }
    .app-card { padding: 8px 10px; border-radius: 10px; }
    .app-card-title { font-size: 11px; }
    .app-card-date { font-size: 8px; }
    .app-card-chip { font-size: 8px; padding: 2px 6px; }
    .chip { font-size: 8px; padding: 2px 6px; }
    .app-card-total { font-size: 10px; }
    .app-card-mileage { font-size: 8px; }
    .app-card-oil-badge { font-size: 8px; padding: 2px 6px; }
    .app-stat-value { font-size: 18px; }
    .app-stat-label { font-size: 9px; }
    .app-bar-row { font-size: 8px; gap: 4px; }
    .app-bar-row span:first-child { width: 50px; }
    .app-bar-row span:last-child { width: 38px; }
    .app-month-row { font-size: 9px; }
    .app-fab { width: 28px; height: 28px; font-size: 16px; bottom: 44px; right: 8px; }
    .app-navbar { padding: 4px 0 8px; }
    .app-nav-item { font-size: 14px; }
    .app-nav-item span { font-size: 7px; }
    .carousel-dots { gap: 6px; margin-top: 12px; }
    .cdot { min-width: 28px; min-height: 28px; }
    .cdot::before { width: 6px; height: 6px; }
    .cdot.active::before { width: 18px; }
}
