/* =========================================================
   Ads Click · v7 — Performance Ads Agency
   White + Blue · Mobile-first · No overflow · Animated UI
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

:root {
    --bg: #f4f7ff;
    --bg-soft: #ffffff;
    --bg-deep: #eef3ff;
    --surface: #ffffff;
    --surface-2: #f4f8ff;
    --line: rgba(11,95,255,0.12);
    --line-strong: rgba(11,95,255,0.28);
    --text: #0f1c3f;
    --muted: #5b6885;
    --heading: #0a1432;
    --blue: #0b5fff;
    --blue-deep: #0844c2;
    --blue-light: #4d8aff;
    --blue-glow: #cfe0ff;
    --blue-soft: #eaf1ff;
    --cyan: #00c2ff;
    --green: #10b981;
    --orange: #f59e0b;
    --white: #ffffff;
    --shadow-sm: 0 6px 18px rgba(11,95,255,0.06);
    --shadow: 0 14px 40px rgba(11,95,255,0.10);
    --shadow-lg: 0 22px 60px rgba(11,95,255,0.16);
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 24px;
    --gradient: linear-gradient(135deg, #4d8aff 0%, #0b5fff 55%, #0844c2 100%);
    --gradient-soft: linear-gradient(135deg, #eaf1ff 0%, #ffffff 100%);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Sora', 'Inter', sans-serif;
}

html[data-bs-theme='dark'] {
    --bg: #050a1a;
    --bg-soft: #0a1230;
    --bg-deep: #06102a;
    --surface: #0e1840;
    --surface-2: #0a1230;
    --line: rgba(120,170,255,0.12);
    --line-strong: rgba(120,170,255,0.30);
    --text: #e6edff;
    --muted: #99a8c9;
    --heading: #ffffff;
    --blue-soft: rgba(11,95,255,0.18);
    --blue-glow: rgba(77,138,255,0.25);
    --shadow-sm: 0 6px 18px rgba(0,0,0,0.4);
    --shadow: 0 14px 40px rgba(0,0,0,0.5);
    --shadow-lg: 0 22px 60px rgba(11,95,255,0.30);
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    min-height: 100vh;
}

img, svg, video, canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--blue); }
p { margin: 0 0 12px; color: var(--muted); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--heading);
    margin: 0 0 14px;
    line-height: 1.18;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

section { position: relative; padding: 64px 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    border: 1px solid var(--line-strong);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.6rem, 5.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.14;
    margin-bottom: 12px;
}

.section-text {
    font-size: 0.98rem;
    color: var(--muted);
}

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.94rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    font-family: inherit;
}
.btn-sm { padding: 9px 16px; font-size: 0.86rem; }
.btn-gradient {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 12px 28px rgba(11,95,255,0.32);
}
.btn-gradient:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(11,95,255,0.42); }
.btn-white {
    background: #fff;
    color: var(--blue);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}
.btn-white:hover { background: var(--blue-soft); color: var(--blue-deep); }
.btn-outline-light {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.55);
}
.btn-outline-light:hover { background: #fff; color: var(--blue); }
.btn-outline-theme {
    background: transparent;
    color: var(--heading);
    border: 1px solid var(--line-strong);
}
.btn-outline-theme:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.w-100 { width: 100%; }

/* ========== NAVBAR ========== */
.glass-nav {
    background: rgba(255,255,255,0.88);
    border-bottom: 1px solid transparent;
    padding: 10px 0;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: padding 0.2s ease, box-shadow 0.2s ease;
}
html[data-bs-theme='dark'] .glass-nav { background: rgba(5,10,26,0.86); }
.glass-nav.scrolled {
    padding: 6px 0;
    box-shadow: 0 8px 26px rgba(11,95,255,0.08);
    border-bottom-color: var(--line);
}
.brand-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--heading);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--gradient);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    box-shadow: 0 6px 14px rgba(11,95,255,0.34);
}
.navbar-nav .nav-link {
    color: var(--heading);
    padding: 8px 12px !important;
    font-weight: 600;
    font-size: 0.94rem;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover { color: var(--blue); }
.theme-toggle {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--heading);
    cursor: pointer;
    transition: background 0.2s ease;
}
.theme-toggle:hover { background: var(--blue-soft); }
.theme-toggle .icon-light { display: none; }
html[data-bs-theme='dark'] .theme-toggle .icon-dark { display: none; }
html[data-bs-theme='dark'] .theme-toggle .icon-light { display: inline-block; }
.navbar-toggler-icon {
    width: 22px;
    height: 22px;
    background-image: none;
    border-top: 2px solid var(--heading);
    position: relative;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    border-top: 2px solid var(--heading);
}
.navbar-toggler-icon::before { top: 6px; }
.navbar-toggler-icon::after { top: 13px; }

/* ========== HERO ========== */
.hero {
    padding: 130px 0 60px;
    background:
        radial-gradient(900px 400px at 90% -10%, var(--blue-glow), transparent 60%),
        radial-gradient(700px 360px at 0% 110%, rgba(0,194,255,0.18), transparent 60%),
        linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}
html[data-bs-theme='dark'] .hero {
    background:
        radial-gradient(900px 400px at 90% -10%, rgba(11,95,255,0.35), transparent 60%),
        radial-gradient(700px 360px at 0% 110%, rgba(0,194,255,0.18), transparent 60%),
        linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.hero-title {
    font-size: clamp(1.95rem, 7.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.06;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.hero-desc {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 22px;
    max-width: 580px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}
.hero-actions .btn { flex: 1 1 auto; min-width: 0; }
.hero-platforms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.hero-platform {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--heading);
}
.hero-platform i { color: var(--blue); font-size: 1.1rem; flex: 0 0 auto; }

/* ========== HERO ANIMATION STAGE ========== */
.hero-stage {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    position: relative;
    overflow: hidden;
}
.hero-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 10%, rgba(11,95,255,0.10), transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(0,194,255,0.10), transparent 50%);
    pointer-events: none;
}
.stage-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    position: relative;
}
.stage-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--heading);
}
.live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(16,185,129,0.55);
    animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.55); }
    100% { box-shadow: 0 0 0 12px rgba(16,185,129,0); }
}
.stage-tag {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Tabs for hero animations */
.anim-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 14px;
    padding: 4px;
    background: var(--surface-2);
    border-radius: 14px;
    border: 1px solid var(--line);
    position: relative;
}
.anim-tab {
    padding: 9px 6px;
    border-radius: 10px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.72rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1.2;
}
.anim-tab i { font-size: 1rem; }
.anim-tab.active {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 6px 16px rgba(11,95,255,0.34);
}
.anim-tab span { font-size: 0.7rem; }

/* Animation Frame */
.anim-frame {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 14px;
    position: relative;
    overflow: hidden;
    min-height: 230px;
}

/* ----- Casino Leads scene ----- */
.scene { display: none; }
.scene.active { display: block; }

.casino-scene {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
}
.casino-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(11,95,255,0.18), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0,194,255,0.18), transparent 50%);
}
.slot-machine {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 130px;
    background: linear-gradient(180deg, #ffffff, #eaf1ff);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
html[data-bs-theme='dark'] .slot-machine {
    background: linear-gradient(180deg, #14204a, #0e1840);
}
.slot-window {
    flex: 1;
    background: var(--bg-deep);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    gap: 3px;
    padding: 4px;
}
.slot-reel {
    flex: 1;
    background: var(--surface);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--line);
}
.slot-reel-track {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    animation: slotSpin 1.2s cubic-bezier(.2,.8,.2,1) infinite;
    will-change: transform;
}
.slot-reel:nth-child(2) .slot-reel-track { animation-duration: 1.5s; animation-delay: 0.1s; }
.slot-reel:nth-child(3) .slot-reel-track { animation-duration: 1.8s; animation-delay: 0.2s; }
.slot-symbol {
    flex: 0 0 100%;
    display: grid;
    place-items: center;
    height: 100%;
    font-size: 1.1rem;
    color: var(--blue);
    font-weight: 800;
}
@keyframes slotSpin {
    0% { transform: translateY(0); }
    100% { transform: translateY(-400%); }
}
.slot-handle {
    height: 8px;
    background: var(--gradient);
    border-radius: 4px;
}

.lead-stream {
    position: absolute;
    left: 130px;
    right: 12px;
    top: 12px;
    bottom: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.lead-pipe {
    position: absolute;
    left: -16px;
    top: 50%;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue));
}
.lead-pipe::before {
    content: '';
    position: absolute;
    left: 8px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 12px var(--blue);
    animation: leadFly 1.4s linear infinite;
}
@keyframes leadFly {
    0% { transform: translateX(-30px) scale(0.6); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateX(140px) scale(1); opacity: 0; }
}

.lead-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 10px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--heading);
    font-weight: 600;
    animation: leadAppear 3s ease infinite;
    transform-origin: left;
}
.lead-card:nth-child(2) { animation-delay: 1s; }
.lead-card:nth-child(3) { animation-delay: 2s; }
.lead-card i {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.7rem;
}
.lead-card small {
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 600;
    margin-left: auto;
}
@keyframes leadAppear {
    0%, 90%, 100% { opacity: 0; transform: translateX(-10px) scale(0.95); }
    10%, 70% { opacity: 1; transform: translateX(0) scale(1); }
}

/* ----- App Install scene ----- */
.app-scene {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.phone-frame {
    width: 120px;
    height: 200px;
    background: linear-gradient(180deg, var(--heading), #1a2553);
    border-radius: 22px;
    padding: 10px 6px;
    position: relative;
    box-shadow: 0 14px 36px rgba(11,95,255,0.30);
    flex: 0 0 auto;
}
.phone-frame::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 4px;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    background: rgba(255,255,255,0.18);
    border-radius: 999px;
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--surface);
    border-radius: 14px;
    overflow: hidden;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.phone-app-icon {
    width: 44px;
    height: 44px;
    margin: 4px auto 6px;
    border-radius: 12px;
    background: var(--gradient);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    box-shadow: 0 6px 14px rgba(11,95,255,0.40);
    animation: appPop 2.2s ease-in-out infinite;
}
@keyframes appPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.phone-row {
    height: 8px;
    background: var(--blue-soft);
    border-radius: 4px;
}
.phone-row.short { width: 60%; margin: 0 auto; }
.phone-install-bar {
    margin-top: auto;
    height: 22px;
    background: var(--blue-soft);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}
.phone-install-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    width: 0;
    animation: installFill 2.4s ease-in-out infinite;
    border-radius: 6px;
}
.phone-install-bar::after {
    content: 'INSTALLING…';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--blue);
    z-index: 1;
    letter-spacing: 0.1em;
}
@keyframes installFill {
    0% { width: 0; }
    80%, 100% { width: 100%; }
}
.install-counter {
    position: absolute;
    right: 12px;
    top: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    min-width: 90px;
}
.install-counter small {
    display: block;
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}
.install-counter strong {
    font-size: 1.3rem;
    color: var(--heading);
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-display);
}
.install-counter .delta {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--green);
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 4px;
}
.app-icons-orbit {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: flex;
    gap: 6px;
}
.app-icon-mini {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 0.75rem;
    box-shadow: var(--shadow-sm);
    animation: floatY 2.4s ease-in-out infinite;
}
.app-icon-mini:nth-child(2) { animation-delay: 0.3s; }
.app-icon-mini:nth-child(3) { animation-delay: 0.6s; }
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ----- Search scene ----- */
.search-scene {
    position: relative;
    height: 220px;
    border-radius: 12px;
    padding: 10px;
    overflow: hidden;
}
.search-bar {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 10px 16px 10px 38px;
    color: var(--heading);
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
    overflow: hidden;
}
.search-bar::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blue);
}
.search-typed {
    color: var(--heading);
}
.search-typed::after {
    content: '|';
    color: var(--blue);
    animation: caret 0.7s steps(1) infinite;
}
@keyframes caret {
    50% { opacity: 0; }
}
.search-results {
    display: grid;
    gap: 6px;
}
.search-result {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.74rem;
    color: var(--heading);
    opacity: 0;
    transform: translateY(8px);
    animation: resultIn 0.6s ease forwards;
    position: relative;
}
.search-result:nth-child(1) { animation-delay: 0.4s; }
.search-result:nth-child(2) { animation-delay: 0.7s; }
.search-result:nth-child(3) { animation-delay: 1.0s; }
.search-result .res-url {
    color: var(--green);
    font-size: 0.66rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.search-result .res-title {
    color: var(--blue);
    font-weight: 700;
}
.search-result .ad-badge {
    position: absolute;
    right: 8px;
    top: 8px;
    background: var(--blue);
    color: #fff;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}
@keyframes resultIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Hero KPIs under animation */
.stage-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 12px;
}
.stage-kpi {
    padding: 10px 8px;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--surface), var(--surface-2));
    border: 1px solid var(--line);
    text-align: center;
}
.stage-kpi small {
    display: block;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}
.stage-kpi strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--heading);
    font-family: var(--font-display);
}

/* Live ticker */
.live-ticker {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--blue-soft);
    border: 1px dashed var(--line-strong);
    font-size: 0.82rem;
    color: var(--heading);
    font-weight: 600;
}
.live-ticker .live-dot { flex: 0 0 auto; }
.live-ticker .ticker-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========== TRUST STRIP ========== */
.trust-strip {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.trust-item { text-align: center; }
.trust-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 5vw, 2rem);
    color: var(--blue);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}
.trust-item small {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
}

/* ========== SERVICE CARDS ========== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blue-soft) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--line-strong);
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--gradient);
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 16px;
    box-shadow: 0 8px 18px rgba(11,95,255,0.30);
}
.service-card h3 {
    font-size: 1.12rem;
    margin-bottom: 8px;
}
.service-card p { font-size: 0.92rem; margin-bottom: 14px; }
.service-card .service-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.price-tag {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 800;
    font-size: 0.84rem;
    white-space: nowrap;
}
.service-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}
.service-feature-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.9rem;
}
.service-feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--blue);
    font-weight: 800;
}

/* ========== STEPS ========== */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.step-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 6px 14px rgba(11,95,255,0.30);
    font-family: var(--font-display);
}
.step-card h4 { font-size: 1rem; margin-bottom: 4px; }
.step-card p { font-size: 0.9rem; margin: 0; }

/* ========== PRICING ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-card.popular {
    border-color: var(--blue);
    box-shadow: var(--shadow);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #fff;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(11,95,255,0.32);
}
.pricing-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.pricing-card .price-amount {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 8vw, 2.5rem);
    font-weight: 800;
    color: var(--heading);
    line-height: 1;
    margin: 10px 0 4px;
}
.pricing-card .price-currency {
    font-size: 1.1rem;
    color: var(--blue);
    font-weight: 700;
    vertical-align: top;
}
.pricing-card .price-note {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 16px;
}
.pricing-card ul {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}
.pricing-card ul li {
    padding: 8px 0 8px 24px;
    border-bottom: 1px dashed var(--line);
    color: var(--muted);
    font-size: 0.88rem;
    position: relative;
}
.pricing-card ul li:last-child { border-bottom: 0; }
.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 800;
}

/* ========== FAQ ========== */
.faq-grid { display: grid; gap: 12px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.faq-item.open { border-color: var(--line-strong); }
.faq-q {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 16px 18px;
    font-weight: 700;
    font-size: 0.96rem;
    color: var(--heading);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: inherit;
}
.faq-q::after {
    content: '+';
    color: var(--blue);
    font-size: 1.4rem;
    transition: transform 0.2s ease;
    line-height: 1;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
    padding: 0 18px 16px;
    color: var(--muted);
    font-size: 0.92rem;
    display: none;
}
.faq-item.open .faq-a { display: block; }

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}
.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}
.contact-info-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.94rem;
    color: var(--heading);
}
.contact-info-list .ci-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--gradient);
    color: #fff;
    font-size: 0.95rem;
}
.contact-info-list small {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    margin-bottom: 2px;
}
.contact-info-list a { word-break: break-all; }

.form-control,
.form-select {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--heading);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(11,95,255,0.14);
}
.form-select option { background: var(--bg-soft); color: var(--heading); }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-row { display: grid; gap: 12px; margin-bottom: 12px; }

/* ========== CTA STRIP ========== */
.cta-strip { padding: 30px 0; }
.cta-card {
    background: var(--gradient);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    display: grid;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 0%, rgba(255,255,255,0.20), transparent 50%);
    pointer-events: none;
}
.cta-title { color: #fff; font-size: clamp(1.3rem, 5vw, 1.7rem); margin-bottom: 4px; }
.cta-text { color: rgba(255,255,255,0.92); margin: 0; }
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
}
.cta-actions .btn { flex: 1 1 auto; }

/* ========== PLATFORM LOGOS STRIP ========== */
.platforms-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.platform-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.platform-tile-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 10px;
    background: var(--blue-soft);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 1.05rem;
}
.platform-tile strong {
    display: block;
    color: var(--heading);
    font-size: 0.94rem;
    font-weight: 700;
}
.platform-tile small {
    display: block;
    color: var(--muted);
    font-size: 0.74rem;
}

/* ========== ABOUT BLOCKS ========== */
.about-points { display: grid; gap: 14px; }
.about-point {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.about-point:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.about-point > i {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--gradient);
    color: #fff;
    font-size: 1.1rem;
}
.about-point h4 { font-size: 1.02rem; margin-bottom: 4px; }
.about-point p { margin: 0; font-size: 0.9rem; }

/* ========== PAGE BANNER ========== */
.page-banner {
    padding: 130px 0 50px;
    background:
        radial-gradient(900px 400px at 90% -10%, var(--blue-glow), transparent 60%),
        linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner h1 {
    font-size: clamp(1.85rem, 7vw, 2.9rem);
    margin-bottom: 10px;
}
.page-banner p { max-width: 580px; margin: 0 auto; }

/* ========== FOOTER ========== */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    padding: 54px 0 22px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 28px;
}
.footer-brand { font-size: 1.4rem; }
.footer-text { color: var(--muted); font-size: 0.92rem; }
.footer-col h6 {
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    color: var(--heading);
    font-weight: 800;
}
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}
.footer-list a { color: var(--muted); font-size: 0.92rem; }
.footer-list a:hover { color: var(--blue); }
.footer-contact {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--muted);
}
.footer-contact i { color: var(--blue); }
.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    color: var(--muted);
    font-size: 0.86rem;
    text-align: center;
}

/* ========== FLOATING TELEGRAM ========== */
.float-telegram {
    position: fixed;
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2aabee, #229ed9);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    box-shadow: 0 12px 28px rgba(42,171,238,0.45);
    z-index: 1000;
    animation: floatPulse 2.4s ease-in-out infinite;
}
.float-telegram:hover { color: #fff; transform: scale(1.05); }
@keyframes floatPulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 12px 28px rgba(42,171,238,0.45); }
    50% { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(42,171,238,0.55); }
}

/* ========== UTILS ========== */
.text-center { text-align: center; }
.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */
@media (min-width: 480px) {
    .platforms-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 576px) {
    .hero-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    section { padding: 84px 0; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-grid { grid-template-columns: 1.1fr 1fr; }
    .cta-card { grid-template-columns: 1.4fr 1fr; align-items: center; }
    .footer-grid { grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr; }
    .hero-platforms { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
    .hero { padding: 160px 0 100px; }
    .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 50px; }
    .hero-title { font-size: 3.3rem; }
    .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hero-stage { padding: 22px; }
    .anim-frame { min-height: 280px; }
    .casino-scene,
    .app-scene,
    .search-scene { height: 250px; }
}

/* Very small phones (≤ 380px) */
@media (max-width: 380px) {
    .container { padding-left: 12px; padding-right: 12px; }
    .hero-title { font-size: 1.75rem; }
    .anim-tab span { display: none; }
    .anim-tab { padding: 9px 4px; }
    .btn { padding: 11px 14px; font-size: 0.88rem; }
    .service-card, .pricing-card, .contact-card, .hero-stage { padding: 16px; }
    .stage-kpi strong { font-size: 0.9rem; }
    .slot-machine { width: 86px; height: 116px; }
    .lead-stream { left: 110px; }
    .phone-frame { width: 100px; height: 170px; }
    .install-counter { min-width: 76px; padding: 8px; }
    .install-counter strong { font-size: 1.05rem; }
}
