/* ============================================
   BIT-BOX — "Digital Forge" Design System
   Dark theme with molten orange accents
   ============================================ */

/* --- Custom Properties --- */
:root {
    --bg-primary: #14181F;
    --bg-secondary: #1C2230;
    --bg-elevated: #242B3A;
    --bg-surface: #2A3244;

    --accent: #FF6B00;
    --accent-hover: #FF8C00;
    --accent-glow: rgba(255, 107, 0, 0.35);
    --accent-subtle: rgba(255, 107, 0, 0.08);
    --accent-secondary: #FF9500;
    --accent-gold: #FFB800;

    --text-heading: #F0F2F5;
    --text-body: #A0AAB8;
    --text-muted: #6B7A8D;
    --border: #3A4556;
    --border-subtle: rgba(255, 255, 255, 0.06);

    --success: #00C48C;
    --error: #FF4757;
    --telegram: #2AABEE;
    --bitrix-cyan: #2FC7F7;

    --font-heading: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container: 1200px;
    --radius: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.4);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-body);
    background: var(--bg-primary);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease;
}

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

ul { list-style: none; }

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Section shared --- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-subtle);
    border: 1px solid rgba(255, 107, 0, 0.2);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-tag i {
    font-size: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 16px auto 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    padding: 14px 28px;
    border: none;
    cursor: pointer;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.3s ease, background 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #fff;
    box-shadow: 0 4px 24px var(--accent-glow);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow), 0 0 0 1px rgba(255,107,0,0.3);
}

.btn--outline {
    background: transparent;
    color: var(--text-heading);
    border: 1.5px solid var(--border);
}
.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn--telegram {
    background: var(--telegram);
    color: #fff;
    box-shadow: 0 4px 20px rgba(42, 171, 238, 0.3);
}
.btn--telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(42, 171, 238, 0.4);
}

.btn--lg {
    padding: 18px 36px;
    font-size: 16px;
    border-radius: 12px;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.4s ease;
}

.header--scrolled {
    background: rgba(20, 24, 31, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    box-shadow: 0 1px 0 var(--border-subtle);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--text-heading);
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.header__logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.header__nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    padding: 4px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s var(--ease-out);
}
.nav-link:hover {
    color: var(--text-heading);
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link--active {
    color: var(--accent);
}
.nav-link--active::after {
    width: 100%;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
}
.header__phone i {
    font-size: 12px;
    color: var(--accent);
}
.header__phone:hover {
    color: var(--text-heading);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-heading);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}
.burger--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger--active span:nth-child(2) {
    opacity: 0;
}
.burger--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(20, 24, 31, 0.98);
    backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-nav--open {
    opacity: 1;
    visibility: visible;
}
.mobile-nav__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.mobile-nav__links a {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-heading);
    transition: color 0.2s;
}
.mobile-nav__links a:hover {
    color: var(--accent);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
    background: var(--bg-primary);
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(58, 69, 86, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(58, 69, 86, 0.12) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}
.hero__glow--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.12) 0%, transparent 70%);
    top: 10%;
    right: 15%;
    animation: glowFloat1 8s ease-in-out infinite;
}
.hero__glow--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 149, 0, 0.08) 0%, transparent 70%);
    bottom: 20%;
    left: 5%;
    animation: glowFloat2 10s ease-in-out infinite;
}

/* Hero orb for simpler pages */
.hero__orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

@keyframes glowFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}
@keyframes glowFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, -20px); }
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 560px;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-subtle);
    border: 1px solid rgba(255, 107, 0, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.hero__tag i {
    color: var(--bitrix-cyan);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-heading);
    margin-bottom: 24px;
}
.hero__title span {
    background: linear-gradient(135deg, var(--accent) 0%, var(--bitrix-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Trust badges */
.hero__badges {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero__badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
}
.hero__badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 14px;
}

/* Hero Visual - CRM Mockup */
.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.crm-mockup {
    width: 100%;
    max-width: 520px;
    background: linear-gradient(145deg, #232B3E 0%, #1C2230 100%);
    border-radius: var(--radius-lg);
    box-shadow:
        0 0 0 1px rgba(255, 107, 0, 0.3),
        0 0 40px rgba(255, 107, 0, 0.15),
        0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid rgba(255, 107, 0, 0.25);
    position: relative;
}
.crm-mockup::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--bitrix-cyan) 50%, var(--accent-gold) 100%);
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
    opacity: 0.5;
    filter: blur(8px);
}

.crm-mockup__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, #2A3347 0%, #343D54 100%);
}
.crm-mockup__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
}
.crm-mockup__dot--red { background: #FF6B6B; }
.crm-mockup__dot--yellow { background: #FFD93D; }
.crm-mockup__dot--green { background: #6BCB77; }
.crm-mockup__title {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-body);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.crm-mockup__body {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.crm-mockup__column {
    background: linear-gradient(180deg, #2E3750 0%, #252D40 100%);
    border-radius: var(--radius);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.crm-mockup__column-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-body);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.crm-mockup__column-title::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.crm-mockup__column:nth-child(1) .crm-mockup__column-title::before { background: var(--telegram); }
.crm-mockup__column:nth-child(2) .crm-mockup__column-title::before { background: var(--accent); }
.crm-mockup__column:nth-child(3) .crm-mockup__column-title::before { background: var(--success); }

.crm-mockup__card {
    background: linear-gradient(135deg, #1E2636 0%, #171D29 100%);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.crm-mockup__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}
.crm-mockup__card-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 4px;
}
.crm-mockup__card-amount {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
}

/* Floating elements */
.hero__float {
    position: absolute;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-subtle);
    animation: float 6s ease-in-out infinite;
}
.hero__float--1 {
    top: 20px;
    right: -20px;
    animation-delay: 0s;
}
.hero__float--2 {
    bottom: 60px;
    left: -30px;
    animation-delay: 2s;
}
.hero__float-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.hero__float-icon--blue {
    background: rgba(42, 171, 238, 0.15);
    color: var(--telegram);
}
.hero__float-icon--green {
    background: rgba(0, 196, 140, 0.15);
    color: var(--success);
}
.hero__float-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-heading);
}
.hero__float-sub {
    font-size: 11px;
    color: var(--text-muted);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border-subtle);
    transition: all 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--bitrix-cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 0, 0.15);
}
.feature-card:hover::before {
    opacity: 1;
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--accent-subtle);
    border: 1px solid rgba(255, 107, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.feature-card:hover .feature-card__icon {
    background: rgba(255, 107, 0, 0.15);
    transform: scale(1.05);
}

.feature-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.feature-card__desc {
    font-size: 14.5px;
    color: var(--text-body);
    line-height: 1.65;
}

/* ============================================
   WHY US
   ============================================ */
.why {
    padding: 100px 0;
    background: var(--bg-primary);
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.why-card:hover {
    background: var(--bg-secondary);
    border-color: var(--border-subtle);
}

.why-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
    margin: 0 auto 20px;
    transition: transform 0.3s var(--ease-spring);
}
.why-card:hover .why-card__icon {
    transform: scale(1.1);
}

.why-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.why-card__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--border-subtle);
    transition: all 0.35s var(--ease-out);
    position: relative;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Featured card */
.pricing-card--featured {
    border: 2px solid var(--accent);
    transform: scale(1.03);
}
.pricing-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 100px;
    letter-spacing: 0.03em;
}

.pricing-card__name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}
.pricing-card__amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}
.pricing-card__currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-card__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    color: var(--text-body);
}
.pricing-card__feature i {
    color: var(--success);
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
    padding: 100px 0;
    background: var(--bg-primary);
}

.process__timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 40px;
}

.process__line {
    position: absolute;
    top: 28px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: var(--border);
}

.process__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.process__dot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}
.process__step:hover .process__dot {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 0 8px var(--accent-subtle);
}

.process__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.process__desc {
    font-size: 13.5px;
    color: var(--text-muted);
    max-width: 150px;
    line-height: 1.5;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.faq__item:hover {
    box-shadow: var(--shadow-md);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    transition: color 0.2s ease;
}
.faq__question:hover {
    color: var(--accent);
}

.faq__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.faq__item--open .faq__icon {
    background: var(--accent);
    color: white;
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}
.faq__item--open .faq__answer {
    max-height: 300px;
}

.faq__answer-inner {
    padding: 0 28px 24px;
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.cta-section__pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 107, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(42, 171, 238, 0.06) 0%, transparent 50%);
}

.cta-section__inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.cta-section__desc {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 40px;
}

.cta-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 24px;
}

.cta-form__input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 15px;
    background: var(--bg-secondary);
    color: var(--text-heading);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cta-form__input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-subtle);
}
.cta-form__input::placeholder {
    color: var(--text-muted);
}

.cta-section__phone {
    font-size: 14px;
    color: var(--text-muted);
}
.cta-section__phone a {
    color: var(--accent);
    font-weight: 600;
}
.cta-section__phone a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding-top: 64px;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer__brand .header__logo {
    margin-bottom: 16px;
}

.footer__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 280px;
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 12px;
}
.footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    transition: all 0.2s ease;
}
.footer__social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.footer__col-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer__links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}
.footer__links a:hover {
    color: var(--accent);
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 14px;
}
.footer__contact-item i {
    color: var(--accent);
    font-size: 14px;
    margin-top: 3px;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 13px;
    color: var(--text-muted);
}
.footer__bottom a {
    color: var(--text-muted);
}
.footer__bottom a:hover {
    color: var(--accent);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.features__grid .reveal:nth-child(2),
.why__grid .reveal:nth-child(2),
.pricing__grid .reveal:nth-child(2) { transition-delay: 80ms; }
.features__grid .reveal:nth-child(3),
.why__grid .reveal:nth-child(3),
.pricing__grid .reveal:nth-child(3) { transition-delay: 160ms; }
.features__grid .reveal:nth-child(4),
.why__grid .reveal:nth-child(4) { transition-delay: 240ms; }

.process__timeline .reveal:nth-child(2) { transition-delay: 0ms; }
.process__timeline .reveal:nth-child(3) { transition-delay: 100ms; }
.process__timeline .reveal:nth-child(4) { transition-delay: 200ms; }
.process__timeline .reveal:nth-child(5) { transition-delay: 300ms; }
.process__timeline .reveal:nth-child(6) { transition-delay: 400ms; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .header__nav { display: none; }
    .header__cta { display: none; }
    .burger { display: flex; }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__content { max-width: 100%; }
    .hero__subtitle { max-width: 100%; }
    .hero__actions { justify-content: center; }
    .hero__badges { justify-content: center; }
    .hero__visual { display: none; }

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

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

    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .pricing-card--featured { transform: none; }
    .pricing-card--featured:hover { transform: translateY(-4px); }

    .process__timeline {
        flex-direction: column;
        gap: 32px;
        padding: 0;
    }
    .process__line {
        top: 0;
        bottom: 0;
        left: 27px;
        right: auto;
        width: 2px;
        height: auto;
    }
    .process__step {
        flex-direction: row;
        text-align: left;
        gap: 24px;
    }
    .process__dot { margin-bottom: 0; flex-shrink: 0; }
    .process__desc { max-width: none; }

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

@media (max-width: 640px) {
    body { font-size: 15px; }
    .container { padding: 0 16px; }

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

    .hero { padding-top: 80px; min-height: auto; padding-bottom: 60px; }
    .hero__actions { flex-direction: column; width: 100%; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .hero__badges { flex-direction: column; align-items: center; gap: 16px; }

    .features, .why, .pricing, .process, .faq, .cta-section { padding: 60px 0; }

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

    .cta-form { flex-direction: column; }

    .footer__top { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
