:root {
  --bg: #07040f;
  --bg-soft: #100819;
  --card: #140d20;
  --card-2: #1a1028;

  --text: #f4eff8;
  --muted: #a89eae;

  --purple: #d946ef;
  --purple-soft: #a855f7;

  --border: rgba(255, 255, 255, 0.08);

  --max-width: 1120px;
  --radius: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(217, 70, 239, 0.08), transparent 32%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}


/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 4, 15, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
}

.nav-logo {
  width: 90px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: var(--text);
}


/* HERO */

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 90px 0;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(217, 70, 239, 0.13);
  filter: blur(120px);
  right: -180px;
  top: 5%;
}

.hero-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy-block {
  max-width: 570px;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
  color: var(--purple);
}

.hero-copy {
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-tagline {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.38);
  font-style: italic;
}


/* OVERLAPPING PHONES */

.hero-phones {
  position: relative;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phone {
  position: absolute;
  height: 570px;
  width: auto;
  border-radius: 34px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 45px rgba(217, 70, 239, 0.08);
  transition: transform 0.35s ease;
}

.hero-phone-main {
  z-index: 3;
  transform: translateY(-5px);
}

.hero-phone-left {
  z-index: 1;
  transform:
    translateX(-175px)
    translateY(35px)
    rotate(-8deg)
    scale(0.9);
  opacity: 0.72;
}

.hero-phone-right {
  z-index: 2;
  transform:
    translateX(175px)
    translateY(35px)
    rotate(8deg)
    scale(0.9);
  opacity: 0.78;
}

.hero-phones:hover .hero-phone-main {
  transform: translateY(-12px) scale(1.015);
}


/* SECTIONS */

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 50px;
}

.section-heading h2,
.early-access h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 20px;
}

.section-heading > p:last-child,
.early-access-copy > p:last-child {
  color: var(--muted);
}


/* FEATURES */

/* FEATURE SHOWCASE */

.feature-showcase {
  display: grid;
  gap: 110px;
}

.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.feature-row-reverse .feature-copy {
  order: 2;
}

.feature-row-reverse .feature-screen {
  order: 1;
}

.feature-copy {
  max-width: 500px;
}

.feature-number {
  display: inline-block;
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.feature-copy h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.feature-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-screen {
  display: flex;
  justify-content: center;
  position: relative;
}

.feature-screen::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: rgba(217, 70, 239, 0.12);
  filter: blur(80px);
  z-index: 0;
}

.feature-screen img {
  position: relative;
  z-index: 1;
  width: min(100%, 280px);
  height: auto;
  border-radius: 34px;
  border: 1px solid rgba(217, 70, 239, 0.18);
  background: #07040f;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(217, 70, 239, 0.08);
}

@media (max-width: 800px) {

  .feature-showcase {
    gap: 75px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }

  .feature-row-reverse .feature-copy,
  .feature-row-reverse .feature-screen {
    order: initial;
  }

  .feature-copy {
    margin-inline: auto;
  }

  .feature-screen img {
    width: min(85%, 310px);
  }

}

.feature-number {
  display: block;
  color: var(--purple);
  font-weight: 900;
  margin-bottom: 54px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
}


/* ROADMAP */

.roadmap-section {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.roadmap-card {
  min-height: 300px;
  padding: 28px;
  border-radius: 22px;
  background:
    linear-gradient(
      180deg,
      rgba(217, 70, 239, 0.06),
      transparent 45%
    ),
    var(--card);
  border: 1px solid var(--border);
}

.roadmap-version {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.roadmap-card h3 {
  font-size: 1.45rem;
  line-height: 1.1;
  margin-bottom: 14px;
}

.roadmap-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
}


/* EARLY ACCESS */

.early-access-section {
  padding-block: 130px;
}

.early-access {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.signup-card {
  min-height: 360px;
  background:
    radial-gradient(circle at top right, rgba(217, 70, 239, 0.12), transparent 40%),
    var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
}

#mailerlite-form-placeholder {
  min-height: 300px;
  display: grid;
  place-items: center;
  color: var(--muted);
}


/* FOOTER */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 46px 0;
}

.footer-content {
  display: grid;
  gap: 28px;
}

.footer-brand {
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 3px;
}

.footer-content > div:first-child p,
.copyright {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: white;
}


/* RESPONSIVE */

@media (max-width: 800px) {


.hero-layout {
  grid-template-columns: 1fr;
  text-align: center;
}

.hero-copy-block {
  margin-inline: auto;
}

.hero-logo {
  margin-inline: auto;
}

.hero-actions {
  justify-content: center;
}

.hero-phones {
  height: 520px;
  margin-top: 20px;
}

.hero-phone {
  height: 440px;
}

.hero-phone-left {
  transform:
    translateX(-105px)
    translateY(30px)
    rotate(-7deg)
    scale(0.88);
}

.hero-phone-right {
  transform:
    translateX(105px)
    translateY(30px)
    rotate(7deg)
    scale(0.88);
}

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-block: 90px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-item {
    grid-template-columns: 1fr;
  }

  .early-access {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 80px;
  }

}

@media (max-width: 520px) {

  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

}

/* CYFR EARLY ACCESS FORM */

.signup-card {
  min-height: auto;
  padding: 36px;
}

.ml-form-embedContainer,
.ml-form-embedWrapper,
.ml-form-embedBody {
  width: 100%;
}

.ml-form-embedContent h4 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--text);
}

.ml-form-embedContent p {
  color: var(--muted);
  margin-bottom: 24px;
}

.ml-form-fieldRow {
  margin-bottom: 12px;
}

.ml-form-fieldRow input {
  width: 100%;
  padding: 15px 16px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
}

.ml-form-fieldRow input::placeholder {
  color: #756d7d;
}

.ml-form-fieldRow input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.09);
}

.ml-form-checkboxRow {
  margin: 16px 0 20px;
}

.ml-form-checkboxRow label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  cursor: pointer;
}

.ml-form-checkboxRow input {
  margin-top: 4px;
}

.label-description p {
  color: var(--muted);
  font-size: 0.8rem;
}

.ml-form-embedSubmit button.primary {
  width: 100%;
  border: 0;
  border-radius: 13px;
  padding: 15px 20px;

  background: var(--purple);
  color: white;

  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;

  cursor: pointer;

  box-shadow: 0 10px 32px rgba(217, 70, 239, 0.25);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ml-form-embedSubmit button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(217, 70, 239, 0.34);
}

.ml-form-successBody {
  padding: 36px 10px;
  text-align: center;
}

.ml-form-successContent h4 {
  color: var(--purple);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.ml-form-successContent p {
  color: var(--muted);
}

/* LEGAL + SUPPORT PAGES */

.legal-page {
  padding: 100px 0 120px;
  min-height: 75vh;
}

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}

.legal-updated {
  color: var(--muted);
  margin-bottom: 50px;
  font-size: 0.9rem;
}

.legal-content h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  font-size: 1.6rem;
}

.legal-content h3 {
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content p {
  margin-bottom: 18px;
}

.legal-content ul {
  margin: 14px 0 24px 22px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--purple);
}

.support-intro {
  max-width: 600px;
  font-size: 1.05rem;
  margin-bottom: 50px !important;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.support-card {
  padding: 26px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
}

.support-card h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.support-card p {
  margin: 0;
}

.support-contact {
  margin-top: 70px;
  padding: 34px;
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      rgba(217, 70, 239, 0.08),
      transparent
    ),
    var(--card);
  border: 1px solid var(--border);
}

.support-contact h2 {
  margin-top: 0;
}

@media (max-width: 700px) {
  .support-grid {
    grid-template-columns: 1fr;
  }

  .legal-page {
    padding-top: 70px;
  }
}

/* MOBILE HOMEPAGE POLISH */

@media (max-width: 520px) {

  .hero {
    min-height: auto;
    padding: 58px 0 20px;
  }

  .hero-layout {
    gap: 20px;
  }

  .hero-copy-block {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 3.15rem;
    line-height: 0.94;
    letter-spacing: -0.055em;
  }

  .hero-copy {
    margin-top: 22px;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-actions {
    margin-top: 26px;
    gap: 10px;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .button {
  width: min(100%, 245px);
  min-height: 48px;
}

  .hero-tagline {
    margin-top: 18px;
  }

  .hero-phones {
    height: 390px;
    margin-top: 5px;
  }

  .hero-phone {
    height: 350px;
  }

  .hero-phone-main {
    transform: translateY(5px);
  }

  .hero-phone-left {
    transform:
      translateX(-82px)
      translateY(32px)
      rotate(-7deg)
      scale(0.86);
  }

  .hero-phone-right {
    transform:
      translateX(82px)
      translateY(32px)
      rotate(7deg)
      scale(0.86);
  }

}

/* HERO BUTTON POLISH */

.hero-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  padding: 0 24px;

  border-radius: 14px;

  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.hero-actions .button-primary {
  background: var(--purple);
  color: #ffffff;
  border: 1px solid var(--purple);

  box-shadow: 0 10px 30px rgba(217, 70, 239, 0.25);
}

.hero-actions .button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(217, 70, 239, 0.35);
}

.hero-actions .button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-actions .button-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(217, 70, 239, 0.45);
}

/* REAL IPHONE FIXES */

@media (max-width: 520px) {

  .hero-phones {
    position: relative;
    width: 100%;
    height: 430px;
    margin-top: 10px;
    overflow: hidden;
  }

  .hero-phone {
    position: absolute;
    width: auto;
    height: 360px;
    max-width: none;
    border-radius: 28px;
  }

  .hero-phone-main {
    z-index: 3;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
  }

  .hero-phone-left {
    z-index: 1;
    left: 50%;
    top: 35px;
    transform:
      translateX(-82%)
      rotate(-7deg)
      scale(0.88);
    opacity: 0.72;
  }

  .hero-phone-right {
    z-index: 2;
    left: 50%;
    top: 35px;
    transform:
      translateX(-18%)
      rotate(7deg)
      scale(0.88);
    opacity: 0.78;
  }

}