/* ========================================
   Файлоспас — Main Stylesheet
   Centred layout, compact, format icons in upload
   ======================================== */

:root {
  --blue-50: #EFF6FF; --blue-100: #DBEAFE; --blue-200: #BFDBFE;
  --blue-400: #60A5FA; --blue-500: #3B82F6; --blue-600: #3B6FD4;
  --blue-700: #1D4ED8; --blue-800: #1E40AF;
  --green-50: #F0FDF4; --green-500: #43A047;
  --amber-50: #FFFBEB; --amber-500: #F59E0B;
  --red-50: #FEF2F2; --red-500: #EF4444;
  --gray-50: #F9FAFB; --gray-100: #F3F4F6; --gray-200: #E5E7EB;
  --gray-300: #D1D5DB; --gray-400: #9CA3AF; --gray-500: #6B7280;
  --gray-600: #4B5563; --gray-700: #374151; --gray-800: #1F2937; --gray-900: #111827;
  --bg: #FFFFFF; --text: var(--gray-800); --primary: var(--blue-600);
  --border: var(--gray-200);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.08);
  --radius: 12px; --radius-lg: 16px; --radius-xl: 20px;
  --transition: .25s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 960px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--blue-700); }
img { max-width: 100%; height: auto; }
.accent { color: var(--primary); }

/* ===== LAYOUT ===== */
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border: 2px solid transparent; border-radius: 10px; font-family: var(--font); font-size: 15px; font-weight: 600; cursor: pointer; transition: all var(--transition); white-space: nowrap; }
.btn--primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--primary:hover { background: var(--blue-700); border-color: var(--blue-700); box-shadow: 0 4px 14px rgba(59,111,212,.4); }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--blue-50); }
.btn--lg { padding: 16px 36px; font-size: 17px; border-radius: 12px; }

/* ===== HEADER ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow var(--transition); }
.header--scrolled { box-shadow: var(--shadow-md); }
.header__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo__icon { width: 38px; height: 38px; flex-shrink: 0; }
.logo__text { font-size: 21px; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.nav__list { display: flex; gap: 28px; list-style: none; }
.nav__link { font-size: 14px; font-weight: 500; color: var(--gray-600); transition: color var(--transition); }
.nav__link:hover { color: var(--primary); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: all var(--transition); }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero { padding: 96px 0 48px; background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%); text-align: center; }
.hero__inner { max-width: 680px; margin: 0 auto; padding: 0 24px; }
.hero__title { font-size: 36px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--gray-900); margin-bottom: 14px; }
.hero__subtitle { font-size: 17px; color: var(--gray-500); margin-bottom: 28px; line-height: 1.6; }

/* ===== CATEGORY TABS ===== */
.cat-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.cat-tab { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: var(--bg); border: 1.5px solid var(--border); border-radius: 8px; font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--gray-600); cursor: pointer; transition: all var(--transition); }
.cat-tab:hover { border-color: var(--blue-400); color: var(--primary); }
.cat-tab.active { color: #fff; border-color: transparent; }
.cat-tab svg { flex-shrink: 0; }

/* Category active colors */
.cat-tab[data-cat="office"].active { background: #2B5797; }
.cat-tab[data-cat="archives"].active { background: #E65100; }
.cat-tab[data-cat="media"].active { background: #7B1FA2; }
.cat-tab[data-cat="design"].active { background: #C62828; }
.cat-tab[data-cat="business"].active { background: #2E7D32; }

/* ===== BREADCRUMBS ===== */
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 20px; }
.crumb { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--gray-600); cursor: pointer; transition: all var(--transition); text-decoration: none; white-space: nowrap; }
.crumb:hover { border-color: var(--primary); color: var(--primary); background: var(--blue-50); }
.crumb svg { width: 14px; height: 14px; flex-shrink: 0; }
.crumb span { color: var(--gray-400); font-size: 11px; font-weight: 400; }

/* ===== UPLOAD ZONE ===== */
.upload-zone { border: 2px dashed var(--blue-400); border-radius: var(--radius-xl); background: rgba(255,255,255,.85); padding: 36px 28px 20px; cursor: pointer; transition: all var(--transition); position: relative; margin-bottom: 12px; }
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--primary); background: var(--blue-50); box-shadow: 0 0 0 4px rgba(59,111,212,.1); }
.upload-zone__content { pointer-events: none; margin-bottom: 20px; }
.upload-zone__arrow { margin: 0 auto 10px; opacity: .6; display: block; }
.upload-zone__title { font-size: 17px; font-weight: 600; color: var(--gray-800); margin-bottom: 2px; }
.upload-zone__subtitle { font-size: 13px; color: var(--gray-400); }
.upload-zone__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Format icons inside upload zone */
.upload-zone__formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; pointer-events: none; }
.fmt-icon { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; transition: all var(--transition); min-width: 64px; }
.fmt-icon svg { width: 28px; height: 28px; }
.fmt-icon span { font-size: 10px; font-weight: 600; color: var(--gray-500); white-space: nowrap; }

.hero__note { font-size: 12px; color: var(--gray-400); margin-bottom: 20px; }
.hero__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--gray-500); }

/* ===== FORMAT DETAILS ===== */
.fmt-details { background: var(--bg); transition: background .5s ease; }
.fmt-details__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.fmt-details[data-theme="office"] { background: #F8FAFF; }
.fmt-details[data-theme="archives"] { background: #FFFDF5; }
.fmt-details[data-theme="media"] { background: #FDF8FF; }
.fmt-details[data-theme="design"] { background: #FFF5F7; }
.fmt-details[data-theme="business"] { background: #F5FAF5; }

.cat-panel { display: none; animation: panelIn .35s ease; }
.cat-panel.active { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.cat-panel__header { text-align: center; margin-bottom: 28px; }
.cat-panel__header h3 { font-size: 20px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.cat-panel__header p { font-size: 14px; color: var(--gray-500); }

.cat-panel__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }

.fmt-card { display: flex; align-items: flex-start; gap: 14px; padding: 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: all var(--transition); }
.fmt-card:hover { border-color: var(--blue-400); box-shadow: var(--shadow-md); transform: translateY(-1px); }

.fmt-card__icon { width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0; overflow: hidden; }
.fmt-card__icon svg { width: 100%; height: 100%; }
.fmt-card__icon--word, .fmt-card__icon--zip { background: #E8F0FE; }
.fmt-card__icon--excel, .fmt-card__icon--access { background: #E6F4EA; }
.fmt-card__icon--ppt { background: #FFF3E0; }
.fmt-card__icon--pdf, .fmt-card__icon--ai { background: #FDE7E7; }
.fmt-card__icon--rar, .fmt-card__icon--video { background: #F3E5F5; }
.fmt-card__icon--7z, .fmt-card__icon--sql { background: #ECEFF1; }
.fmt-card__icon--image { background: #E0F7FA; }
.fmt-card__icon--psd { background: #E8EAF6; }
.fmt-card__icon--cdr { background: #FFF9C4; }
.fmt-card__icon--cad, .fmt-card__icon--outlook { background: #E3F2FD; }
.fmt-card__icon--1c { background: #FFF3E0; }

.fmt-card__body { flex: 1; min-width: 0; }
.fmt-card__body h4 { font-size: 15px; font-weight: 600; color: var(--gray-800); margin-bottom: 1px; }
.fmt-card__ext { display: inline-block; font-size: 11px; font-weight: 600; color: var(--gray-400); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; margin-bottom: 4px; }
.fmt-card__body p { font-size: 12px; color: var(--gray-500); line-height: 1.5; }

.fmt-card__urgency { flex-shrink: 0; padding: 3px 8px; border-radius: 5px; font-size: 10px; font-weight: 600; white-space: nowrap; margin-top: 2px; }
.fmt-card__urgency--critical { background: var(--red-50); color: var(--red-500); }
.fmt-card__urgency--high { background: var(--amber-50); color: var(--amber-500); }
.fmt-card__urgency--medium { background: var(--blue-50); color: var(--blue-600); }

/* ===== SECTIONS ===== */
.section { padding: 64px 0; }
.section__title { font-size: 28px; font-weight: 700; text-align: center; color: var(--gray-900); margin-bottom: 10px; letter-spacing: -.01em; }
.section__subtitle { font-size: 15px; text-align: center; color: var(--gray-500); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ===== STEPS ===== */
.how { background: var(--gray-50); }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; }
.step { flex: 1; max-width: 200px; text-align: center; padding: 0 12px; }
.step__number { width: 32px; height: 32px; margin: 0 auto 12px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.step__icon { width: 48px; height: 48px; margin: 0 auto 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.step__icon svg { width: 24px; height: 24px; }
.step__title { font-size: 15px; font-weight: 600; color: var(--gray-800); margin-bottom: 6px; }
.step__text { font-size: 13px; color: var(--gray-500); line-height: 1.5; }
.step__connector { flex: 0 0 40px; height: 2px; background: var(--gray-200); margin-top: 68px; border-radius: 1px; position: relative; }
.step__connector::after { content: ''; position: absolute; right: -3px; top: -3px; width: 6px; height: 6px; border-top: 2px solid var(--gray-300); border-right: 2px solid var(--gray-300); transform: rotate(45deg); }

/* ===== WHY ===== */
.why { background: var(--bg); }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why-card { padding: 24px 20px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); }
.why-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.why-card__icon { width: 44px; height: 44px; margin-bottom: 12px; background: var(--blue-50); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.why-card__icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 16px; font-weight: 600; color: var(--gray-800); margin-bottom: 6px; }
.why-card p { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* ===== REVIEWS ===== */
.reviews { background: var(--gray-50); }
.reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 32px; }
.review-card { padding: 20px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); }
.review-card:hover { box-shadow: var(--shadow-md); }
.review-card__stars { font-size: 14px; color: #F59E0B; margin-bottom: 10px; letter-spacing: 1px; }
.review-card__text { font-size: 14px; color: var(--gray-700); line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.review-card__author { display: flex; align-items: center; gap: 10px; }
.review-card__avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.review-card__author strong { display: block; font-size: 13px; font-weight: 600; color: var(--gray-800); }
.review-card__author span { display: block; font-size: 11px; color: var(--gray-400); }
.reviews__summary { display: flex; justify-content: center; gap: 48px; padding: 24px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.reviews__stat { text-align: center; }
.reviews__stat strong { display: block; font-size: 28px; font-weight: 700; color: var(--gray-900); }
.reviews__stat-stars { font-size: 13px; color: #F59E0B; margin: 2px 0; letter-spacing: 1px; }
.reviews__stat span { font-size: 12px; color: var(--gray-400); }

/* ===== PRICING ===== */
.pricing { background: var(--gray-50); }
.pricing__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.pricing-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; text-align: center; position: relative; transition: all var(--transition); }
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card--popular { border-color: var(--primary); box-shadow: var(--shadow-md); transform: scale(1.03); z-index: 1; }
.pricing-card__label { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 3px 14px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.pricing-card__header h3 { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.pricing-card__header p { font-size: 13px; color: var(--gray-400); }
.pricing-card__price { margin: 20px 0; display: flex; align-items: baseline; justify-content: center; gap: 3px; }
.pricing-card__amount { font-size: 42px; font-weight: 700; color: var(--gray-900); letter-spacing: -.02em; line-height: 1; }
.pricing-card__currency { font-size: 16px; font-weight: 500; color: var(--gray-500); }
.pricing-card__features { list-style: none; text-align: left; margin-bottom: 24px; }
.pricing-card__features li { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 13px; color: var(--gray-600); border-bottom: 1px solid var(--gray-100); }
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card .btn { width: 100%; }
.pricing__note { text-align: center; font-size: 12px; color: var(--gray-400); }

/* ===== FAQ ===== */
.faq { background: var(--bg); }
.faq__list { max-width: 640px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-item:hover { border-color: var(--blue-100); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: none; border: none; cursor: pointer; font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--gray-800); text-align: left; }
.faq-item__arrow { width: 18px; height: 18px; flex-shrink: 0; color: var(--gray-400); transition: transform var(--transition); }
.faq-item.active .faq-item__arrow { transform: rotate(180deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item__answer p { padding: 0 18px 16px; font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ===== CTA ===== */
.cta { background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-800) 100%); color: #fff; text-align: center; }
.cta__title { font-size: 26px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.cta__text { font-size: 16px; opacity: .85; margin-bottom: 24px; }
.cta .btn--primary { background: #fff; color: var(--blue-700); border-color: #fff; }
.cta .btn--primary:hover { background: var(--blue-50); }

/* ===== FOOTER ===== */
.footer { background: var(--gray-900); color: var(--gray-400); padding: 48px 0 0; }
.footer__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.footer__top { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand .logo__text { color: #fff; }
.footer__desc { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--gray-400); }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col h4 { font-size: 12px; font-weight: 600; color: #fff; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; }
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { font-size: 13px; color: var(--gray-400); transition: color var(--transition); }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 12px; }
.footer__payments { display: flex; gap: 8px; }
.footer__payment { padding: 3px 8px; background: rgba(255,255,255,.08); border-radius: 4px; font-size: 10px; font-weight: 600; color: var(--gray-400); letter-spacing: .05em; }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.active { display: flex; }
.modal { background: var(--bg); border-radius: var(--radius-xl); padding: 36px; max-width: 440px; width: 100%; text-align: center; position: relative; animation: modalIn .3s ease; }
@keyframes modalIn { from { opacity:0; transform:translateY(16px) scale(.97); } to { opacity:1; transform:translateY(0) scale(1); } }

.modal__close { position: absolute; top: 14px; right: 14px; background: none; border: none; font-size: 22px; color: var(--gray-400); cursor: pointer; padding: 4px 8px; line-height: 1; border-radius: 8px; transition: all var(--transition); z-index: 5; }
.modal__close:hover { background: var(--gray-100); color: var(--gray-700); }

/* Screens */
.modal-screen { display: none; animation: screenIn .35s ease; }
.modal-screen.active { display: block; }
@keyframes screenIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

.modal h3 { font-size: 18px; font-weight: 600; color: var(--gray-800); margin-bottom: 4px; }
.modal__sub { font-size: 13px; color: var(--gray-400); margin-bottom: 20px; }
.modal__bar { height: 6px; background: var(--gray-100); border-radius: 3px; overflow: hidden; margin-bottom: 6px; }
.modal__bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--blue-500), var(--green-500)); border-radius: 3px; transition: width .4s ease; }
.modal__pct { font-size: 12px; color: var(--gray-400); margin-bottom: 6px; }
.modal__filename { font-size: 12px; color: var(--gray-400); word-break: break-all; margin-bottom: 0; }

/* Spinner */
.modal__spinner { margin: 0 auto 16px; }
.spin { animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Success / Error icons */
.modal__icon-success, .modal__icon-error, .modal__icon-email { margin-bottom: 16px; }
.modal__title-success { color: #2E7D32; }
.modal__title-error { color: var(--red-500); }
.modal__title-pay { margin-top: 4px; }

/* Action button */
.modal__action-btn { margin-top: 16px; width: 100%; }
.modal__done-btn { display: block; margin: 12px auto 0; background: none; border: none; font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--gray-400); cursor: pointer; padding: 8px 16px; border-radius: 8px; transition: all var(--transition); }
.modal__done-btn:hover { color: var(--gray-600); background: var(--gray-50); }

/* ===== PREVIEW CARD ===== */
.preview-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; margin-bottom: 4px; text-align: left; }
.preview-card__header { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--bg); border-bottom: 1px solid var(--gray-100); }
.preview-card__type { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: .04em; background: #E8F0FE; color: #2B5797; }
.preview-card__info { font-size: 11px; color: var(--gray-400); }
.preview-card__body { padding: 14px; max-height: 200px; overflow-y: auto; }
.preview-card__line { font-size: 12px; color: var(--gray-700); line-height: 1.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview-card__line--fade { color: var(--gray-300); }
.preview-card__file { font-weight: 600; color: var(--gray-800); font-size: 12px; padding: 2px 0; }

/* ===== EMAIL FORM ===== */
.modal__form { display: flex; flex-direction: column; gap: 12px; }
.modal__input { width: 100%; padding: 14px 16px; border: 1.5px solid var(--gray-200); border-radius: 10px; font-family: var(--font); font-size: 15px; color: var(--gray-800); transition: border-color var(--transition); outline: none; }
.modal__input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
.modal__input::placeholder { color: var(--gray-300); }

/* ===== PAYMENT CARDS ===== */
.pay-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.pay-card { cursor: pointer; }
.pay-card__radio { display: none; }
.pay-card__inner { padding: 18px 14px; border: 2px solid var(--gray-200); border-radius: var(--radius); text-align: center; transition: all var(--transition); position: relative; }
.pay-card__radio:checked + .pay-card__inner { border-color: var(--primary); background: var(--blue-50); }
.pay-card--popular .pay-card__inner { border-color: var(--primary); }
.pay-card__badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 10px; font-weight: 600; margin-bottom: 8px; }
.pay-card__badge--trial { background: var(--gray-100); color: var(--gray-500); }
.pay-card__badge--pop { background: var(--primary); color: #fff; }
.pay-card__price { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin-bottom: 2px; }
.pay-card__amount { font-size: 34px; font-weight: 700; color: var(--gray-900); line-height: 1; }
.pay-card__cur { font-size: 16px; font-weight: 500; color: var(--gray-500); }
.pay-card__period { font-size: 12px; color: var(--gray-400); margin-bottom: 10px; }
.pay-card__features { list-style: none; text-align: left; }
.pay-card__features li { font-size: 12px; color: var(--gray-600); padding: 3px 0; }
.pay-card__features li::before { content: '✓ '; color: var(--green-500); font-weight: 700; }

/* ===== PAYMENT CHECKBOXES ===== */
.pay-checks { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; text-align: left; }
.pay-check { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--gray-500); cursor: pointer; line-height: 1.5; }
.pay-check input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; accent-color: var(--primary); cursor: pointer; }
.pay-check a { color: var(--primary); text-decoration: underline; }

/* Responsive modal */
@media (max-width: 480px) {
  .modal { padding: 24px 20px; margin: 12px; }
  .pay-cards { grid-template-columns: 1fr; }
  .pay-card__amount { font-size: 28px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .pricing__cards { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .pricing-card--popular { transform: none; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .burger { display: flex; }
  .nav.open { display: block; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: var(--bg); z-index: 99; padding: 24px; animation: fadeIn .3s ease; }
  .nav.open .nav__list { flex-direction: column; gap: 0; }
  .nav.open .nav__link { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--border); }
  .hero { padding: 80px 0 36px; }
  .hero__title { font-size: 28px; }
  .hero__subtitle { font-size: 15px; }
  .section { padding: 48px 0; }
  .section__title { font-size: 24px; }
  .cat-tab { padding: 8px 12px; font-size: 13px; }
  .cat-tab svg { display: none; }
  .crumbs { gap: 5px; }
  .crumb { padding: 5px 10px; font-size: 12px; }
  .crumb svg { display: none; }
  .cat-panel__grid { grid-template-columns: 1fr; }
  .fmt-card { flex-wrap: wrap; }
  .steps { flex-direction: column; align-items: center; }
  .step__connector { width: 2px; height: 24px; flex: 0 0 auto; margin: 0; }
  .step__connector::after { right: auto; left: -3px; top: auto; bottom: -3px; transform: rotate(135deg); }
  .why__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__summary { flex-direction: column; gap: 20px; }
  .cta__title { font-size: 22px; }
  .cta .btn--lg { width: 100%; }
  .footer__links { grid-template-columns: 1fr; gap: 20px; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .upload-zone { padding: 28px 20px 16px; }
  .fmt-icon { min-width: 56px; padding: 5px 8px; }
  .fmt-icon svg { width: 24px; height: 24px; }
  .fmt-icon span { font-size: 9px; }
}
@media (max-width: 480px) {
  .hero__title { font-size: 24px; }
  .badge { font-size: 11px; padding: 4px 10px; }
  .pricing-card__amount { font-size: 36px; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
