:root {
  --navy-950: #071a46;
  --navy-900: #0a2562;
  --navy-800: #12347a;
  --navy-700: #234a91;
  --coral-600: #f04f3f;
  --coral-500: #ff634d;
  --orange-500: #ff8a2a;
  --ink: #101828;
  --muted: #667085;
  --line: #e6eaf0;
  --surface: #f6f8fc;
  --white: #ffffff;
  --success: #168f63;
  --shadow: 0 24px 70px rgba(7, 26, 70, .12);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body::selection { background: rgba(255,99,77,.22); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(230,234,240,.8);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy-950); font-size: 1.35rem; font-weight: 800; letter-spacing: -.04em; }
.brand-mark {
  position: relative; width: 38px; height: 38px; border: 7px solid var(--navy-900);
  border-bottom: 0; border-radius: 13px 13px 6px 6px; transform: perspective(30px) rotateX(-3deg);
}
.brand-mark::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--navy-900); left: 8px; top: 13px; }
.brand-mark::after { content: ""; position: absolute; width: 12px; height: 18px; border-radius: 12px 12px 4px 4px; background: var(--navy-900); left: 6px; top: 23px; }
.voice-lines { position: absolute; right: -17px; top: 4px; width: 20px; height: 26px; border-right: 4px solid var(--coral-500); border-radius: 50%; }
.voice-lines::after { content: ""; position: absolute; right: 5px; top: 5px; width: 10px; height: 16px; border-right: 4px solid var(--coral-500); border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 30px; color: #344054; font-size: .94rem; font-weight: 600; }
.nav-links a:hover { color: var(--navy-800); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle { display: none; border: 0; background: transparent; padding: 8px; color: var(--navy-900); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px;
  font-weight: 700; transition: .2s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--coral-500), var(--orange-500)); box-shadow: 0 10px 25px rgba(240,79,63,.24); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(240,79,63,.32); }
.btn-secondary { color: var(--navy-900); background: white; border-color: #d7ddea; }
.btn-secondary:hover { border-color: var(--navy-700); }
.btn-dark { color: white; background: var(--navy-900); }
.btn-ghost { color: var(--navy-900); background: transparent; }
.btn-lg { min-height: 54px; padding-inline: 25px; border-radius: 14px; }
.btn-block { width: 100%; }

.hero {
  position: relative; overflow: hidden; padding: 88px 0 74px;
  background:
    radial-gradient(circle at 82% 20%, rgba(255,99,77,.17), transparent 28%),
    radial-gradient(circle at 8% 82%, rgba(35,74,145,.10), transparent 30%),
    linear-gradient(180deg, #fbfcff, #f5f8ff);
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(rgba(10,37,98,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(10,37,98,.06) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid rgba(240,79,63,.2); border-radius: 999px; background: #fff6f3; color: #b9382d; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow-dot { width: 8px; height: 8px; background: var(--coral-500); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255,99,77,.12); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 22px 0 20px; color: var(--navy-950); font-size: clamp(2.65rem, 5.2vw, 4.75rem); line-height: 1.02; letter-spacing: -.058em; }
.gradient-text { color: var(--coral-500); }
.hero-copy > p { max-width: 620px; color: #536076; font-size: 1.12rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 22px; color: #475467; font-size: .88rem; font-weight: 600; }
.proof-item { display: flex; align-items: center; gap: 8px; }
.proof-check { width: 20px; height: 20px; display: grid; place-items: center; color: white; background: var(--success); border-radius: 50%; font-size: .72rem; }

.campaign-demo { position: relative; padding: 18px; border: 1px solid rgba(255,255,255,.88); border-radius: var(--radius-lg); background: rgba(255,255,255,.86); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.demo-top { display: flex; justify-content: space-between; align-items: center; padding: 5px 4px 17px; color: #475467; font-size: .78rem; font-weight: 700; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; background: #eaf8f2; color: #117250; }
.event-card { position: relative; overflow: hidden; aspect-ratio: 1 / 1; padding: 28px; color: white; border-radius: 22px; background: linear-gradient(145deg, #071a46 0%, #12347a 62%, #1c4a9b 100%); }
.event-card::before { content: ""; position: absolute; width: 260px; height: 260px; border: 70px solid rgba(255,255,255,.06); border-radius: 50%; right: -100px; top: -95px; }
.event-kicker { color: #ffc0b7; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.event-name { max-width: 290px; margin-top: 10px; font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.08; font-weight: 850; letter-spacing: -.045em; }
.attendee { position: absolute; left: 28px; right: 28px; bottom: 26px; display: flex; gap: 15px; align-items: center; }
.avatar { width: 86px; height: 86px; flex: 0 0 auto; border: 4px solid rgba(255,255,255,.88); border-radius: 24px; background: linear-gradient(145deg,#ff8a2a,#ff634d); display: grid; place-items: center; font-size: 2rem; font-weight: 850; }
.attendee small { display: block; color: #bdcbea; }
.attendee strong { display: block; font-size: 1.15rem; }
.demo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 14px; }
.demo-action { padding: 11px; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--navy-900); text-align: center; font-size: .82rem; font-weight: 750; }

.section { padding: 94px 0; }
.section-soft { background: var(--surface); }
.section-dark { color: white; background: var(--navy-950); }
.section-heading { max-width: 690px; margin: 0 auto 48px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading h2 { margin: 14px 0; color: var(--navy-950); font-size: clamp(2rem, 3.7vw, 3.2rem); line-height: 1.12; letter-spacing: -.048em; }
.section-dark .section-heading h2 { color: white; }
.section-heading p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-heading p { color: #b8c4dc; }

.role-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.role-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.role-card span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 12px; background: #fff1ee; color: var(--coral-600); font-weight: 850; }
.role-card h3 { margin-bottom: 6px; color: var(--navy-950); }
.role-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: steps; }
.step { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 35px rgba(7,26,70,.05); counter-increment: steps; }
.step::before { content: "0" counter(steps); display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 45px; border-radius: 14px; background: var(--navy-900); color: white; font-weight: 850; }
.step::after { content: ""; position: absolute; top: 53px; left: 79px; right: 28px; height: 1px; background: linear-gradient(to right, #d9dfeb, transparent); }
.step h3 { color: var(--navy-950); font-size: 1.18rem; }
.step p { margin: 0; color: var(--muted); }

.benefit-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.metric-board { padding: 24px; border: 1px solid rgba(255,255,255,.1); border-radius: 26px; background: rgba(255,255,255,.07); box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.metric-header { display: flex; justify-content: space-between; color: #b8c4dc; font-size: .85rem; }
.metric-chart { display: flex; align-items: end; gap: 10px; height: 185px; padding: 28px 5px 10px; }
.bar { flex: 1; min-height: 20px; border-radius: 8px 8px 3px 3px; background: linear-gradient(to top, var(--coral-600), var(--orange-500)); opacity: .92; }
.metric-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.metric { padding: 15px; border-radius: 14px; background: rgba(255,255,255,.07); }
.metric strong { display: block; font-size: 1.35rem; }
.metric small { color: #aebbd4; }
.benefit-list { display: grid; gap: 20px; }
.benefit { display: grid; grid-template-columns: 46px 1fr; gap: 16px; }
.benefit-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.07); color: #ff9e8f; font-weight: 850; }
.benefit h3 { margin-bottom: 4px; }
.benefit p { margin: 0; color: #b8c4dc; }

.use-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.use-card { position: relative; min-height: 250px; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.use-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -35px; bottom: -45px; border-radius: 50%; background: linear-gradient(145deg, rgba(255,99,77,.12), rgba(255,138,42,.18)); }
.use-label { display: inline-block; padding: 5px 9px; border-radius: 8px; background: #edf2ff; color: var(--navy-800); font-size: .74rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.use-card h3 { margin: 48px 0 10px; color: var(--navy-950); font-size: 1.35rem; }
.use-card p { color: var(--muted); }

.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 48px; border-radius: 28px; color: white; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); box-shadow: var(--shadow); }
.cta-panel h2 { margin-bottom: 8px; font-size: clamp(1.8rem,3.2vw,2.8rem); line-height: 1.12; letter-spacing: -.045em; }
.cta-panel p { margin: 0; color: #c5d0e5; }

.site-footer { padding: 50px 0 26px; color: #aebbd4; background: #051333; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; padding-bottom: 35px; }
.site-footer .brand { color: white; }
.site-footer p { max-width: 420px; margin-top: 18px; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links strong { margin-bottom: 6px; color: white; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

/* Authentication */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--surface); }
.auth-brand { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 54px clamp(32px,6vw,90px); overflow: hidden; color: white; background: linear-gradient(150deg, #071a46, #12347a 70%, #1c4a9b); }
.auth-brand::after { content: ""; position: absolute; width: 480px; height: 480px; right: -230px; bottom: -210px; border: 90px solid rgba(255,255,255,.05); border-radius: 50%; }
.auth-brand .brand { color: white; }
.auth-message { position: relative; z-index: 1; max-width: 560px; }
.auth-message h1 { color: white; font-size: clamp(2.5rem,5vw,4.5rem); }
.auth-message p { color: #c5d0e5; font-size: 1.08rem; }
.auth-side { display: grid; place-items: center; padding: 40px; }
.auth-card { width: min(460px,100%); padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.auth-card h2 { margin-bottom: 6px; color: var(--navy-950); font-size: 2rem; letter-spacing: -.04em; }
.auth-card > p { color: var(--muted); }
.field { margin: 18px 0; }
.field label { display: block; margin-bottom: 7px; color: #344054; font-size: .88rem; font-weight: 700; }
.input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #d8deea; border-radius: 11px; color: var(--ink); outline: none; transition: .2s; }
.input:focus { border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(35,74,145,.1); }
.input-error { color: #c1372a; font-size: .8rem; }
.form-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 16px 0 22px; font-size: .88rem; }
.form-link { color: var(--navy-800); font-weight: 700; }
.auth-foot { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: .9rem; }

/* Dashboard */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; background: var(--surface); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 20px; color: #c7d3e8; background: var(--navy-950); }
.sidebar .brand { margin: 0 10px 36px; color: white; }
.side-nav { display: grid; gap: 6px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 11px; font-size: .92rem; font-weight: 650; }
.side-nav a:hover, .side-nav a.active { color: white; background: rgba(255,255,255,.1); }
.main { padding: 32px; }
.app-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.app-topbar h1 { margin: 0; font-size: clamp(1.8rem,3vw,2.5rem); }
.app-topbar p { margin: 4px 0 0; color: var(--muted); }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 24px; }
.stat-card, .panel { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.stat-card small { color: var(--muted); font-weight: 650; }
.stat-card strong { display: block; margin-top: 8px; color: var(--navy-950); font-size: 2rem; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.panel-head h2 { margin: 0; color: var(--navy-950); font-size: 1.25rem; }
.campaign-table { width: 100%; border-collapse: collapse; }
.campaign-table th, .campaign-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.campaign-table th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.status { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #eaf8f2; color: #117250; font-size: .78rem; font-weight: 750; }
.empty-state { padding: 54px 20px; text-align: center; }
.empty-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 18px; background: #fff1ee; color: var(--coral-500); font-size: 1.5rem; font-weight: 850; }

.form-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.form-section { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.form-section + .form-section { margin-top: 18px; }
.form-section h2 { color: var(--navy-950); font-size: 1.2rem; }
.textarea { min-height: 110px; padding-top: 12px; resize: vertical; }
.dropzone { padding: 36px 20px; border: 1.5px dashed #bdc7d8; border-radius: 14px; background: #f9fbff; text-align: center; }
.dropzone strong { display: block; color: var(--navy-900); }
.preview-card { position: sticky; top: 108px; }
.preview-frame { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 18px; color: white; background: linear-gradient(145deg,var(--navy-950),var(--navy-700)); }

@media (max-width: 980px) {
  .hero-grid, .benefit-grid, .auth-page, .form-layout { grid-template-columns: 1fr; }
  .campaign-demo { max-width: 620px; }
  .role-strip, .use-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: 1fr; }
  .auth-brand { min-height: 440px; }
  .app-shell { grid-template-columns: 82px 1fr; }
  .sidebar { padding-inline: 12px; }
  .sidebar .brand span, .side-nav a span { display: none; }
  .sidebar .brand { margin-inline: 8px; }
  .side-nav a { justify-content: center; }
  .preview-card { position: static; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .mobile-toggle { display: block; }
  .nav.menu-open { align-items: flex-start; padding: 18px 0; flex-wrap: wrap; }
  .nav.menu-open .nav-links { order: 3; width: 100%; display: grid; gap: 5px; padding: 15px 0 5px; }
  .nav.menu-open .nav-links a { padding: 9px; }
  .hero { padding-top: 62px; }
  .hero-grid { gap: 42px; }
  .role-strip, .use-grid, .stats-grid { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; padding: 34px 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .auth-brand { min-height: 350px; padding: 36px 26px; }
  .auth-side { padding: 24px 14px; }
  .auth-card { padding: 28px 22px; }
  .app-shell { display: block; }
  .sidebar { position: static; width: 100%; height: auto; }
  .sidebar .brand span { display: inline; }
  .side-nav { grid-template-columns: repeat(4,1fr); }
  .side-nav a { padding: 10px 5px; font-size: .78rem; }
  .side-nav a span { display: none; }
  .main { padding: 22px 14px; }
  .app-topbar { align-items: flex-start; flex-direction: column; }
  .campaign-table { display: block; overflow-x: auto; }
}

