/* ADSLY Landing — Apple-Inspired Design */
:root {
    --primary: #6366F1;
    --primary-hover: #5558E8;
    --primary-light: rgba(99, 102, 241, 0.08);
    --primary-glow: rgba(99, 102, 241, 0.15);
    --bg: #FFFFFF;
    --bg-alt: #F5F5F7;
    --text: #1D1D1F;
    --text-secondary: #6E6E73;
    --text-tertiary: #86868B;
    --separator: #D2D2D7;
    --separator-light: #E8E8ED;
    --green: #34C759;
    --green-bg: rgba(52, 199, 89, 0.1);
    --orange: #FF9F0A;
    --orange-bg: rgba(255, 159, 10, 0.1);
    --red: #FF3B30;
    --red-bg: rgba(255, 59, 48, 0.08);
    --blue: #007AFF;
    --purple: #AF52DE;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --section-py: 100px;
    --r-s: 8px;
    --r-m: 12px;
    --r-l: 16px;
    --r-xl: 20px;
    --shadow-s: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-m: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-l: 0 12px 40px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: auto;
}

body {
    font-family: var(--font);
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: var(--font);
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

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

.section-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.01em;
    margin-bottom: 14px;
}

.section-title {
    font-size: 44px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.15;
    color: #1a1a2e;
    margin-bottom: 18px;
    -webkit-text-stroke: 1.5px #1a1a2e;
    -webkit-text-fill-color: transparent;
    cursor: default;
}

.section-title .split-word {
    -webkit-text-stroke: 1.5px #1a1a2e;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #5a5a7a;
    max-width: 600px;
    font-weight: 400;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.01em;
    margin-bottom: 14px;
}

/* ============ Scroll Progress ============ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    z-index: 9999;
    width: 0;
    transition: width 0.1s ease;
}

/* ============ Header ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px 0;
    pointer-events: none;
}

.navbar {
    max-width: 1080px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: saturate(180%) blur(40px);
    -webkit-backdrop-filter: saturate(180%) blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 980px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(99, 102, 241, 0.1);
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.06);
}

.nav-container {
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 52px;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    letter-spacing: -0.01em;
    transition: color 0.5s;
}

.nav-menu {
    display: flex;
    gap: 28px;
    flex: 1;
}

.mobile-only-menu-item {
    display: none;
}

.btn-primary-mobile {
    display: none;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 450;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.7;
}

.navbar.scrolled .nav-menu a {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: #4a4a6a;
    transition: color 0.3s;
}

.navbar.scrolled .nav-menu a:hover {
    color: var(--primary);
    opacity: 1;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    color: #4a4a6a;
    transition: color 0.3s;
}

.lang-toggle svg {
    stroke: #4a4a6a;
    transition: stroke 0.3s;
}

.btn-login {
    font-size: 14px;
    font-weight: 450;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 7px 16px;
    border-radius: 980px;
    transition: opacity 0.3s;
    border: 1px solid transparent;
}

.btn-login:hover {
    opacity: 0.7;
}

.navbar.scrolled .btn-login {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: var(--primary);
    transition: color 0.3s;
}

.navbar.scrolled .btn-login:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.12);
    opacity: 1;
}

.btn-primary {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, #8B5CF6 100%);
    padding: 8px 20px;
    border-radius: 980px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

/* Mobile toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.navbar.scrolled .mobile-menu-toggle span {
    background: var(--text);
}

.navbar.menu-open .mobile-menu-toggle span {
    background: var(--text);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============ Hero ============ */
.hero {
    min-height: 100vh;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 60px;
}

.hero-bg {
    display: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 980px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 450;
    color: #5B5FC7;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    letter-spacing: 0.01em;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.hero-title {
    font-size: 58px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin-bottom: 22px;
    color: #1a1a2e;
    -webkit-text-stroke: 1.5px #1a1a2e;
    -webkit-text-fill-color: transparent;
    cursor: default;
}

.hero-title span {
    display: block;
}

.hero-title .split-char {
    -webkit-text-stroke: 1.5px #1a1a2e;
    -webkit-text-fill-color: transparent;
}

/* Gradient-text line: outline with gradient stroke color */
.gradient-text {
    -webkit-text-stroke: 1.5px var(--primary);
    -webkit-text-fill-color: transparent;
}

.gradient-text .split-char,
.gradient-text .split-word {
    -webkit-text-stroke: 1.5px var(--primary);
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: #5a5a7a;
    font-weight: 400;
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, #8B5CF6 100%);
    color: #fff;
    padding: 15px 32px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.05);
    color: #3a3a5c;
    padding: 15px 32px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.2s;
    border: 1px solid rgba(99, 102, 241, 0.12);
}

.btn-hero-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.22);
}

.btn-hero-autopilot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 100%);
    color: #fff;
    padding: 15px 32px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.3s;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-hero-autopilot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-hero-autopilot:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35);
    border-color: rgba(139, 92, 246, 0.5);
}

.btn-hero-autopilot:hover::before {
    opacity: 1;
}

.btn-hero-autopilot svg {
    position: relative;
    z-index: 1;
}

.btn-hero-autopilot span {
    position: relative;
    z-index: 1;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(99, 102, 241, 0.12);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #1a1a2e 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: #6a6a8a;
    margin-top: 6px;
    font-weight: 400;
}

/* Cabinet Types */
.cabinet-types {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.cabinet-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 980px;
    font-size: 13px;
    font-weight: 450;
    background: var(--bg-alt);
    color: var(--text-secondary);
    border: 1px solid var(--separator-light);
}

.cabinet-badge.ton {
    color: #0098EA;
    border-color: rgba(0, 152, 234, 0.2);
    background: rgba(0, 152, 234, 0.06);
}

.cabinet-badge.euro {
    color: #34C759;
    border-color: rgba(52, 199, 89, 0.2);
    background: rgba(52, 199, 89, 0.06);
}

.cabinet-badge.stars {
    color: #FFB800;
    border-color: rgba(255, 184, 0, 0.2);
    background: rgba(255, 184, 0, 0.06);
}

/* ============ Demo Sections ============ */
.demo-section {
    padding: var(--section-py) 0;
}

.demo-section:nth-child(even) {
    background: var(--bg-alt);
}

.demo-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
}

.demo-layout.reverse {
    direction: rtl;
}

.demo-layout.reverse>* {
    direction: ltr;
}

.demo-text .section-eyebrow {
    margin-bottom: 14px;
}

.demo-text .section-title {
    font-size: 34px;
    margin-bottom: 16px;
}

.demo-text .section-subtitle {
    font-size: 16px;
    margin-bottom: 28px;
    line-height: 1.65;
}

.demo-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.demo-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #5a5a7a;
    font-weight: 400;
}

.demo-features li .feat-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green-bg);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Demo Window (macOS frame) */
.demo-window {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--separator-light);
    box-shadow: var(--shadow-l);
    overflow: hidden;
    position: relative;
}

.demo-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--separator-light);
}

.demo-dots {
    display: flex;
    gap: 6px;
}

.demo-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.demo-dots span:nth-child(1) {
    background: #FF5F57;
}

.demo-dots span:nth-child(2) {
    background: #FEBC2E;
}

.demo-dots span:nth-child(3) {
    background: #28C840;
}

.demo-titlebar-text {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-left: 8px;
}

.demo-body {
    padding: 20px;
}

/* ============ Demo: Campaign Table ============ */
.demo-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--r-s);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid var(--separator);
    color: var(--text-secondary);
    background: #fff;
}

.demo-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.demo-btn.primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.demo-btn.primary:hover {
    background: var(--primary-hover);
}

.demo-btn.danger {
    color: var(--red);
    border-color: rgba(255, 59, 48, 0.3);
}

.demo-btn.danger:hover {
    background: var(--red-bg);
}

.demo-btn.success {
    color: var(--green);
    border-color: rgba(52, 199, 89, 0.3);
}

.demo-btn.success:hover {
    background: var(--green-bg);
}

.demo-table-wrap {
    overflow-x: auto;
}

.demo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.demo-table th {
    text-align: left;
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    border-bottom: 1px solid var(--separator-light);
}

.demo-table td {
    padding: 10px;
    border-bottom: 1px solid var(--separator-light);
    color: var(--text);
    vertical-align: middle;
}

.demo-table tr {
    transition: background 0.15s;
}

.demo-table tr:hover {
    background: var(--primary-light);
}

.demo-table tr.selected {
    background: rgba(99, 102, 241, 0.06);
}

.demo-table input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--primary);
    cursor: pointer;
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 980px;
    font-size: 11px;
    font-weight: 600;
}

.status-badge.active {
    background: var(--green-bg);
    color: var(--green);
}

.status-badge.paused {
    background: var(--orange-bg);
    color: var(--orange);
}

.status-badge.stopped {
    background: var(--red-bg);
    color: var(--red);
}

.cpm-value {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.cpm-value.updated {
    animation: cpmFlash 0.6s ease;
}

@keyframes cpmFlash {
    0% {
        color: var(--text);
    }

    30% {
        color: var(--primary);
        background: var(--primary-light);
        border-radius: 4px;
    }

    100% {
        color: var(--text);
    }
}

.demo-select-count {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    padding: 4px 0;
    min-height: 20px;
}

/* Demo Modal Overlay */
.demo-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10;
}

.demo-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.demo-modal {
    background: #fff;
    border-radius: var(--r-l);
    padding: 24px;
    box-shadow: var(--shadow-xl);
    min-width: 280px;
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.3s;
}

.demo-modal-overlay.active .demo-modal {
    transform: scale(1);
}

.demo-modal h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.demo-modal input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--separator);
    border-radius: var(--r-s);
    font-size: 15px;
    text-align: center;
    outline: none;
    transition: border 0.2s;
}

.demo-modal input:focus {
    border-color: var(--primary);
}

.demo-modal-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.demo-modal-actions button {
    flex: 1;
    padding: 10px;
    border-radius: var(--r-s);
    font-size: 14px;
    font-weight: 600;
}

/* Toast */
.demo-toast {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--text);
    color: #fff;
    padding: 10px 20px;
    border-radius: 980px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.4s;
    pointer-events: none;
    white-space: nowrap;
}

.demo-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============ Demo: Automation Rules ============ */
.demo-rule-builder {
    background: var(--bg-alt);
    border-radius: var(--r-m);
    padding: 20px;
    margin-bottom: 16px;
}

.demo-rule-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.demo-rule-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    min-width: 40px;
    text-transform: uppercase;
}

.demo-rule-select {
    padding: 7px 12px;
    border: 1px solid var(--separator);
    border-radius: var(--r-s);
    font-size: 13px;
    font-family: var(--font);
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border 0.2s;
}

.demo-rule-select:focus {
    border-color: var(--primary);
}

.demo-rule-input {
    padding: 7px 12px;
    border: 1px solid var(--separator);
    border-radius: var(--r-s);
    font-size: 13px;
    font-family: var(--font);
    color: var(--text);
    background: #fff;
    outline: none;
    width: 80px;
    transition: border 0.2s;
}

.demo-rule-input:focus {
    border-color: var(--primary);
}

.demo-rules-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-rule-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #fff;
    border-radius: var(--r-m);
    border: 1px solid var(--separator-light);
    font-size: 13px;
    animation: ruleSlideIn 0.4s ease;
}

@keyframes ruleSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-rule-item .rule-text {
    color: var(--text-secondary);
}

.demo-rule-item .rule-text strong {
    color: var(--text);
    font-weight: 600;
}

.demo-rule-status {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 980px;
    background: var(--green-bg);
    color: var(--green);
}

/* ============ Demo: Analytics ============ */
.demo-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.demo-metric-card {
    background: var(--bg-alt);
    border-radius: var(--r-m);
    padding: 16px;
    text-align: center;
}

.demo-metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.demo-metric-label {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-metric-change {
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
}

.demo-metric-change.up {
    color: var(--green);
}

.demo-metric-change.down {
    color: var(--red);
}

.demo-chart-container {
    position: relative;
    height: 180px;
}

.demo-chart-container svg {
    width: 100%;
    height: 100%;
}

/* Chart lines animated by GSAP ScrollTrigger (see animations.js) */

/* ============ Demo: Campaign Creation ============ */
.demo-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.demo-form-row {
    display: flex;
    gap: 12px;
}

.demo-form-group {
    flex: 1;
}

.demo-form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
    display: block;
}

.demo-form-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--separator);
    border-radius: var(--r-s);
    font-size: 13px;
    font-family: var(--font);
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border 0.2s;
}

.demo-form-input:focus {
    border-color: var(--primary);
}

.demo-form-textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--separator);
    border-radius: var(--r-s);
    font-size: 13px;
    font-family: var(--font);
    color: var(--text);
    background: #fff;
    outline: none;
    resize: vertical;
    min-height: 60px;
    transition: border 0.2s;
}

.demo-form-textarea:focus {
    border-color: var(--primary);
}

.demo-upload-area {
    border: 2px dashed var(--separator);
    border-radius: var(--r-m);
    padding: 24px;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.demo-upload-area:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.demo-targeting-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.demo-targeting-tag {
    padding: 5px 10px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 500;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

/* ============ Demo: Campaign Detail ============ */
.demo-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--separator-light);
}

.demo-detail-title {
    font-size: 16px;
    font-weight: 700;
}

.demo-detail-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.demo-detail-stat {
    background: var(--bg-alt);
    border-radius: var(--r-m);
    padding: 14px;
    text-align: center;
}

.demo-detail-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.demo-detail-stat-label {
    font-size: 11px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.demo-hourly-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.demo-hourly-table th {
    text-align: left;
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    border-bottom: 1px solid var(--separator-light);
}

.demo-hourly-table td {
    padding: 7px 8px;
    border-bottom: 1px solid var(--separator-light);
    font-variant-numeric: tabular-nums;
}

/* ============ Full-width Demo (stacked layout) ============ */
.demo-section-full {
    padding: var(--section-py) 0;
}

.demo-section-full:nth-child(even) {
    background: var(--bg-alt);
}

.demo-section-full .section-header {
    margin-bottom: 40px;
}

.demo-full-window {
    max-width: 900px;
    margin: 0 auto;
}

/* ============ Steps Section ============ */
.steps-section {
    padding: var(--section-py) 0;
    background: var(--bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--r-l);
    background: var(--bg-alt);
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    margin: 0 auto 16px;
}

.step-card h3 {
    font-size: 17px;
    font-weight: 550;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: #5a5a7a;
    line-height: 1.6;
    font-weight: 400;
}

.step-arrow {
    display: none;
}

/* ============ Features Section ============ */
.features-section {
    padding: var(--section-py) 0;
}

#features {
    padding: var(--section-py) 0;
}

.features-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-category {
    background: var(--bg-alt);
    border-radius: var(--r-l);
    padding: 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-m);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-m);
    background: linear-gradient(135deg, var(--primary) 0%, #818cf8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

.category-icon.icon-pink {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
}

.category-icon.icon-green {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.category-icon.icon-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
}

.category-icon.icon-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.category-icon.icon-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.category-header h3 {
    font-size: 16px;
    font-weight: 550;
    color: #1a1a2e;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #5a5a7a;
    line-height: 1.5;
    font-weight: 400;
}

.feature-list .check-icon {
    color: var(--green);
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ============ Testimonials ============ */
.testimonials-section {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--r-l);
    padding: 28px;
    border: 1px solid var(--separator-light);
    transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-m);
}

.testimonial-stars {
    color: #FFB800;
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 600;
}

.testimonial-role {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ============ Pricing ============ */
.pricing-section {
    padding: var(--section-py) 0;
    background: var(--bg);
}

/* Billing Toggle */
.billing-toggle-wrapper {
    text-align: center;
    margin-bottom: 32px;
}

.billing-toggle {
    display: inline-flex;
    background: var(--bg-alt);
    border-radius: 980px;
    padding: 4px;
    border: 1px solid var(--separator-light);
}

.billing-toggle-btn {
    padding: 8px 24px;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: var(--font);
}

.billing-toggle-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.billing-toggle-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 980px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(52, 199, 89, 0.12);
    color: var(--green);
}

/* AI Feature Row in Pricing */
.pricing-features .ai-feature {
    padding: 8px;
    margin: 2px -8px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.04) 100%);
    border: 1px solid rgba(99, 102, 241, 0.12);
}

.pricing-features .ai-feature .check {
    color: var(--primary);
}

.pricing-features .ai-feature.disabled {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.06) 0%, rgba(148, 163, 184, 0.03) 100%);
    border-color: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
}

.pricing-features .ai-feature.disabled .check {
    color: #94a3b8;
}

.ai-pro-badge {
    font-size: 9px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 2px 8px;
    border-radius: 980px;
    margin-left: auto;
}

.ai-badge-tag {
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    padding: 2px 8px;
    border-radius: 980px;
    margin-left: auto;
}

.pricing-features .disabled {
    color: #94a3b8;
}

.pricing-features .disabled .check {
    color: #94a3b8;
}

.plan-billed-yearly {
    font-size: 12px;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 4px;
}

.pricing-addons-note {
    font-size: 12px;
    color: var(--primary);
    text-align: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--separator-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 16px;
    overflow: visible;
}

.pricing-card {
    background: var(--bg-alt);
    border-radius: var(--r-xl);
    padding: 32px;
    border: 1px solid var(--separator-light);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: visible;
}

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

.pricing-card.featured {
    background: #fff;
    border: 2px solid var(--primary);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.12);
}

.pricing-card.agency {
    border-color: var(--purple);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.agency-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple);
    color: #fff;
    padding: 4px 16px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.pricing-header h3 {
    font-size: 20px;
    font-weight: 550;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.pricing-price {
    padding: 16px 0;
    border-bottom: 1px solid var(--separator-light);
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    justify-content: center;
}

.price-amount {
    font-size: 40px;
    font-weight: 500;
    color: #1a1a2e;
}

.price-period {
    font-size: 14px;
    color: var(--text-tertiary);
}

.price-discount-row {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-bottom: 4px;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-tertiary);
    font-size: 18px;
}

.price-discount-badge {
    background: var(--red-bg);
    color: var(--red);
    padding: 2px 8px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 600;
}

.price-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-tertiary);
}

.price-countdown-value {
    font-weight: 600;
    color: var(--red);
    font-variant-numeric: tabular-nums;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #5a5a7a;
    font-weight: 400;
    line-height: 1.5;
}

.pricing-features .check {
    color: var(--green);
    font-weight: 600;
}

.btn-pricing {
    display: block;
    text-align: center;
    padding: 13px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    background: var(--bg);
    color: #3a3a5c;
    border: 1px solid var(--separator);
    transition: all 0.2s;
}

.btn-pricing:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-pricing.featured {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-pricing.featured:hover {
    background: var(--primary-hover);
}

.btn-pricing.agency {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
}

.btn-pricing.agency:hover {
    background: #9333ea;
}

.pricing-loading,
.pricing-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-tertiary);
    font-size: 15px;
}

/* ============ FAQ ============ */
.faq-section {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: #fff;
    border-radius: var(--r-m);
    border: 1px solid var(--separator-light);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: var(--shadow-s);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a2e;
    background: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
    flex-shrink: 0;
    color: var(--text-tertiary);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 20px 18px;
    font-size: 14px;
    color: #5a5a7a;
    line-height: 1.65;
    font-weight: 400;
}

/* ============ CTA Section ============ */
.cta-section {
    padding: var(--section-py) 0;
    background: var(--text);
    text-align: center;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.015em;
}

.cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, #8B5CF6 100%);
    color: #fff;
    padding: 16px 36px;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

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

.cta-assurance {
    margin-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ============ AI Features Section ============ */
.ai-features-section {
    padding: var(--section-py) 0;
    background: #0a0a1a;
    position: relative;
    overflow: hidden;
}

.ai-features-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.04) 40%, transparent 70%);
    pointer-events: none;
}

.ai-features-section .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.ai-badge {
    background: linear-gradient(135deg, var(--primary), #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-features-section .section-title {
    color: #fff;
    -webkit-text-stroke: 1.5px #fff;
    -webkit-text-fill-color: transparent;
}

.ai-features-section .section-title .split-word {
    -webkit-text-stroke: 1.5px #fff;
    -webkit-text-fill-color: transparent;
}

.ai-features-section .section-subtitle {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 auto;
}

.ai-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.ai-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: var(--r-xl);
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.ai-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.35), transparent);
}

.ai-feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(99, 102, 241, 0.28);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
}

.ai-feature-card-wide {
    grid-column: 1 / -1;
}

.ai-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-m);
    background: linear-gradient(135deg, var(--primary), #8B5CF6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.ai-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

.ai-feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.ai-feature-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
}

/* ============ Managed Service CTA ============ */
.managed-section {
    padding: calc(var(--section-py) + 20px) 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16162a 40%, #0f0f23 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.managed-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.05) 40%, transparent 70%);
    pointer-events: none;
}

.managed-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.managed-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.managed-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary), #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.managed-title {
    font-size: 40px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.015em;
    line-height: 1.15;
    margin-bottom: 18px;
    -webkit-text-stroke: 1.5px #fff;
    -webkit-text-fill-color: transparent;
}

.managed-title .split-word {
    -webkit-text-stroke: 1.5px #fff;
    -webkit-text-fill-color: transparent;
}

.managed-subtitle {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    max-width: 520px;
    margin: 0 auto 36px;
}

.managed-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    margin-bottom: 40px;
}

.managed-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.managed-feature svg {
    stroke: var(--green);
    flex-shrink: 0;
}

.btn-managed {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, #8B5CF6 100%);
    color: #fff;
    padding: 16px 40px;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.3s;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.4);
}

.btn-managed:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(99, 102, 241, 0.5);
}

/* ============ Footer ============ */
.footer {
    padding: 40px 0 24px;
    border-top: 1px solid var(--separator-light);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: #5a5a7a;
    transition: color 0.2s;
    font-weight: 400;
}

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

.footer-email {
    font-size: 14px;
    color: #5a5a7a;
    transition: color 0.2s;
    font-weight: 400;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--separator-light);
}

.footer-bottom p {
    font-size: 13px;
    color: #6a6a8a;
    font-weight: 400;
}

/* ============ Support Modal ============ */
.support-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.support-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.support-modal-box {
    background: #fff;
    border-radius: var(--r-xl);
    padding: 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s;
    box-shadow: var(--shadow-xl);
}

.support-modal-overlay.active .support-modal-box {
    transform: scale(1);
}

.support-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 28px;
    color: var(--text-tertiary);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.support-modal-close:hover {
    background: var(--bg-alt);
    color: var(--text);
}

.support-modal-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    border-radius: var(--r-l);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.support-modal-icon svg {
    stroke: #fff;
}

.support-modal-title {
    font-size: 22px;
    font-weight: 550;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.support-modal-text {
    font-size: 15px;
    color: #5a5a7a;
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 400;
}

.support-modal-buttons {
    display: flex;
    gap: 10px;
}

.support-modal-btn {
    flex: 1;
    padding: 12px;
    border-radius: var(--r-m);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}

.support-modal-btn-secondary {
    background: var(--bg-alt);
    color: var(--text-secondary);
}

.support-modal-btn-secondary:hover {
    background: var(--separator-light);
}

.support-modal-btn-primary {
    background: var(--primary);
    color: #fff;
}

.support-modal-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* ============ Demo: Enhanced Elements ============ */
.demo-group-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.demo-group-tag.blue {
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
}

.demo-group-tag.purple {
    background: rgba(175, 82, 222, 0.1);
    color: #AF52DE;
}

.demo-group-tag.orange {
    background: rgba(255, 159, 10, 0.1);
    color: #FF9F0A;
}

.demo-currency {
    font-size: 10px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.demo-inline-edit {
    cursor: pointer;
    border-bottom: 1px dashed var(--separator);
    transition: border-color 0.2s;
}

.demo-inline-edit:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.status-badge.declined {
    background: var(--red-bg);
    color: var(--red);
}

.status-badge.review {
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
}

.demo-progress {
    margin-top: 16px;
    background: var(--bg-alt);
    border-radius: var(--r-m);
    padding: 14px 16px;
    display: none;
}

.demo-progress.active {
    display: block;
    animation: ruleSlideIn 0.4s ease;
}

.demo-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
}

.demo-progress-label {
    font-weight: 600;
    color: var(--text);
}

.demo-progress-stats {
    color: var(--text-tertiary);
    font-size: 12px;
}

.demo-progress-stats .success {
    color: var(--green);
    font-weight: 600;
}

.demo-progress-stats .failed {
    color: var(--red);
    font-weight: 600;
}

.demo-progress-bar {
    height: 6px;
    background: var(--separator-light);
    border-radius: 3px;
    overflow: hidden;
}

.demo-progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0;
}

.demo-macro-hint {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.demo-macro-hint code {
    background: var(--bg-alt);
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 10px;
    font-family: 'SF Mono', monospace;
}

.demo-period-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.demo-period-tab {
    padding: 5px 12px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-tertiary);
    background: transparent;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.demo-period-tab:hover {
    color: var(--text);
}

.demo-period-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.demo-action-menu {
    position: relative;
    display: inline-block;
}

.demo-action-dot {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-tertiary);
    transition: all 0.15s;
    font-size: 14px;
}

.demo-action-dot:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.demo-table .campaign-name {
    font-weight: 500;
    color: var(--primary);
}

.demo-mass-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--separator-light);
}

.demo-mass-header h4 {
    font-size: 15px;
    font-weight: 700;
}

.demo-mass-count {
    font-size: 12px;
    color: var(--text-tertiary);
    background: var(--bg-alt);
    padding: 3px 10px;
    border-radius: 980px;
}

.demo-similar-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.demo-similar-toggle input {
    accent-color: var(--primary);
}

.demo-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.demo-detail-info-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--separator-light);
    font-size: 13px;
}

.demo-detail-info-label {
    color: var(--text-tertiary);
}

.demo-detail-info-value {
    font-weight: 500;
    color: var(--text);
}

.demo-chart-legend {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 8px;
}

.demo-chart-legend span {
    font-size: 11px;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.demo-chart-legend .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* ============ GSAP Animation System ============ */

/* SplitType text wrappers */
.split-line {
    overflow: hidden;
    display: block;
}

.split-char,
.split-word {
    display: inline-block;
}

/* GPU acceleration hints for animated elements */
.demo-window,
.feature-category,
.step-card,
.pricing-card,
.faq-item,
.hero-content,
.hero-stats,
.cabinet-types,
.demo-metric-card,
.demo-detail-stat,
.demo-rule-item,
.ai-feature-card,
.managed-content {
    will-change: transform, opacity;
}

/* Lenis smooth scroll */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

/* ============ Film Grain Overlay ============ */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    animation: grainShift 0.4s steps(6) infinite;
    -webkit-mask-image: radial-gradient(circle 200px at var(--mx, -999px) var(--my, -999px), transparent 0%, black 100%);
    mask-image: radial-gradient(circle 200px at var(--mx, -999px) var(--my, -999px), transparent 0%, black 100%);
}

@keyframes grainShift {
    0% {
        transform: translate(0, 0);
    }

    16% {
        transform: translate(-5%, -10%);
    }

    33% {
        transform: translate(3%, -15%);
    }

    50% {
        transform: translate(12%, 9%);
    }

    66% {
        transform: translate(-7%, 5%);
    }

    83% {
        transform: translate(8%, -12%);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* ============ Morphing Blobs (Hero) ============ */
/* Wrapper: positioned absolutely, GSAP moves this via x/y */
.hero-blob-wrap {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.hero-blob-wrap-1 {
    width: 550px;
    height: 550px;
    top: -20%;
    left: 10%;
}

.hero-blob-wrap-2 {
    width: 450px;
    height: 450px;
    top: 5%;
    right: 5%;
}

.hero-blob-wrap-3 {
    width: 350px;
    height: 350px;
    bottom: 0%;
    left: 35%;
}

/* Inner blob: fills wrapper, CSS morph animation (no position conflict with GSAP) */
.hero-blob {
    width: 100%;
    height: 100%;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    filter: blur(80px);
    opacity: 0.6;
    animation: blobMorph 10s ease-in-out infinite alternate;
}

.hero-blob-1 {
    background: linear-gradient(135deg, #6366F1, #AF52DE);
    animation-delay: 0s;
}

.hero-blob-2 {
    background: linear-gradient(225deg, #AF52DE, #6366F1);
    animation-delay: -3s;
    animation-duration: 12s;
}

.hero-blob-3 {
    background: linear-gradient(45deg, #34C759, #6366F1);
    opacity: 0.4;
    animation-delay: -6s;
    animation-duration: 14s;
}

@keyframes blobMorph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg) scale(1);
    }

    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    50% {
        border-radius: 50% 30% 50% 70% / 40% 70% 30% 60%;
        transform: rotate(45deg) scale(1.05);
    }

    75% {
        border-radius: 40% 60% 30% 70% / 60% 40% 60% 30%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(90deg) scale(1);
    }
}

/* ============ 3D Tilt Cards ============ */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-card .tilt-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%),
            rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tilt-card:hover .tilt-shine {
    opacity: 1;
}

/* Text Cursor Highlight is now handled entirely via SplitType words in animations.js */

/* ============ Floating Decorative Elements ============ */
.floating-elements {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-el {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    will-change: transform;
}

.floating-el-1 {
    width: 80px;
    height: 80px;
    background: var(--primary);
    top: 20%;
    left: 5%;
}

.floating-el-2 {
    width: 50px;
    height: 50px;
    background: var(--purple);
    top: 60%;
    right: 8%;
}

.floating-el-3 {
    width: 120px;
    height: 120px;
    background: var(--green);
    bottom: 15%;
    left: 50%;
    border-radius: 30% 70% 50% 50%;
}

.floating-el-4 {
    width: 40px;
    height: 40px;
    background: var(--orange);
    top: 40%;
    right: 20%;
}

.floating-el-5 {
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary);
    background: transparent;
    top: 75%;
    left: 15%;
}

.floating-el-6 {
    width: 35px;
    height: 35px;
    background: var(--primary);
    top: 10%;
    right: 30%;
    border-radius: 20% 80% 60% 40%;
}

/* Reduced motion: skip all animations */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .grain-overlay,
    .hero-blob,
    .floating-el {
        display: none !important;
    }
}

/* ============ Responsive: Tablet ============ */
@media (max-width: 900px) {
    .section-title {
        font-size: 32px;
        -webkit-text-stroke-width: 1.2px;
    }

    .section-title .split-word {
        -webkit-text-stroke-width: 1.2px;
    }

    .hero-title {
        font-size: 38px;
        -webkit-text-stroke-width: 1.2px;
    }

    .hero-title .split-char {
        -webkit-text-stroke-width: 1.2px;
    }

    .demo-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .demo-layout.reverse {
        direction: ltr;
    }

    .demo-text .section-title {
        font-size: 28px;
    }

    .features-categories {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .demo-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .demo-detail-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* AI Features — tablet */
    .ai-features-section .section-title {
        -webkit-text-stroke-width: 1.2px;
    }

    .ai-features-section .section-title .split-word {
        -webkit-text-stroke-width: 1.2px;
    }

    .managed-title {
        font-size: 32px;
        -webkit-text-stroke-width: 1.2px;
    }

    .managed-title .split-word {
        -webkit-text-stroke-width: 1.2px;
    }

    /* Blobs — smaller on tablet */
    .hero-blob-wrap-1 {
        width: 400px;
        height: 400px;
    }

    .hero-blob-wrap-2 {
        width: 320px;
        height: 320px;
    }

    .hero-blob-wrap-3 {
        width: 250px;
        height: 250px;
    }
}

/* ============ Responsive: Mobile ============ */
@media (max-width: 768px) {
    :root {
        --section-py: 56px;
    }

    .container {
        padding: 0 20px;
    }

    /* --- Navbar bar --- */
    .site-header {
        padding: 10px 16px 0;
    }

    .nav-container {
        height: 48px;
        padding: 0 16px;
        gap: 12px;
        position: relative;
        justify-content: center;
    }

    .logo {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
    }

    .logo img {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 15px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hide desktop-only items */
    .nav-cta {
        display: none;
    }

    /* Navbar pill when menu open — becomes positioning context */
    .navbar.menu-open {
        position: relative;
        border-radius: 20px 20px 0 0;
        background: #fff;
        border-color: rgba(99, 102, 241, 0.06);
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        overflow: visible;
    }

    /* --- Mobile Menu (dropdown attached to navbar) --- */
    .nav-menu {
        display: none;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: -1px;
        right: -1px;
        max-height: calc(100dvh - 80px);
        background: #fff;
        padding: 12px 0 20px;
        gap: 0;
        z-index: 999;
        border-radius: 0 0 24px 24px;
        border: 1px solid rgba(99, 102, 241, 0.06);
        border-top: 1px solid rgba(99, 102, 241, 0.04);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Menu list items */
    .nav-menu.active li {
        list-style: none;
    }

    .nav-menu.active .mobile-only-menu-item {
        display: block;
    }

    /* Menu links — big, full-width tap targets */
    .nav-menu.active a {
        display: block;
        font-size: 20px;
        font-weight: 500;
        color: #1a1a2e !important;
        background: none !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: #1a1a2e !important;
        background-clip: unset !important;
        padding: 18px 28px;
        border-bottom: none;
        transition: background 0.15s;
        letter-spacing: -0.01em;
    }

    .nav-menu.active a:active {
        background: rgba(99, 102, 241, 0.06) !important;
    }

    /* Language switcher row in mobile menu */
    .nav-menu.active .mobile-lang-row {
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding: 16px 28px 8px;
        border-top: 1px solid rgba(99, 102, 241, 0.06);
        margin-top: 6px;
    }

    .mobile-lang-btn {
        flex: 1;
        padding: 12px 0;
        border-radius: 14px;
        font-size: 15px;
        font-weight: 500;
        color: #5a5a7a;
        background: rgba(99, 102, 241, 0.04);
        border: 1px solid transparent;
        transition: all 0.2s;
        text-align: center;
        cursor: pointer;
        font-family: var(--font);
    }

    .mobile-lang-btn.active {
        color: var(--primary);
        background: rgba(99, 102, 241, 0.08);
        border-color: rgba(99, 102, 241, 0.15);
    }

    /* Login link in mobile menu */
    .nav-menu.active .mobile-only-menu-item a:not(.btn-primary-mobile) {
        color: var(--primary) !important;
        -webkit-text-fill-color: var(--primary) !important;
        font-size: 18px;
    }

    /* Get Started button in mobile menu */
    .nav-menu.active .mobile-only-menu-item .btn-primary-mobile {
        display: block;
        margin: 16px 24px 8px;
        padding: 16px 28px;
        font-size: 17px;
        font-weight: 500;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        background: linear-gradient(135deg, var(--primary) 0%, #8B5CF6 100%) !important;
        border-radius: 980px;
        text-align: center;
        box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
    }

    /* --- Hero --- */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 72px 0 40px;
    }

    .hero-title {
        font-size: 34px;
        -webkit-text-stroke-width: 1px;
        margin-bottom: 18px;
    }

    .hero-title .split-char {
        -webkit-text-stroke-width: 1px;
    }

    .gradient-text,
    .gradient-text .split-char {
        -webkit-text-stroke-width: 1px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 5px 14px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin: 0 auto 28px;
    }

    .hero-cta {
        gap: 10px;
    }

    .btn-hero-primary {
        padding: 13px 24px;
        font-size: 14px;
    }

    .btn-hero-secondary {
        padding: 13px 24px;
        font-size: 14px;
    }

    .btn-hero-autopilot {
        padding: 13px 24px;
        font-size: 14px;
    }

    /* Hero stats */
    .hero-stats {
        gap: 16px;
        margin-top: 40px;
        padding-top: 28px;
        flex-wrap: nowrap;
        justify-content: space-around;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 11px;
    }

    .cabinet-types {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 24px;
    }

    .cabinet-badge {
        font-size: 12px;
        padding: 5px 12px;
    }

    /* Blobs — almost transparent on mobile */
    .hero-blob-wrap-1 {
        width: 280px;
        height: 280px;
        top: -10%;
        left: -5%;
    }

    .hero-blob-wrap-2 {
        width: 220px;
        height: 220px;
        top: 10%;
        right: -10%;
    }

    .hero-blob-wrap-3 {
        width: 180px;
        height: 180px;
        bottom: 5%;
        left: 25%;
    }

    .hero-blob {
        filter: blur(70px);
        opacity: 0.15;
    }

    /* --- Section typography --- */
    .section-title {
        font-size: 28px;
        -webkit-text-stroke-width: 1px;
        margin-bottom: 14px;
    }

    .section-title .split-word {
        -webkit-text-stroke-width: 1px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .section-eyebrow,
    .section-badge {
        font-size: 13px;
    }

    /* --- Demo sections --- */
    .demo-text .section-title {
        font-size: 24px;
        -webkit-text-stroke-width: 1px;
    }

    .demo-text .section-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .demo-features li {
        font-size: 14px;
    }

    .demo-window {
        border-radius: 10px;
    }

    .demo-body {
        padding: 14px;
    }

    .demo-titlebar {
        padding: 10px 14px;
    }

    .demo-dots span {
        width: 8px;
        height: 8px;
    }

    .demo-table {
        font-size: 11px;
    }

    .demo-table th,
    .demo-table td {
        padding: 6px 5px;
    }

    .demo-toolbar {
        gap: 5px;
        flex-wrap: wrap;
    }

    .demo-btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    .demo-form-row {
        flex-direction: column;
    }

    .demo-form-label {
        font-size: 12px;
    }

    .demo-form-input,
    .demo-form-textarea {
        font-size: 13px;
    }

    .demo-metrics {
        gap: 8px;
    }

    .demo-metric-card {
        padding: 12px 8px;
    }

    .demo-metric-value {
        font-size: 20px;
    }

    .demo-metric-label {
        font-size: 10px;
    }

    .demo-detail-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .demo-detail-stat-value {
        font-size: 16px;
    }

    .demo-detail-stats {
        gap: 8px;
    }

    .demo-hourly-table {
        font-size: 10px;
    }

    .demo-hourly-table th {
        font-size: 9px;
        padding: 4px 4px;
    }

    .demo-hourly-table td {
        padding: 5px 4px;
    }

    .demo-chart-container {
        margin-top: 16px;
    }

    /* --- Features --- */
    .features-categories {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .feature-category {
        padding: 22px;
    }

    .feature-category:hover {
        transform: none;
    }

    /* no hover on touch */
    .category-header h3 {
        font-size: 15px;
    }

    .feature-list li {
        font-size: 13px;
    }

    /* --- Steps --- */
    .steps-grid {
        gap: 12px;
    }

    .step-card {
        padding: 24px 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .step-card h3 {
        font-size: 16px;
    }

    .step-card p {
        font-size: 13px;
    }

    /* --- Pricing --- */
    .billing-toggle-btn {
        padding: 7px 18px;
        font-size: 13px;
    }

    .billing-toggle-wrapper {
        margin-bottom: 24px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pricing-card {
        padding: 28px 22px;
    }

    .pricing-header h3 {
        font-size: 18px;
    }

    .price-amount {
        font-size: 34px;
    }

    .pricing-features li {
        font-size: 13px;
    }

    .btn-pricing {
        padding: 12px;
        font-size: 14px;
    }

    /* --- FAQ --- */
    .faq-question {
        padding: 16px 18px;
        font-size: 14px;
    }

    .faq-answer-inner {
        padding: 0 18px 16px;
        font-size: 13px;
    }

    /* --- CTA --- */
    .cta-content h2 {
        font-size: 26px;
    }

    .cta-content p {
        font-size: 15px;
    }

    .btn-cta-primary {
        padding: 14px 28px;
        font-size: 15px;
    }

    /* --- AI Features --- */
    .ai-features-grid {
        grid-template-columns: 1fr;
    }

    .ai-feature-card-wide {
        grid-column: auto;
    }

    .ai-feature-card {
        padding: 24px;
    }

    .ai-feature-card h3 {
        font-size: 16px;
    }

    .ai-feature-card p {
        font-size: 13px;
    }

    .ai-features-section .section-title {
        -webkit-text-stroke-width: 1px;
    }

    .ai-features-section .section-title .split-word {
        -webkit-text-stroke-width: 1px;
    }

    .ai-feature-icon {
        width: 42px;
        height: 42px;
    }

    .ai-feature-icon svg {
        width: 20px;
        height: 20px;
    }

    /* --- Managed Service --- */
    .managed-title {
        font-size: 28px;
        -webkit-text-stroke-width: 1px;
    }

    .managed-title .split-word {
        -webkit-text-stroke-width: 1px;
    }

    .managed-subtitle {
        font-size: 15px;
    }

    .managed-feature {
        font-size: 14px;
    }

    .btn-managed {
        padding: 14px 32px;
        font-size: 15px;
    }

    /* --- Footer --- */
    .footer {
        padding: 32px 0 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    /* --- Floating elements — hide on mobile for clean look --- */
    .floating-elements {
        display: none;
    }

    /* --- Grain overlay — disable on mobile (performance) --- */
    .grain-overlay {
        display: none;
    }

    /* --- Support modal --- */
    .support-modal-content {
        margin: 20px;
        padding: 28px 22px;
        border-radius: 20px;
    }

    .support-modal-title {
        font-size: 20px;
    }

    .support-modal-icon {
        width: 60px;
        height: 60px;
    }

    .support-modal-buttons {
        flex-direction: column;
    }
}

/* ============ Responsive: Small phones ============ */
@media (max-width: 480px) {
    .hero {
        padding: 64px 0 32px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-hero-autopilot {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .stat-item {
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .stat-label {
        margin-top: 0;
    }

    .section-title {
        font-size: 24px;
    }

    .demo-text .section-title {
        font-size: 22px;
    }

    .demo-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .demo-detail-stats {
        grid-template-columns: 1fr 1fr !important;
    }

    .cta-content h2 {
        font-size: 22px;
    }

    .managed-title {
        font-size: 24px;
    }

    .pricing-card {
        padding: 24px 18px;
    }

    .price-amount {
        font-size: 30px;
    }

    .nav-menu.active {
        padding: 10px 0 16px;
    }

    .nav-menu.active a {
        font-size: 18px;
        padding: 16px 24px;
    }

    .nav-menu.active .mobile-only-menu-item .btn-primary-mobile {
        margin: 12px 20px 6px;
        padding: 14px 24px;
        font-size: 16px;
    }

    .nav-menu.active .mobile-lang-row {
        padding: 12px 24px 4px;
    }

    .mobile-lang-btn {
        padding: 10px 0;
        font-size: 14px;
    }
}

/* =====================================================
   ADSLY Guides - Light Theme & Detailed Styles
   ===================================================== */
:root {
    --guide-bg: #f8fafc;
    --guide-card-bg: #ffffff;
    --guide-text: #1e293b;
    --guide-muted: #64748b;
    --guide-border: #e2e8f0;
    --guide-accent: #3b82f6;
}

body.light-theme {
    background-color: var(--guide-bg);
    color: var(--guide-text);
}

.guides-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    text-align: center;
    margin-bottom: 60px;
}

.guides-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #1e293b, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.guides-subtitle {
    font-size: 1.25rem;
    color: var(--guide-muted);
    max-width: 600px;
    margin: 0 auto;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.guide-card {
    background: var(--guide-card-bg);
    border: 1px solid var(--guide-border);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--guide-accent);
}

.guide-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.guide-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #eff6ff;
    color: #3b82f6;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    margin: 20px 20px 10px;
}

.guide-title {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0 20px 10px;
    line-height: 1.3;
}

.guide-desc {
    font-size: 0.95rem;
    color: var(--guide-muted);
    padding: 0 20px 20px;
    line-height: 1.6;
    flex-grow: 1;
}

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

.guide-read {
    font-weight: 600;
    color: var(--guide-accent);
    display: flex;
    align-items: center;
    gap: 6px;
}

.guide-date {
    font-size: 0.85rem;
    color: var(--guide-muted);
}

/* Article Page Specifics */
.article-hero {
    padding: 60px 0;
    border-bottom: 1px solid var(--guide-border);
    margin-bottom: 60px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--guide-muted);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 30px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--guide-accent);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.article-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--guide-muted);
    max-width: 800px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
}

.article-main-image {
    width: 100%;
    border-radius: 24px;
    margin-bottom: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.article-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.article-content h3 {
    font-size: 1.75rem;
    margin: 40px 0 20px;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-block h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--guide-muted);
    margin-bottom: 20px;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.sidebar-links a:hover {
    color: var(--guide-accent);
}

/* CTA BOX Fix */
.article-content a.article-cta-btn {
    display: inline-block;
    padding: 16px 32px;
    background: var(--guide-accent);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    margin-top: 20px;
    transition: transform 0.2s, background 0.2s;
}

.article-content a.article-cta-btn:hover {
    transform: translateY(-2px);
    background: #2563eb;
}

.article-cta-box {
    background: #f1f5f9;
    padding: 40px;
    border-radius: 24px;
    margin-top: 60px;
    text-align: center;
}

.article-cta-box h3 {
    margin-top: 0;
}

@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-sidebar {
        position: static;
        order: 2;
    }

    .article-main {
        order: 1;
    }
}

@media (max-width: 768px) {
    .guides-title {
        font-size: 2.5rem;
    }

    .article-title {
        font-size: 2.25rem;
    }

    .article-hero {
        padding: 40px 0;
    }

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