/* ============================================================
   AllInOne — Premium app portfolio (Trip Saathi theme)
   ============================================================ */
:root {
    --brand: #1e6cd9;
    --brand-dark: #1e40af;
    --brand-soft: #e6efff;
    --accent: #f97316;
    --accent-soft: #ffeedd;
    --yellow: #ffcc00;
    --ink: #0f1a36;
    --text: #1a2238;
    --muted: #5b6478;
    --bg: #f5f8ff;
    --card: #ffffff;
    --border: #e5ecf8;
    --shadow-sm: 0 4px 14px rgba(15, 26, 54, 0.06);
    --shadow: 0 10px 30px rgba(15, 26, 54, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 26, 54, 0.14);
    --radius: 16px;
    --radius-lg: 22px;
    --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 22px;
}

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav .container,
.nav-inner {
    position: relative;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--ink);
    font-size: 19px;
    letter-spacing: -0.2px;
    text-decoration: none;
}

.brand:hover { text-decoration: none; }

.brand img {
    height: 48px;
    width: 48px;
    max-width: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    object-fit: contain;
    background: transparent;
}

.brand .brand-name { white-space: nowrap; }

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(30, 108, 217, 0.28);
}

.brand .accent { color: var(--accent); }

.nav-links { display: flex; gap: 18px; align-items: center; flex-wrap: nowrap; }
.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 14.5px;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-links .btn { padding: 9px 16px; font-size: 13.5px; white-space: nowrap; flex-shrink: 0; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: var(--brand);
    color: #fff !important;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14.5px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 6px 18px rgba(30, 108, 217, 0.28);
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 10px 22px rgba(30, 108, 217, 0.32); }

.btn.accent { background: var(--accent); box-shadow: 0 6px 18px rgba(249, 115, 22, 0.32); }
.btn.accent:hover { box-shadow: 0 10px 22px rgba(249, 115, 22, 0.4); }
.btn.ghost {
    background: transparent;
    color: var(--brand) !important;
    border: 2px solid var(--brand);
    box-shadow: none;
}
.btn.ghost:hover { background: var(--brand-soft); }
.btn.sm { padding: 8px 16px; font-size: 13.5px; }
.btn.yellow {
    background: #eab308;
    color: var(--ink) !important;
    box-shadow: 0 6px 18px rgba(234, 179, 8, 0.32);
}

.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2.4px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 90px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(1100px 520px at 85% -10%, rgba(249, 115, 22, 0.18), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(30, 108, 217, 0.18), transparent 60%),
        linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.05;
    letter-spacing: -1.4px;
    margin: 12px 0 18px;
    color: var(--ink);
    font-weight: 800;
}

.hero h1 .grad {
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p.lead {
    font-size: 18.5px;
    color: var(--muted);
    margin: 0 0 30px;
    max-width: 560px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-apps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.hero-app-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: var(--ink);
}

.hero-app-chip:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    text-decoration: none;
}

.hero-app-chip img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 10px;
}

.hero-app-chip strong {
    display: block;
    font-size: 14px;
    line-height: 1.2;
}

.hero-app-chip span {
    font-size: 12px;
    color: var(--muted);
}

.hero-visual {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: end;
}

.preview-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.preview-card:nth-child(2) { transform: translateY(-20px); }
.preview-card:hover { transform: translateY(-8px); }

.preview-card img {
    border-radius: 14px;
    width: 100%;
    aspect-ratio: 9/19;
    object-fit: cover;
    object-position: top;
}

.preview-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
}

.preview-label img {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    aspect-ratio: auto;
    object-fit: contain;
}

/* ---------- Stats ---------- */
.stats {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 36px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 28px;
    color: var(--brand);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-title {
    font-size: 36px;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
    color: var(--ink);
    text-align: center;
}
.section-sub {
    color: var(--muted);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 50px;
    font-size: 17px;
}

/* ---------- App overview cards ---------- */
.apps-overview { background: #fff; }
.apps-overview.alt { background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%); }

.app-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.app-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.app-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.app-card-header img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 14px;
}

.app-card-header h3 {
    margin: 0;
    font-size: 22px;
    color: var(--ink);
    letter-spacing: -0.3px;
}

.app-card-header p {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.app-card .tagline {
    font-size: 15px;
    color: var(--muted);
    margin: 0 0 18px;
    flex: 1;
}

.app-card .highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

.app-card .highlights li {
    font-size: 13.5px;
    color: var(--text);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-card .highlights li:last-child { border-bottom: none; }

.app-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

/* ---------- App detail sections ---------- */
.app-detail {
    scroll-margin-top: 90px;
}

.app-detail.alt { background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%); }

.app-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.app-badge.blue { background: var(--brand-soft); color: var(--brand-dark); }
.app-badge.orange { background: var(--accent-soft); color: #c2410c; }
.app-badge.yellow { background: #fef9c3; color: #854d0e; }

.app-detail-header h2 {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.8px;
    margin: 0 0 14px;
    color: var(--ink);
}

.app-detail-header h2 .grad {
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-detail-header .desc {
    font-size: 17px;
    color: var(--muted);
    margin: 0 0 22px;
}

.link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.link-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s ease;
}

.link-pill:hover {
    background: var(--brand-soft);
    text-decoration: none;
    color: var(--brand-dark);
}

.phone-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 540px;
    width: 100%;
    overflow: hidden;
}

.phone {
    position: relative;
    width: 280px;
    max-width: 100%;
    border-radius: 38px;
    background: #0f1a36;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    transform: rotate(-3deg);
    transition: transform 0.5s ease;
    z-index: 1;
}

.phone:hover { transform: rotate(0deg) translateY(-4px); }
.phone .screen { border-radius: 28px; overflow: hidden; background: #fff; }
.phone img { width: 100%; height: auto; display: block; }

.phone.phone-back {
    position: absolute;
    width: 240px;
    top: 30px;
    right: 5%;
    transform: rotate(7deg);
    opacity: 0.95;
    z-index: 0;
}

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

.feat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 16px;
}

.ico-1 { background: linear-gradient(135deg, #1e6cd9, #2563eb); }
.ico-2 { background: linear-gradient(135deg, #f97316, #fb923c); }
.ico-3 { background: linear-gradient(135deg, #10b981, #34d399); }
.ico-4 { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.ico-5 { background: linear-gradient(135deg, #ec4899, #f472b6); }
.ico-6 { background: linear-gradient(135deg, #fbbf24, #fcd34d); }

.feat-card h3 { margin: 0 0 8px; font-size: 19px; color: var(--ink); }
.feat-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.shot-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    align-items: end;
}

.shot-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }

.shot-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 10px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shot-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.shot-card img {
    width: 100%;
    border-radius: 16px;
    display: block;
    aspect-ratio: 9/19;
    object-fit: cover;
    object-position: top;
}

.shot-card span {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    counter-reset: step;
}

.step {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 22px;
    position: relative;
    box-shadow: var(--shadow-sm);
    counter-increment: step;
}

.step::before {
    content: counter(step);
    position: absolute;
    top: -18px;
    left: 22px;
    width: 38px;
    height: 38px;
    background: var(--brand);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 6px 14px rgba(30, 108, 217, 0.34);
}

.step h3 { margin: 12px 0 6px; font-size: 17px; color: var(--ink); }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }

.disclaimer-banner {
    background: #fef9c3;
    border: 1px solid #fde047;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13.5px;
    color: #854d0e;
    margin-bottom: 20px;
}

/* ---------- Float cards (app pages) ---------- */
.float-card {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    border: 1px solid var(--border);
    z-index: 2;
    max-width: 220px;
}

.float-card .ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}

.float-card .ico.blue { background: var(--brand); }
.float-card .ico.orange { background: var(--accent); }
.float-card .ico.green { background: #10b981; }
.float-card .ico.yellow { background: var(--yellow); color: var(--ink); }
.float-card .ico.dark { background: var(--ink); }
.float-card .amount { color: var(--muted); font-weight: 500; font-size: 11.5px; }

.fc-1 { top: 14%; left: 0; animation: floaty 6s ease-in-out infinite; }
.fc-2 { bottom: 20%; right: 0; animation: floaty 7s ease-in-out infinite 1s; }
.fc-3 { bottom: 6%; left: 8%; animation: floaty 5.5s ease-in-out infinite 0.5s; }

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

/* ---------- Section variants ---------- */
.features { background: #fff; }
.screenshots { background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%); }
.how { background: linear-gradient(180deg, #f5f8ff 0%, #eaf1ff 100%); }

.section-title.left-align,
.section-sub.left-align {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.shot-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 560px; margin: 0 auto; }
.shot-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Links table ---------- */
.table-wrap { overflow-x: auto; }

.links-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.links-table th,
.links-table td {
    padding: 16px 20px;
    font-size: 14px;
    text-align: left;
}

.links-table thead tr {
    background: var(--brand-soft);
}

.links-table th { color: var(--ink); font-weight: 700; }

.links-table tbody tr { border-top: 1px solid var(--border); }

.links-table td strong { color: var(--ink); }

/* ---------- CTA ---------- */
.cta {
    background:
        radial-gradient(700px 320px at 20% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
        linear-gradient(135deg, #1e6cd9 0%, #1e40af 100%);
    color: #fff;
    text-align: center;
    border-radius: 28px;
    padding: 60px 30px;
    margin: 60px auto;
    max-width: calc(var(--max) - 44px);
}

.cta h2 { font-size: 34px; margin: 0 0 12px; letter-spacing: -0.6px; }
.cta p { font-size: 17px; opacity: 0.9; margin: 0 0 28px; }
.cta .btn { background: #fff; color: var(--brand-dark) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.cta .btn.ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, 0.7); }
.cta .btn.ghost:hover { background: rgba(255, 255, 255, 0.12); }

.cta-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--ink);
    color: #cdd6e8;
    padding: 56px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
}

.footer h4 {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 14px;
}

.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; font-size: 14.5px; }
.footer a { color: #cdd6e8; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; }

.footer .brand img {
    height: 44px;
    width: 44px;
    max-width: 44px;
    border-radius: 10px;
    object-fit: contain;
}

.footer .brand .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

.footer .copyright {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: #8896b3;
    text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 18px 22px; gap: 12px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); flex-wrap: wrap; }
    .nav-links.open { display: flex; }
    .nav-links a { white-space: normal; }
    .nav-links .btn { width: 100%; justify-content: center; }
    .hamburger { display: block; }
}

@media (max-width: 980px) {
    .hero-grid,
    .app-detail-header { grid-template-columns: 1fr; gap: 30px; }
    .hero h1 { font-size: 40px; }
    .hero-visual { grid-template-columns: repeat(3, 1fr); }
    .hero-apps,
    .app-cards { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .shot-grid,
    .shot-grid.cols-6,
    .shot-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
    .shot-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .app-detail-header h2 { font-size: 32px; }
    .phone-showcase { min-height: 480px; }
    .float-card { display: none; }
}

@media (max-width: 820px) {
    section { padding: 60px 0; }
    .section-title { font-size: 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
    .hero-visual { display: none; }
}

@media (max-width: 560px) {
    .hero { padding: 60px 0 50px; }
    .hero h1 { font-size: 32px; }
    .phone { width: 240px; }
    .phone.phone-back { display: none; }
    .phone-showcase { min-height: 400px; }
    .feat-grid,
    .steps { grid-template-columns: 1fr; }
    .shot-grid,
    .shot-grid.cols-6,
    .shot-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .cta { padding: 40px 22px; margin: 40px 16px; }
    .cta h2 { font-size: 26px; }
    .footer-grid { grid-template-columns: 1fr; }
}
