/* ============================================
   agentAUX â€” Modern Corporate SaaS Theme
   Design tokens + section styles for index.html
   ============================================ */

:root {
    --primary: #c8650e;
    --primary-600: #e77817;
    --primary-500: #f08a32;
    --primary-50: #fff5ec;
    --primary-100: #ffe6d0;
    --accent: #fccd01;
    --accent-soft: #fff4b8;

    --ink-900: #1a1816;
    --ink-700: #3a3833;
    --ink-500: #5c5a54;
    --ink-400: #9a978f;
    --ink-300: #cfccc5;

    --bg: #ffffff;
    --bg-soft: #fdfaf6;
    --bg-muted: #f5f1ea;
    --border: #ebe5dc;

    --success: #16a34a;
    --warning: #f59e0b;
    --danger:  #DA251D;
    --gold:    #cc9933;
    --maroon:  #993333;

    --shadow-xs: 0 1px 2px rgba(60, 38, 14, 0.06);
    --shadow-sm: 0 2px 6px rgba(60, 38, 14, 0.07);
    --shadow:    0 8px 24px rgba(60, 38, 14, 0.10);
    --shadow-lg: 0 24px 48px rgba(60, 38, 14, 0.14);

    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --container: 1380px;

    --grad-hero: linear-gradient(135deg, #fff5ec 0%, #fdfaf6 50%, #fff8d8 100%);
    --grad-cta:  linear-gradient(135deg, #c8650e 0%, #e77817 50%, #fccd01 100%);
    --grad-text: linear-gradient(90deg, #e77817 0%, #fccd01 100%);
}

/* ===== Base resets that the modern page needs ===== */
html, body {
    overflow-x: clip;
    max-width: 100%;
}
html {
    scroll-padding-top: 110px;
    font-size: 17px;
}

/* Universal mobile safety: prevent any element from causing horizontal scroll */
*, *::before, *::after {
    box-sizing: border-box;
}
img, video, iframe {
    max-width: 100%;
    height: auto;
}

body.modern {
    font-family: 'Inter', 'Open Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
    color: var(--ink-700);
    background: var(--bg);
    line-height: 1.65;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.modern > main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    background: var(--bg-soft);
}
body.modern > main > #common-footer {
    margin-top: auto;
}

.modern h1, .modern h2, .modern h3, .modern h4, .modern h5 {
    color: var(--ink-900);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.modern p {
    color: var(--ink-700);
    line-height: 1.7;
}

.modern a { color: var(--primary-600); text-decoration: none; transition: color .2s; }
.modern a:hover { color: var(--primary); }

.modern .container,
body.modern .container,
body.modern .container-fluid {
    max-width: var(--container) !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

/* ===== Premium typography refinement ===== */
.modern .section-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    padding: .5rem 1.1rem;
}
.modern .section-title {
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    text-wrap: balance;
}
.modern .section-subtitle {
    font-size: 19.5px;
    line-height: 1.7;
    color: var(--ink-700);
    font-weight: 500;
    max-width: 820px;
    margin: 0 auto 3.2rem;
}
.modern .gradient-text,
.modern .hl-orange {
    background: linear-gradient(135deg, var(--primary-600), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== Modern Header / Navbar ===== */
.modern .header,
.header {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    background: #ffffff;
}
.modern .agentaux-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border) !important;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 2px 8px rgba(60, 38, 14, 0.06);
}

.modern .agentaux-header .navbar-brand {
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.modern .agentaux-header .navbar-brand img {
    width: 75px !important;
    height: auto;
}

.modern .agentaux-header .nav-item {
    padding: 0 .35rem !important;
    font-weight: 500;
}

.modern .agentaux-header ul li a {
    color: var(--ink-700) !important;
    font-size: 15px;
    font-weight: 500;
    padding: .55rem .9rem !important;
    border-radius: 8px;
    transition: color .15s ease, background-color .15s ease;
}

.modern .agentaux-header ul li a:hover {
    color: var(--primary) !important;
    background: var(--primary-50);
}

.modern .agentaux-header ul li.active a {
    color: var(--primary) !important;
    background: var(--primary-50);
}

.modern .nav-cta,
.modern .agentaux-header ul li a.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-left: .8rem;
    padding: .6rem 1.1rem !important;
    background: var(--primary-600) !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 16px rgba(231, 120, 23, 0.28);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.modern .nav-cta i,
.modern .agentaux-header ul li a.nav-cta i {
    color: #fff !important;
}

.modern .nav-cta:hover,
.modern .agentaux-header ul li a.nav-cta:hover {
    background: var(--primary) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(200, 101, 14, 0.32);
}
.modern .nav-cta:hover i,
.modern .agentaux-header ul li a.nav-cta:hover i {
    color: #fff !important;
}

.modern .navbar-toggler {
    background-color: var(--primary-600) !important;
    border-color: var(--primary-600) !important;
    border-radius: 8px;
    padding: .35rem .55rem;
}

/* ===== Buttons ===== */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .95rem 1.7rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15.5px;
    letter-spacing: -0.005em;
    border: 1px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
}
.btn-modern::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .55s ease;
    pointer-events: none;
}
.btn-modern:hover::after { transform: translateX(100%); }
.btn-primary-modern {
    background: linear-gradient(135deg, var(--primary-600) 0%, #e89537 100%);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(231, 120, 23, 0.32), 0 2px 4px rgba(231, 120, 23, 0.18);
}
.btn-primary-modern:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(200, 101, 14, 0.4), 0 4px 8px rgba(200, 101, 14, 0.22);
}
.btn-ghost-modern {
    background: #fff;
    color: var(--ink-900) !important;
    border-color: var(--border);
    box-shadow: 0 1px 2px rgba(60, 38, 14, 0.04);
}
.btn-ghost-modern:hover {
    color: var(--primary) !important;
    border-color: var(--primary-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(60, 38, 14, 0.08);
}

/* ===== Section base ===== */
.modern section {
    padding: 48px 0;
}

.section-eyebrow {
    display: inline-block;
    padding: .35rem .9rem;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: .75rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--ink-500);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.section-head { text-align: center; margin-bottom: 3rem; }

.section-divider {
    width: 80px;
    height: 3px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-600), var(--accent));
    margin: 1rem auto 1.1rem;
    opacity: 1;
}
.section-divider-long {
    width: 100%;
    max-width: 900px;
    height: 3px;
    margin: 0 auto 1.3rem;
}
.section-head-line { margin-bottom: 2rem; }

/* Spotlight head — twin overlapping icon badges above the title */
.section-head-spotlight {
    text-align: center;
}
.spotlight-icons {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.2rem;
}
.spotlight-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-600), var(--accent));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 12px 28px rgba(199, 100, 14, .26);
    border: 3px solid #fff;
    position: relative;
    z-index: 1;
    transform: rotate(-6deg);
    transition: transform .3s ease;
}
.spotlight-icon--accent {
    background: linear-gradient(135deg, #fccd01, var(--accent));
    margin-left: -22px;
    transform: rotate(6deg);
    z-index: 2;
}
.section-head-spotlight:hover .spotlight-icon { transform: rotate(0deg) translateX(-6px); }
.section-head-spotlight:hover .spotlight-icon--accent { transform: rotate(0deg) translateX(6px); }

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

/* ===== HERO ===== */
.modern .hero {
    background: var(--grad-hero);
    padding: 50px 0 70px;
    position: relative;
    overflow: visible;
}

/* ===== Centered hero (original style with yellow underline) ===== */
.modern .hero-centered .hero-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.2rem;
}
.modern .hero-centered .hero-eyebrow { margin-bottom: 1.1rem; }
.modern .hero-centered .hero-title {
    font-size: clamp(38px, 5.6vw, 68px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--ink-900);
    margin-bottom: .75rem;
    padding: .15em 0;
    padding: .1em 0;
}
.modern .hero-centered .hero-underline {
    display: block;
    width: 75%;
    max-width: 760px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-600) 0%, var(--accent) 50%, var(--primary-600) 100%);
    background-size: 200% 100%;
    border-radius: 999px;
    margin: 0 auto 1.6rem;
    animation: shineFooter 6s linear infinite;
}
.modern .hero-centered .hero-subtitle {
    font-size: clamp(22px, 2.7vw, 32px);
    font-weight: 500;
    color: var(--ink-700);
    line-height: 1.45;
    margin: 1.2rem 0 .8rem;
    letter-spacing: -0.01em;
}
.modern .hero-centered .hero-lede {
    font-size: clamp(18px, 1.9vw, 22px);
    color: var(--ink-700);
    max-width: 860px;
    margin: 0 auto 2.4rem;
    line-height: 1.7;
    font-weight: 500;
}
.modern .hero-centered .hero-cta {
    justify-content: center;
    margin-bottom: 2.4rem;
}
.modern .hero-centered .hero-trust {
    justify-content: center;
}

@media (max-width: 600px) {
    .modern .hero-centered .hero-underline { width: 85%; }
    .modern .hero-centered .hero-cta { flex-direction: column; align-items: stretch; }
}
.modern .hero::before {
    content: "";
    position: absolute;
    top: -120px; right: -120px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(240, 138, 50, 0.18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.modern .hero::after {
    content: "";
    position: absolute;
    bottom: -160px; left: -160px;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(252, 205, 1, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
    align-items: start;
}
.hero-text {
    min-width: 0;
    display: block;
    visibility: visible;
    opacity: 1;
}
.hero-text > * {
    display: revert;
    visibility: visible;
    opacity: 1;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    box-shadow: var(--shadow-xs);
    margin-bottom: 1.4rem;
}
.hero-eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(16,185,129,.18);
}
.hero-title {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--ink-900);
    margin-bottom: 1.2rem;
    padding: .1em 0;
}
.hero-lede {
    font-size: 19px;
    color: var(--ink-500);
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.4rem; }
.hero-trust {
    display: flex; flex-wrap: wrap; gap: 1.6rem;
    color: var(--ink-700);
    font-size: 15.5px;
    font-weight: 600;
}
.hero-trust .item {
    display: flex; align-items: center; gap: .4rem;
}
.hero-trust .item i { color: var(--success); }

.hero-visual {
    position: relative;
    display: flex; justify-content: center;
    align-items: flex-start;
    max-width: 100%;
}
.hero-visual .phone-frame {
    position: relative;
    border-radius: 28px;
    padding: 10px;
    background: linear-gradient(145deg, #2a2622 0%, #3d3833 100%);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.06) inset;
    max-width: 100%;
    width: fit-content;
}
.hero-visual .phone-frame img {
    width: 100%;
    max-width: 340px;
    max-height: 460px;
    height: auto;
    object-fit: contain;
    object-position: top center;
    border-radius: 20px;
    display: block;
    background: #fff;
    transition: opacity .4s ease;
}
.hero-visual .float-badge {
    position: absolute;
    background: #fff;
    padding: .7rem 1rem;
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: flex; align-items: center; gap: .6rem;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-900);
}
.hero-visual .float-badge i {
    width: 36px; height: 36px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 16px;
}
.hero-visual .float-badge.b1 { top: 18%; left: -10px; }
.hero-visual .float-badge.b1 i { background: var(--primary-600); }
.hero-visual .float-badge.b2 { bottom: 14%; right: -10px; }
.hero-visual .float-badge.b2 i { background: var(--success); }

/* ===== Stats strip ===== */
.stats-strip {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0 !important;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}
.stat .num {
    font-size: clamp(34px, 3.8vw, 50px);
    font-weight: 900;
    color: var(--ink-900);
    letter-spacing: -0.035em;
    line-height: 1;
}
.stat .label {
    font-size: 15px;
    color: var(--ink-700);
    margin-top: .55rem;
    font-weight: 600;
    letter-spacing: -0.005em;
}
.stat .num .plus { color: var(--primary-600); }

/* ===== Showcase section (hero image + features) ===== */
.modern .showcase-section {
    padding: 70px 0;
    background: var(--bg);
}
.modern .showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.modern .showcase-text h2 {
    margin-bottom: 1rem;
    text-align: left;
}
.modern .showcase-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem 1.2rem;
}
.modern .showcase-features li {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--ink-900);
    font-size: 15.5px;
    font-weight: 600;
}
.modern .showcase-features li i {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-600), var(--accent));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.modern .showcase-features li.showcase-categories {
    align-items: flex-start;
}
.modern .showcase-features li.showcase-categories i {
    margin-top: 2px;
}
.modern .showcase-features li.showcase-categories span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.modern .showcase-features li.showcase-categories b {
    color: var(--ink-900);
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.3;
}
.modern .showcase-features li.showcase-categories small {
    color: var(--ink-500);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}
.modern .showcase-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modern .showcase-visual::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(252, 205, 1, 0.22), transparent 65%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.modern .showcase-visual img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    width: 460px;
    height: auto;
    transition: opacity .4s ease;
}

@media (max-width: 900px) {
    .modern .showcase-grid { grid-template-columns: 1.4fr 1fr; gap: 1.5rem; }
    .modern .showcase-visual img { width: 100%; max-width: 320px; }
}

/* ===== Features grid ===== */
.features { background: var(--bg-soft); }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.9rem 1.7rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.1rem;
    row-gap: .55rem;
    align-items: center;
}
.feature-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-600), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(60, 38, 14, 0.12);
    border-color: var(--primary-100);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-50), var(--accent-soft));
    color: var(--primary-600);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 0;
    transition: transform .25s ease;
    flex-shrink: 0;
}
.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, var(--primary-600), var(--accent));
    color: #fff;
}
.feature-card h4 {
    font-size: 18.5px;
    font-weight: 800;
    color: var(--ink-900);
    margin: 0;
    letter-spacing: -0.015em;
}
.feature-card p {
    color: var(--ink-700);
    font-size: 15.5px;
    font-weight: 500;
    margin: 0;
    line-height: 1.7;
    grid-column: 1 / -1;
}

/* ===== Announcement banner ===== */
.announcement-band {
    background: linear-gradient(135deg, var(--primary-50), var(--accent-soft));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 60px 0 !important;
}
.announce-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
}
.announce-pill {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .7rem 1.1rem;
    display: flex; align-items: center; gap: .6rem;
    font-size: 14.5px;
    color: var(--ink-700);
    box-shadow: var(--shadow-xs);
    transition: transform .15s ease, box-shadow .15s ease;
}
.announce-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.announce-pill.clickable { cursor: pointer; }
.announce-pill.clickable:hover {
    border-color: var(--primary-100);
    background: var(--primary-50);
}
.announce-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-600);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px var(--primary-50);
}

/* ===== Product section ===== */
.product-modern { background: var(--bg); }
.product-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}
.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}
.product-list li {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.5rem;
    transition: all .25s ease;
    color: var(--ink-700);
    font-size: 16.5px;
    font-weight: 500;
    line-height: 1.65;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    row-gap: .5rem;
    align-items: center;
}
.product-list li:hover {
    background: #fff;
    border-color: var(--primary-100);
    box-shadow: 0 14px 28px rgba(60, 38, 14, 0.10);
    transform: translateY(-4px);
}
.product-list li .icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-600), #e89537);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 19px;
    margin-bottom: 0;
    box-shadow: 0 8px 18px rgba(231, 120, 23, .22);
    flex-shrink: 0;
}
.product-list li b {
    color: var(--ink-900);
    display: block;
    font-weight: 800;
    font-size: 18.5px;
    letter-spacing: -0.015em;
    margin-bottom: 0;
}
.product-list li .prod-desc {
    grid-column: 1 / -1;
    display: block;
    color: var(--ink-700);
}

.download-card {
    background:
        radial-gradient(circle at 80% 10%, rgba(255,255,255,.18), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(255,255,255,.08), transparent 50%),
        linear-gradient(135deg, #c8650e 0%, #e77817 45%, #f5a72a 100%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 2.6rem 2.3rem;
    display: flex; flex-direction: column; justify-content: center;
    box-shadow: 0 24px 50px rgba(231, 120, 23, 0.35),
                0 0 0 1px rgba(255,255,255,0.10) inset;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
/* Subtle grid pattern overlay for premium feel */
.download-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: -1;
    mask-image: radial-gradient(circle at 30% 50%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 30% 50%, #000 0%, transparent 75%);
}
/* Soft floating orbs */
.download-card::after {
    content: "";
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,.20), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}
.download-card .dc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    padding: .35rem .9rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.25);
    margin-bottom: 1.2rem;
    width: fit-content;
}
.download-card .dc-eyebrow i { font-size: 14px; }
.download-card h4 {
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: .65rem;
    letter-spacing: -0.025em;
    line-height: 1.15;
    position: relative;
}
.download-card p {
    color: rgba(255,255,255,.95);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1.4rem;
    position: relative;
}
.download-card .dc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    position: relative;
}
.download-card .dc-features li {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: rgba(255,255,255,.95);
    font-size: 15px;
    font-weight: 500;
}
.download-card .dc-features li i {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,.20);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,.35);
}
.download-card .gp-btn {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: #fff !important;
    padding: .7rem 1.3rem;
    border-radius: 12px;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease, background .2s ease;
    box-shadow: 0 12px 28px rgba(0,0,0,.32);
    width: fit-content;
    position: relative;
    border: 1px solid rgba(255,255,255,.10);
}
.download-card .gp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(0,0,0,.42);
    background: #1a1a1a;
}
.download-card .gp-btn__inner {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
}
.download-card .gp-btn__icon {
    width: 30px;
    height: 30px;
    display: block;
    flex-shrink: 0;
}
.download-card .gp-btn__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    color: #fff;
}
.download-card .gp-btn__text small {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
}
.download-card .gp-btn__text strong {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .005em;
    color: #fff;
}

/* Stats row under the Play button */
.download-card .dc-stats {
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255,255,255,.20);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    position: relative;
}
.download-card .dc-stat {
    text-align: center;
}
.download-card .dc-stat__top {
    color: #ffd45c;
    font-size: 17px;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: .35rem;
    text-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.download-card .dc-stat__top b {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.download-card .dc-stat__top b span {
    color: #ffd45c;
}
.download-card .dc-stat__top i.fa-android {
    color: #fff;
    font-size: 22px;
    text-shadow: none;
}
.download-card .dc-stat__bot {
    color: rgba(255,255,255,.92);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .04em;
}
.download-card .dc-stat__bot b {
    color: #fff;
    font-weight: 800;
    margin-right: .2rem;
}

.help-head {
    text-align: center;
    margin: 3rem auto 2rem;
    max-width: 760px;
}
.help-head h3 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: var(--ink-900);
    margin: .8rem 0 .5rem;
    letter-spacing: -0.025em;
}
.help-head p {
    color: var(--ink-700);
    font-size: 17px;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

.help-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
    width: 100%;
}
.help-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 1.1rem;
    row-gap: .35rem;
    align-items: center;
    padding: 1.6rem 1.6rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--ink-700) !important;
    text-decoration: none !important;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
}
.help-card:hover {
    background: #fff;
    border-color: var(--primary-100);
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(60, 38, 14, 0.10);
}
.help-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--primary-600), var(--accent));
    transform: translateX(-4px);
    transition: transform .2s ease;
}
.help-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary-100);
    color: var(--ink-700) !important;
}
.help-card:hover::before { transform: translateX(0); }
.help-card .help-icon {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 60px; height: 60px;
    margin: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-600), #e89537);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 10px 22px rgba(231, 120, 23, 0.25);
    transition: transform .2s ease;
    align-self: center;
}
.help-card:hover .help-icon { transform: scale(1.06) rotate(-4deg); }
.help-card .help-body {
    grid-column: 2;
    grid-row: 1 / span 3;
    min-width: 0;
    width: 100%;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.help-card .help-tag {
    display: inline-flex; align-items: center; gap: .35rem;
    background: #fef2e0;
    color: #b45309;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0;
    width: fit-content;
}
.help-card .help-body h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink-900);
    margin: 0;
    letter-spacing: -0.015em;
    line-height: 1.25;
}
.help-card .help-body p {
    color: var(--ink-700);
    font-size: 14.5px;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}
.help-card .help-arrow { display: none; }

@media (max-width: 992px) {
    .help-cards { grid-template-columns: 1fr; }
}

/* ===== Companies section (modern grid) ===== */
.modern .companies-section { background: var(--bg-soft); }
.modern .companies-section .hl-orange { color: var(--primary-600); }
.modern .companies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}
.modern .policies-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 1100px) {
    .modern .companies-grid { grid-template-columns: repeat(3, 1fr); }
    .modern .policies-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
    .modern .companies-grid,
    .modern .policies-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .modern .companies-grid,
    .modern .policies-grid { grid-template-columns: 1fr; }
}
.modern .company-tile {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.6rem 1.6rem;
    text-align: center;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-decoration: none;
    display: block;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
    isolation: isolate;
}
.modern .company-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(252, 205, 1, 0.10), rgba(231, 120, 23, 0.06));
    opacity: 0;
    transition: opacity .25s ease;
    z-index: -1;
}
.modern .company-tile::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-600), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.modern .company-tile:hover,
.modern .company-tile:focus-visible {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(60, 38, 14, 0.10);
    border-color: var(--primary-100);
    outline: none;
}
.modern .company-tile:hover::before { opacity: 1; }
.modern .company-tile:hover::after { transform: scaleX(1); }
.modern .company-tile__logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    border-radius: 22px;
    padding: 14px;
    border: 1px solid var(--border);
    transition: transform .25s ease, background .25s ease;
}
.modern .company-tile:hover .company-tile__logo {
    transform: scale(1.06);
    background: #fff;
}
.modern .company-tile__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.modern .company-tile__name {
    font-size: 17.5px;
    font-weight: 800;
    color: var(--ink-900);
    line-height: 1.35;
    min-height: 2.7em;
    letter-spacing: -0.015em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: .75rem;
}
.modern .company-tile__desc {
    font-size: 15px;
    color: var(--ink-700);
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.8em;
    text-align: left;
}
.modern .company-tile__cta {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-600);
    text-transform: uppercase;
    letter-spacing: .08em;
    transition: gap .2s ease;
}
.modern .company-tile:hover .company-tile__cta { gap: .55rem; }
.modern .company-tile__cta i { font-size: 11px; }

@media (max-width: 600px) {
    .modern .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .8rem;
    }
    .modern .company-tile { padding: 1.2rem .8rem .9rem; }
    .modern .company-tile__logo { width: 80px; height: 80px; padding: 10px; }
    .modern .company-tile__name { font-size: 14px; min-height: 2.5em; }
}

/* ===== Pricing ===== */
.pricing-modern { background: var(--bg); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: 1rem;
}
.price-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex; flex-direction: column;
}
.price-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--primary-100);
}
.price-card.featured {
    border-color: var(--primary-600);
    box-shadow: 0 16px 40px rgba(231, 120, 23, 0.18);
    transform: translateY(-4px);
    background: linear-gradient(180deg, #fff 0%, var(--primary-50) 100%);
}
.price-card .badge-pop {
    position: absolute;
    top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--primary-600);
    color: #fff;
    padding: .3rem .9rem;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(231, 120, 23,.3);
}
.price-card .tier-medal {
    width: 64px; height: 64px;
    margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
}
.price-card .tier-medal img { width: 100%; height: 100%; object-fit: contain; }
.price-card .tier-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink-700);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .8rem;
}
/* Tier-specific gradient bases — each card gets a tint that matches the metal */
.price-card.tier-free {
    background: linear-gradient(180deg, #ecfdf5 0%, #fff 60%);
    border-color: #a7f3d0;
}
.price-card.tier-free:hover { border-color: #6ee7b7; }

.price-card.tier-silver {
    background: linear-gradient(180deg, #f3f4f6 0%, #fff 60%);
    border-color: #d1d5db;
}
.price-card.tier-silver:hover { border-color: #9ca3af; }

.price-card.tier-gold {
    background: linear-gradient(180deg, #fef3c7 0%, #fff 60%);
    border-color: #fcd34d;
}
.price-card.tier-gold:hover { border-color: #f59e0b; }
.price-card.tier-gold.featured {
    background: linear-gradient(180deg, #fef9c3 0%, #fff7ed 100%);
    border-color: #f59e0b;
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.22);
}
.price-card.tier-gold.featured .badge-pop {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.4);
}

.price-card.tier-diamond {
    background: linear-gradient(180deg, #ecfeff 0%, #fff 60%);
    border-color: #a5f3fc;
}
.price-card.tier-diamond:hover { border-color: #67e8f9; }

/* Tier-name colors and number colors per tier */
.price-card .tier-name.free { color: #059669; }
.price-card.tier-free .price-num { color: #059669; }
.price-card.tier-free .price-duration .big { color: #059669; }
.price-card.tier-free .pricing-btn { background: #059669; box-shadow: 0 8px 20px rgba(5, 150, 105, 0.28); }
.price-card.tier-free .pricing-btn:hover { background: #047857; box-shadow: 0 12px 28px rgba(4, 120, 87, 0.34); }

.price-card .tier-name.silver {
    background: linear-gradient(135deg, #6b7280, #9ca3af, #d1d5db, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}
.price-card.tier-silver .price-num { color: #4b5563; }
.price-card.tier-silver .price-duration .big { color: #6b7280; }
.price-card.tier-silver .btn-ghost-modern { border-color: #9ca3af; }
.price-card.tier-silver .btn-ghost-modern:hover { color: #4b5563 !important; border-color: #6b7280; }

.price-card .tier-name.gold {
    background: linear-gradient(135deg, #b45309, #d97706, #fbbf24, #d97706);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}
.price-card.tier-gold .price-num { color: #b45309; }
.price-card.tier-gold .price-duration .big { color: #d97706; }
.price-card.tier-gold .pricing-btn {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.32);
}
.price-card.tier-gold .pricing-btn:hover {
    background: linear-gradient(135deg, #b45309, #d97706);
    box-shadow: 0 12px 28px rgba(180, 83, 9, 0.4);
}

.price-card .tier-name.diamond {
    background: linear-gradient(135deg, #0891b2, #06b6d4, #67e8f9, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}
.price-card.tier-diamond .price-num { color: #0e7490; }
.price-card.tier-diamond .price-duration .big { color: #0891b2; }
.price-card.tier-diamond .btn-ghost-modern { border-color: #67e8f9; }
.price-card.tier-diamond .btn-ghost-modern:hover { color: #0e7490 !important; border-color: #06b6d4; background: #ecfeff; }
.price-card .price-row {
    display: flex; align-items: baseline; justify-content: center;
    gap: .25rem;
    margin-bottom: .3rem;
}
.price-card .price-num {
    font-size: 52px;
    font-weight: 800;
    color: var(--ink-900);
    letter-spacing: -0.03em;
    line-height: 1;
}
.price-card .price-cur { font-size: 16px; color: var(--ink-500); font-weight: 600; }
.price-card .price-period { color: var(--ink-700); font-size: 15px; font-weight: 500; margin-bottom: .8rem; }
.price-card .price-total {
    color: var(--primary-600);
    font-weight: 900;
    font-size: 22px;
    background: #fff;
    border: 2px solid var(--primary-100);
    border-radius: 10px;
    padding: .55rem 1.2rem;
    display: inline-block;
    margin-bottom: .6rem;
    letter-spacing: -0.01em;
    box-shadow: 0 2px 6px rgba(231, 120, 23, 0.08);
}
.price-card .price-save {
    color: var(--success);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 1rem;
}
.price-card .price-plan {
    color: #6b7280;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 1rem;
}
.price-card .price-duration {
    color: var(--ink-900);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: baseline;
    gap: .35rem;
    justify-content: center;
    width: 100%;
}
.price-card .price-duration .big {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary-600);
    line-height: 1;
    letter-spacing: -0.03em;
}
.price-card .pricing-btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}
.payment-help-line {
    text-align: center;
    margin-top: 2rem;
    color: var(--ink-500);
}
.payment-help-line a {
    color: var(--primary-600);
    font-weight: 600;
}

/* ===== Demo carousel ===== */
.demo-modern { background: var(--bg-soft); }
.demo-shell {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.demo-modern .carousel-item img {
    height: 480px !important;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}
.demo-modern .carousel-item .landscape-img {
    height: auto !important;
    max-height: 480px;
    width: auto !important;
    max-width: 100%;
}
.demo-modern .carousel-caption {
    position: static !important;
    background: transparent !important;
    color: var(--ink-900) !important;
    margin-top: 1rem;
    padding: 0 !important;
}
.demo-modern .carousel-caption h3 {
    font-size: 18px !important;
    color: var(--ink-900) !important;
    font-weight: 700;
    text-align: center;
}
.demo-modern .carousel-control-prev,
.demo-modern .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow);
    opacity: 1 !important;
    transition: transform .2s ease;
}
.demo-modern .carousel-control-prev { left: -12px; }
.demo-modern .carousel-control-next { right: -12px; }
.demo-modern .carousel-control-prev:hover,
.demo-modern .carousel-control-next:hover {
    transform: translateY(-50%) scale(1.08);
}
.demo-modern .carousel-control-prev-icon:after,
.demo-modern .carousel-control-next-icon:after {
    color: var(--primary-600) !important;
    font-size: 20px !important;
}

/* ===== Contact ===== */
.contact-modern { background: var(--bg); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
}
.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-xs);
}
.contact-card.info {
    background: linear-gradient(180deg, var(--primary-50), #fff);
}
.terms-contact-card {
    margin: 1.2rem 0 .5rem;
    padding: 1.4rem 1.6rem !important;
}
.terms-contact-card .contact-row {
    padding: .8rem 0;
}
.terms-contact-card .contact-row:first-child {
    padding-top: 0;
}
.terms-contact-card .contact-row:last-child {
    padding-bottom: 0;
}
.contact-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--ink-900);
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
}
.contact-row {
    display: flex; align-items: flex-start; gap: .9rem;
    padding: .9rem 0;
    border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--primary-600);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}
.contact-row .label {
    font-size: 12.5px;
    color: var(--primary-600);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .25rem;
}
.contact-row .value, .contact-row .value a {
    color: var(--ink-900);
    font-weight: 700;
    font-size: 16.5px;
}
.contact-row .value a:hover { color: var(--primary); }
.contact-row .value small {
    display: block;
    color: var(--ink-700);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.55;
    margin-top: .25rem;
}

.contact-card.form-card form { margin: 0; width: 100% !important; }

/* ===== Math captcha (visible in form) ===== */
.contact-card.form-card .captcha-box {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.contact-card.form-card .captcha-question {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .9rem 1.1rem;
    background: linear-gradient(135deg, var(--primary-50), var(--accent-soft));
    border-bottom: 1px solid var(--primary-100);
    font-size: 17px;
    font-weight: 700;
    color: var(--ink-900);
}
.contact-card.form-card .captcha-question > i {
    color: var(--primary-600);
    font-size: 18px;
}
.contact-card.form-card .captcha-question span { flex: 1; }
.contact-card.form-card .captcha-question b {
    display: inline-block;
    min-width: 28px;
    padding: 2px 8px;
    margin: 0 2px;
    background: #fff;
    border: 1px solid var(--primary-100);
    border-radius: 8px;
    color: var(--primary-600);
    font-size: 19px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 2px 6px rgba(231, 120, 23, 0.18);
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}
.contact-card.form-card .captcha-refresh {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--primary-600);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}
.contact-card.form-card .captcha-refresh:hover {
    background: var(--primary-600);
    color: #fff;
    border-color: var(--primary-600);
    transform: rotate(180deg);
}
.contact-card.form-card .captcha-input {
    border: none !important;
    border-radius: 0 !important;
    padding: .85rem 1.1rem !important;
    background: #fff !important;
}
.contact-card.form-card .captcha-input:focus {
    box-shadow: none !important;
    background: var(--bg-soft) !important;
}
.modern .form-control,
.contact-card.form-card .form-control {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .85rem 1rem;
    font-size: 15px;
    color: var(--ink-900);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%;
}
.contact-card.form-card form {
    width: 100% !important;
}
.modern .form-control:focus,
.contact-card.form-card .form-control:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(240, 138, 50, 0.15);
}
.contact-card.form-card .form-group { margin-bottom: 1rem; }
.contact-card.form-card label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-700);
    margin-bottom: .35rem;
    display: block;
}
.contact-card.form-card .contact-btn {
    background: var(--primary-600);
    color: #fff;
    border: none;
    padding: .85rem 1.6rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    width: 100%;
    transition: all .2s ease;
    box-shadow: 0 8px 20px rgba(231, 120, 23,.25);
}
.contact-card.form-card .contact-btn:hover {
    background: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(200, 101, 14,.32);
}
.note-strip {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.8rem 2rem;
    margin-top: 2rem;
}
.note-strip h4 {
    font-size: 19px;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
    display: flex; align-items: center; gap: .55rem;
}
.note-strip h4 i { color: var(--warning); font-size: 22px; }
.note-strip ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem 1.5rem;
    font-size: 16.5px;
    color: var(--ink-700);
    font-weight: 500;
    line-height: 1.6;
}
.note-strip li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
}
.note-strip li::before {
    content: "\2022";
    color: var(--primary-600);
    font-weight: 800;
    font-size: 20px;
    line-height: 1.4;
    flex-shrink: 0;
}

/* ===== CTA Banner ===== */
.cta-banner { padding: 0 !important; }
.cta-banner-inner {
    background: var(--grad-cta);
    border-radius: var(--radius-xl);
    padding: 3.5rem 3rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin: 4rem auto;
    box-shadow: var(--shadow-lg);
}
.cta-banner-inner::before {
    content: "";
    position: absolute;
    top: -80px; right: -80px;
    width: 280px; height: 280px;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
}
.cta-banner-inner::after {
    content: "";
    position: absolute;
    bottom: -80px; left: -80px;
    width: 240px; height: 240px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
}
.cta-banner-inner > * { position: relative; }
.cta-banner h2 {
    color: #fff;
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    margin-bottom: .8rem;
    letter-spacing: -0.02em;
}
.cta-banner p {
    color: rgba(255,255,255,.9);
    font-size: 17px;
    margin-bottom: 1.8rem;
    max-width: 600px;
    margin-left: auto; margin-right: auto;
}
.cta-banner .btn-modern.btn-primary-modern {
    background: #fff;
    color: var(--primary) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.cta-banner .btn-modern.btn-primary-modern:hover {
    background: var(--primary-50);
    color: var(--primary) !important;
}

/* ===== Modern Footer ===== */
.modern-footer {
    background: #1f1d1a;
    color: #d4cfc4;
    padding: 60px 0 0 !important;
    margin-top: 0;
}
.modern-footer .footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.2rem 2rem;
}
.modern-footer .brand-col h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: .8rem;
    display: flex; align-items: center; gap: .6rem;
}
.modern-footer .brand-col h3 img { width: 44px; height: auto; }
.modern-footer .brand-col p {
    color: #a8a59e;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    max-width: 320px;
}
.modern-footer .socials {
    display: flex; gap: .6rem;
}
.modern-footer .socials a {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    color: #d4cfc4;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px;
    transition: all .15s ease;
}
.modern-footer .socials a:hover {
    background: var(--primary-600);
    color: #fff;
    transform: translateY(-2px);
}
.modern-footer .col-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1rem;
}
.modern-footer ul.foot-list {
    list-style: none; padding: 0; margin: 0;
}
.modern-footer ul.foot-list li { margin-bottom: .55rem; }
.modern-footer ul.foot-list a {
    color: #a8a59e;
    font-size: 14.5px;
    transition: color .15s;
    text-decoration: none;
}
.modern-footer ul.foot-list a:hover { color: #fff; }
.modern-footer .contact-mini { color: #a8a59e; font-size: 14px; line-height: 1.7; }
.modern-footer .contact-mini a { color: #d4cfc4; }
.modern-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.4rem 1.2rem;
    text-align: center;
    color: #a8a59e;
    font-size: 13.5px;
}
.modern-footer .footer-bottom a {
    color: var(--accent);
    font-weight: 600;
}
.modern-footer .footer-bottom a:hover { color: var(--primary-500); }

/* ===== Company Details Modal ===== */
.company-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: modalFade .25s ease;
}
.company-modal.is-open { display: flex; }

@keyframes modalFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes modalSlide {
    from { opacity: 0; transform: translateY(20px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.company-modal .modal-box {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
    animation: modalSlide .3s ease;
    position: relative;
}
.company-modal .modal-header {
    background: var(--grad-hero);
    padding: 1.4rem 1.6rem 1.4rem 1.4rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
}
.company-modal .modal-header__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .4rem;
}
.company-modal .modal-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: linear-gradient(135deg, var(--primary-600), var(--accent));
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(199, 100, 14, .35);
    transition: all .2s ease;
    z-index: 5;
}
.company-modal .modal-close:hover {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 8px 20px rgba(239, 68, 68, .45);
    transform: rotate(90deg) scale(1.05);
}
.company-modal .modal-logo {
    width: 78px; height: 78px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 18px;
    margin: 0;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 3px solid #fff;
    padding: .7rem;
}
.company-modal .modal-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.company-modal .modal-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: linear-gradient(135deg, var(--accent), var(--primary-600));
    color: #fff;
    padding: .25rem .75rem;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(231, 120, 23, 0.28);
    width: fit-content;
    margin: 0;
}
.company-modal .modal-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink-900);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.company-modal .modal-body {
    padding: 1.6rem 1.8rem;
    overflow-y: auto;
    flex: 1;
}
.company-modal .modal-section {
    margin-bottom: 1.4rem;
}
.company-modal .modal-section:last-child { margin-bottom: 0; }
.company-modal .modal-section h6 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary-600);
    margin-bottom: .5rem;
    display: flex; align-items: center; gap: .4rem;
}
.company-modal .modal-section h6 i {
    width: 24px; height: 24px;
    border-radius: 6px;
    background: var(--primary-50);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px;
}
.company-modal .modal-section p {
    color: var(--ink-700);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75;
    margin: 0;
}
.company-modal .modal-policies {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .55rem;
}
.company-modal .modal-policy {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .65rem .85rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--ink-900);
    font-size: 14.5px;
    font-weight: 600;
    transition: all .2s ease;
}
.company-modal .modal-policy:hover {
    background: var(--primary-50);
    border-color: var(--primary-100);
    transform: translateX(2px);
}
.company-modal .modal-policy i {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-600), var(--accent));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.company-modal .modal-policy--company {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
}
.company-modal .modal-policy__logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 3px;
    flex-shrink: 0;
}
@media (max-width: 580px) {
    .company-modal .modal-policies { grid-template-columns: 1fr; }
}
.company-modal .modal-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
}
.company-modal .modal-facts .fact {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .65rem .8rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: 13px;
}
.company-modal .modal-facts .fact i {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: var(--primary-50);
    color: var(--primary-600);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.company-modal .modal-facts .fact .label {
    display: none;
}
.company-modal .modal-facts .fact .value {
    color: var(--ink-700);
    font-weight: 600;
    word-break: break-word;
    min-width: 0;
}

.company-modal .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
}
.company-modal .info-pill {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .7rem .9rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--ink-700);
    font-size: 13.5px;
    font-weight: 500;
}
.company-modal .info-pill i {
    color: var(--primary-600);
    font-size: 14px;
}

.company-modal .modal-footer {
    padding: 1.2rem 1.8rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: .8rem;
    background: var(--bg-soft);
}
.company-modal .modal-footer .btn-modern {
    flex: 1;
    justify-content: center;
}

@media (max-width: 580px) {
    .company-modal { padding: 1rem; }
    .company-modal .modal-header { padding: 1.4rem 1.2rem 1rem; }
    .company-modal .modal-body { padding: 1.2rem; }
    .company-modal .modal-footer { padding: 1rem 1.2rem; flex-direction: column; }
    .company-modal .info-grid { grid-template-columns: 1fr; }
    .company-modal .modal-logo { width: 90px; height: 90px; }
}

/* ===== Content Pages (privacy / terms / refund / payment-help) ===== */
.modern .page-hero {
    background: var(--grad-hero);
    padding: 28px 0 22px;
    text-align: center;
    position: relative;
    overflow: visible;
}
.modern .page-hero::before {
    content: "";
    position: absolute;
    top: -120px; right: -120px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(240, 138, 50, 0.16), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.modern .page-hero::after {
    content: "";
    position: absolute;
    bottom: -160px; left: -160px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(252, 205, 1, 0.13), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.modern .page-hero .inner { position: relative; z-index: 1; }
.modern .page-hero .crumbs {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: 13.5px;
    color: var(--ink-500);
    margin-bottom: 1rem;
}
.modern .page-hero .crumbs a { color: var(--primary-600); font-weight: 600; }
.modern .page-hero .crumbs i { font-size: 11px; color: var(--ink-400); }
.modern .page-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--ink-900);
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: .6rem;
    padding: .15em 0;
    overflow: visible;
}
.modern .page-hero h1 .hl-orange { color: var(--primary-600); }
.modern .page-hero p {
    color: var(--ink-500);
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.modern .content-section {
    background: var(--bg-soft);
    padding: 30px 0 50px;
}
.modern .content-wrap {
    max-width: 900px;
    margin: 0 auto;
}
.modern .content-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 2.2rem;
    box-shadow: var(--shadow-xs);
    margin-bottom: 1.2rem;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.modern .content-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-100);
}
.modern .content-card h2,
.modern .content-card h3,
.modern .content-card h4,
.modern .content-card h5,
.modern .content-card h6 {
    color: var(--primary-600);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .55rem;
}
.modern .content-card h5 i,
.modern .content-card h6 i {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--primary-50);
    color: var(--primary-600);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.modern .content-card p,
.modern .content-card li {
    color: var(--ink-700);
    font-size: 16.5px;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: left;
}
.modern .content-card p:last-child,
.modern .content-card li:last-child { margin-bottom: 0; }
.modern .content-card p b,
.modern .content-card li b { color: var(--ink-900); }
.modern .content-card a {
    color: var(--primary-600);
    font-weight: 600;
}
.modern .content-card a:hover { color: var(--primary); }
.modern .content-card ul {
    padding-left: 1.4rem;
    margin: 0 0 .9rem;
}
.modern .content-card ul li {
    list-style: none;
    position: relative;
    padding-left: 1.2rem;
}
.modern .content-card ul li::before {
    content: "";
    position: absolute;
    left: 0; top: .65em;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary-600);
}
.modern .back-link {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .6rem 1.1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--ink-700) !important;
    font-weight: 600;
    font-size: 14px;
    transition: all .15s ease;
    margin-bottom: 1.4rem;
}
.modern .back-link:hover {
    color: var(--primary-600) !important;
    border-color: var(--primary-500);
    box-shadow: var(--shadow-xs);
    transform: translateX(-2px);
}

/* Payment help layout */
.modern .pay-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.modern .pay-grid img { width: 100%; height: auto; border-radius: var(--radius); }
.modern .pay-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}
.modern .pay-steps li {
    counter-increment: step;
    padding: .8rem 0 .8rem 3rem;
    position: relative;
    color: var(--ink-700);
    font-size: 15.5px;
    line-height: 1.6;
    border-bottom: 1px solid var(--border);
}
.modern .pay-steps li:last-child { border-bottom: none; }
.modern .pay-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0; top: .8rem;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--primary-600);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(231, 120, 23, 0.28);
}
.modern .pay-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
.modern .pay-option-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem;
    text-align: center;
    transition: all .2s ease;
}
.modern .pay-option-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-100);
}
.modern .pay-option-card h4 {
    color: var(--primary-600);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: .8rem;
}
.modern .pay-option-card img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}
.modern .plan-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8rem;
    margin-top: .8rem;
}
.modern .plan-pills .pill {
    background: var(--primary-50);
    color: var(--primary);
    padding: .7rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14.5px;
    text-align: center;
    border: 1px solid var(--primary-100);
}
.modern .payment-modes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .8rem;
    margin-top: .8rem;
}
.modern .payment-modes .mode {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .8rem 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 600;
    color: var(--ink-700);
    font-size: 14.5px;
}
.modern .payment-modes .mode i {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--primary-600);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.modern .yt-card {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    background: linear-gradient(135deg, #fff 0%, var(--bg-soft) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.8rem;
    margin: 1.2rem auto 0;
    max-width: 640px;
    text-align: left;
    color: var(--ink-700) !important;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    position: relative;
    overflow: hidden;
}
.modern .yt-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary-100);
    color: var(--ink-700) !important;
}
.modern .yt-card .yt-icon {
    width: 64px; height: 64px;
    flex-shrink: 0;
    background: #FF0000;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.25);
    transition: transform .2s ease;
}
.modern .yt-card:hover .yt-icon { transform: scale(1.06); }
.modern .yt-card .yt-text { flex: 1; min-width: 0; }
.modern .yt-card .yt-text .yt-label {
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #FF0000;
    margin-bottom: .3rem;
}
.modern .yt-card .yt-text h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink-900);
    margin: 0 0 .4rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
}
.modern .yt-card .yt-text p {
    color: var(--ink-700);
    font-size: 15.5px;
    font-weight: 500;
    margin: 0;
    line-height: 1.55;
}
.modern .yt-card .yt-arrow {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary-600);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    transition: all .2s ease;
}
.modern .yt-card:hover .yt-arrow {
    background: var(--primary-600);
    color: #fff;
    transform: translateX(3px);
}

@media (max-width: 600px) {
    .modern .yt-card {
        flex-direction: column;
        text-align: center;
        padding: 1.4rem 1.2rem;
        gap: 1rem;
    }
    .modern .yt-card .yt-arrow { display: none; }
}

/* Content page responsive */
@media (max-width: 768px) {
    .modern .page-hero { padding: 50px 0 30px; }
    .modern .content-section { padding: 40px 0 60px; }
    .modern .content-card { padding: 1.4rem 1.2rem; }
    .modern .pay-grid { grid-template-columns: 1fr; }
    .modern .pay-options-grid { grid-template-columns: 1fr; }
    .modern .plan-pills { grid-template-columns: 1fr; }
    .modern .payment-modes { grid-template-columns: 1fr 1fr; }
}

/* ===== Feature Walkthrough Modal ===== */
.modern .help-card { cursor: pointer; }
.modern button.help-card {
    font: inherit;
    color: var(--ink-700);
    text-align: left;
    width: 100%;
}

.feature-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fmFade .25s ease;
}
.feature-modal.is-open { display: flex; }
@keyframes fmFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes fmSlide {
    from { opacity: 0; transform: translateY(20px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fmStep {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}

.feature-modal .fm-box {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 640px;
    max-height: 92vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
    animation: fmSlide .3s ease;
    position: relative;
}
.feature-modal .fm-header {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--accent-soft) 100%);
    padding: 1.4rem 1.6rem 1.4rem 1.4rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 1rem;
    row-gap: .25rem;
    align-items: center;
}
.feature-modal .fm-icon {
    grid-row: 1 / span 3;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-600), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 24px;
    box-shadow: 0 10px 22px rgba(231, 120, 23, .28);
    align-self: center;
}
.feature-modal .fm-eyebrow {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-600);
    text-transform: uppercase;
    letter-spacing: .12em;
    background: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid var(--primary-100);
    margin: 0;
    width: fit-content;
}
.feature-modal .fm-title {
    grid-column: 2;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink-900);
    margin: 0;
    letter-spacing: -0.015em;
    line-height: 1.25;
}
.feature-modal .fm-tagline {
    grid-column: 2;
    color: var(--ink-700);
    font-size: 14px;
    margin: 0;
    line-height: 1.45;
    font-weight: 500;
}
.feature-modal .fm-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: linear-gradient(135deg, var(--primary-600), var(--accent));
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(199, 100, 14, .35);
    transition: all .2s ease;
    z-index: 5;
}
.feature-modal .fm-close:hover {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 8px 20px rgba(239, 68, 68, .45);
    transform: rotate(90deg) scale(1.05);
}

.feature-modal .fm-steps {
    list-style: none;
    padding: 1.4rem 1.6rem;
    margin: 0;
    overflow-y: auto;
    flex: 1;
    counter-reset: fmstep;
}
.feature-modal .fm-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: .9rem;
    padding: .85rem .9rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: .7rem;
    transition: all .2s ease;
    animation: fmStep .35s ease both;
    animation-delay: calc(var(--i, 0) * 70ms);
}
.feature-modal .fm-step:last-child { margin-bottom: 0; }
.feature-modal .fm-step:hover {
    background: #fff;
    border-color: var(--primary-100);
    transform: translateX(3px);
    box-shadow: var(--shadow-xs);
}
.feature-modal .fm-step-icon {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-600), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(199, 100, 14, .28);
}
.feature-modal .fm-step-num {
    position: absolute;
    top: -7px;
    left: -7px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    font-size: 10.5px;
    font-weight: 800;
    color: #fff;
    background: var(--primary-600);
    border: 2px solid #fff;
    border-radius: 999px;
    letter-spacing: .02em;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(199, 100, 14, .35);
    z-index: 1;
}
.feature-modal .fm-step-text h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-900);
    margin: 0 0 .15rem;
}
.feature-modal .fm-step-text p {
    color: var(--ink-500);
    font-size: 13.5px;
    margin: 0;
    line-height: 1.5;
}

.feature-modal .fm-footer {
    padding: 1.1rem 1.6rem;
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
    display: flex;
    gap: .7rem;
}
.feature-modal .fm-footer .btn-modern {
    flex: 1;
    justify-content: center;
}

@media (max-width: 580px) {
    .feature-modal { padding: 1rem; }
    .feature-modal .fm-header { padding: 1.6rem 1.2rem 1.2rem; }
    .feature-modal .fm-steps { padding: 1.1rem 1.2rem; }
    .feature-modal .fm-footer { padding: 1rem 1.2rem; flex-direction: column; }
    .feature-modal .fm-step { grid-template-columns: 48px 1fr; gap: .7rem; }
    .feature-modal .fm-step-icon { width: 48px; height: 48px; font-size: 18px; }
}

/* ===== Home page video previews (above contact) ===== */
.modern .video-section { background: var(--bg); padding-bottom: 40px; }
.modern .contact-modern { padding-top: 50px !important; }
/* ===== YouTube Channel Hero Card (brand theme — orange/yellow) ===== */
.modern .yt-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1100px;
    margin: 1rem auto 2.4rem;
    padding: 2.6rem 2.6rem;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 90% 0%, rgba(255,255,255,0.20), transparent 55%),
        radial-gradient(circle at 0% 100%, rgba(252, 205, 1, 0.30), transparent 60%),
        linear-gradient(135deg, #c8650e 0%, #e77817 50%, #f5a72a 100%);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(231, 120, 23, 0.38),
                0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
.modern .yt-hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    mask-image: radial-gradient(circle at 70% 50%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 70% 50%, #000 0%, transparent 70%);
}
.modern .yt-hero__left { position: relative; z-index: 1; }
.modern .yt-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    padding: .4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.30);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.modern .yt-hero__eyebrow i { font-size: 14px; }
.modern .yt-hero h3 {
    color: #fff;
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin: 0 0 .9rem;
}
.modern .yt-hero h3 .yt-hero__brand {
    background: linear-gradient(135deg, #fff8d8, #fccd01);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.modern .yt-hero p {
    color: rgba(255, 255, 255, 0.96);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 1.6rem;
    max-width: 540px;
    font-weight: 500;
}
.modern .yt-hero__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}
.modern .yt-hero__list li {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: rgba(255,255,255,0.96);
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.4;
}
.modern .yt-hero__list li i {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.40);
}
.modern .yt-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.modern .yt-hero__cta {
    background: #fff;
    color: var(--primary) !important;
    border: none;
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}
.modern .yt-hero__cta:hover {
    background: #fff8d8;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    color: var(--primary) !important;
}
.modern .yt-hero .btn-ghost-modern {
    background: rgba(255,255,255,0.14);
    color: #fff !important;
    border-color: rgba(255,255,255,0.35);
}
.modern .yt-hero .btn-ghost-modern:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.55);
    color: #fff !important;
}

/* Right side — animated brand-coloured logo with pulses */
.modern .yt-hero__right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    z-index: 1;
}
.modern .yt-hero__logo {
    position: relative;
    z-index: 3;
    width: 130px; height: 130px;
    border-radius: 30px;
    background: linear-gradient(135deg, #fff 0%, #fff8d8 100%);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25),
                0 0 0 6px rgba(255, 255, 255, 0.18);
    animation: ytFloat 4s ease-in-out infinite;
}
.modern .yt-hero__pulse {
    position: absolute;
    top: 50%; left: 50%;
    width: 170px; height: 170px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.55);
    transform: translate(-50%, -50%);
    animation: ytPulse 2.4s ease-out infinite;
}
.modern .yt-hero__pulse--2 { animation-delay: 1.2s; }
@keyframes ytFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
@keyframes ytPulse {
    0%   { transform: translate(-50%, -50%) scale(0.85); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.6);  opacity: 0; }
}

@media (max-width: 820px) {
    .modern .yt-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1.6rem;
    }
    .modern .yt-hero__left { order: 2; }
    .modern .yt-hero__right { order: 1; min-height: 160px; }
    .modern .yt-hero__logo { width: 100px; height: 100px; font-size: 48px; border-radius: 24px; }
    .modern .yt-hero__pulse { width: 130px; height: 130px; }
    .modern .yt-hero p { margin-left: auto; margin-right: auto; }
    .modern .yt-hero__stats { justify-content: center; }
    .modern .yt-hero__actions { justify-content: center; }
    .modern .yt-hero__eyebrow { margin-left: auto; margin-right: auto; }
}

/* Video slider (carousel) */
.modern .video-slider {
    position: relative;
    margin: 0 auto;
    padding: 0 50px;
}
.modern .vs-track {
    display: flex;
    gap: 1.4rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: .4rem 0;
}
.modern .vs-track::-webkit-scrollbar { display: none; }
.modern .vs-track > .video-preview {
    flex: 0 0 calc(33.333% - 0.94rem);
    scroll-snap-align: start;
}
.modern .vs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--primary-600);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(60,38,14,.12);
    z-index: 2;
    transition: all .2s ease;
    font-size: 16px;
}
.modern .vs-prev { left: 0; }
.modern .vs-next { right: 0; }
.modern .vs-arrow:hover {
    background: var(--primary-600);
    color: #fff;
    border-color: var(--primary-600);
    transform: translateY(-50%) scale(1.08);
}
@media (max-width: 992px) {
    .modern .vs-track > .video-preview { flex: 0 0 calc(50% - .7rem); }
}
@media (max-width: 600px) {
    .modern .vs-track > .video-preview { flex: 0 0 85%; }
    .modern .video-slider { padding: 0 12px; }
    .modern .vs-arrow { width: 36px; height: 36px; font-size: 13px; }
}
.modern .video-previews {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    margin-bottom: 2.2rem;
}
.modern .video-preview {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.modern .video-preview.is-playing .vp-play { display: none; }
.modern .video-preview.is-playing .vp-thumb { background: #000; }
.modern .video-preview.is-playing { cursor: default; }
.modern .video-preview:focus-visible {
    outline: 3px solid var(--primary-100);
    outline-offset: 2px;
}
.modern .video-preview:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(60, 38, 14, 0.10);
    border-color: var(--primary-100);
    color: inherit;
}
.modern .video-preview .vp-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
}
.modern .video-preview .vp-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.modern .video-preview:hover .vp-thumb img { transform: scale(1.04); }
.modern .video-preview .vp-play {
    position: absolute;
    inset: 0; margin: auto;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255, 0, 0, .92);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
    transition: transform .2s ease, background .2s ease;
}
.modern .video-preview .vp-play i { padding-left: 3px; }
.modern .video-preview:hover .vp-play { transform: scale(1.08); background: #ff0000; }
.modern .video-preview .vp-body {
    padding: 1rem 1.2rem 1.2rem;
}
.modern .video-preview .vp-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 800;
    color: var(--primary-600);
    background: var(--primary-50);
    padding: 3px 9px;
    border-radius: 999px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: .55rem;
}
.modern .video-preview .vp-body h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ink-900);
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.modern .video-cta-row {
    display: flex;
    justify-content: center;
    gap: .9rem;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .modern .video-previews { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .modern .video-previews { grid-template-columns: 1fr; }
    .modern .video-cta-row { flex-direction: column; }
    .modern .video-cta-row .btn-modern { width: 100%; justify-content: center; }
}

/* ===== Tutorials Page ===== */
.modern .tutorials-section {
    background: var(--bg-soft);
    padding: 60px 0 80px;
}
.modern .demo-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #fff4b8 0%, #fff5ec 100%);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 1rem 1.4rem;
    margin-bottom: 1.6rem;
    color: var(--ink-700);
    font-size: 14px;
    line-height: 1.55;
}
.modern .demo-note > i {
    font-size: 22px;
    color: var(--primary-600);
    flex-shrink: 0;
}
.modern .demo-note code {
    background: #fff;
    border: 1px solid var(--border);
    padding: 1px 6px;
    border-radius: 6px;
    font-size: 12.5px;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    color: var(--ink-900);
}
.modern .tutorials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}
@media (max-width: 1200px) {
    .modern .tutorials-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .modern .tutorials-grid { grid-template-columns: repeat(2, 1fr); }
}
.modern .video-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.modern .video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-100);
}
.modern .video-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
}
.modern .video-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.modern .video-card__media iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.modern .video-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(45deg, #f8f4ec 0 14px, #fdfaf6 14px 28px);
    color: var(--ink-500);
    gap: .35rem;
    text-align: center;
    padding: 1.2rem;
    border: 2px dashed var(--border);
}
.modern .video-card__placeholder i {
    font-size: 42px;
    color: var(--primary-600);
    margin-bottom: .35rem;
}
.modern .video-card__placeholder .ph-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-900);
}
.modern .video-card__placeholder .ph-sub {
    font-size: 12.5px;
    color: var(--ink-500);
}
.modern .video-card__placeholder code {
    background: #fff;
    border: 1px solid var(--border);
    padding: 1px 5px;
    border-radius: 4px;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 11.5px;
    color: var(--primary);
}
.modern .video-card.is-empty {
    background: #fff;
    border-style: dashed;
}
.modern .video-card.is-empty:hover {
    transform: none;
    box-shadow: var(--shadow-xs);
}
.modern .video-card__num--empty {
    background: var(--bg-muted) !important;
    color: var(--ink-500) !important;
}
.modern .video-card__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 70px; height: 70px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 0, 0, .92);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
    transition: transform .2s ease, background .2s ease;
    z-index: 2;
}
.modern .video-card__play i { padding-left: 4px; }
.modern .video-card:hover .video-card__play {
    transform: scale(1.08);
    background: #ff0000;
}
.modern .video-card.is-playing .video-card__play { display: none; }
.modern .video-card__body {
    padding: 1rem 1.2rem 1.2rem;
}
.modern .video-card__num {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 800;
    color: var(--primary-600);
    text-transform: uppercase;
    letter-spacing: .1em;
    background: var(--primary-50);
    padding: 3px 9px;
    border-radius: 999px;
    margin-bottom: .5rem;
}
.modern .video-card__body h4 {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: .4rem;
    line-height: 1.35;
    letter-spacing: -0.015em;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.modern .video-card__body p {
    color: var(--ink-700);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modern .tutorials-channel-cta {
    margin-top: 2.4rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: var(--shadow-xs);
}
.modern .tutorials-channel-cta > i {
    width: 56px; height: 56px;
    flex-shrink: 0;
    border-radius: 14px;
    background: #ff0000;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
}
.modern .tutorials-channel-cta > div { flex: 1; }
.modern .tutorials-channel-cta h4 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 .15rem;
    color: var(--ink-900);
}
.modern .tutorials-channel-cta p {
    font-size: 14px;
    color: var(--ink-500);
    margin: 0;
}

@media (max-width: 700px) {
    .modern .tutorials-grid { grid-template-columns: 1fr; }
    .modern .tutorials-channel-cta { flex-direction: column; text-align: center; padding: 1.4rem; }
}

/* ===== Canwin About Page ===== */
.modern .canwin-hero {
    background: var(--grad-hero);
    padding: 160px 0 80px;
    position: relative;
    overflow: visible;
    text-align: center;
}
.modern .canwin-hero::before {
    content: "";
    position: absolute;
    top: -120px; right: -120px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(240, 138, 50, 0.18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.modern .canwin-hero::after {
    content: "";
    position: absolute;
    bottom: -160px; left: -160px;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(252, 205, 1, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.modern .canwin-hero .inner { position: relative; z-index: 1; }
.modern .canwin-hero .crumbs {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: 13.5px;
    color: var(--ink-500);
    margin-bottom: 1rem;
}
.modern .canwin-hero .crumbs a { color: var(--primary-600); font-weight: 600; }
.modern .canwin-hero .eyebrow {
    display: inline-block;
    padding: .35rem .9rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow-xs);
}
.modern .canwin-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
    padding: .2em 0;
    overflow: visible;
}
.modern .canwin-hero p.lede {
    font-size: 19px;
    color: var(--ink-500);
    max-width: 720px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}
.modern .canwin-hero .stats-mini {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 2.4rem;
    margin-top: 2.5rem;
}
.modern .canwin-hero .stats-mini .item .num {
    font-size: 36px; font-weight: 800;
    color: var(--ink-900);
    letter-spacing: -0.02em;
}
.modern .canwin-hero .stats-mini .item .num span { color: var(--primary-600); }
.modern .canwin-hero .stats-mini .item .label {
    font-size: 13.5px;
    color: var(--ink-500);
    font-weight: 500;
}

.modern .about-section {
    padding: 80px 0;
    background: var(--bg);
}
.modern .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.modern .about-grid .text h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.modern .about-grid .text p {
    color: var(--ink-500);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.modern .about-grid .visual {
    background: var(--grad-cta);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.modern .about-grid .visual::before {
    content: "";
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
}
.modern .about-grid .visual::after {
    content: "";
    position: absolute;
    bottom: -80px; left: -80px;
    width: 240px; height: 240px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
}
.modern .about-grid .visual i {
    font-size: 64px;
    margin-bottom: 1rem;
    position: relative;
}
.modern .about-grid .visual h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: .6rem;
    letter-spacing: -0.02em;
    position: relative;
}
.modern .about-grid .visual p {
    color: rgba(255,255,255,.9);
    font-size: 16px;
    line-height: 1.6;
    position: relative;
}

.modern .services-section {
    background: var(--bg-soft);
    padding: 80px 0;
}
.modern .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.modern .service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem 1.6rem;
    transition: all .2s ease;
}
.modern .service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-100);
}
.modern .service-card .icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-600), var(--accent));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 1.1rem;
    box-shadow: 0 8px 20px rgba(231, 120, 23, 0.22);
}
.modern .service-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: .5rem;
}
.modern .service-card p {
    color: var(--ink-500);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

.modern .values-section {
    background: var(--bg);
    padding: 80px 0;
}
.modern .values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}
.modern .value-pill {
    background: linear-gradient(180deg, var(--primary-50) 0%, #fff 60%);
    border: 1px solid var(--primary-100);
    border-radius: var(--radius);
    padding: 1.6rem 1.4rem;
    text-align: center;
    transition: all .2s ease;
}
.modern .value-pill:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.modern .value-pill i {
    font-size: 32px;
    color: var(--primary-600);
    margin-bottom: .8rem;
    display: block;
}
.modern .value-pill h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: .35rem;
}
.modern .value-pill p {
    color: var(--ink-500);
    font-size: 13.5px;
    margin: 0;
    line-height: 1.5;
}

.modern .product-highlight {
    background: var(--bg-soft);
    padding: 80px 0;
}
.modern .highlight-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2.5rem;
    align-items: center;
}
.modern .highlight-card .badge-product {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--primary-600));
    color: #fff;
    padding: .3rem .9rem;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .8rem;
}
.modern .highlight-card h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    margin-bottom: .8rem;
    letter-spacing: -0.02em;
}
.modern .highlight-card p {
    color: var(--ink-500);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 1.4rem;
}
.modern .highlight-card .visual-block {
    background: var(--grad-hero);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
}
.modern .highlight-card .visual-block img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto;
}
.modern .highlight-card .feature-tags {
    display: flex; flex-wrap: wrap; gap: .5rem;
    margin-bottom: 1.4rem;
}
.modern .highlight-card .feature-tags span {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .3rem .8rem;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-700);
}

.modern .contact-cta {
    background: var(--grad-cta);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.modern .contact-cta::before {
    content: "";
    position: absolute;
    top: -80px; right: -80px;
    width: 260px; height: 260px;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
}
.modern .contact-cta .inner { position: relative; }
.modern .contact-cta h2 {
    color: #fff;
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    margin-bottom: .8rem;
    letter-spacing: -0.02em;
}
.modern .contact-cta p {
    color: rgba(255,255,255,.92);
    font-size: 17px;
    margin-bottom: 1.6rem;
    max-width: 620px;
    margin-left: auto; margin-right: auto;
}
.modern .contact-cta .cta-buttons {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: .8rem;
}
.modern .contact-cta .btn-modern.btn-primary-modern {
    background: #fff;
    color: var(--primary) !important;
}
.modern .contact-cta .btn-modern.btn-primary-modern:hover {
    background: var(--primary-50);
}
.modern .contact-cta .btn-modern.btn-ghost-modern {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.6);
    color: #fff !important;
}
.modern .contact-cta .btn-modern.btn-ghost-modern:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
}

/* ===== Scroll Fade-In Animation ===== */
.modern .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
.modern .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
.modern .reveal.delay-1 { transition-delay: .08s; }
.modern .reveal.delay-2 { transition-delay: .16s; }
.modern .reveal.delay-3 { transition-delay: .24s; }
.modern .reveal.delay-4 { transition-delay: .32s; }
.modern .reveal.delay-5 { transition-delay: .40s; }

/* ===== Timeline / Milestones ===== */
.modern .timeline-section {
    background: var(--bg);
    padding: 80px 0;
}
.modern .timeline {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    padding: 2rem 0;
}
.modern .timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-100), var(--primary-600), var(--accent));
    transform: translateX(-50%);
    border-radius: 999px;
}
.modern .tl-item {
    position: relative;
    width: 50%;
    padding: 1rem 2.4rem;
    box-sizing: border-box;
}
.modern .tl-item.left { left: 0; text-align: right; }
.modern .tl-item.right { left: 50%; text-align: left; }
.modern .tl-dot {
    position: absolute;
    top: 1.6rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--primary-600);
    box-shadow: 0 0 0 6px var(--primary-50), 0 6px 14px rgba(231,120,23,.25);
    z-index: 2;
}
.modern .tl-item.left .tl-dot { right: -11px; }
.modern .tl-item.right .tl-dot { left: -11px; }
.modern .tl-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
    box-shadow: var(--shadow-xs);
    transition: all .2s ease;
    display: inline-block;
    max-width: 100%;
}
.modern .tl-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary-100);
}
.modern .tl-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--primary-600));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    padding: .25rem .8rem;
    border-radius: 999px;
    margin-bottom: .6rem;
}
.modern .tl-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: .35rem;
}
.modern .tl-card p {
    color: var(--ink-500);
    font-size: 14px;
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 768px) {
    .modern .timeline::before { left: 18px; }
    .modern .tl-item, .modern .tl-item.left, .modern .tl-item.right {
        width: 100%;
        left: 0;
        text-align: left;
        padding: .6rem 0 .6rem 3rem;
    }
    .modern .tl-item.left .tl-dot,
    .modern .tl-item.right .tl-dot { left: 7px; right: auto; }
}

@media (max-width: 992px) {
    .modern .about-grid { grid-template-columns: 1fr; }
    .modern .services-grid { grid-template-columns: repeat(2, 1fr); }
    .modern .values-grid { grid-template-columns: repeat(2, 1fr); }
    .modern .highlight-card { grid-template-columns: 1fr; padding: 2rem; }
}
@media (max-width: 600px) {
    .modern .services-grid { grid-template-columns: 1fr; }
    .modern .values-grid { grid-template-columns: 1fr; }
    .modern .canwin-hero { padding: 70px 0 50px; }
    .modern .about-section, .modern .services-section, .modern .values-section, .modern .product-highlight { padding: 50px 0; }
    .modern .canwin-hero .stats-mini { gap: 1.4rem; }
}

/* ===== Innovative Footer (overrides style.css for richer look) ===== */
.footer {
    position: relative;
    background: linear-gradient(180deg, #fdfaf6 0%, #f5f1ea 100%) !important;
    color: var(--ink-700) !important;
    font-family: 'Inter', 'Open Sans', system-ui, sans-serif !important;
    padding: 32px 0 0 !important;
    border-top: 1px solid var(--border);
    overflow: hidden;
}
.footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-600) 0%, var(--accent) 50%, var(--primary-600) 100%);
    background-size: 200% 100%;
    animation: shineFooter 8s linear infinite;
}
@keyframes shineFooter {
    from { background-position: 0% 0%; }
    to   { background-position: 200% 0%; }
}
.footer::after {
    content: "";
    position: absolute;
    top: -120px; right: -120px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(252, 205, 1, 0.18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    max-width: 1000px;
}
.footer-link-info {
    align-items: flex-start !important;
    gap: 2rem;
    padding-bottom: 0.8rem;
}

/* Social block */
.footer .social-info-container > p {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--ink-900) !important;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .8rem !important;
}
.footer .social-info-container > p::before {
    content: "\f075"; /* fa-comment */
    font-family: FontAwesome;
    color: var(--primary-600);
    font-size: 18px;
}
.footer .icon-container { gap: 1rem !important; }

.follow-us a i {
    background: #fff !important;
    color: var(--ink-700) !important;
    border: 1px solid var(--border);
    width: 46px !important;
    height: 46px !important;
    line-height: 44px !important;
    font-size: 19px !important;
    box-shadow: var(--shadow-xs);
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease !important;
}
.follow-us a:hover i {
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: var(--shadow);
}
.follow-us a[title="Facebook"]:hover i {
    background: #1877f2 !important;
    color: #fff !important;
    border-color: #1877f2 !important;
}
.follow-us a[title="YouTube"]:hover i {
    background: #ff0000 !important;
    color: #fff !important;
    border-color: #ff0000 !important;
}
.follow-us a[title="WhatsApp"]:hover i {
    background: #25d366 !important;
    color: #fff !important;
    border-color: #25d366 !important;
}

/* Quick Links */
.footer .others p {
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--primary-600) !important;
    margin-bottom: 1rem !important;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    position: relative;
}
.footer .others p::after {
    content: "";
    width: 32px; height: 2px;
    background: linear-gradient(90deg, var(--primary-600), var(--accent));
    border-radius: 2px;
}
.footer .footer-txt {
    font-size: 15px !important;
    gap: 2rem !important;
}
.footer-txt .link-section {
    gap: .7rem !important;
}
.footer .others a,
.footer .footer-link {
    color: var(--ink-700) !important;
    font-weight: 500;
    text-decoration: none !important;
    position: relative;
    padding-bottom: 2px;
    transition: color .2s ease, transform .2s ease;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.footer .others a::before,
.footer .footer-link::before {
    content: "\f105"; /* fa-angle-right */
    font-family: FontAwesome;
    color: var(--primary-600);
    font-size: 12px;
    opacity: 0;
    margin-right: -10px;
    transition: opacity .2s ease, margin-right .2s ease;
}
.footer .others a::after,
.footer .footer-link::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-600), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.footer .others a:hover,
.footer .footer-link:hover {
    color: var(--primary-600) !important;
    transform: translateX(2px);
}
.footer .others a:hover::before,
.footer .footer-link:hover::before {
    opacity: 1;
    margin-right: 0;
}
.footer .others a:hover::after,
.footer .footer-link:hover::after {
    transform: scaleX(1);
}

/* Copyright strip */
.footer .copy-rights {
    margin-top: 0.6rem !important;
    padding: 0.7rem 1.5rem !important;
    border-top: 1px solid var(--border);
    background: #ffffff;
    position: relative;
    z-index: 1;
    text-align: center;
}
/* Full-edge-to-edge copyright strip (lives outside .footer-content) */
.footer .copy-rights-full {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.footer .copy-rights-full .copy-rights-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.footer .copy-rights hr { display: none !important; }
.footer .copy-rights .copyright-link {
    font-size: 14.5px !important;
    color: var(--ink-700);
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .25rem;
}
.footer .copy-rights a {
    color: var(--primary-600) !important;
    font-weight: 700;
    text-decoration: none !important;
    position: relative;
    transition: color .15s ease;
}
.footer .copy-rights a::after {
    content: "";
    position: absolute;
    bottom: -2px; left: 0;
    width: 100%; height: 2px;
    background: var(--primary-600);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}
.footer .copy-rights a:hover {
    color: var(--primary) !important;
}
.footer .copy-rights a:hover::after { transform: scaleX(1); }

@media (max-width: 991px) {
    .footer { padding-top: 50px !important; }
    .footer-link-info {
        flex-direction: column;
        align-items: center !important;
        gap: 2rem;
        text-align: center;
    }
    .footer .others {
        text-align: center !important;
    }
    .footer .others p {
        justify-content: center;
    }
    .footer .others p::after { display: none; }
    .footer .others a::before,
    .footer .footer-link::before { display: none; }
    .footer .social-info-container {
        align-items: center !important;
        text-align: center;
    }
    .footer .icon-container {
        justify-content: center !important;
    }
    .footer .footer-txt {
        justify-content: center !important;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .hero-lede { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual .float-badge.b1 { left: 4%; }
    .hero-visual .float-badge.b2 { right: 4%; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .modern-footer .footer-top { grid-template-columns: 1fr 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .product-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .modern section { padding: 60px 0; }
    .modern .hero { padding: 70px 0 50px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .note-strip ul { grid-template-columns: 1fr; }
    .product-list { grid-template-columns: 1fr; }
    .modern-footer .footer-top { grid-template-columns: 1fr; gap: 1.6rem; }
    .demo-modern .carousel-item img { height: 360px !important; }
    .demo-shell { padding: 1rem; }
    .demo-modern .carousel-control-prev { left: -6px; }
    .demo-modern .carousel-control-next { right: -6px; }
    .cta-banner-inner { padding: 2.4rem 1.4rem; margin: 2rem 1rem; }
    .modern .agentaux-header .navbar-brand img { width: 58px !important; }
    .modern .nav-cta { margin: .6rem 0 0 0 !important; width: 100%; justify-content: center; }
    .modern .agentaux-header .navbar-collapse { padding-top: .6rem; }
    .hero-visual .float-badge { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 32px; }
    .hero-lede { font-size: 16px; }
    .btn-modern { padding: .7rem 1.2rem; font-size: 14px; width: 100%; justify-content: center; }
    .hero-cta { flex-direction: column; }
    .price-card .price-num { font-size: 42px; }
}

/* ============================================================
   MOBILE RESPONSIVE OVERRIDES (320 / 375 / 414 / 768)
   Consolidated tweaks so the whole site behaves well on phones.
   ============================================================ */

/* Tablet & below (max 850px) */
@media (max-width: 850px) {
    .modern .timeline::before {
        left: 22px !important;
        transform: none !important;
    }
}

/* Small tablet (max 768px) */
@media (max-width: 768px) {
    .modern .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile / small tablet portrait (max 700px) */
@media (max-width: 700px) {
    .modern .highlight-card {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        padding: 1.8rem;
    }
}

/* Mobile (max 600px) */
@media (max-width: 600px) {
    .modern .about-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .help-cards { grid-template-columns: 1fr; gap: 1.2rem; }
    .modern .pay-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .modern .agentaux-header .navbar-brand img { width: 52px !important; }
    .video-slider { padding: 0 12px; }
}

/* Small mobile (max 580px) */
@media (max-width: 580px) {
    .cta-banner-inner { padding: 2rem 1.2rem; margin: 1.5rem 0.5rem; }
    .download-card h4 { font-size: 22px; }
    .download-card p { font-size: 15px; }
    .modern .showcase-visual img { width: 100%; max-width: 280px; }
    .feature-grid { grid-template-columns: 1fr; }
}

/* Tablet & below (max 1024px) — contact grid stacks early so cards are full width */
@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr !important; }
}

/* Mobile (max 500px) */
@media (max-width: 500px) {
    .note-strip { padding: 1.2rem 1rem; }
    .note-strip ul { grid-template-columns: 1fr; gap: 0.5rem; }
    .company-modal .modal-policies { grid-template-columns: 1fr !important; }
    .footer-txt { flex-direction: column; }
    .footer-txt .link-section { gap: 0.3rem; }
}

/* Tiny mobile (max 480px) */
@media (max-width: 480px) {
    .modern .plan-pills { grid-template-columns: 1fr; }
    .demo-modern .carousel-item img { height: auto !important; max-height: 300px; }
}

/* Phone (max 420px) — modal header collapses to single column */
@media (max-width: 420px) {
    .feature-modal .fm-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .feature-modal .fm-icon {
        grid-row: auto;
        margin: 0 auto 0.8rem;
    }
    .feature-modal .fm-eyebrow { margin: 0 auto; }
}

/* Tiny phone (max 414px) */
@media (max-width: 414px) {
    .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 0.8rem; }
    .price-card { padding: 1rem 1rem; }
}

/* Very small phone (max 380px) */
@media (max-width: 380px) {
    .modern .companies-grid { grid-template-columns: 1fr !important; gap: 0.6rem; }
    .section-eyebrow { font-size: 11px; padding: 0.3rem 0.8rem; }
    .follow-us a i {
        width: 40px !important;
        height: 40px !important;
        line-height: 38px !important;
        font-size: 16px !important;
    }
    .footer .icon-container { gap: 0.6rem !important; }
    .modern .video-preview .vp-thumb { aspect-ratio: 4/3; }
}

/* Smallest phones (max 360px) */
@media (max-width: 360px) {
    .btn-modern { padding: 0.7rem 1rem; font-size: 13px; }
    .modern .hero-centered .hero-underline { width: 90%; height: 3px; }
}

/* Hero title size on small screens (overrides the clamp() floor of 38px) */
@media (max-width: 480px) {
    .modern .hero-centered .hero-title { font-size: 30px; }
}
@media (max-width: 380px) {
    .modern .hero-centered .hero-title { font-size: 26px; }
}

/* Price duration scales down on small screens */
@media (max-width: 480px) {
    .price-card .price-duration { font-size: 24px; }
    .price-card .price-duration .big { font-size: 44px; }
}

/* Showcase: keep two-column (text + phone) layout on mobile like the old site */
@media (max-width: 600px) {
    .modern .showcase-features {
        grid-template-columns: 1fr;
        gap: .55rem;
        max-width: 100%;
    }
    .modern .showcase-features li {
        font-size: 13px;
        gap: .4rem;
    }
    .modern .showcase-features li i {
        width: 22px; height: 22px;
        font-size: 10px;
    }
    .modern .showcase-grid {
        grid-template-columns: 1.3fr 1fr;
        gap: 1rem;
    }
    .modern .showcase-visual img { max-width: 100%; width: 100%; }
    .modern .showcase-text h2 { font-size: 22px; text-align: left; }
    .modern .showcase-text { text-align: left; }
    .modern .showcase-text .section-subtitle { font-size: 13.5px; margin: 0 0 1rem !important; max-width: none; }
}

/* Smallest phones — tighten further */
@media (max-width: 380px) {
    .modern .showcase-grid { gap: .7rem; }
    .modern .showcase-text h2 { font-size: 19px; }
    .modern .showcase-features li { font-size: 12px; }
}

/* Modal box width safety — never overflow on small screens */
@media (max-width: 580px) {
    .company-modal .modal-box,
    .feature-modal .fm-box {
        width: 100% !important;
        max-width: 100% !important;
    }
    .company-modal,
    .feature-modal {
        padding: 0.6rem !important;
    }
}

/* Prevent horizontal overflow site-wide on mobile */
@media (max-width: 768px) {
    img { max-width: 100%; height: auto; }
}

/* ============================================================
   COMPREHENSIVE MOBILE OVERFLOW PROTECTION
   Catches edge cases that cause the white-strip-on-left bug.
   ============================================================ */
@media (max-width: 768px) {
    body, html { overflow-x: clip; max-width: 100vw; }

    /* Container padding scaled down for mobile */
    .modern .container,
    body.modern .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100% !important;
    }

    /* Decorative absolute blobs that overflow the viewport — clip them */
    .modern .hero,
    .modern .page-hero,
    .modern .showcase-section,
    .modern .features,
    .companies-section,
    .modern .pricing-modern,
    .contact-modern,
    .footer { overflow: hidden !important; }

    /* Long words / URLs in body copy must wrap */
    p, li, h1, h2, h3, h4, h5, h6, span, a {
        overflow-wrap: anywhere;
        word-wrap: break-word;
    }

    /* Tables and grids never exceed viewport */
    table, .pricing-grid, .feature-grid, .help-cards, .companies-grid,
    .product-grid, .contact-grid, .footer-content {
        max-width: 100% !important;
    }

    /* Hide hero floating decorative badges that often cause overflow */
    .hero-visual .float-badge { display: none !important; }
}

/* ============================================================
   MOBILE PHONE SAFETY (max 480px) — extra tight
   ============================================================ */
@media (max-width: 480px) {
    .modern .container,
    body.modern .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    /* Price card padding tighter so border-box accounts for the box around Total */
    .price-card { padding: 1.4rem 1rem !important; }
    .price-card .price-total {
        font-size: 18px;
        padding: .45rem .9rem;
    }
    /* Section heads / titles never exceed viewport */
    .section-title { font-size: 24px !important; }
    .section-subtitle { font-size: 14px !important; }
    /* Buttons full-width on small phones */
    .pricing-btn { width: 100% !important; }
}

/* ============================================================
   PHONE SAFETY (max 380px) — smallest devices
   ============================================================ */
@media (max-width: 380px) {
    .modern .container,
    body.modern .container {
        padding-left: 0.6rem !important;
        padding-right: 0.6rem !important;
    }
    .section-title { font-size: 20px !important; }
    .price-card { padding: 1.2rem .8rem !important; }
    .price-card .price-total { font-size: 16px; padding: .4rem .7rem; }
    .modern .download-card { padding: 1.4rem 1rem !important; }
}

/* ============================================================
   ISSUE FIXES — contact form / quick-view modal / landscape menu
   ============================================================ */

/* 1) Contact form view on mobile — tighter cards, fields full-width */
@media (max-width: 600px) {
    .contact-grid { gap: 1rem !important; }
    .contact-card {
        padding: 1.2rem 1rem !important;
        border-radius: 14px;
    }
    .contact-card h3 { font-size: 18px !important; margin-bottom: .8rem !important; }
    .contact-row { padding: .65rem 0; gap: .7rem; }
    .contact-row .icon { width: 36px; height: 36px; font-size: 14px; }
    .contact-row .label { font-size: 11.5px; }
    .contact-row .value, .contact-row .value a { font-size: 15px; word-break: break-word; }
    .contact-row .value small { font-size: 13px; }

    .contact-card.form-card .form-group { margin-bottom: .8rem; }
    .contact-card.form-card label { font-size: 13.5px; }
    .contact-card.form-card .form-control {
        padding: .7rem .85rem !important;
        font-size: 15px !important;
    }
    .contact-card.form-card textarea.form-control { min-height: 110px; }
    .contact-card.form-card .contact-btn,
    .contact-card.form-card button[type="submit"] {
        width: 100% !important;
        padding: .85rem 1rem !important;
        font-size: 15px !important;
    }
}

/* 2) Quick View (feature walkthrough) modal — guarantee centered, scroll-safe */
.feature-modal,
.company-modal {
    place-items: center;
}
.feature-modal .fm-box,
.company-modal .modal-box {
    margin: auto;
}
@media (max-width: 580px) {
    .feature-modal,
    .company-modal {
        align-items: center !important;
        justify-content: center !important;
        padding: 0.5rem !important;
    }
    .feature-modal .fm-box,
    .company-modal .modal-box {
        max-height: calc(100vh - 1rem) !important;
        margin: auto !important;
    }
    /* Inner scrollable areas — smooth and full height */
    .feature-modal .fm-steps,
    .company-modal .modal-body {
        -webkit-overflow-scrolling: touch;
    }
}

/* 3) Landscape phone (orientation: landscape) — navbar menu fix */
/* When phone is rotated, height is small but width may stay below 768px.
   The bootstrap navbar collapses (hamburger) below 768px. Make sure the
   expanded menu fits and is scrollable in landscape. */
@media (max-width: 991px) and (orientation: landscape) {
    .modern .agentaux-header .navbar-collapse {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        background: #ffffff;
        padding-bottom: .8rem;
    }
    .modern .agentaux-header .navbar-collapse.show {
        display: block;
    }
}

/* Always make sure the navbar expand-collapse renders below the brand row
   so the hamburger doesn't push other elements off-screen */
@media (max-width: 767px) {
    .modern .navbar.navbar-expand-md > .container,
    .modern .navbar.navbar-expand-md {
        flex-wrap: wrap;
    }
    .modern .agentaux-header .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
    }
    .modern .agentaux-header .nav-item { width: 100%; }
    .modern .agentaux-header .nav-item .nav-link { padding: .55rem .25rem; }
}

/* Contact grid stacks to 1 column on mobile/tablet */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {

    /* Footer — centered content */
    .footer { width: 100%; }
    .footer-content {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100%;
    }
    .footer .column { width: 100%; text-align: center; }
    .footer-link-info {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
        gap: 1.4rem !important;
    }
    .footer .social-info-container,
    .footer .others { width: 100%; text-align: center; }
    .footer .others p { justify-content: center !important; }
    .footer .footer-txt { justify-content: center !important; }
    .footer .icon-container { justify-content: center !important; }
    .footer .copy-rights {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
        text-align: center !important;
    }
}

