@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #10B981; /* Premium Emerald Green */
    --primary-dark: #059669;
    --primary-light: #D1FAE5;
    --secondary: #111827; /* Charcoal Dark */
    --text-main: #374151;
    --text-muted: #6B7280;
    --white: #FFFFFF;
    --bg-light: #F9FAFB;
    --glass: rgba(255, 255, 255, 0.8);
    --font-main: 'Outfit', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

    /* Backward-compatible aliases used by existing pages */
    --black: var(--secondary);
    --dark-gray: var(--text-muted);
    --light-gray: var(--bg-light);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.23);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- NAVIGATION --- */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo img {
    height: 40px;
    width: auto;
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--secondary);
    font-style: italic;
}

.brand-text strong {
    font-weight: 700;
    font-style: normal;
    color: var(--secondary) !important; /* Force black as per user rule */
}

.brand-quick {
    font-style: italic;
}

.brand-challan {
    font-style: normal;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.2s;
}

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

/* --- HERO SECTION --- */
.hero {
    padding: 80px 0;
    overflow: hidden;
}

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

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 99px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--secondary);
    margin-bottom: 24px;
}

.highlight {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 36px;
    max-width: 700px;
}

.hero-points span {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 14px 16px;
    color: var(--text-main);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    animation: floating 6s ease-in-out infinite;
}

.hero-mockup {
    width: min(100%, 480px);
    max-width: 480px;
    max-height: 620px;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.12));
}

/* --- HOME PAGE DETAIL SECTIONS --- */
.proof-strip-section {
    padding: 16px 0 48px;
}

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

.proof-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.proof-card strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.proof-card span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.section-surface {
    padding: 96px 0;
    background: var(--bg-light);
}

.section-surface-alt {
    background: var(--white);
}

.detail-grid,
.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.detail-card,
.platform-card,
.journey-card,
.cta-panel {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.section-surface-alt .detail-card,
.section-surface-alt .platform-card,
.section-surface-alt .journey-card {
    background: var(--bg-light);
}

.detail-card h3,
.platform-card h3,
.journey-card h3 {
    font-size: 1.45rem;
    margin-bottom: 12px;
}

.detail-card p,
.platform-card p,
.journey-card p,
.cta-panel p {
    color: var(--text-muted);
}

.detail-list {
    list-style: none;
    margin-top: 20px;
    display: grid;
    gap: 12px;
}

.detail-list li {
    position: relative;
    padding-left: 22px;
    color: var(--text-main);
}

.detail-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
    position: absolute;
    left: 0;
    top: 10px;
}

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

.journey-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 18px;
}

.platform-card .btn {
    margin-top: 20px;
}

.section-cta {
    padding: 64px 0 96px;
}

.cta-panel {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
    background: linear-gradient(135deg, rgba(16,185,129,0.10), rgba(209,250,229,0.55));
}

.cta-panel h2 {
    font-size: 2.4rem;
    line-height: 1.15;
    margin: 16px 0;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* --- FEATURES --- */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

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

.feature-card {
    padding: 40px;
    background: var(--bg-light);
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
}

.features-page {
    background: var(--white);
}

.features-hero {
    text-align: center;
    padding: 72px 24px 56px;
    background: var(--light-gray);
}

.features-hero h1 {
    font-size: 2.8rem;
    line-height: 1.12;
    margin-bottom: 14px;
}

.features-hero p {
    max-width: 660px;
    margin: 0 auto;
    color: var(--dark-gray);
    font-size: 1.15rem;
}

.features-stack {
    padding-top: 56px;
    padding-bottom: 40px;
}

.features-overview {
    padding-bottom: 56px;
}

.features-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.product-feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: visible;
    min-height: 100%;
    padding: 26px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.feature-card-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 28px;
    align-items: center;
    padding: 32px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.feature-accent-card {
    background: linear-gradient(135deg, rgba(16,185,129,0.08), #ffffff);
}

.feature-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.feature-copy h2 {
    max-width: 640px;
    margin-bottom: 12px;
    font-size: 2rem;
    line-height: 1.15;
}

.feature-copy p,
.product-feature-card p {
    min-width: 0;
    max-width: 100%;
    color: var(--text-muted);
    line-height: 1.58;
    overflow-wrap: break-word;
}

.feature-card-head {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.feature-card-head .material-icons-round {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 22px;
}

.feature-card-head h3 {
    margin: 0;
    font-size: 1.28rem;
    line-height: 1.2;
}

.feature-visual-compact {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    border-radius: 14px;
    background: #f8fafc;
    overflow: visible;
}

.feature-visual-compact img {
    width: 170px;
    max-height: 190px;
    object-fit: contain;
}

.feature-thumb {
    width: 122px;
    height: 122px;
    object-fit: contain;
    align-self: flex-end;
    margin-top: auto;
    padding-top: 18px;
}

.zoomable-shot {
    position: relative;
    z-index: 1;
    cursor: zoom-in;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, z-index 0s;
    transform-origin: center right;
}

.zoomable-shot:focus {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    .product-feature-card:hover {
        z-index: 20;
    }

    .zoomable-shot:hover,
    .zoomable-shot:focus {
        z-index: 60;
        transform: scale(2.25);
        box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
    }

    .feature-visual-compact .zoomable-shot:hover,
    .feature-visual-compact .zoomable-shot:focus {
        transform: scale(2.45);
    }
}

.feature-bullets {
    min-width: 0;
    max-width: 100%;
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding-left: 18px;
    color: var(--text-main);
    overflow-wrap: break-word;
}

.feature-bullets li {
    padding-left: 2px;
}

.feature-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
}

.feature-chip-row span,
.feature-chip-row a {
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--bg-light);
    color: var(--text-main);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

.features-page .split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 72px;
    align-items: center;
    margin-bottom: 72px !important;
}

.features-page .layout-reverse {
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
}

.features-page .layout-reverse .split-content {
    grid-column: 2;
    grid-row: 1;
}

.features-page .layout-reverse .split-visual {
    grid-column: 1;
    grid-row: 1;
}

.features-page .split-content {
    max-width: 620px;
    min-width: 0;
    width: 100%;
}

.features-page .split-content h2 {
    font-size: 2.15rem !important;
    line-height: 1.14;
    margin-bottom: 16px !important;
}

.features-page .split-content p {
    font-size: 1.02rem !important;
    line-height: 1.65 !important;
    max-width: 100%;
    overflow-wrap: break-word;
}

.features-page .split-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.features-page .split-visual img {
    width: min(100%, 290px) !important;
    max-width: 290px !important;
    height: auto !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 34px rgba(0,0,0,0.13) !important;
}

.feature-mini-panel {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(0,0,0,0.10);
    padding: 22px;
    max-width: 360px;
    margin: 0 auto;
}

.feature-mini-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.feature-mini-row:last-child {
    border-bottom: 0;
}

.feature-mini-row .material-icons-round {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-mini-row strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.feature-mini-row p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.45;
}

/* --- TALLY CLOSET --- */
.tally-showcase {
    padding: 100px 0;
    background: var(--secondary);
    color: var(--white);
    border-radius: 40px;
    margin: 40px 24px;
    text-align: center;
}

.tally-showcase h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* --- DOWNLOAD PAGE --- */
.download-hero {
    padding: 72px 0 32px;
}

.download-hero-copy {
    max-width: 760px;
}

.download-hero h1 {
    font-size: 3.5rem;
    line-height: 1.08;
    margin-bottom: 16px;
}

.download-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 640px;
}

.download-section {
    padding: 24px 0 96px;
}

.download-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 32px;
    align-items: start;
}

.download-side-column {
    display: grid;
    gap: 20px;
}

.download-panel {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.download-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.download-panel-header h2,
.download-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.download-panel-header p,
.download-panel p {
    color: var(--text-muted);
}

.download-platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 700;
    white-space: nowrap;
}

.download-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.download-stat {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(0,0,0,0.04);
}

.download-stat-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.download-stat strong {
    font-size: 1.2rem;
    color: var(--secondary);
}

.download-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.download-main-cta {
    min-width: 240px;
    gap: 8px;
}

.download-ios-note {
    margin: -8px 0 24px;
    color: var(--primary-dark);
    font-size: 0.96rem;
    line-height: 1.5;
}

.download-ios-note strong {
    font-weight: 700;
}

.hero-ios-note {
    flex-basis: 100%;
    max-width: 760px;
    margin: 2px auto 0;
    text-align: center;
    color: var(--primary-dark);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
}

.download-meta {
    display: grid;
    gap: 14px;
}

.download-meta[hidden] {
    display: none;
}

.download-meta-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.download-meta code {
    display: block;
    background: var(--bg-light);
    padding: 12px 14px;
    border-radius: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.88rem;
    line-height: 1.5;
    word-break: break-all;
}

.download-steps,
.download-changelog {
    padding-left: 20px;
    color: var(--text-main);
}

.download-steps li,
.download-changelog li {
    margin-bottom: 12px;
}

.download-support-links {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.download-support-links a {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}

/* --- GLOBAL FOOTER --- */
footer {
    padding: 80px 0 40px;
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
}

.footer-info {
    max-width: 320px;
}

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

.footer-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.2s;
}

.footer-column ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- MARKET UPDATES --- */
.market-page {
    background: var(--bg-light);
}

.market-hero {
    padding: 88px 0 56px;
    text-align: center;
    background: linear-gradient(135deg, rgba(16,185,129,0.11), #ffffff);
}

.market-hero h1 {
    max-width: 840px;
    margin: 18px auto;
    font-size: 3.2rem;
    line-height: 1.08;
}

.market-hero p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.15rem;
}

.market-index {
    padding: 64px 24px 96px;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.market-card,
.market-article-panel,
.market-bottom-cta {
    background: var(--white);
    border: 1px solid rgba(17,24,39,0.08);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.market-card {
    padding: 28px;
}

.market-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.market-card h2 {
    margin: 16px 0 12px;
    font-size: 1.55rem;
    line-height: 1.2;
}

.market-card h2 a,
.market-card-link,
.market-back {
    color: var(--secondary);
    text-decoration: none;
}

.market-card p {
    color: var(--text-muted);
}

.market-meta {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.market-card-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--primary-dark);
    font-weight: 800;
}

.market-bottom-cta {
    margin-top: 32px;
    padding: 36px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.market-bottom-cta p {
    color: var(--text-muted);
    max-width: 700px;
}

.market-article {
    max-width: 920px;
    padding: 56px 24px 96px;
}

.market-back {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--primary-dark);
    font-weight: 800;
}

.market-article-panel {
    padding: 44px;
}

.market-article-header h1 {
    margin: 18px 0;
    font-size: 3rem;
    line-height: 1.08;
}

.market-article-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

.market-note {
    margin: 32px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--text-main);
}

.market-section {
    padding-top: 26px;
    margin-top: 26px;
    border-top: 1px solid rgba(17,24,39,0.08);
}

.market-section h2 {
    font-size: 1.55rem;
    margin-bottom: 14px;
}

.market-list {
    display: grid;
    gap: 12px;
    padding-left: 20px;
    color: var(--text-main);
}

.market-list li::marker {
    color: var(--primary-dark);
}

.market-product-section {
    background: linear-gradient(135deg, rgba(16,185,129,0.07), #ffffff);
    margin-left: -20px;
    margin-right: -20px;
    padding: 26px 20px 20px;
    border-radius: 18px;
}

.market-cta-inline {
    margin-top: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid rgba(17,24,39,0.08);
}

.market-cta-inline span {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3rem; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-points { margin-left: auto; margin-right: auto; }
    .hero-visual { order: -1; }
    .download-grid { grid-template-columns: 1fr; }
    .proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .journey-grid { grid-template-columns: 1fr; }
    .cta-actions { justify-content: flex-start; }
    .features-page .split-layout,
    .features-page .layout-reverse {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
        gap: 48px;
    }
    .features-page .split-visual img {
        width: min(100%, 250px) !important;
        max-width: 250px !important;
    }
    .feature-card-wide {
        grid-template-columns: minmax(0, 1fr) 180px;
    }
    .hero-mockup {
        width: min(100%, 360px);
        max-height: 520px;
    }
}

@media (max-width: 900px) {
    .proof-strip,
    .detail-grid,
    .platform-grid,
    .cta-panel,
    .market-grid,
    .market-bottom-cta,
    .market-cta-inline { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    nav { padding: 10px 0; }
    .nav-container { gap: 10px; }
    .brand-logo img { height: 32px; }
    .brand-text { font-size: 1.1rem; }
    
    .nav-actions .btn { 
        padding: 8px 16px; 
        font-size: 0.85rem; 
        border-radius: 8px;
        width: auto;
        margin-bottom: 0;
    }
    
    .hero { padding: 40px 0; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    .hero-points { grid-template-columns: 1fr; }
    .hero-mockup {
        width: min(100%, 300px);
        max-height: 420px;
    }
    .download-hero h1 { font-size: 2.5rem; }
    .btn { width: 100%; margin-bottom: 12px; }
    .section-header h2 { font-size: 2rem; }
    .feature-card { padding: 30px; }
    .detail-card,
    .platform-card,
    .journey-card,
    .cta-panel { padding: 24px; }
    .cta-panel h2 { font-size: 2rem; }
    .download-stats { grid-template-columns: 1fr; }
    .download-panel-header { flex-direction: column; }
    .features-hero {
        padding: 48px 20px 36px;
    }
    .features-hero h1 {
        font-size: 2rem;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }
    .features-hero p {
        font-size: 1rem;
        max-width: 320px;
    }
    .features-stack {
        width: 100vw !important;
        padding-top: 34px;
        padding-left: 24px;
        padding-right: 24px;
        max-width: 100vw;
        margin-left: 0;
        margin-right: 0;
        overflow: hidden;
    }
    .features-product-grid,
    .feature-card-wide {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }
    .features-product-grid {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    .features-overview .section-header {
        max-width: 300px;
    }
    .features-overview .section-header h2 {
        font-size: 1.62rem;
        line-height: 1.18;
    }
    .product-feature-card,
    .feature-card-wide {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        border-radius: 14px;
    }
    .feature-copy,
    .feature-copy h2,
    .product-feature-card p,
    .feature-bullets {
        width: 100%;
        max-width: 100%;
    }
    .feature-copy h2 {
        font-size: 1.42rem;
    }
    .feature-card-head h3 {
        font-size: 1.15rem;
    }
    .feature-visual-compact {
        min-height: 110px;
        order: -1;
    }
    .feature-visual-compact img {
        width: 104px;
        max-height: 120px;
    }
    .feature-thumb {
        width: 72px;
        height: 72px;
        align-self: flex-start;
    }
    .features-page .split-layout,
    .features-page .layout-reverse {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 48px !important;
    }
    .features-page .layout-reverse .split-content,
    .features-page .layout-reverse .split-visual {
        grid-column: auto;
        grid-row: auto;
    }
    .features-page .split-content h2 {
        font-size: 1.75rem !important;
    }
    .features-page .split-content,
    .features-page .split-content h2,
    .features-page .split-content p {
        max-width: 320px !important;
    }
    .features-page .split-visual img {
        width: min(100%, 220px) !important;
        max-width: 220px !important;
    }
    .features-page .nav-actions {
        display: none;
    }
    .features-page .icon-box {
        margin-bottom: 16px !important;
    }
    .feature-mini-panel {
        width: 100%;
        max-width: 360px;
        padding: 18px;
    }
    .market-hero {
        padding: 56px 0 36px;
    }
    .market-hero h1,
    .market-article-header h1 {
        font-size: 2.05rem;
    }
    .market-article-panel,
    .market-card,
    .market-bottom-cta {
        padding: 24px;
    }
    .market-product-section {
        margin-left: -10px;
        margin-right: -10px;
        padding: 22px 10px 14px;
    }
    
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 40px;
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
