/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0a0a0f;
    --bg2: #12121a;
    --bg3: #1a1a26;
    --surface: #1e1e2e;
    --border: #2a2a3a;
    --text: #e4e4ed;
    --text2: #9494a8;
    --accent: #6c5ce7;
    --accent2: #a855f7;
    --accent-glow: rgba(108, 92, 231, 0.3);
    --green: #00c897;
    --radius: 12px;
    --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: #fff; }
.btn-full { width: 100%; }

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(42, 42, 58, 0.5);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
}
.logo span {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; color: var(--text2); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: #fff; }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--bg2);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
    border-bottom: 1px solid var(--border);
}
.mobile-menu.active { display: flex; }
.mobile-menu a { font-size: 16px; color: var(--text2); padding: 8px 0; }

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent2);
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(30px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent2), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    max-width: 640px;
    margin: 0 auto 40px;
    font-size: 15px;
    color: var(--text2);
    line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 64px;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 22px; font-weight: 800; color: #fff; }
.stat-label { font-size: 12px; color: var(--text2); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent2);
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    margin-bottom: 12px;
}
.section-header p { color: var(--text2); font-size: 14px; max-width: 540px; margin: 0 auto; }

/* ===== SERVICES ===== */
.services { padding: 100px 0; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.3s;
}
.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.15);
}
.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 12px;
    margin-bottom: 20px;
    color: #fff;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 13px; color: var(--text2); line-height: 1.6; margin-bottom: 16px; }
.service-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent2);
    margin-bottom: 12px;
    transition: color 0.3s;
}
.service-link:hover { color: #fff; }
.service-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 200, 151, 0.1);
    border: 1px solid rgba(0, 200, 151, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
}

/* ===== CASES ===== */
.cases { padding: 100px 0; background: var(--bg2); }
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all 0.3s;
}
.case-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.case-wide { grid-column: span 2; }
.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.case-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.case-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.3);
}
.case-placeholder span { font-size: 12px; font-weight: 500; }
.case-info {
    padding: 16px 20px;
    background: var(--surface);
}
.case-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(108, 92, 231, 0.15);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent2);
    margin-bottom: 6px;
}
.case-info h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.case-info p { font-size: 12px; color: var(--text2); }

/* ===== PRICING ===== */
.pricing { padding: 100px 0; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: all 0.3s;
}
.price-card:hover { border-color: var(--accent); }
.price-card-accent {
    border-color: var(--accent);
    box-shadow: 0 0 60px rgba(108, 92, 231, 0.15);
}
.price-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}
.price-header { margin-bottom: 28px; }
.price-header h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.price-header p { font-size: 14px; color: var(--text2); }
.price-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.price-item:last-child { border-bottom: none; padding-bottom: 0; }
.price { font-weight: 700; color: var(--green); white-space: nowrap; }

/* ===== PROBLEMS 4-col ===== */
.services-grid-4 { grid-template-columns: repeat(4, 1fr); }
.service-icon-red {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 69, 96, 0.15);
    color: #e94560;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 900;
    font-size: 20px;
}

/* ===== SINGLE PRICE ===== */
.price-single {
    display: flex;
    justify-content: center;
}
.price-single-card {
    max-width: 480px;
    width: 100%;
    background: var(--surface);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    text-align: center;
    box-shadow: 0 0 80px rgba(108, 92, 231, 0.15);
}
.price-single-amount {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}
.price-single-desc {
    font-size: 15px;
    color: var(--text2);
    margin-bottom: 28px;
}
.price-single-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
    text-align: left;
}
.price-single-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text);
}
.price-single-item svg { flex-shrink: 0; color: var(--green); }

/* ===== FAQ ===== */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--accent); }
.faq-q {
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-q::after {
    content: '+';
    font-size: 18px;
    color: var(--accent2);
    transition: transform 0.3s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.open .faq-a {
    max-height: 200px;
    padding: 0 20px 16px;
}
.faq-a p { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* ===== PIPELINE TABLE ===== */
.pipeline-table {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.pipeline-row {
    display: grid;
    grid-template-columns: 40px 160px 1fr 200px;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    align-items: center;
    font-size: 13px;
    color: var(--text2);
}
.pipeline-row:last-child { border-bottom: none; }
.pipeline-header {
    background: var(--surface);
    font-weight: 700;
    color: var(--text);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pipeline-num {
    font-weight: 800;
    color: var(--accent2);
    font-size: 14px;
}
.pipeline-header .pipeline-num { color: var(--text2); font-size: 12px; }
.pipeline-name {
    font-weight: 600;
    color: var(--text);
}
.pipeline-stack {
    font-size: 11px;
    color: var(--text2);
    opacity: 0.7;
}
.pipeline-row:not(.pipeline-header):hover {
    background: rgba(108, 92, 231, 0.05);
}

@media (max-width: 768px) {
    .pipeline-row {
        grid-template-columns: 30px 1fr;
        gap: 8px;
        padding: 14px 16px;
    }
    .pipeline-desc, .pipeline-stack { display: none; }
    .pipeline-header .pipeline-desc,
    .pipeline-header .pipeline-stack { display: none; }
}

/* ===== HOW ===== */
.how { padding: 100px 0; background: var(--bg2); }
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}
.step {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 36px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.step-num {
    font-size: 38px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text2); line-height: 1.6; }
.step-arrow {
    display: flex;
    align-items: center;
    padding-top: 60px;
    color: var(--text2);
}

/* ===== CONTACT ===== */
.contact { padding: 100px 0; }
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.contact-text h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.contact-text p { color: var(--text2); font-size: 14px; margin-bottom: 32px; line-height: 1.7; }
.contact-links { display: flex; gap: 16px; flex-wrap: wrap; }
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}
.contact-btn:hover { transform: translateY(-2px); }
.contact-btn.tg { background: #2AABEE; color: #fff; }
.contact-btn.tg:hover { box-shadow: 0 8px 30px rgba(42, 171, 238, 0.3); }
.contact-btn.wa { background: #25D366; color: #fff; }
.contact-btn.wa:hover { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3); }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}
.contact-form select { appearance: none; cursor: pointer; }
.contact-form textarea { resize: vertical; min-height: 80px; }

/* ===== FOOTER ===== */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer p { font-size: 13px; color: var(--text2); }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: 1fr 1fr; }
    .case-wide { grid-column: span 2; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .steps { flex-direction: column; align-items: center; }
    .step-arrow { display: none; }
    .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav .btn { display: none; }
    .burger { display: block; }
    .hero { padding: 120px 0 80px; }
    .hero-sub { font-size: 16px; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 22px; }
    .services-grid { grid-template-columns: 1fr; }
    .services-grid-4 { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .case-wide { grid-column: span 1; }
    .price-single-amount { font-size: 36px; }
    .price-single-card { padding: 28px 24px; }
    .contact-text h2 { font-size: 28px; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}
