/* Dynamik Media — marketing site styles */

:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --ink: #0d1226;
  --muted: #5a6478;
  --faint: #8b94ab;
  --brand: #7c6cff;
  --brand2: #22d3ee;
  --gradient: linear-gradient(135deg, #7c6cff 0%, #5b8cff 55%, #22d3ee 100%);
  --green: #16a34a;
  --red: #e5484d;
  --border: #e5e8f2;
  --shadow-sm: 0 2px 8px rgba(13, 18, 38, 0.06);
  --shadow: 0 12px 32px rgba(13, 18, 38, 0.1);
  --shadow-lg: 0 28px 70px rgba(13, 18, 38, 0.16);
  --radius: 14px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5em; }

p { margin: 0 0 1em; }

img { max-width: 100%; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); filter: brightness(0.98); }
.btn.primary { background: var(--gradient); border: none; color: #fff; box-shadow: 0 8px 22px rgba(124, 108, 255, 0.35); }
.btn.primary:hover { box-shadow: 0 12px 28px rgba(124, 108, 255, 0.45); filter: brightness(1.03); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 8px 15px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(124, 108, 255, 0.4);
}
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  padding: 8px 13px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--ink); background: #eef0f8; }
.site-nav a.active { color: var(--brand); }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink);
}

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: #eef0f8;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-right: 8px;
}
.lang-switch a {
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 60px;
  background:
    radial-gradient(800px 420px at 12% -10%, rgba(124, 108, 255, 0.16), transparent 60%),
    radial-gradient(700px 380px at 88% 0%, rgba(34, 211, 238, 0.16), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(124, 108, 255, 0.1);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
.hero h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.sub { font-size: 18px; color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--faint); margin-top: 16px; }

/* Dashboard mockup */
.mock {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2a3354; }
.mock-bar span:nth-child(1) { background: #ff5f57; }
.mock-bar span:nth-child(2) { background: #febc2e; }
.mock-bar span:nth-child(3) { background: #28c840; }
.mock-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.mock-card {
  background: #141b38;
  border: 1px solid #232c52;
  border-radius: 12px;
  padding: 14px;
  color: #cdd6f0;
  margin-bottom: 10px;
}
.mock-card .m-title { font-size: 12px; color: #7d89b0; margin-bottom: 10px; }
.mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.mock-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #7c6cff, #22d3ee); }
.mock-bars i:nth-child(2n) { background: linear-gradient(180deg, #22d3ee, #4ade80); }
.mock-cals { display: flex; gap: 8px; }
.mock-cals div { flex: 1; height: 62px; border-radius: 8px; background: #1d2749; border: 1px solid #28345c; }
.mock-cals div i { display: block; height: 8px; border-radius: 4px; background: #7c6cff; margin: 12px 8px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.mock-clock { font-size: 20px; font-weight: 700; color: #eef1ff; }

/* ---------- Logos strip ---------- */

.logo-strip { padding: 34px 0; border-bottom: 1px solid var(--border); }
.logo-strip p { text-align: center; color: var(--faint); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.logo-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 44px;
  margin-top: 18px;
  color: var(--faint);
  font-weight: 700;
  font-size: 16px;
  opacity: 0.9;
}

/* ---------- Sections ---------- */

.section { padding: 76px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .kicker {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 16px; }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-card .f-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(124, 108, 255, 0.1);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* Use case cards */
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.uc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
}
.uc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.uc-card .uc-emoji {
  font-size: 34px;
  padding: 26px 26px 0;
}
.uc-card .uc-body { padding: 14px 26px 24px; }
.uc-card h3 { font-size: 17px; margin-bottom: 6px; }
.uc-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; }
.step .n {
  position: absolute; top: -18px; left: 22px;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(124, 108, 255, 0.4);
}
.step h3 { font-size: 16px; margin: 18px 0 6px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.popular { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(124, 108, 255, 0.45);
}
.price-card h3 { font-size: 18px; }
.price-card .price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 2px; }
.price-card .price span { font-size: 15px; font-weight: 500; color: var(--faint); }
.price-card .plan-desc { color: var(--muted); font-size: 14px; min-height: 42px; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; }
.price-card li { padding: 7px 0 7px 26px; position: relative; font-size: 14px; color: var(--ink); }
.price-card li::before {
  content: "";
  position: absolute; left: 2px; top: 13px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gradient);
}
.paypal-note { font-size: 12px; color: var(--faint); text-align: center; margin-top: 10px; }
.paypal-box { margin-top: 6px; }
.paypal-button { margin-top: 6px; }
.paypal-loading { font-size: 13px; color: var(--faint); text-align: center; padding: 10px 0; }
.sub-success {
  margin-top: 8px;
  border: 1px solid rgba(22, 163, 74, 0.35);
  background: rgba(22, 163, 74, 0.08);
  color: var(--green);
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  text-align: center;
}
.sub-url { display: block; margin-top: 6px; font-size: 12px; color: var(--faint); word-break: break-all; }
.sub-cancel { font-size: 12px; color: var(--faint); text-align: center; margin-top: 8px; }
.sub-fallback {
  margin-top: 8px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.sub-fallback p { margin: 0 0 10px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq summary { font-weight: 600; cursor: pointer; font-size: 15px; }
.faq details p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

/* CTA band */
.cta-band {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 54px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.cta-band p { color: rgba(255, 255, 255, 0.85); font-size: 16px; max-width: 560px; margin: 0 auto 26px; }
.cta-band .btn { background: #fff; color: var(--brand); border: none; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding: 64px 0 40px; background: radial-gradient(700px 320px at 20% -20%, rgba(124, 108, 255, 0.14), transparent 60%); }
.page-hero .kicker { color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 8px 0 10px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 640px; }

/* ---------- Detail features page ---------- */

.detail-block { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 44px; margin-top: 14px; }
.detail-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.detail-item:last-child { border-bottom: none; }
.detail-item .di-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; background: rgba(124, 108, 255, 0.1); color: var(--brand); display: grid; place-items: center; }
.detail-item h3 { font-size: 15px; margin-bottom: 3px; }
.detail-item p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Use case pages ---------- */

.uc-hero { padding: 56px 0 34px; background: radial-gradient(700px 320px at 18% -20%, rgba(124, 108, 255, 0.14), transparent 60%); }
.uc-hero .emoji { font-size: 46px; }
.uc-hero h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin: 10px 0 8px; }
.uc-hero p.lead { color: var(--muted); font-size: 17px; max-width: 680px; }
.scenario {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 18px;
}
.scenario h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.scenario p { color: var(--muted); font-size: 14px; }
.scenario .wiz { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wiz span {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: rgba(124, 108, 255, 0.08);
  border: 1px solid rgba(124, 108, 255, 0.22);
  border-radius: 999px;
  padding: 4px 11px;
}
.bullets { margin: 6px 0 0; padding-left: 20px; }
.bullets li { color: var(--muted); font-size: 14px; margin-bottom: 6px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 48px 0 32px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.site-footer a { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; }
.site-footer a:hover { color: var(--brand); }
.site-footer .foot-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--faint); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid, .uc-grid, .price-grid, .steps { grid-template-columns: 1fr 1fr; }
  .detail-block { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 18px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .nav-cta { margin-left: 0; margin-top: 6px; }
  .feature-grid, .uc-grid, .price-grid, .steps { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 20px; }
  .mock { transform: none; }
}
