:root {
  --ink: #070b2d;
  --muted: #596383;
  --soft: #f5f7ff;
  --line: #e7eaff;
  --blue: #2434e8;
  --blue-dark: #11195f;
  --indigo: #312e81;
  --white: #fff;
  --shadow: 0 24px 70px rgba(12, 22, 74, 0.1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  height: 88px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0fb;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}
.brand {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.brand span {
  color: var(--blue);
}
.nav {
  display: flex;
  gap: 42px;
  font-size: 0.95rem;
  color: #1e2755;
}
.nav a:first-child,
.nav a:hover {
  color: var(--blue);
}
.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  font-weight: 800;
  transition: 0.2s ease;
}
.header-cta {
  background: var(--blue-dark);
  color: #fff;
  padding: 16px 26px;
  box-shadow: 0 12px 30px rgba(17, 25, 95, 0.2);
}
.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}
.menu-btn {
  display: none;
}
.hero {
  min-height: 760px;
  padding: 40px 5vw 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: 60px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(
      circle at 86% 46%,
      rgba(36, 52, 232, 0.13),
      transparent 32%
    ),
    linear-gradient(90deg, #fff 0%, #fff 50%, #f2f5ff 100%);
}
.hero:after {
  content: "";
  position: absolute;
  right: -18vw;
  top: 5%;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background: rgba(36, 52, 232, 0.07);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}
.eyebrow {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: #eef1ff;
  color: var(--blue-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin-bottom: 34px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(3.3rem, 6vw, 5.9rem);
  line-height: 1.05;
  letter-spacing: -0.07em;
  margin-bottom: 32px;
}
h1 span,
h2 span {
  color: var(--blue);
}
.hero p,
.section-copy p {
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--muted);
}
.proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 20px 34px;
  margin: 38px 0 44px;
  font-size: 1.1rem;
}
.proof-list div {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  color: var(--blue);
}
.proof-list span {
  color: #1f2855;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.btn {
  padding: 20px 30px;
}
.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  box-shadow: 0 18px 40px rgba(36, 52, 232, 0.25);
}
.btn.ghost {
  color: #1e2755;
}
.blue-dot {
  color: #2434e8;
}
.laptop-wrap {
  position: relative;
  z-index: 2;
}
.glow {
  position: absolute;
  inset: 10% -5% auto 8%;
  height: 65%;
  background: radial-gradient(circle, rgba(36, 52, 232, 0.2), transparent 65%);
  filter: blur(20px);
}
.laptop {
  position: relative;
}
.screen {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 790px;
  aspect-ratio: 16/10;
  background: #fff;
  border: 18px solid #080b12;
  border-radius: 24px 24px 8px 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.base {
  height: 22px;
  max-width: 890px;
  margin: 0 auto;
  border-radius: 0 0 55px 55px;
  background: linear-gradient(180deg, #d7dbe4, #7f8797);
}
.mock-nav {
  height: 82px;
  padding: 22px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}
.mock-nav strong {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mock-nav small {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}
.mock-nav div {
  display: flex;
  gap: 28px;
}
.mock-nav button,
.mock-content button {
  background: #15205f;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
}
.mock-content {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 30px;
  padding: 48px 42px;
}
.mock-content h3 {
  font-size: 2.6rem;
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.mock-content p {
  color: var(--muted);
  line-height: 1.5;
}
.mock-image {
  min-height: 250px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(28, 58, 26, 0.25), rgba(255, 255, 255, 0.1)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=900&q=80")
      center/cover;
}
.mock-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 24px 42px;
  border-top: 1px solid #eef1ff;
  font-size: 0.74rem;
}
.trust,
.pricing-section,
.features,
.comparison,
.work,
.process,
.testimonials,
.faq {
  padding: 86px 5vw;
}
.trust {
  text-align: center;
}
.stars {
  color: var(--blue);
  letter-spacing: 6px;
  font-size: 1.1rem;
  font-weight: 800;
}
.trust > p {
  font-weight: 800;
  margin: 10px 0 50px;
}
.trust-grid,
.cards,
.portfolio-grid,
.quote-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1380px;
  margin: 0 auto;
}
.trust-grid div,
.cards article,
.portfolio-grid article,
.quote-grid article,
.price-card,
.compare-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(12, 22, 74, 0.06);
}
.trust-grid div {
  text-align: left;
  padding: 28px;
}
.trust-grid span,
.cards span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #eef1ff;
  color: var(--blue);
  font-weight: 900;
  font-size: 1.4rem;
  margin-bottom: 22px;
}
.trust-grid strong {
  display: block;
  margin-bottom: 10px;
}
.trust-grid p,
.cards p,
.portfolio-grid p,
.quote-grid span {
  color: var(--muted);
  line-height: 1.55;
}
.pricing-section {
  display: grid;
  grid-template-columns: 1fr 420px 1fr;
  align-items: center;
  gap: 55px;
}
.section-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}
.price-card {
  grid-column: 2;
  padding: 38px;
  border-top: 5px solid var(--blue);
  text-align: center;
}
.plan {
  font-weight: 800;
  color: #1f2855;
}
.price {
  font-size: 4rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.07em;
}
.small,
.running {
  color: var(--muted);
  font-size: 0.95rem;
}
.price-card ul {
  text-align: left;
  display: grid;
  gap: 14px;
  margin: 34px 0;
  padding: 0;
  list-style: none;
}
.price-card li::before {
  content: "✓";
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  padding: 2px 5px;
  margin-right: 10px;
}
.full {
  width: 100%;
  justify-content: center;
}
.cards {
  grid-template-columns: repeat(4, 1fr);
}
.cards article {
  padding: 36px;
}
.comparison {
  background: linear-gradient(90deg, #f7f9ff, #eef3ff);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 34px;
  align-items: center;
}
.compare-card {
  padding: 36px;
}
.compare-card.highlight {
  border: 2px solid rgba(36, 52, 232, 0.55);
}
.compare-card p {
  color: #39415f;
}
.compare-card.muted p {
  color: #7b829b;
}
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 42px;
}
.section-title-row h2 {
  font-size: 3.3rem;
  line-height: 1;
  letter-spacing: -0.06em;
}
.section-title-row a {
  color: var(--blue);
  font-weight: 800;
}
.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}
.portfolio-grid article {
  overflow: hidden;
}
.portfolio-image {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid var(--line);
  background: var(--card-bg);
}

html[data-theme="dark"] .portfolio-image {
  border-bottom-color: var(--line);
}
.portfolio-grid h3,
.portfolio-grid p,
.portfolio-grid a {
  margin-left: 24px;
  margin-right: 24px;
}
.portfolio-grid h3 {
  margin-top: 22px;
  margin-bottom: 6px;
}
.portfolio-grid a {
  display: block;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 24px;
}
.steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  text-align: center;
}
.steps span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: #fff;
  border: 8px solid #eef1ff;
  color: var(--blue);
  font-weight: 900;
}
.quote-grid {
  grid-template-columns: repeat(3, 1fr);
}
.quote-grid article {
  padding: 34px;
}
.quote-grid p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1f2855;
}
.quote-grid strong {
  display: block;
  margin-top: 18px;
}
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 70px;
}
.faq-list {
  display: grid;
  gap: 12px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
summary {
  cursor: pointer;
  font-weight: 800;
}
details p {
  color: var(--muted);
}
.final-cta {
  margin-top: 60px;
  padding: 58px 5vw;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(255, 255, 255, 0.12),
      transparent 20%
    ),
    linear-gradient(135deg, #17218c, #07104f);
}
.final-cta h2 {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 12px;
}
.final-cta p {
  color: #dce3ff;
  margin: 0;
}
.btn.light {
  background: #fff;
  color: var(--blue-dark);
}
footer {
  padding: 58px 5vw;
  color: #d8defc;
  background: #050a2f;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 42px;
}
footer .brand {
  color: #fff;
}
footer p {
  max-width: 260px;
  color: #aeb7e7;
}
footer h4 {
  color: #fff;
}
footer a {
  display: block;
  color: #cbd3ff;
  margin: 10px 0;
}
@media (max-width: 1050px) {
  .nav,
  .header-cta {
    display: none;
  }
  .menu-btn {
    display: block;
    background: none;
    border: 0;
    font-size: 1.6rem;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .laptop-wrap {
    margin-top: 20px;
  }
  .pricing-section,
  .comparison,
  .faq {
    grid-template-columns: 1fr;
  }
  .price-card {
    grid-column: auto;
  }
  .trust-grid,
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }
  footer {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .site-header {
    height: 76px;
  }
  .brand {
    font-size: 1.55rem;
  }
  .hero {
    padding-top: 56px;
  }
  .proof-list,
  .trust-grid,
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    gap: 14px;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .mock-nav div,
  .mock-nav button,
  .mock-stats {
    display: none;
  }
  .mock-content {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .mock-content h3 {
    font-size: 1.8rem;
  }
  .screen {
    border-width: 10px;
  }
  .final-cta {
    display: block;
  }
  .final-cta .btn {
    margin-top: 24px;
  }
  footer {
    grid-template-columns: 1fr;
  }
}

.services,
.contact-section {
  padding: 86px 5vw;
}
.services .section-title-row p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1380px;
  margin: 0 auto;
}
.service-grid article,
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(12, 22, 74, 0.06);
}
.service-grid article {
  padding: 36px;
}
.service-grid span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #eef1ff;
  color: var(--blue);
  font-weight: 900;
  font-size: 1.4rem;
  margin-bottom: 22px;
}
.service-grid p {
  color: var(--muted);
  line-height: 1.55;
}
.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
  background: linear-gradient(90deg, #fff, #f6f8ff);
}
.contact-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}
.contact-copy > p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--muted);
}
.contact-points {
  margin-top: 28px;
  display: grid;
  gap: 10px;
  font-weight: 800;
  color: #1f2855;
}
.contact-form {
  padding: 34px;
  display: grid;
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: #1f2855;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(36, 52, 232, 0.1);
}
.contact-form textarea {
  resize: vertical;
}
.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  text-align: center;
}
@media (max-width: 1050px) {
  .service-grid,
  .contact-section {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .service-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

.hero-preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

/* Footer legal link alignment fix */
footer div a[href="privacy.html"],
footer div a[href="terms.html"] {
  display: block;
  margin-top: 10px;
}
footer .legal-links {
  display: none !important;
}

/* Header logo icon */
.site-header .brand {
  display: inline-flex;
  align-items: center;
}
.site-header .brand-icon {
  margin-right: 12px;
}
.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  display: inline-block;
  flex: 0 0 auto;
}
footer .brand {
  display: inline-flex;
  align-items: center;
}
@media (max-width: 640px) {
  .brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }
}

.blue-dot {
  display: inline;
  color: #2434e8;
  margin: 0;
  padding: 0;
  letter-spacing: 0;
}

.form-status {
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  margin: 0;
}
.contact-form button[disabled] {
  opacity: 0.75;
  cursor: not-allowed;
}

/* Day / Night mode */
:root {
  --site-bg: #ffffff;
  --card-bg: #ffffff;
  --hero-gradient:
    radial-gradient(
      circle at 86% 46%,
      rgba(36, 52, 232, 0.13),
      transparent 32%
    ),
    linear-gradient(90deg, #fff 0%, #fff 50%, #f2f5ff 100%);
  --header-bg: rgba(255, 255, 255, 0.88);
  --footer-bg: #050a2f;
}
html[data-theme="dark"] {
  --ink: #f8fafc;
  --muted: #b8c2e2;
  --soft: #111936;
  --line: #26305c;
  --blue: #6d7dff;
  --blue-dark: #2434e8;
  --indigo: #8b8cff;
  --white: #0b1028;
  --site-bg: #070b1f;
  --card-bg: #101832;
  --hero-gradient:
    radial-gradient(
      circle at 86% 46%,
      rgba(109, 125, 255, 0.22),
      transparent 32%
    ),
    linear-gradient(90deg, #070b1f 0%, #080d24 50%, #10183a 100%);
  --header-bg: rgba(7, 11, 31, 0.82);
  --footer-bg: #040717;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}
body {
  background: var(--site-bg);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.site-header {
  background: var(--header-bg) !important;
}
.hero {
  background: var(--hero-gradient) !important;
}
.trust-grid div,
.cards article,
.portfolio-grid article,
.quote-grid article,
.price-card,
.compare-card,
.contact-form,
.service-grid article,
.page {
  background: var(--card-bg) !important;
  border-color: var(--line) !important;
}
html[data-theme="dark"] .comparison,
html[data-theme="dark"] .contact-section {
  background: linear-gradient(90deg, #070b1f, #0d1430) !important;
}
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .trust-grid span,
html[data-theme="dark"] .cards span,
html[data-theme="dark"] .service-grid span {
  background: #18214a !important;
  color: #cfd7ff !important;
}
html[data-theme="dark"] .proof-list span,
html[data-theme="dark"] .plan,
html[data-theme="dark"] .contact-form label,
html[data-theme="dark"] .contact-points,
html[data-theme="dark"] .quote-grid p,
html[data-theme="dark"] .compare-card p {
  color: var(--ink) !important;
}
html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form select,
html[data-theme="dark"] .contact-form textarea {
  background: #0b122b !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
html[data-theme="dark"] footer {
  background: var(--footer-bg) !important;
}
.theme-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.05rem;
  box-shadow: 0 10px 28px rgba(12, 22, 74, 0.08);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.theme-toggle:hover {
  transform: translateY(-2px);
}
.theme-icon {
  line-height: 1;
}
@media (max-width: 1050px) {
  .theme-toggle {
    margin-left: auto;
    margin-right: 12px;
  }
}

/* Dark mode navigation & ghost button fixes */
html[data-theme="dark"] .nav a{color:#d7defe!important;}
html[data-theme="dark"] .nav a:hover,html[data-theme="dark"] .nav a:first-child{color:#8ea2ff!important;}
html[data-theme="dark"] .btn.ghost{color:#eef2ff!important;}
html[data-theme="dark"] .btn.ghost:hover{color:#fff!important;}
