/* ============================================================
   NorinAds — landing styles
   Dark navy/black + neon purple-to-blue gradient
   ============================================================ */

:root {
  /* palette */
  --bg:            #07061a;
  --bg-2:          #0b0926;
  --surface:       rgba(255,255,255,0.035);
  --surface-2:     rgba(255,255,255,0.06);
  --border:        rgba(150,130,255,0.16);
  --border-strong: rgba(168,85,247,0.45);

  --text:          #f3f1fb;
  --text-muted:    #aaa4cc;
  --text-faint:    #6f6995;

  --violet:        #a855f7;
  --violet-deep:   #7c3aed;
  --blue:          #3b82f6;
  --magenta:       #d946ef;
  --error:         #ef5a7e;

  --grad: linear-gradient(100deg, #7c3aed 0%, #a855f7 45%, #3b82f6 100%);
  --grad-soft: linear-gradient(100deg, rgba(124,58,237,.18), rgba(59,130,246,.18));

  --font-display: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body:    'Satoshi', system-ui, -apple-system, sans-serif;

  --radius:   18px;
  --radius-sm:12px;
  --radius-lg:28px;

  --maxw: 1200px;
  --shadow-glow: 0 24px 60px -20px rgba(124,58,237,.55);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- decorative background ---------- */
.bg-aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(900px 600px at 80% -5%, rgba(124,58,237,.22), transparent 60%),
  radial-gradient(800px 600px at 0% 30%, rgba(59,130,246,.14), transparent 55%),
  var(--bg); }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb--1 { width: 420px; height: 420px; background: #7c3aed; top: -120px; right: 8%; }
.orb--2 { width: 360px; height: 360px; background: #3b82f6; top: 48%; left: -120px; opacity:.4; }
.orb--3 { width: 320px; height: 320px; background: #d946ef; bottom: -120px; left: 45%; opacity:.32; }
.grid-overlay { position: absolute; inset: 0; opacity:.4;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 30%, transparent 75%); }

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--violet);
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); margin-bottom: 18px;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-title { font-size: clamp(32px, 4.5vw, 52px); margin-bottom: 16px; }
.section-sub { color: var(--text-muted); font-size: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 999px; font-weight: 700; font-size: 15px;
  padding: 13px 24px; color: #fff; transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
  white-space: nowrap;
}
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; padding: 15px 24px; }
.btn--gradient { background: var(--grad); box-shadow: 0 12px 30px -12px rgba(124,58,237,.7); }
.btn--gradient:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(124,58,237,.85); }
.btn--outline { background: transparent; border: 1.5px solid var(--border-strong); color: var(--text); }
.btn--outline:hover { background: var(--surface-2); border-color: var(--violet); transform: translateY(-2px); }
.btn--ghost { background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7,6,26,.7);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { flex: none; filter: drop-shadow(0 4px 12px rgba(124,58,237,.5)); }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand__accent { color: var(--violet); }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a { color: var(--text-muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.site-nav a:hover { color: var(--text); }
.header-cta { margin-left: 8px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer { display: none; flex-direction: column; gap: 6px; padding: 16px 24px 24px; border-bottom: 1px solid var(--border); background: rgba(7,6,26,.96); }
.mobile-drawer:not([hidden]) { display: flex; }
.mobile-drawer[hidden] { display: none !important; }
.mobile-drawer a { padding: 12px 4px; color: var(--text-muted); border-bottom: 1px solid var(--border); font-weight: 500; }
.mobile-drawer .btn { margin-top: 10px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding-top: 72px; padding-bottom: 64px; }
.hero__title { font-size: clamp(38px, 5.4vw, 68px); margin-bottom: 22px; }
.hero__lead { color: var(--text-muted); font-size: 19px; max-width: 540px; margin-bottom: 26px; }
.pill-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.pill {
  font-size: 14px; font-weight: 600; color: var(--text);
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  transition: border-color .2s, background .2s;
}
.pill:hover { border-color: var(--border-strong); background: var(--surface-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; margin: 0; }
.hero__stats dt { font-family: var(--font-display); font-weight: 800; font-size: 34px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats dd { margin: 0; color: var(--text-muted); font-size: 14px; }
.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__visual::before { content:""; position:absolute; inset:-10% ; background: radial-gradient(circle at 50% 50%, rgba(168,85,247,.4), transparent 62%); filter: blur(30px); z-index:-1; }
.hero__visual img { width: 100%; max-width: 560px; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 50px rgba(124,58,237,.4)); }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-16px); } }

/* ---------- advantages cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 30px; text-align: center; transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.card::before { content:""; position:absolute; inset:0; background: var(--grad-soft); opacity:0; transition:opacity .3s; }
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-glow); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card__img { height: 180px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.card__img img { max-height: 180px; width: auto; filter: drop-shadow(0 16px 28px rgba(124,58,237,.4)); }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 16px; }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; position: relative; transition: transform .25s, border-color .25s;
}
.step:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.step__num {
  display: inline-flex; font-family: var(--font-display); font-weight: 800; font-size: 30px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* ---------- portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; display: flex; gap: 22px; align-items: center; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.pcard:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-glow); }
.pcard__img { flex: none; width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; }
.pcard__img img { max-width: 96px; max-height: 96px; width: auto; filter: drop-shadow(0 10px 20px rgba(124,58,237,.45)); }
.pcard h3 { font-size: 19px; margin-bottom: 6px; }
.pcard p { color: var(--text-muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta-card {
  background: linear-gradient(160deg, rgba(124,58,237,.16), rgba(59,130,246,.1));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 64px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-card::after { content:""; position:absolute; width:480px; height:480px; border-radius:50%;
  background: radial-gradient(circle, rgba(217,70,239,.25), transparent 65%); top:-40%; right:-10%; filter: blur(20px); }
.cta-card__head { max-width: 620px; margin: 0 auto 44px; position: relative; }
.cta-choices { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; max-width: 820px; margin: 0 auto; position: relative; }
.cta-choice {
  background: rgba(10,8,30,.6); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; text-align: left;
}
.cta-choice h3 { font-size: 24px; margin-bottom: 12px; }
.cta-choice p { color: var(--text-muted); font-size: 16px; margin-bottom: 24px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; background: rgba(5,4,18,.6); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr; gap: 40px; padding: 56px 24px 36px; }
.footer-tagline { color: var(--text-muted); font-size: 15px; margin: 16px 0 12px; max-width: 280px; }
.footer-mail { color: var(--violet); font-weight: 600; }
.footer-legal p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; line-height: 1.55; }
.footer-legal strong { color: var(--text); }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--text-muted); font-size: 15px; transition: color .2s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 20px 24px 28px;
  border-top: 1px solid var(--border); color: var(--text-faint); font-size: 14px; flex-wrap: wrap; }

/* ---------- modals ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 5vh 16px; overflow-y: auto; }
.modal.is-open { display: flex; }
.modal__backdrop { position: fixed; inset: 0; background: rgba(3,2,12,.75); backdrop-filter: blur(6px); }
.modal__dialog {
  position: relative; width: 100%; max-width: 560px; background: var(--bg-2);
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: 0 40px 100px -30px rgba(124,58,237,.7);
  animation: modalIn .3s cubic-bezier(.2,.7,.3,1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity:1; transform: none; } }
.modal__close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 22px; line-height: 1; }
.modal__close:hover { background: var(--surface-2); }
.modal__title { font-size: 28px; margin-bottom: 8px; }
.modal__sub { color: var(--text-muted); font-size: 16px; margin-bottom: 24px; }

/* tabs */
.tabs { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 5px; margin: 18px 0 24px; }
.tab { flex: 1; border: none; background: transparent; color: var(--text-muted); font-weight: 600; font-size: 15px; padding: 10px; border-radius: 999px; transition: .2s; }
.tab.is-active { background: var(--grad); color: #fff; }

/* forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.tab-panel { display: none; }
.tab-panel.is-active { display: flex; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.field input, .field textarea, .field select {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 15px; color: var(--text); font-size: 15px; font-family: inherit; width: 100%; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { 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' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aaa4cc' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 36px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); background: rgba(168,85,247,.06); }
.field__error { display: none; color: var(--error); font-size: 13px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--error); background: rgba(239,90,126,.06); }
.field.has-error .field__error { display: block; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--violet); flex: none; }
.consent-error { display: none; }
.consent-error.show { display: block; }
.form-note { color: var(--text-faint); font-size: 13px; text-align: center; }

.form-success { text-align: center; padding: 24px 8px; }
.form-success__icon { margin-bottom: 18px; display: flex; justify-content: center; }
.form-success h3 { font-size: 26px; margin-bottom: 10px; }
.form-success p { color: var(--text-muted); font-size: 17px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 48px; gap: 32px; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .pill-tags, .hero__actions, .hero__stats { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__visual img { max-width: 360px; }
  .cards-grid, .portfolio-grid, .steps { grid-template-columns: 1fr 1fr; }
  .cta-choices { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .cards-grid, .portfolio-grid, .steps { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
  .pcard { flex-direction: column; text-align: center; }
  .cta-card { padding: 40px 22px; }
  .modal__dialog { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
