/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  color: #1a1a2e;
  background: #f8f9fc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ===== Typography ===== */
.section__title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #1a1a2e;
}
.section__subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  max-width: 640px;
  margin: 0 auto 3rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.btn--primary:hover { background: #1d4ed8; }
.btn--outline {
  background: transparent;
  color: #2563eb;
  border-color: #2563eb;
}
.btn--outline:hover { background: #2563eb; color: #fff; }
.btn--small { padding: 8px 20px; font-size: 0.9rem; }
.btn--full { width: 100%; text-align: center; }

/* ===== Studio Bar ===== */
.studio-bar {
  background: #170f2e;
  color: #8b7fa0;
  font-size: 0.75rem;
  padding: 6px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
}
.studio-bar__inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
.studio-bar__avatar {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  flex-shrink: 0;
}
.studio-bar__label {
  font-weight: 700;
  color: #c4b5d4;
  letter-spacing: 0.5px;
}
.studio-bar__text { color: #8b7fa0; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 28px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid #e5e7eb;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.header__logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: -0.5px;
}
.header__nav { display: flex; align-items: center; gap: 24px; }
.header__nav a { text-decoration: none; color: #333; font-size: 0.95rem; font-weight: 500; }
.header__nav a:hover { color: #2563eb; }

/* ===== Hero ===== */
.hero {
  padding: 168px 0 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  background-image: url('images/hero-bg.webp');
  background-size: cover;
  background-position: center;
}
.hero__content { position: relative; z-index: 1; }
.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37,99,235,0.2);
  color: #60a5fa;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #f1f5f9;
}
.hero__subtitle {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .btn--primary { background: #2563eb; color: #fff; border-color: #2563eb; }
.hero .btn--primary:hover { background: #1d4ed8; }
.hero .btn--outline { color: #e2e8f0; border-color: #475569; }
.hero .btn--outline:hover { background: #1e293b; border-color: #94a3b8; }

/* ===== Problem ===== */
.problem { padding: 80px 0; background: #fff; }
.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

/* ===== Cards ===== */
.card {
  padding: 32px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.card--problem { border-left: 3px solid #ef4444; }
.card--feature { border-left: 3px solid #2563eb; }
.card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: #2563eb;
}
.card__icon svg { width: 100%; height: 100%; }
.card--problem .card__icon { color: #ef4444; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 0.95rem; color: #555; line-height: 1.6; }

/* ===== Solution ===== */
.solution { padding: 80px 0; background: #f8f9fc; }
.solution__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

/* ===== Audience ===== */
.audience { padding: 80px 0; background: #fff; }
.audience__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.audience__item {
  padding: 28px;
  border-radius: 12px;
  background: #f0f4fe;
  text-align: center;
}
.audience__item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.audience__item p { font-size: 0.9rem; color: #555; line-height: 1.6; }

/* ===== How it works ===== */
.how { padding: 80px 0; background: #f8f9fc; }
.how__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
  text-align: center;
}
.how__step { padding: 32px; }
.how__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.how__step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.how__step p { font-size: 0.95rem; color: #555; }

/* ===== Pricing ===== */
.pricing { padding: 80px 0; background: #fff; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
  margin-top: 40px;
}
.pricing-card {
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  position: relative;
  text-align: center;
}
.pricing-card.popular {
  border-color: #2563eb;
  box-shadow: 0 4px 24px rgba(37,99,235,0.1);
  transform: scale(1.03);
}
.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #fff;
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
}
.pricing-card h3 { font-size: 1.2rem; font-weight: 700; color: #1a1a2e; margin-bottom: 12px; }
.pricing-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 4px;
}
.pricing-card .price small {
  font-size: 0.9rem;
  font-weight: 400;
  color: #777;
}
.pricing-card .support {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 20px;
}
.pricing-card ul {
  list-style: none;
  margin-bottom: 24px;
}
.pricing-card ul li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: #444;
  border-bottom: 1px solid #f0f0f0;
}
.pricing-card ul li::before { content: "✓ "; color: #2563eb; font-weight: 700; }
.pricing-card .btn {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.pricing-card .btn:hover { background: #1d4ed8; }

/* ===== FAQ ===== */
.faq { padding: 80px 0; background: #f8f9fc; }
.faq__list { max-width: 720px; margin: 40px auto 0; }
.faq__item {
  border-bottom: 1px solid #e5e7eb;
  padding: 4px 0;
}
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  text-align: left;
}
.faq__question:hover { color: #2563eb; }
.faq__arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq__question[aria-expanded="true"] .faq__arrow { transform: rotate(180deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
}
.faq__question[aria-expanded="true"] + .faq__answer {
  max-height: 300px;
  padding-bottom: 18px;
}
.faq__answer p { font-size: 0.95rem; color: #555; line-height: 1.7; }

/* ===== Contacts ===== */
.contacts {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  text-align: center;
}
.contacts .section__title { color: #fff; }
.contacts .section__subtitle { color: #aab; }
.contacts__channels {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.contacts__card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 32px;
  width: 280px;
  text-align: center;
}
.contacts__card-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: #fff;
  opacity: 0.8;
}
.contacts__card-icon svg { width: 100%; height: 100%; }
.contacts__card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.contacts__value {
  font-size: 0.95rem;
  color: #aab;
  word-break: break-all;
  margin-bottom: 20px;
  font-family: "SF Mono", "Cascadia Code", "Consolas", monospace;
}
.contacts .btn--primary { background: #fff; color: #1a1a2e; border-color: #fff; }
.contacts .btn--primary:hover { background: #e5e7eb; }
.contacts .btn--outline { color: #fff; border-color: rgba(255,255,255,0.3); }
.contacts .btn--outline:hover { background: #fff; color: #1a1a2e; border-color: #fff; }
.btn--copied { background: #22c55e !important; color: #fff !important; border-color: #22c55e !important; }
.contacts__hint { font-size: 0.9rem; color: #889; }

/* ===== Form ===== */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto 24px;
  text-align: left;
}
.contacts__form-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1a1a2e;
}
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
  color: #1a1a2e;
}
.form-input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.form-select { appearance: auto; }
.form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #555;
  cursor: pointer;
}
.form-checkbox input { margin-top: 2px; }
.form-checkbox a { color: #2563eb; text-decoration: underline; }
.form-checkbox a:hover { color: #1d4ed8; }
.contacts__side { display: flex; flex-direction: column; gap: 16px; }
.contacts__side-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.contacts__side-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.contacts__side-card .contacts__value {
  font-size: 0.85rem;
  color: #aab;
  word-break: break-all;
  margin-bottom: 16px;
  font-family: "SF Mono","Cascadia Code","Consolas",monospace;
}
.contacts__side-card .btn--primary {
  background: #fff;
  color: #1a1a2e;
  border-color: #fff;
  padding: 10px 20px;
  font-size: 0.85rem;
}
.contacts__side-card .btn--primary:hover { background: #e5e7eb; }

/* ===== Footer ===== */
.footer { padding: 32px 0; background: #111827; color: #667; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__logo { font-weight: 700; font-size: 1.1rem; color: #999; }
.footer__links { display: flex; align-items: center; gap: 8px; }
.footer__link { color: #9ca3af; font-size: 0.85rem; text-decoration: underline; }
.footer__link:hover { color: #fff; }
.footer__sep { color: #4b5563; font-size: 0.85rem; }
.footer__copy { font-size: 0.85rem; }

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .studio-bar__text { display: none; }
  .header__nav a:not(.btn) { display: none; }
  .header { top: 24px; }
  .hero { padding: 124px 0 60px; }
  .hero__cta { flex-direction: column; align-items: center; }
  .hero__cta .btn { width: 100%; max-width: 320px; }
  .pricing__card--featured { transform: none; }
  .contacts__grid { grid-template-columns: 1fr; }
  .contacts__form-card { padding: 24px; }
  .contacts__side { flex-direction: row; }
  .contacts__side-card { flex: 1; }
  .footer__inner { flex-direction: column; gap: 8px; text-align: center; }
  .footer__links { flex-direction: column; gap: 4px; }
  .footer__sep { display: none; }
}

@media (max-width: 480px) {
  .studio-bar { font-size: 0.65rem; padding: 4px 0; }
  .header__inner { height: 56px; }
  .header { top: 20px; }
  .hero { padding: 116px 0 48px; }
  .header__logo { font-size: 1.1rem; }
  .btn { padding: 12px 24px; font-size: 0.95rem; }
}
