/* ============================================
   VictorSoft — Main Stylesheet
   ============================================ */

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

:root {
    /* Colors */
    --color-bg: #0a0a0f;
    --color-bg-secondary: #12121a;
    --color-bg-card: #1a1a2e;
    --color-bg-card-hover: #1f1f35;
    --color-text: #e8e8ef;
    --color-text-secondary: #9494a8;
    --color-text-muted: #6b6b80;
    --color-accent: #6c5ce7;
    --color-accent-light: #a29bfe;
    --color-accent-dark: #5a4bd1;
    --color-gradient-start: #6c5ce7;
    --color-gradient-end: #00cec9;
    --color-success: #00b894;
    --color-warning: #fdcb6e;
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-light: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;
    --gap: 24px;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.3);
    
    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    color: #fff;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(108, 92, 231, 0.5);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn--primary:active:disabled {
    transform: none;
}

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border-light);
}

.btn--outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-light);
    background: rgba(108, 92, 231, 0.05);
}

.btn--full {
    width: 100%;
    padding: 16px 32px;
    font-size: 17px;
}

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

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
}

.logo-icon {
    font-size: 24px;
}

.logo-accent {
    color: var(--color-accent-light);
}

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

.header__link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.header__link:hover {
    color: var(--color-text);
}

.header__btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    background: var(--color-accent);
    color: #fff;
    border-radius: var(--radius-sm);
}

.header__btn:hover {
    background: var(--color-accent-dark);
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu__link {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
}

.mobile-menu__link:hover {
    color: var(--color-accent-light);
}

.mobile-menu__btn {
    margin-top: 16px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    background: var(--color-accent);
    color: #fff;
    border-radius: var(--radius-md);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15), transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 206, 201, 0.1), transparent 70%);
    pointer-events: none;
}

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

.hero__title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero__stat {
    display: flex;
    flex-direction: column;
}

.hero__stat-number {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__stat-label {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* Hero flow visual */
.hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-flow {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-bg-card);
    padding: 32px 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

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

.hero-flow__node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    min-width: 90px;
    text-align: center;
}

.hero-flow__node--trigger {
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.1);
}

.hero-flow__node--process {
    border-color: rgba(0, 206, 201, 0.3);
    box-shadow: 0 0 20px rgba(0, 206, 201, 0.1);
}

.hero-flow__node--ai {
    border-color: rgba(253, 203, 110, 0.3);
    box-shadow: 0 0 20px rgba(253, 203, 110, 0.1);
}

.hero-flow__node--result {
    border-color: rgba(0, 184, 148, 0.3);
    box-shadow: 0 0 20px rgba(0, 184, 148, 0.1);
}

.node-icon {
    font-size: 28px;
}

.node-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-flow__arrow {
    font-size: 20px;
    color: var(--color-text-muted);
}

/* ============================================
   PAINS
   ============================================ */
.pains {
    padding: var(--section-padding);
}

.pains__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
    margin-bottom: 48px;
}

.pain-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.pain-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pain-card__icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.pain-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pain-card__text {
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.pains__conclusion {
    text-align: center;
    font-size: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 206, 201, 0.05));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(108, 92, 231, 0.2);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: var(--section-padding);
    background: var(--color-bg-secondary);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: rgba(108, 92, 231, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card__icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.service-card__title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card__text {
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card__list li {
    font-size: 14px;
    color: var(--color-text-secondary);
    padding-left: 20px;
    position: relative;
}

.service-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
    padding: var(--section-padding);
}

.process__timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    margin-bottom: 48px;
}

.process-step {
    position: relative;
}

.process-step__number {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    opacity: 0.6;
}

.process-step__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

.process-step__time {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent-light);
    background: rgba(108, 92, 231, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.process__result {
    text-align: center;
    font-size: 18px;
    color: var(--color-text-secondary);
    padding: 24px;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

/* ============================================
   CASES
   ============================================ */
.cases {
    padding: var(--section-padding);
    background: var(--color-bg-secondary);
}

.cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.case-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.case-card__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent-light);
    background: rgba(108, 92, 231, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    width: fit-content;
}

.case-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.4;
}

.case-card__before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.case-card__before h4,
.case-card__after h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.case-card__before h4 {
    color: var(--color-warning);
}

.case-card__after h4 {
    color: var(--color-success);
}

.case-card__before ul,
.case-card__after ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.case-card__before ul li,
.case-card__after ul li {
    font-size: 14px;
    color: var(--color-text-secondary);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.case-card__before ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-text-muted);
}

.case-card__after ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-success);
}

.case-card__result {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.case-card__result-value {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.case-card__result-label {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ============================================
   ADVANTAGES
   ============================================ */
.advantages {
    padding: var(--section-padding);
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.advantage-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.advantage-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.advantage-card__icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.advantage-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.advantage-card__text {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ============================================
   CALCULATOR
   ============================================ */
.calculator {
    padding: var(--section-padding);
    background: var(--color-bg-secondary);
}

.calculator__box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.calculator__group {
    margin-bottom: 36px;
}

.calculator__label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-text);
}

.calculator__options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.calculator__options--radio {
    gap: 10px;
}

.calculator__option {
    position: relative;
}

.calculator__option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.calculator__option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    background: var(--color-bg-secondary);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.calculator__option-label:hover {
    border-color: var(--color-border-light);
}

.calculator__option input:checked + .calculator__option-label {
    border-color: var(--color-accent);
    background: rgba(108, 92, 231, 0.1);
    color: var(--color-accent-light);
}

.calculator__option-icon {
    font-size: 18px;
}

.calculator__range {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: var(--color-bg-secondary);
    border-radius: 3px;
    outline: none;
}

.calculator__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: var(--color-accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.4);
}

.calculator__range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--color-accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.4);
}

.calculator__range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.calculator__result {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(0, 206, 201, 0.05));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(108, 92, 231, 0.2);
    margin-bottom: 24px;
}

.calculator__result-label {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.calculator__result-value {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.calculator__result-note {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: var(--section-padding);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--color-border-light);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-item__question:hover {
    color: var(--color-accent-light);
}

.faq-item__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-bg-secondary);
    flex-shrink: 0;
    transition: var(--transition);
    position: relative;
}

.faq-item__toggle::before,
.faq-item__toggle::after {
    content: '';
    position: absolute;
    background: var(--color-text-secondary);
    border-radius: 1px;
    transition: var(--transition);
}

.faq-item__toggle::before {
    width: 12px;
    height: 2px;
}

.faq-item__toggle::after {
    width: 2px;
    height: 12px;
}

.faq-item.active .faq-item__toggle {
    background: var(--color-accent);
}

.faq-item.active .faq-item__toggle::before,
.faq-item.active .faq-item__toggle::after {
    background: #fff;
}

.faq-item.active .faq-item__toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-item__answer {
    max-height: 300px;
}

.faq-item__answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--section-padding);
    background: var(--color-bg-secondary);
}

.cta-section__inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-section__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section__subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-form__input {
    padding: 16px 20px;
    font-family: var(--font-family);
    font-size: 16px;
    background: var(--color-bg-card);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    outline: none;
    transition: var(--transition);
}

.cta-form__input::placeholder {
    color: var(--color-text-muted);
}

.cta-form__input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.cta-form__note {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.cta-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.cta-form__consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--color-accent);
}

.cta-form__consent-text {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    cursor: pointer;
}

.cta-form__consent-text a:hover + .consent-download,
.consent-download:hover {
    color: var(--color-accent);
}

.consent-download {
    display: inline-block;
    margin-left: 4px;
    font-size: 14px;
    opacity: 0.6;
    transition: var(--transition);
    cursor: pointer;
}

.consent-download:hover {
    opacity: 1;
    transform: scale(1.2);
}

.privacy-link {
    color: var(--color-accent-light);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

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

.cta-form__error {
    margin-top: 12px;
    font-size: 14px;
    color: #ff6b6b;
    text-align: center;
}

.cta-form__clear-btn {
    margin-top: 12px;
    padding: 10px 20px;
    font-size: 13px;
    color: #9494a8;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.cta-form__clear-btn:hover {
    color: #ff6b6b;
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
}

.cta-form__select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239494a8' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.cta-form__select option {
    background: var(--color-bg-card);
    color: var(--color-text);
    padding: 8px;
}

.cta-form__textarea {
    resize: vertical;
    min-height: 80px;
    font-family: var(--font-family);
    font-size: 15px;
    line-height: 1.5;
}

.cta-docs {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.cta-docs__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.cta-docs__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cta-docs__link {
    font-size: 13px;
    color: var(--color-accent-light);
    text-decoration: none;
    transition: var(--transition);
}

.cta-docs__link:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* ============================================
    MODAL (Privacy Policy)
    ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1;
}

.modal__close:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.modal__content {
    overflow-y: auto;
    padding: 40px 48px;
    flex-grow: 1;
}

.modal__title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-border);
}

.modal__body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.modal__body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 28px;
    margin-bottom: 12px;
}

.modal__body p {
    margin-bottom: 12px;
}

.modal__body ul {
    margin-bottom: 16px;
    padding-left: 24px;
    list-style: disc;
}

.modal__body ul li {
    margin-bottom: 6px;
}

.modal__body a {
    color: var(--color-accent-light);
    text-decoration: underline;
}

.modal__date {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: right;
}

/* ============================================
    RESPONSIVE
    ============================================ */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer__desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 280px;
}

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

.footer__col a {
    display: block;
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.footer__col a:hover {
    color: var(--color-text);
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero__buttons {
        justify-content: center;
    }
    
    .hero__stats {
        justify-content: center;
    }
    
    .hero__visual {
        display: none;
    }
    
    .services__grid,
    .cases__grid,
    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process__timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .header__nav,
    .header__btn {
        display: none;
    }
    
    .header__burger {
        display: flex;
    }
    
    .pains__grid {
        grid-template-columns: 1fr;
    }
    
    .services__grid,
    .cases__grid,
    .advantages__grid {
        grid-template-columns: 1fr;
    }
    
    .process__timeline {
        grid-template-columns: 1fr;
    }
    
    .case-card__before-after {
        grid-template-columns: 1fr;
    }
    
    .calculator__box {
        padding: 28px 20px;
    }
    
    .calculator__options {
        flex-direction: column;
    }
    
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .hero__title {
        font-size: 28px;
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .hero__stat {
        text-align: center;
    }
    
    .modal__content {
        padding: 28px 24px;
    }
    
    .modal__title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .cta-form__consent {
        flex-direction: column;
        gap: 8px;
    }
    
    .cta-docs__links {
        gap: 6px;
    }
    
    .cta-docs__link {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .pain-card,
    .service-card,
    .case-card,
    .advantage-card {
        padding: 24px;
    }
    
    .calculator__result-value {
        font-size: 28px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
.hero__content {
    animation: fadeInUp 0.8s ease;
}

.hero__visual {
    animation: fadeInUp 0.8s ease 0.2s both;
}
