:root {
    --gradient-start: #0d9488;
    --gradient-mid: #0891b2;
    --gradient-end: #2563eb;
    --brand: #0d9488;
    --brand-dark: #0f766e;
    --text-dark: #0f172a;
    --text-muted: #5b6472;
    --border-soft: #e6ebf0;
    --card-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --card-hover-shadow: 0 14px 32px rgba(13, 148, 136, 0.18);
    --radius-lg: 18px;
    --radius-pill: 50px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
}

a { text-decoration: none; }

.section-heading {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-muted { color: var(--text-muted) !important; }

/* ── Navbar ── */
.site-navbar {
    background: #fff;
    border-bottom: 1px solid var(--border-soft);
    padding: 0.65rem 0;
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.04);
}

.site-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-dark);
    gap: 9px;
    display: flex;
    align-items: center;
}

.site-navbar .navbar-brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
}

.site-navbar .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem !important;
    transition: color 0.2s;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--brand);
}

.site-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--card-shadow);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 220px;
    max-height: 70vh;
    overflow-y: auto;
}

.site-navbar .dropdown-item {
    border-radius: 8px;
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-navbar .dropdown-item img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-navbar .dropdown-item:hover { background: #f0fdfa; }
.site-navbar .dropdown-item.active,
.site-navbar .dropdown-item:active { background: var(--brand); color: #fff; }

/* ── Hero ── */
.hero-section {
    background: linear-gradient(125deg, var(--gradient-start) 0%, var(--gradient-mid) 55%, var(--gradient-end) 100%);
    padding: 2.75rem 0 3.75rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 18% 45%, rgba(255,255,255,0.10) 0%, transparent 60%),
                radial-gradient(ellipse at 82% 15%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .container { position: relative; z-index: 1; }

.hero-section--instagram {
    background: linear-gradient(130deg, #4f5bd5 0%, #962fbf 32%, #d62976 60%, #fa7e1e 82%, #feda75 100%);
}
.hero-section--instagram::before {
    background: radial-gradient(ellipse at 15% 50%, rgba(255,255,255,0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 85% 25%, rgba(0,0,0,0.12) 0%, transparent 52%);
}

.hero-section--twitter {
    background: linear-gradient(125deg, #000000 0%, #0a1628 30%, #0d3d5c 58%, #1DA1F2 85%, #2CAAE1 100%);
}
.hero-section--twitter::before {
    background: radial-gradient(ellipse at 15% 50%, rgba(29,161,242,0.4) 0%, transparent 50%),
                radial-gradient(ellipse at 85% 30%, rgba(44,170,225,0.35) 0%, transparent 52%);
}

.hero-section--facebook {
    background: linear-gradient(125deg, #0a2a5e 0%, #0d47a1 35%, #1877F2 70%, #2f97ff 100%);
}
.hero-section--facebook::before {
    background: radial-gradient(ellipse at 15% 50%, rgba(255,255,255,0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 85% 25%, rgba(0,0,0,0.15) 0%, transparent 52%);
}

.hero-section--tiktok {
    background: linear-gradient(125deg, #000000 0%, #0a0a0a 45%, #1a1a1a 75%, #000000 100%);
}
.hero-section--tiktok::before {
    background: radial-gradient(ellipse at 18% 45%, rgba(37,244,238,0.35) 0%, transparent 50%),
                radial-gradient(ellipse at 82% 25%, rgba(254,44,85,0.35) 0%, transparent 52%);
}

.hero-section--bluesky {
    background: linear-gradient(125deg, #0a2540 0%, #0a7cff 55%, #56a8fb 100%);
}
.hero-section--bluesky::before {
    background: radial-gradient(ellipse at 15% 50%, rgba(255,255,255,0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 85% 25%, rgba(0,0,0,0.12) 0%, transparent 52%);
}

.hero-section--pinterest {
    background: linear-gradient(125deg, #4a0012 0%, #8c0021 40%, #e60023 75%, #ff5252 100%);
}
.hero-section--pinterest::before {
    background: radial-gradient(ellipse at 15% 50%, rgba(255,255,255,0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 85% 25%, rgba(0,0,0,0.15) 0%, transparent 52%);
}

.hero-section--snapchat {
    background: linear-gradient(125deg, #0d0d0d 0%, #1a1a1a 55%, #2b2b0f 100%);
}
.hero-section--snapchat::before {
    background: radial-gradient(ellipse at 18% 45%, rgba(255,252,0,0.45) 0%, transparent 50%),
                radial-gradient(ellipse at 82% 25%, rgba(255,252,0,0.2) 0%, transparent 52%);
}

.hero-section--tumblr {
    background: linear-gradient(125deg, #001935 0%, #14314f 45%, #2b5985 80%, #3a7bb8 100%);
}
.hero-section--tumblr::before {
    background: radial-gradient(ellipse at 15% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 85% 25%, rgba(0,0,0,0.15) 0%, transparent 52%);
}

.hero-section--vk {
    background: linear-gradient(125deg, #08172e 0%, #0a4faa 50%, #2787f5 85%, #4ea1ff 100%);
}
.hero-section--vk::before {
    background: radial-gradient(ellipse at 15% 50%, rgba(255,255,255,0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 85% 25%, rgba(0,0,0,0.15) 0%, transparent 52%);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.16);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.hero-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

.hero-title {
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    color: rgba(255,255,255,0.92);
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
}

/* Platform tab scroller */
.platform-scroll-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 720px;
    margin: 0 auto 1.75rem;
}

.platform-scroll-btn {
    background: rgba(255,255,255,0.18);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.2s;
}
.platform-scroll-btn:hover { background: rgba(255,255,255,0.3); }
.platform-scroll-btn:disabled { opacity: 0.35; cursor: default; }

.platform-scroll-bar { overflow: hidden; flex: 1; }
.platform-scroll-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2px;
}
.platform-scroll-inner::-webkit-scrollbar { display: none; }

.platform-tab {
    flex-shrink: 0;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.10);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    transition: all 0.2s;
    white-space: nowrap;
}
.platform-tab:hover { background: rgba(255,255,255,0.22); color: #fff; }
.platform-tab.active { background: #fff; color: var(--brand-dark); }

/* Download form */
.download-form-wrap { max-width: 640px; margin: 0 auto; }

.download-input-group {
    display: flex;
    background: #fff;
    border-radius: var(--radius-pill);
    padding: 6px 6px 6px 22px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    gap: 8px;
}

.download-input-group input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
    min-width: 0;
}

.btn-download {
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    border: none;
    padding: 0.7rem 1.75rem;
    border-radius: var(--radius-pill);
    transition: background 0.2s, transform 0.1s;
    flex-shrink: 0;
}
.btn-download:hover { background: var(--brand-dark); }
.btn-download:active { transform: scale(0.97); }
.btn-download:disabled { opacity: 0.7; }

.download-result { margin-top: 1.25rem; text-align: left; }
.download-result .alert { border-radius: 14px; border: none; }

.hero-extension-cta { margin-top: 1rem; }
.hero-extension-link {
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    font-weight: 500;
}
.hero-extension-link:hover { color: #fff; }

.hero-disclaimer {
    color: rgba(255,255,255,0.65);
    font-size: 0.78rem;
    margin-top: 1.25rem;
    margin-bottom: 0;
}
.hero-disclaimer a { color: rgba(255,255,255,0.85); text-decoration: underline; }

@media (max-width: 576px) {
    .download-input-group { flex-wrap: wrap; border-radius: 20px; padding: 14px; }
    .download-input-group input { width: 100%; padding: 8px 0; }
    .btn-download { width: 100%; }
}

/* ── Platform grid (icons row) ── */
.platform-grid-section { padding: 3rem 0; }
.platform-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 0.5rem;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--border-soft);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    height: 100%;
}
.platform-icon-card:hover { transform: translateY(-4px); box-shadow: var(--card-hover-shadow); }
.platform-icon-card img { width: 40px; height: 40px; object-fit: contain; }
.platform-icon-card span { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }

/* ── Generic content sections ── */
.content-section { padding: 3.25rem 0; }
.content-section.bg-soft { background: #f8fafc; }

.faq-item {
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    margin-bottom: 0.9rem;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: #fff;
    border: none;
    padding: 1.1rem 1.4rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-dark);
}
.faq-question:hover { background: #f8fafc; }
.faq-question .bi { transition: transform 0.2s; color: var(--brand); flex-shrink: 0; margin-left: 12px; }
.faq-question[aria-expanded="true"] .bi { transform: rotate(180deg); }
.faq-answer {
    padding: 0 1.4rem 1.1rem;
    color: var(--text-muted);
    display: none;
}
.faq-answer.open { display: block; }

.step-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.4rem;
    height: 100%;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.4rem;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--card-hover-shadow); transform: translateY(-3px); }
.feature-card .bi {
    font-size: 1.6rem;
    color: var(--brand);
    margin-bottom: 0.75rem;
    display: inline-block;
}
.feature-card a { color: var(--brand-dark); font-weight: 600; }
.feature-card a:hover { text-decoration: underline; }

.retention-section { padding: 0 0 3.25rem; }
.extension-promo-card {
    background: linear-gradient(125deg, #0f172a 0%, #0d9488 100%);
    border-radius: 24px;
    padding: 2.5rem;
    color: #fff;
}
.extension-promo-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
}
.extension-promo-title { font-weight: 800; font-size: 1.6rem; margin-bottom: 0.6rem; }
.extension-promo-text { color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; }
.extension-promo-features { font-size: 0.92rem; }
.extension-promo-features li { display: flex; align-items: center; gap: 10px; margin-bottom: 0.75rem; color: rgba(255,255,255,0.92); }

.download-retention-tip { text-align: left; }
.download-retention-tip .btn-dark { background: var(--text-dark); border: none; }

/* ── Footer ── */
.site-footer { background: #0f172a; color: rgba(255,255,255,0.7); padding: 3.5rem 0 1.75rem; }
.site-footer h5 { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.65); }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 0.75rem; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-brand h5 { margin: 0; }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 2rem 0 1.25rem; }
.footer-links-multi { column-count: 2; column-gap: 1.5rem; }
.footer-links-multi li { break-inside: avoid; }

/* ── Blog ── */
.blog-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: var(--card-hover-shadow); transform: translateY(-3px); }
.blog-card .blog-tag {
    display: inline-block;
    background: #f0fdfa;
    color: var(--brand-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.75rem;
}
.blog-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.blog-card h3 a { color: var(--text-dark); }
.blog-card h3 a:hover { color: var(--brand); }
.blog-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0; }

.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { font-weight: 700; font-size: 1.4rem; margin-top: 2rem; margin-bottom: 0.9rem; }
.article-body h3 { font-weight: 700; font-size: 1.15rem; margin-top: 1.5rem; margin-bottom: 0.7rem; }
.article-body p { color: #334155; margin-bottom: 1rem; }
.article-body ul, .article-body ol { color: #334155; margin-bottom: 1rem; padding-left: 1.4rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-meta { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1.75rem; }
.article-header h1 { font-weight: 800; font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 0.75rem; }

.breadcrumb-bar { padding: 0.9rem 0; background: #f8fafc; border-bottom: 1px solid var(--border-soft); }
.breadcrumb-bar ol { margin: 0; font-size: 0.85rem; }

/* Simple static pages (about/contact/privacy/terms) */
.static-page-section { padding: 3rem 0 4rem; }
.static-page-section h1 { font-weight: 800; margin-bottom: 1.25rem; }
.static-page-section h2 { font-weight: 700; font-size: 1.25rem; margin-top: 1.75rem; margin-bottom: 0.75rem; }
.static-page-section p, .static-page-section li { color: #334155; }

/* ── App promo (Google Play cross-promotion) ── */
.app-promo-section { background: #f8fafc; padding: 3rem 0; }
.app-promo-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-soft);
    padding: 2rem;
}
.app-promo-badge {
    display: inline-block;
    background: #f0fdfa;
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.85rem;
}
.app-promo-title { font-size: 1.55rem; font-weight: 800; margin-bottom: 0.75rem; }
.app-promo-text { color: var(--text-muted); margin-bottom: 1.25rem; }
.app-promo-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.app-promo-features { margin: 0; }
.app-promo-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}
.app-promo-features li i { color: var(--brand); font-size: 1.1rem; margin-top: 0.1rem; }
.btn-store-download {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #1f2937;
    border-radius: var(--radius-pill);
    border: 1px solid #d1d5db;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.15s;
}
.btn-store-download:hover { box-shadow: var(--card-hover-shadow); transform: translateY(-1px); color: #1f2937; }
.hero-app-cta { margin-top: 1rem; }
.hero-app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.hero-app-link:hover { background: rgba(255, 255, 255, 0.24); color: #fff; transform: translateY(-1px); }
.footer-app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: inherit;
}
@media (max-width: 767px) {
    .app-promo-card { padding: 1.35rem; }
    .app-promo-title { font-size: 1.3rem; }
}
