:root {
  --bg-dark: #0b1424;
  --bg-mid: #0f1f33;
  --card-bg: #121f33;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e6edf6;
  --muted: #a7b4c6;
  --green: #1dd19f;
  --green-soft: rgba(29, 209, 159, 0.15);
  --red: #ff5c5c;
  --grey: oklch(0.984 0.003 247.858);
  --paragraph: #121f33;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  background:
    radial-gradient(circle at top, #142a45, transparent 60%),
    linear-gradient(180deg, var(--bg-dark), var(--bg-mid));
  color: var(--text);
}

.atf-section {
  position: relative;
  min-height: 100vh;
  background-color: #0b1424;
  overflow: hidden;
}

/* background image layer */
.atf-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/sequirly-background.png");
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  /* ✅ image opacity */
  z-index: 0;
}

/* content layer */
.atf-section>* {
  position: relative;
  z-index: 1;
}

/* NAVBAR */

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  /* background: var(--green-soft); */
  display: grid;
  place-items: center;
  font-size: 18px;
}

.logo-text {
  font-weight: 700;
  font-size: 24px;
}

.logo-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--green);
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--green);
  color: var(--green);
}

/* HERO */

.hero {
  text-align: center;
  padding: 80px 20px 96px;
  max-width: 960px;
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 14px;
  margin-bottom: 32px;
}

.pill p {
  margin: 0;
}

h1 {
  font-size: 56px;
  line-height: 1.3;
  margin: 0 0 24px;
  font-weight: 800;
}

h2 {
  font-size: 36px;
  line-height: 1.5;
  font-weight: 800;
  color: var(--paragraph);
}

h1 span {
  color: var(--green);
}

.subtitle {
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.cta {
  display: inline-block;
  padding: 8px 16px;
  background: var(--green);
  /* color: #062018; */
  color: #fafafa;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

/* DEMO CARD */

.demo {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

.chat {
  width: 100%;
  max-width: 720px;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  text-align: left;
}

.chat-header {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.avatar {
  width: 36px;
  height: 36px;
  background: #2563eb;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}

.chat-input {
  flex: 1;
  background: #1b2a41;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--muted);
}

.chat-message {

  background: #143a3a;
  padding: 14px 16px;
  border-radius: 12px;
  margin: 16px 0;
  position: relative;
}

.alert-dot {
  position: absolute;
  right: -8px;
  top: -8px;
  background: var(--red);
  color: white;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.chat-warning {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 92, 92, 0.12);
  border: 1px solid rgba(255, 92, 92, 0.3);
  color: #ffb3b3;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
}

.problem {
  background-color: var(--grey);
  padding: 56px;
}

.problem {
  padding: 96px 24px;
  background: #f8fafc;
  text-align: center;
}

.problem h2 {
  font-size: 42px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 80px;
}

.problem-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

.problem-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.problem-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
}

/* Icon variants */
.problem-icon.danger {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.problem-icon.warn {
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
}

.problem-icon.lock {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
}

.problem-item p {
  font-size: 18px;
  line-height: 1.6;
  color: #475569;
  max-width: 300px;
}

.features {
  padding: 96px 24px;
  background: #ffffff;
  text-align: center;
}

.features h2 {
  font-size: 42px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 80px;
}

/* Grid */
.feature-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Card */
.feature-card {
  background: #f8fafc;
  border-radius: 24px;
  padding: 48px 32px;
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin: 0 auto 32px;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 18px;
  line-height: 1.6;
  color: #475569;
}

.how-it-works {
  padding: 120px 24px;
  background: linear-gradient(
    180deg,
    #0b1424 0%,
    #0f1f33 100%
  );
  text-align: center;
}

.how-it-works h2{
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 96px;
}

/* Grid */
.how-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}

/* Step */
.how-step {
  color: #e5edf7;
}

.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #4ade80;
  color: #062018;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 32px;
}

.how-step h3 {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.how-step p {
  font-size: 18px;
  line-height: 1.6;
  color: #b6c2d1;
  max-width: 340px;
  margin: 0 auto;
}

.cta-section {
  padding: 96px 24px;
  text-align: center;
  background: linear-gradient(
    180deg,
    #0b1424 0%,
    #0f1f33 100%
  );
}

.cta-section h2 {
  font-size: 44px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.cta-section p {
  font-size: 20px;
  line-height: 1.6;
  color: #b6c2d1;
  max-width: 720px;
  margin: 0 auto;
}

/* Optional button styling */
.cta-primary {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 36px;
  background: #4ade80;
  color: #062018;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

.trust {
  padding: 120px 24px;

  text-align: center;
}

.trust h2 {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 96px;
  line-height: 1.2;
}

/* Grid layout */
.trust-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 96px;
}

/* Individual item */
.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.18);
  color: #16a34a;
  display: grid;
  place-items: center;
  font-size: 30px;
  margin-bottom: 32px;
}

.trust-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.trust-card p {
  font-size: 18px;
  line-height: 1.6;
  color: #b6c2d1;
  max-width: 320px;
}

.site-footer {
  background: linear-gradient(
    180deg,
    #0b1424 0%,
    #0f1f33 100%
  );
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(74, 222, 128, 0.18);
  color: #4ade80;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.brand-tagline {
  font-size: 16px;
  color: #9aa7b8;
  margin: 0;
}

/* Links */
.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links a {
  color: #9aa7b8;
  text-decoration: none;
  font-size: 16px;
}

.footer-links a:hover {
  color: #ffffff;
}


/* Responsive */
@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .trust-section h2 {
    font-size: 32px;
    margin-bottom: 64px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .features h2 {
    font-size: 32px;
  }

    .how-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .how-it-works h2 {
    font-size: 32px;
    margin-bottom: 64px;
  }

    .problem-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .problem h2 {
    font-size: 32px;
  }

}


/* RESPONSIVE */

@media (max-width: 768px) {
  h1 {
    font-size: 38px;
  }

  .nav-links {
    display: none;
  }

  .cta-section {
    padding: 96px 20px;
  }

  .cta-section h2 {
    font-size: 32px;
  }

  .cta-section p {
    font-size: 18px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .footer-links {
    gap: 24px;
  }

}