:root {
    --primary: #ee6123;        /* Bitly orange — buttons/accents */
    --primary-dark: #d1521a;
    --secondary: #61b3de;      /* Bitly blue — secondary accent */
    --accent: #61b3de;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #61b3de;
    --light: #eff7fc;          /* Bitly light blue — section bg */
    --dark: #0e3042;           /* Bitly navy — headings/text */
    --text: #0e3042;
    --muted: #5b6b78;
    --border: #dce8f0;
    --shadow: 0 10px 40px rgba(14, 48, 66, 0.10);
    --shadow-sm: 0 2px 12px rgba(14, 48, 66, 0.07);
    --shadow-lg: 0 24px 60px rgba(14, 48, 66, 0.16);
    --grad: linear-gradient(135deg, #ee6123 0%, #ff8a3d 100%);
    --grad-soft: linear-gradient(135deg, #eff7fc 0%, #f7fbff 100%);
    --radius: 16px;
}

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

html, body {
    height: 100%;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { color: var(--dark); }

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

/* Navbar */
.navbar {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dark);
}

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

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #e53e3e;
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    min-width: 200px;
    box-shadow: var(--shadow-sm);
    display: none;
    margin-top: 10px;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--dark);
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: var(--light);
    color: var(--primary);
}

.dropdown-menu hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 8px 0;
}

/* Messages */
.messages {
    margin-top: 20px;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 10px auto;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.alert-error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
}

.alert-info {
    background: #bee3f8;
    color: #2c5282;
    border: 1px solid #90cdf4;
}

.close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
}

/* Main Content */
main {
    min-height: calc(100vh - 80px);
    flex: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero p {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-container {
    max-width: 500px;
    margin: 50px auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
}

.form-footer a {
    color: var(--primary);
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}

.stat-card h3 {
    color: #718096;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.stat-card .value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
}

.links-container {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.links-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.links-header h2 {
    font-size: 1.5rem;
    color: var(--dark);
}

.links-list {
    list-style: none;
}

.link-card {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    transition: background 0.2s;
}

.link-card:hover {
    background: var(--light);
}

.link-info h4 {
    color: var(--dark);
    margin-bottom: 8px;
    word-break: break-all;
}

.link-info p {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.link-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
}

.link-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #718096;
}

.link-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.link-actions .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 25px;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 60px 20px;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    border: 2px solid transparent;
}

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

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin: 20px 0 10px;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0;
}

.pricing-card .price small {
    font-size: 0.6em;
    color: #718096;
    display: block;
    margin-top: 5px;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin: 30px 0;
    color: #718096;
}

.pricing-card li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.pricing-card li:before {
    content: "✓ ";
    color: var(--success);
    font-weight: 700;
    margin-right: 10px;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 20px 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4,
.footer-section h5 {
    margin-bottom: 15px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #cbd5e0;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .link-card {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .form-container {
        padding: 20px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

.hidden {
    display: none;
}

.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   LANDING PAGE / ANIMATIONS / BLOG
   ============================================================ */

.lp { overflow-x: clip; }
.lp section { position: relative; }
.lp-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--primary);
    background: var(--light); border: 1px solid var(--border);
    padding: 7px 14px; border-radius: 100px;
}
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem); line-height: 1.12;
    color: var(--dark); margin: 18px 0 14px; letter-spacing: -0.02em;
}
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }
.reveal.d6 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation: none !important; }
}

/* ---- Announcement bar ---- */
.announce {
    background: var(--dark); color: #d1fae5;
    text-align: center; font-size: 0.9rem; padding: 9px 16px;
}
.announce a { color: #bef264; font-weight: 600; text-decoration: none; }
.announce a:hover { text-decoration: underline; }

/* ---- Hero ---- */
.hero-lp {
    padding: 90px 0 80px; text-align: center;
    background:
        radial-gradient(60% 50% at 50% 0%, #ecfdf5 0%, rgba(236,253,245,0) 70%),
        radial-gradient(40% 40% at 85% 20%, #f7fee7 0%, rgba(247,254,231,0) 60%);
}
.hero-lp h1 {
    font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.04;
    letter-spacing: -0.035em; color: var(--dark);
    max-width: 920px; margin: 22px auto 20px;
}
.hero-lp h1 .gradient-text { display: inline; }
.hero-lp .sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 620px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; border-radius: 12px; }
.btn-ghost { background: white; color: var(--dark); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.trust-row { display: flex; gap: 26px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: 0.92rem; }
.trust-row .stars { color: #f59e0b; letter-spacing: 2px; }
.avatars { display: inline-flex; }
.avatars span {
    width: 30px; height: 30px; border-radius: 50%; margin-left: -8px;
    border: 2px solid white; background: var(--grad); display: inline-block;
    box-shadow: var(--shadow-sm);
}

/* Hero demo shortener mock */
.hero-demo {
    max-width: 620px; margin: 38px auto 0; background: white;
    border: 1px solid var(--border); border-radius: 18px; padding: 10px;
    box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center;
}
.hero-demo input {
    flex: 1; border: none; outline: none; font-size: 1.02rem; padding: 14px 16px;
    background: transparent; color: var(--dark);
}
.hero-demo .btn { white-space: nowrap; padding: 14px 24px; border-radius: 12px; }
.hero-result {
    max-width: 620px; margin: 14px auto 0; background: var(--light);
    border: 1px dashed var(--primary); border-radius: 14px; padding: 14px 18px;
    display: none; align-items: center; justify-content: space-between; gap: 12px;
    text-align: left;
}
.hero-result.show { display: flex; animation: fadeUp .5s ease; }
.hero-result code { color: var(--primary-dark); font-weight: 700; font-size: 1.05rem; }

/* Floating background chips */
.float-chip {
    position: absolute; background: white; border: 1px solid var(--border);
    border-radius: 14px; padding: 10px 14px; font-size: 0.85rem; font-weight: 600;
    color: var(--dark); box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px;
    z-index: 0;
}
.float-chip i { color: var(--primary); }
.float-chip.fc1 { top: 80px; left: 6%; animation: float1 6s ease-in-out infinite; }
.float-chip.fc2 { top: 150px; right: 7%; animation: float2 7s ease-in-out infinite; }
.float-chip.fc3 { bottom: 60px; left: 12%; animation: float2 8s ease-in-out infinite; }
.float-chip.fc4 { bottom: 110px; right: 11%; animation: float1 7.5s ease-in-out infinite; }
@media (max-width: 900px){ .float-chip { display: none; } }
.hero-lp .lp-container { position: relative; z-index: 1; }

@keyframes float1 { 0%,100%{ transform: translateY(0) rotate(-2deg); } 50%{ transform: translateY(-16px) rotate(1deg); } }
@keyframes float2 { 0%,100%{ transform: translateY(0) rotate(2deg); } 50%{ transform: translateY(14px) rotate(-2deg); } }
@keyframes fadeUp { from{ opacity:0; transform: translateY(12px);} to{opacity:1; transform:none;} }

/* ---- Logo cloud ---- */
.logo-cloud { padding: 40px 0 10px; }
.logo-cloud p { text-align: center; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 22px; }
.cloud-row { display: flex; gap: 44px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cloud-row span { font-weight: 800; font-size: 1.25rem; color: #9ca3af; letter-spacing: -0.02em; opacity: .8; transition: color .3s, opacity .3s; }
.cloud-row span:hover { color: var(--primary); opacity: 1; }

/* ---- Stats band ---- */
.stats-band { padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-block { text-align: center; padding: 28px 16px; background: white; border: 1px solid var(--border); border-radius: var(--radius); transition: transform .35s, box-shadow .35s; }
.stat-block:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat-block .num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-block .lbl { color: var(--muted); margin-top: 6px; font-size: 0.95rem; }
@media (max-width:760px){ .stats-grid { grid-template-columns: 1fr 1fr; } }

/* ---- Bento features ---- */
.bento { padding: 80px 0; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 20px; }
.bento-card {
    background: white; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 30px; position: relative; overflow: hidden;
    transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .35s;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #a7f3d0; }
.bento-card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--primary); margin-bottom: 18px; transition: transform .35s; }
.bento-card:hover .ic { transform: rotate(-6deg) scale(1.08); }
.bento-card h3 { color: var(--dark); font-size: 1.18rem; margin-bottom: 8px; }
.bento-card p { color: var(--muted); font-size: 0.96rem; }
.bento-card.wide { grid-column: span 2; }
.bento-card.feature-glow::after {
    content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .4s; pointer-events: none;
}
.bento-card.dark { background: var(--dark); color: white; border-color: transparent; }
.bento-card.dark h3 { color: white; }
.bento-card.dark p { color: #a7f3d0; }
.bento-card.dark .ic { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #bef264; }
@media (max-width:900px){ .bento-grid { grid-template-columns: 1fr 1fr; } .bento-card.wide { grid-column: span 2; } }
@media (max-width:600px){ .bento-grid { grid-template-columns: 1fr; } .bento-card.wide { grid-column: span 1; } }

/* ---- How it works ---- */
.how { padding: 80px 0; background: var(--grad-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
.step { text-align: center; background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 24px; position: relative; z-index: 1; }
.step .n { width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad); color: white; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: var(--shadow-sm); }
.step h4 { color: var(--dark); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }
@media (max-width:780px){ .steps { grid-template-columns: 1fr; } }

/* ---- QR showcase ---- */
.qr-show { padding: 90px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--dark); letter-spacing: -0.02em; margin: 16px 0 14px; line-height: 1.15; }
.split p { color: var(--muted); font-size: 1.05rem; margin-bottom: 22px; }
.split ul { list-style: none; }
.split ul li { padding: 9px 0; color: var(--text); display: flex; align-items: center; gap: 10px; }
.split ul li i { color: var(--primary); }
@media (max-width:820px){ .split { grid-template-columns: 1fr; gap: 36px; } .split.rev .split-media { order: 0; } }

.qr-stage { position: relative; aspect-ratio: 1; max-width: 360px; margin: 0 auto; width: 100%;
    background: white; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; justify-content: center; overflow: hidden; }
.qr-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; width: 64%; }
.qr-grid i { aspect-ratio: 1; border-radius: 3px; background: var(--dark); opacity: 0; animation: qrIn .5s forwards; }
.qr-grid i.lite { background: var(--primary); }
.qr-scan { position: absolute; left: 8%; right: 8%; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, transparent, #ee6123, transparent);
    box-shadow: 0 0 18px 4px rgba(238,97,35,.55); top: 12%; animation: scan 2.6s ease-in-out infinite; }
@keyframes qrIn { to { opacity: 1; } }
@keyframes scan { 0%,100%{ top: 12%; } 50%{ top: 86%; } }

/* ---- Phone / link-in-bio mockup ---- */
.phone { width: 270px; margin: 0 auto; background: var(--dark); border-radius: 38px; padding: 12px; box-shadow: var(--shadow-lg); }
.phone-screen { background: var(--grad-soft); border-radius: 28px; padding: 26px 18px; min-height: 470px; }
.phone .pf-ava { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); margin: 6px auto 12px; box-shadow: var(--shadow-sm); }
.phone .pf-name { text-align: center; font-weight: 800; color: var(--dark); }
.phone .pf-bio { text-align: center; color: var(--muted); font-size: 0.82rem; margin-bottom: 18px; }
.pf-link { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px; margin-bottom: 11px; font-weight: 600; font-size: 0.9rem; color: var(--dark); display: flex; align-items: center; gap: 10px; transition: transform .3s, box-shadow .3s; }
.pf-link i { color: var(--primary); }
.pf-link:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }

/* ---- Analytics preview ---- */
.analytics-prev { padding: 80px 0; background: var(--grad-soft); }
.dash-mock { background: white; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); padding: 26px; max-width: 560px; margin: 0 auto; width: 100%; }
.dash-mock .bars { display: flex; align-items: flex-end; gap: 12px; height: 170px; margin-top: 18px; }
.dash-mock .bars span { flex: 1; background: var(--grad); border-radius: 8px 8px 0 0; transform-origin: bottom; animation: grow 1.2s cubic-bezier(.16,1,.3,1) both; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.donut { width: 130px; height: 130px; border-radius: 50%;
    background: conic-gradient(#ee6123 0 45%, #61b3de 45% 72%, #0e3042 72% 88%, #dce8f0 88% 100%);
    margin: 0 auto; position: relative; animation: spinIn 1s ease; }
.donut::after { content: ""; position: absolute; inset: 22px; background: white; border-radius: 50%; }
@keyframes spinIn { from { transform: rotate(-90deg) scale(.85); opacity: .4; } to { transform: none; opacity: 1; } }

/* ---- Testimonials ---- */
.testi { padding: 84px 0; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform .35s, box-shadow .35s; }
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.testi-card .stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; }
.testi-card p { color: var(--text); font-size: 0.98rem; margin-bottom: 18px; }
.testi-card .who { display: flex; align-items: center; gap: 12px; }
.testi-card .who .a { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); }
.testi-card .who b { color: var(--dark); display: block; font-size: 0.92rem; }
.testi-card .who small { color: var(--muted); }
@media (max-width:820px){ .testi-grid { grid-template-columns: 1fr; } }

/* ---- Blog ---- */
.blog { padding: 84px 0; background: var(--grad-soft); }
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.blog-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s; }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.blog-thumb .motif { font-size: 2.6rem; color: rgba(255,255,255,.92); position: relative; z-index: 1; transition: transform .5s; animation: float1 6s ease-in-out infinite; }
.blog-card:hover .blog-thumb .motif { transform: scale(1.18) rotate(-6deg); }
.blog-thumb::before { content: ""; position: absolute; inset: 0; background-size: 200% 200%; animation: gshift 6s ease infinite; }
.bt-g1::before { background-image: linear-gradient(135deg,#ee6123,#ff8a3d); }
.bt-g2::before { background-image: linear-gradient(135deg,#61b3de,#9fd0ec); }
.bt-g3::before { background-image: linear-gradient(135deg,#0e3042,#ee6123); }
.bt-g4::before { background-image: linear-gradient(135deg,#0e3042,#61b3de); }
.bt-g5::before { background-image: linear-gradient(135deg,#ee6123,#ffb066); }
.bt-g6::before { background-image: linear-gradient(135deg,#61b3de,#0e3042); }
.bt-g7::before { background-image: linear-gradient(135deg,#ee6123,#0e3042); }
.bt-g8::before { background-image: linear-gradient(135deg,#0e3042,#86c5e8); }
@keyframes gshift { 0%,100%{ background-position: 0% 50%; } 50%{ background-position: 100% 50%; } }
.blog-thumb .qpix { position: absolute; inset: 0; z-index: 0; opacity: .25;
    background-image: radial-gradient(white 1.4px, transparent 1.6px); background-size: 14px 14px; }
.blog-body { padding: 18px 18px 22px; display: flex; flex-direction: column; flex: 1; }
.chip { align-self: flex-start; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary-dark); background: var(--light); border: 1px solid var(--border); padding: 4px 10px; border-radius: 100px; margin-bottom: 12px; }
.blog-body h3 { color: var(--dark); font-size: 1.04rem; line-height: 1.3; margin-bottom: 8px; }
.blog-body p { color: var(--muted); font-size: 0.88rem; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.8rem; margin-top: 14px; }
.blog-card:hover .blog-body h3 { color: var(--primary); }
@media (max-width:1000px){ .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:560px){ .blog-grid { grid-template-columns: 1fr; } }

/* ---- Pricing teaser ---- */
.price-teaser { padding: 80px 0; }
.chips { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.price-chip { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 30px; min-width: 200px; text-align: center; transition: transform .35s, box-shadow .35s, border-color .35s; }
.price-chip:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary); }
.price-chip.pop { border-color: var(--primary); position: relative; }
.price-chip.pop::before { content: "Popular"; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--grad); color: white; font-size: 0.68rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; text-transform: uppercase; letter-spacing: .06em; }
.price-chip h4 { color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: .1em; }
.price-chip .p { font-size: 2.2rem; font-weight: 800; color: var(--dark); margin: 6px 0; }
.price-chip .p small { font-size: 0.9rem; color: var(--muted); font-weight: 500; }

/* ---- FAQ ---- */
.faq { padding: 80px 0 90px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--dark); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--primary); transition: transform .3s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .ans { padding: 0 22px 20px; color: var(--muted); font-size: 0.97rem; }

/* ---- Final CTA ---- */
.final-cta { padding: 90px 24px; text-align: center; background: var(--grad); color: white; position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1.5px, transparent 1.6px); background-size: 26px 26px; opacity: .5; }
.final-cta .lp-container { position: relative; z-index: 1; }
.final-cta h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; letter-spacing: -0.02em; }
.final-cta p { font-size: 1.15rem; opacity: .92; margin-bottom: 30px; }
.btn-white { background: white; color: var(--primary-dark); font-weight: 700; }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.2); }

/* ============ Blog ============ */
.container-narrow { max-width: 760px; }
.blog-hero { background: var(--light, #eff7fc); padding: 64px 0 40px; text-align: center; }
.blog-hero h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
.blog-hero-sub { color: #4a6b7c; font-size: 1.1rem; max-width: 620px; margin: 12px auto 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.blog-card-img img { width: 100%; height: 180px; object-fit: cover; display: block; }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-body h2 { font-size: 1.25rem; line-height: 1.3; }
.blog-card-body h2 a { color: var(--dark); }
.blog-card-body h2 a:hover { color: var(--primary); }
.blog-card-body p { color: #4a6b7c; font-size: .96rem; flex: 1; }
.blog-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: #7a93a0; }
.blog-readmore { color: var(--primary); font-weight: 600; }
.pagination { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 40px; }
.breadcrumb { margin-bottom: 16px; }
.breadcrumb a { color: var(--primary); font-weight: 600; }
.blog-article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; line-height: 1.2; }
.blog-article-meta { color: #7a93a0; margin: 12px 0 32px; }
.blog-article-body { font-size: 1.08rem; line-height: 1.75; color: #233b48; }
.blog-article-body h2 { font-size: 1.6rem; margin: 36px 0 14px; }
.blog-article-body h3 { font-size: 1.3rem; margin: 28px 0 12px; }
.blog-article-body p { margin: 0 0 18px; }
.blog-article-body ul, .blog-article-body ol { margin: 0 0 18px 1.4em; }
.blog-article-body li { margin-bottom: 8px; }
.blog-article-body a { color: var(--primary); text-decoration: underline; }
.blog-article-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.blog-cta { text-align: center; margin: 48px 0; padding: 32px; }
.blog-cta h3 { font-size: 1.5rem; margin-bottom: 8px; }
.blog-cta p { color: #4a6b7c; margin-bottom: 20px; }
.blog-cta .btn { margin: 6px; }
.blog-related { margin-top: 40px; }
.blog-related ul { list-style: none; padding: 0; }
.blog-related li { margin-bottom: 10px; }
.blog-related a { color: var(--primary); font-weight: 600; }

/* ---- Blog covers (consistent branded pattern, real image when provided) ---- */
.blog-cover { position: relative; aspect-ratio: 16/9; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-cover .cover-pix { position: absolute; inset: 0; z-index: 0; opacity: .22;
    background-image: radial-gradient(white 1.5px, transparent 1.7px); background-size: 16px 16px; }
.blog-cover .cover-motif { position: relative; z-index: 1; font-size: 2.8rem; color: rgba(255,255,255,.95);
    transition: transform .5s ease; animation: float1 6s ease-in-out infinite; }
.blog-card:hover .blog-cover .cover-motif { transform: scale(1.16) rotate(-6deg); }
.blog-cover .cover-chip { position: absolute; z-index: 2; top: 12px; left: 12px;
    background: rgba(255,255,255,.92); color: var(--dark); font-size: .7rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .05em; padding: 5px 11px; border-radius: 100px; }

/* Article hero cover on the detail page */
.blog-hero-cover { position: relative; width: 100%; aspect-ratio: 21/9; max-height: 380px; overflow: hidden;
    border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 26px; }
.blog-hero-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-hero-cover .cover-pix { position: absolute; inset: 0; opacity: .2;
    background-image: radial-gradient(white 1.6px, transparent 1.8px); background-size: 20px 20px; }
.blog-hero-cover .cover-motif { position: relative; z-index: 1; font-size: 4rem; color: rgba(255,255,255,.95); }
@media (max-width: 600px){ .blog-hero-cover { aspect-ratio: 16/9; } }

/* ===================== App shell (dashboard sidebar) ===================== */
.app-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: #fafbfc; }
.app-sidebar { background: #fff; border-right: 1px solid var(--border); padding: 18px 14px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; }
.app-logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.25rem; color: var(--dark); text-decoration: none; padding: 6px 8px 14px; letter-spacing: -.02em; }
.app-create { width: 100%; text-align: center; margin-bottom: 10px; }
.app-nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.app-nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .15s, color .15s; }
.app-nav-item i { width: 20px; text-align: center; color: var(--muted); font-size: 1rem; }
.app-nav-item:hover { background: var(--light); }
.app-nav-item.active { background: var(--light); color: var(--primary); }
.app-nav-item.active i { color: var(--primary); }
.app-user { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 6px; }
.app-user-info { display: flex; align-items: center; gap: 10px; padding: 6px 8px; }
.app-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; object-fit: contain; }
.app-user-info b { color: var(--dark); font-size: .9rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-user-info small { color: var(--muted); font-size: .78rem; }
.app-main { padding: 0; min-width: 0; }
.app-main > main { min-height: auto; }

@media (max-width: 860px) {
    .app-shell { grid-template-columns: 1fr; }
    .app-sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; overflow-x: auto; padding: 12px; }
    .app-logo { padding: 6px; font-size: 1.15rem; }
    .app-create { width: auto; margin: 0; padding: 8px 14px; }
    .app-nav { flex-direction: row; flex-wrap: wrap; flex: 1 1 100%; gap: 4px; }
    .app-nav-item { padding: 8px 12px; font-size: .9rem; }
    .app-user { border-top: none; padding-top: 0; margin: 0; }
    .app-user .app-user-info { display: none; }
}
