/* ============================================
   Digital Prism Agency — stylesheet
   ============================================ */

:root {
  --navy: #0B2545;
  --blue: #13A3E0;
  --white: #FFFFFF;
  --bg-light: #F3F8FC;
  --text: #172B3A;
  --text-muted: #51677A;
  --border: #DCE7EF;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-sm: 0 2px 10px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 37, 69, 0.12);
  --header-h: 76px;
  --font-head: "Manrope", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1em; color: var(--text-muted); }

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

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  padding: 12px 22px;
  font-size: 0.95rem;
}
.btn-small { padding: 9px 16px; font-size: 0.85rem; }
.btn-large { padding: 16px 30px; font-size: 1.05rem; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: #0f8ec2; }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  transition: color 0.25s ease;
}
.site-header.is-scrolled .logo { color: var(--navy); }
.logo span { color: var(--blue); }

.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}
.site-header.is-scrolled .main-nav a { color: var(--text); }
.main-nav a:hover { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: background 0.25s ease;
}
.site-header.is-scrolled .nav-toggle span { background: var(--navy); }

.mobile-nav {
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mobile-nav a { color: var(--text); font-weight: 600; }
.mobile-nav .btn { margin-top: 8px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,37,69,0.86) 0%, rgba(11,37,69,0.78) 45%, rgba(11,37,69,0.92) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 90px 20px 70px;
  max-width: 780px;
}
.eyebrow {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero-sub { color: rgba(255,255,255,0.88); font-size: 1.1rem; max-width: 620px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin: 26px 0 36px; }

.trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
}
.trust-list svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }

/* ===== Sections ===== */
.section { padding: 86px 0; }
.section-light { background: var(--bg-light); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head p { font-size: 1.05rem; }

.center-cta { text-align: center; margin-top: 44px; }

/* ===== How it works ===== */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  counter-reset: step;
}
@media (min-width: 900px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 60px;
    left: 100%;
    width: 32px;
    height: 2px;
    background: var(--blue);
    z-index: 2;
  }
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

/* ===== Feature grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; }
.pricing-note {
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  margin-top: 36px;
  font-size: 1.05rem;
}

/* ===== Demo showcase ===== */
.demo-showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.demo-desktop {
  width: 100%;
  max-width: 700px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-md);
}
.demo-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
}
.demo-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.demo-address {
  margin-left: 10px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 6px;
  flex: 1;
  max-width: 220px;
}
.demo-screen {
  border-radius: 10px;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.demo-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.demo-mobile {
  width: 160px;
  background: var(--navy);
  border-radius: 24px;
  padding: 10px 8px;
  box-shadow: var(--shadow-md);
}
.demo-mobile-notch {
  width: 50px;
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
  margin: 0 auto 8px;
}
.demo-screen-mobile { aspect-ratio: 9/16; }

.demo-caption { max-width: 520px; margin: 18px auto 0; text-align: center; }

/* ===== Why section ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.why-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.why-grid-text-only {
  grid-template-columns: 1fr;
  max-width: 720px;
  text-align: center;
}
.why-grid-text-only .benefit-list {
  align-items: center;
}
.why-grid-text-only .benefit-list li {
  justify-content: center;
}
.benefit-list {
  list-style: none;
  margin: 20px 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
}
.benefit-list svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 1px; }

/* ===== Gallery strip ===== */
.gallery-strip { padding-top: 0; padding-bottom: 86px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-grid figure { margin: 0; }
.gallery-grid img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.gallery-grid figcaption {
  margin-top: 10px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
  text-align: center;
}

/* ===== Pricing ===== */
.pricing-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: 44px 36px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.price { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 2px; }
.price span { font-size: 3.2rem; font-weight: 800; color: var(--white); }
.price-sub { color: rgba(255,255,255,0.7); margin-bottom: 22px; }
.pricing-features {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-features li {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  padding-left: 26px;
  position: relative;
}
.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blue);
}
.price-terms { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin: 18px 0 22px; }
.price-disclosure { color: rgba(255,255,255,0.6); font-size: 0.8rem; margin: 22px 0 0; }

/* ===== FAQ Accordion ===== */
.accordion { max-width: 760px; margin: 0 auto; }
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
}
.accordion-trigger svg {
  width: 20px; height: 20px;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.accordion-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.accordion-panel p { padding: 0 4px 20px; margin: 0; }

/* ===== Contact ===== */
.contact-section { background: var(--bg-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.honeypot-field { position: absolute; left: -9999px; top: -9999px; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.92rem;
}
.req { color: #D64545; }
.optional { color: var(--text-muted); font-weight: 400; }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 0.98rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19,163,224,0.18);
}
.form-row input[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
  border-color: #D64545;
}
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field-error {
  display: block;
  color: #D64545;
  font-size: 0.82rem;
  margin-top: 5px;
  min-height: 1em;
}
.form-footnote { text-align: center; color: var(--text-muted); font-size: 0.88rem; margin: 14px 0 0; }
.consent-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 16px; }
.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 600;
}
.form-status.success { background: #E4F7EC; color: #1C7A42; }
.form-status.error { background: #FBE7E7; color: #B23A3A; }

.contact-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.contact-card h3 { color: var(--white); }
.contact-card ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-card li { display: flex; align-items: center; gap: 10px; }
.contact-card svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
.contact-card a { color: var(--white); font-weight: 600; }
.response-note { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding-top: 60px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo { color: var(--white); margin-bottom: 10px; }
.footer-brand p { color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.footer-brand a { color: rgba(255,255,255,0.85); }
.footer-nav h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--blue); }
.footer-bottom { padding: 22px 20px; text-align: center; font-size: 0.85rem; }

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--white);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(11,37,69,0.14);
  display: none;
  transition: transform 0.25s ease;
}
.sticky-cta.is-hidden { transform: translateY(110%); }

/* ===== Fade-in animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; }
}

/* ===== Legal pages ===== */
.legal-page { padding: 120px 0 90px; max-width: 760px; margin: 0 auto; }
.legal-page h1 { margin-bottom: 8px; }
.legal-page h2 { font-size: 1.3rem; margin-top: 2em; }
.legal-updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2.5em; }
.legal-notice {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 0.9rem;
  margin-bottom: 2.5em;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .main-nav, .header-actions .btn-primary.btn-small { display: none; }
  .nav-toggle { display: flex; }
  .why-grid { grid-template-columns: 1fr; }
  .why-image { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: block; }
  body { padding-bottom: 76px; }
}

@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .demo-showcase { flex-direction: column; align-items: center; }
  .section { padding: 60px 0; }
  .hero-content { padding: 70px 20px 50px; }
}

@media (max-width: 420px) {
  .trust-list { gap: 14px; }
  .hero-ctas .btn { width: 100%; }
}
