/* =========================================================
   CampaignAI Website
   ========================================================= */

:root {
  --navy-950: #061225;
  --navy-900: #0a1b35;
  --navy-800: #10294d;
  --navy-700: #173b6c;

  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --cyan-400: #22d3ee;

  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;

  --green: #16a34a;

  --border: rgba(148, 163, 184, 0.22);

  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 35px 80px rgba(2, 12, 27, 0.22);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;

  --container: 1200px;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: var(--white);
  color: var(--slate-900);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

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

.section {
  padding: 110px 0;
}


/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(6, 18, 37, 0.94);
  backdrop-filter: blur(16px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.navbar {
  min-height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 32px;
}

.brand {
  display: flex;
  flex-direction: column;

  color: white;
  line-height: 1;
}

.brand-main {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-main span,
.footer-brand span {
  color: var(--blue-400);
}

.brand-tagline {
  margin-top: 8px;

  color: var(--slate-300);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;

  color: var(--slate-200);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a {
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

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

.nav-cta {
  padding: 12px 20px;

  background: linear-gradient(
    135deg,
    var(--blue-600),
    var(--blue-500)
  );

  border-radius: 10px;

  color: white !important;
}

.mobile-menu-button {
  display: none;

  background: transparent;
  color: white;

  font-size: 1.6rem;
  cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;

  padding: 115px 0 105px;

  color: white;

  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(37, 99, 235, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 15% 75%,
      rgba(34, 211, 238, 0.08),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #061225 0%,
      #0a1b35 50%,
      #0d274a 100%
    );
}

.hero::after {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );

  background-size: 60px 60px;

  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 90%
    );

  pointer-events: none;
}

.hero-glow {
  position: absolute;

  width: 450px;
  height: 450px;

  border-radius: 50%;
  filter: blur(100px);

  opacity: 0.13;
}

.hero-glow-one {
  top: -150px;
  right: -80px;

  background: var(--blue-400);
}

.hero-glow-two {
  bottom: -250px;
  left: -100px;

  background: var(--cyan-400);
}

.hero-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;

  gap: 85px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-block;

  margin-bottom: 18px;

  color: var(--blue-600);

  font-size: 0.75rem;
  font-weight: 800;

  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 8px 13px;

  color: #bfdbfe;

  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.2);

  border-radius: 100px;
}

.hero h1 {
  max-width: 760px;

  font-size: clamp(3rem, 5.4vw, 5.4rem);
  line-height: 0.99;

  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;

  margin-top: 10px;

  background: linear-gradient(
    90deg,
    #60a5fa,
    #22d3ee
  );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.hero-description {
  max-width: 690px;

  margin-top: 28px;

  color: #cbd5e1;

  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 36px;
}

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

  min-height: 50px;

  padding: 0 24px;

  border-radius: 11px;

  font-size: 0.9rem;
  font-weight: 700;

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

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;

  background: linear-gradient(
    135deg,
    var(--blue-600),
    var(--blue-500)
  );

  box-shadow:
    0 15px 35px rgba(37, 99, 235, 0.28);
}

.button-secondary {
  color: white;

  border: 1px solid rgba(255, 255, 255, 0.16);

  background: rgba(255, 255, 255, 0.05);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 24px;

  margin-top: 52px;
  padding-top: 28px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust div {
  display: flex;
  flex-direction: column;
}

.hero-trust strong {
  font-size: 0.9rem;
}

.hero-trust span {
  margin-top: 4px;

  color: var(--slate-300);
  font-size: 0.72rem;
}


/* =========================================================
   HERO DEMO
   ========================================================= */

.hero-demo-card {
  position: relative;

  border: 1px solid rgba(255, 255, 255, 0.14);

  border-radius: 24px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.11),
      rgba(255, 255, 255, 0.04)
    );

  backdrop-filter: blur(20px);

  box-shadow: var(--shadow-lg);

  overflow: hidden;
}

.demo-card-header {
  display: flex;
  align-items: center;

  gap: 12px;

  padding: 20px 22px;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.1);
}

.demo-avatar,
.phone-avatar {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  flex: 0 0 auto;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      var(--blue-500),
      var(--cyan-400)
    );

  color: white;

  font-size: 0.78rem;
  font-weight: 800;
}

.demo-card-header div:nth-child(2) {
  display: flex;
  flex-direction: column;

  min-width: 0;
}

.demo-card-header strong {
  font-size: 0.86rem;
}

.demo-card-header span:not(.online-indicator) {
  color: var(--slate-300);
  font-size: 0.7rem;
}

.online-indicator {
  margin-left: auto;

  color: #86efac;

  font-size: 0.68rem;
}

.chat-window {
  min-height: 420px;

  display: flex;
  flex-direction: column;

  gap: 18px;

  padding: 26px 22px;

  background:
    linear-gradient(
      rgba(4, 15, 31, 0.65),
      rgba(8, 27, 52, 0.65)
    );
}

.chat-message {
  max-width: 88%;

  padding: 14px 16px;

  border-radius: 16px;

  font-size: 0.84rem;
  line-height: 1.6;
}

.citizen-message {
  align-self: flex-end;

  background: #1d4ed8;
  color: white;

  border-bottom-right-radius: 4px;
}

.ai-message {
  align-self: flex-start;

  background: rgba(255, 255, 255, 0.1);

  border:
    1px solid rgba(255, 255, 255, 0.09);

  color: #e2e8f0;

  border-bottom-left-radius: 4px;
}

.message-label {
  display: block;

  margin-bottom: 7px;

  color: #7dd3fc;

  font-size: 0.67rem;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.source-chip {
  width: fit-content;

  margin-top: 12px;
  padding: 6px 9px;

  border-radius: 7px;

  background: rgba(34, 211, 238, 0.09);

  color: #a5f3fc;

  font-size: 0.66rem;
}

.typing-indicator {
  width: fit-content;

  display: flex;
  gap: 5px;

  padding: 12px 15px;

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.08);
}

.typing-indicator span {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--slate-300);

  animation: typing 1.2s infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

.demo-disclaimer {
  padding: 12px 20px;

  color: #94a3b8;

  background: rgba(2, 12, 27, 0.85);

  font-size: 0.65rem;
  text-align: center;
}


/* =========================================================
   COMMON SECTION HEADINGS
   ========================================================= */

.section-heading {
  max-width: 760px;

  margin-bottom: 58px;
}

.section-heading.centered {
  margin-inline: auto;

  text-align: center;
}

.section-heading h2,
.experience-copy h2,
.security-section h2 {
  font-size: clamp(2.2rem, 4vw, 3.65rem);

  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading h2 span,
.experience-copy h2 span,
.security-section h2 span {
  color: var(--blue-600);
}

.section-heading p,
.experience-copy > p,
.security-intro {
  margin-top: 20px;

  color: var(--slate-600);

  font-size: 1rem;
  line-height: 1.8;
}


/* =========================================================
   PROBLEM
   ========================================================= */

.problem-section {
  background: var(--slate-50);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 24px;
}

.problem-card {
  padding: 32px;

  border: 1px solid var(--slate-200);

  border-radius: var(--radius-md);

  background: white;

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

.problem-card:hover {
  transform: translateY(-6px);

  border-color: #bfdbfe;

  box-shadow: var(--shadow-md);
}

.card-number {
  margin-bottom: 28px;

  color: var(--blue-500);

  font-size: 0.75rem;
  font-weight: 800;
}

.problem-card h3 {
  margin-bottom: 12px;

  font-size: 1.12rem;
}

.problem-card p {
  color: var(--slate-600);

  font-size: 0.9rem;
}


/* =========================================================
   WORKFLOW
   ========================================================= */

.workflow-section {
  background: white;
}

.workflow {
  display: grid;
  grid-template-columns:
    1fr auto
    1fr auto
    1fr auto
    1fr auto
    1fr;

  gap: 13px;

  align-items: center;
}

.workflow-step {
  position: relative;

  min-height: 260px;

  padding: 26px 22px;

  border: 1px solid var(--slate-200);

  border-radius: var(--radius-md);

  background: var(--slate-50);
}

.workflow-number {
  position: absolute;

  top: 18px;
  right: 18px;

  color: var(--slate-300);

  font-size: 0.75rem;
  font-weight: 800;
}

.workflow-icon {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  margin-bottom: 28px;

  border-radius: 12px;

  background: #dbeafe;

  color: var(--blue-600);

  font-size: 1.25rem;
}

.workflow-step h3 {
  margin-bottom: 10px;

  font-size: 1.02rem;
}

.workflow-step p {
  color: var(--slate-600);

  font-size: 0.8rem;
  line-height: 1.7;
}

.workflow-arrow {
  color: var(--blue-400);

  font-size: 1.4rem;
}


/* =========================================================
   ARCHITECTURE
   ========================================================= */

.architecture-section {
  color: white;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(37, 99, 235, 0.15),
      transparent 35%
    ),
    var(--navy-950);
}

.architecture-heading h2 {
  color: white;
}

.architecture-heading p {
  color: var(--slate-300);
}

.architecture-layout {
  display: grid;
  grid-template-columns: 1fr 330px;

  gap: 30px;

  align-items: stretch;
}

.architecture-flow {
  display: grid;

  grid-template-columns:
    1fr auto
    1fr auto
    1fr auto
    1fr auto
    1fr auto
    1fr;

  align-items: center;

  gap: 9px;

  padding: 30px;

  border:
    1px solid rgba(255, 255, 255, 0.1);

  border-radius: var(--radius-md);

  background: rgba(255, 255, 255, 0.035);
}

.architecture-node {
  min-width: 0;
  min-height: 145px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 7px;

  padding: 15px 10px;

  cursor: pointer;

  border:
    1px solid rgba(255, 255, 255, 0.11);

  border-radius: 15px;

  background: rgba(255, 255, 255, 0.045);

  color: white;

  text-align: center;

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

.architecture-node:hover,
.architecture-node.active {
  transform: translateY(-3px);

  border-color: var(--blue-400);

  background:
    rgba(37, 99, 235, 0.18);
}

.node-icon {
  margin-bottom: 5px;

  font-size: 1.55rem;
}

.architecture-node strong {
  font-size: 0.75rem;
}

.architecture-node small {
  color: var(--slate-300);

  font-size: 0.6rem;
  line-height: 1.35;
}

.architecture-connector {
  color: var(--blue-400);

  font-size: 1.1rem;
}

.architecture-detail {
  display: flex;
  flex-direction: column;

  padding: 30px;

  border: 1px solid rgba(96, 165, 250, 0.25);

  border-radius: var(--radius-md);

  background:
    linear-gradient(
      145deg,
      rgba(37, 99, 235, 0.16),
      rgba(255, 255, 255, 0.04)
    );
}

.detail-label {
  margin-bottom: 30px;

  color: #7dd3fc;

  font-size: 0.68rem;
  font-weight: 800;

  letter-spacing: 0.12em;
}

.architecture-detail h3 {
  margin-bottom: 12px;

  font-size: 1.7rem;
}

.architecture-detail p {
  color: var(--slate-300);

  font-size: 0.86rem;
  line-height: 1.75;
}

.detail-data {
  margin-top: auto;
  padding-top: 28px;

  border-top:
    1px solid rgba(255, 255, 255, 0.1);

  display: flex;
  flex-direction: column;

  gap: 4px;
}

.detail-data span {
  color: var(--slate-400, #94a3b8);

  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-data strong {
  color: #bfdbfe;

  font-size: 0.78rem;
}

.architecture-note {
  margin-top: 22px;
  padding: 17px 20px;

  border-left: 3px solid var(--blue-500);

  background: rgba(255, 255, 255, 0.04);

  color: var(--slate-300);

  font-size: 0.78rem;
}

.architecture-note strong {
  color: white;
}


/* =========================================================
   EXPERIENCE / PHONE
   ========================================================= */

.experience-section {
  background: var(--slate-50);
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 440px;

  gap: 100px;
  align-items: center;
}

.experience-copy h2 {
  max-width: 680px;
}

.demo-question-list {
  display: flex;
  flex-direction: column;

  gap: 10px;

  margin-top: 32px;
}

.demo-question {
  width: 100%;

  padding: 17px 19px;

  cursor: pointer;

  border: 1px solid var(--slate-200);

  border-radius: 12px;

  background: white;

  color: var(--slate-700);

  text-align: left;

  font-size: 0.86rem;
  font-weight: 600;

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

.demo-question:hover,
.demo-question.active {
  transform: translateX(4px);

  border-color: #93c5fd;

  background: #eff6ff;

  color: #1d4ed8;
}

.fictional-notice {
  margin-top: 20px;

  color: var(--slate-500);

  font-size: 0.72rem;
}

.phone-shell {
  width: 100%;
  max-width: 410px;

  justify-self: center;

  padding: 10px;

  border: 8px solid #101827;

  border-radius: 35px;

  background: white;

  box-shadow: var(--shadow-lg);
}

.phone-header {
  display: flex;
  align-items: center;

  gap: 12px;

  padding: 16px 14px;

  border-radius: 20px 20px 0 0;

  background: #075e54;

  color: white;
}

.phone-header div:last-child {
  display: flex;
  flex-direction: column;
}

.phone-header strong {
  font-size: 0.85rem;
}

.phone-header span {
  opacity: 0.8;

  font-size: 0.65rem;
}

.phone-chat {
  min-height: 470px;

  display: flex;
  flex-direction: column;

  gap: 14px;

  padding: 24px 15px;

  background:
    linear-gradient(
      rgba(239, 234, 226, 0.95),
      rgba(239, 234, 226, 0.95)
    );
}

.phone-message {
  max-width: 86%;

  padding: 11px 13px;

  border-radius: 10px;

  box-shadow:
    0 2px 5px rgba(15, 23, 42, 0.08);

  font-size: 0.77rem;
  line-height: 1.6;
}

.phone-message.incoming {
  align-self: flex-start;

  background: white;

  border-top-left-radius: 3px;
}

.phone-message.outgoing {
  align-self: flex-end;

  background: #d9fdd3;

  border-top-right-radius: 3px;
}

.phone-source {
  margin-top: 11px;
  padding-top: 8px;

  border-top: 1px solid #e2e8f0;

  color: var(--slate-500);

  font-size: 0.63rem;
}


/* =========================================================
   MANAGEMENT
   ========================================================= */

.management-section {
  background: white;
}

.management-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 22px;
}

.feature-card {
  min-height: 285px;

  padding: 30px 26px;

  border: 1px solid var(--slate-200);

  border-radius: var(--radius-md);

  background: white;

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

.feature-card:hover {
  transform: translateY(-5px);

  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  margin-bottom: 30px;

  border-radius: 13px;

  background: #eff6ff;

  color: var(--blue-600);

  font-size: 1.3rem;
  font-weight: 800;
}

.feature-card h3 {
  margin-bottom: 12px;

  font-size: 1rem;
}

.feature-card p {
  color: var(--slate-600);

  font-size: 0.83rem;
  line-height: 1.75;
}


/* =========================================================
   SECURITY
   ========================================================= */

.security-section {
  background: var(--slate-50);
}

.security-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;

  gap: 90px;
}

.security-list {
  display: flex;
  flex-direction: column;

  gap: 2px;
}

.security-item {
  display: grid;
  grid-template-columns: 48px 1fr;

  gap: 20px;

  padding: 25px 0;

  border-bottom: 1px solid var(--slate-200);
}

.security-item > span {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 10px;

  background: #dbeafe;

  color: var(--blue-600);

  font-size: 0.72rem;
  font-weight: 800;
}

.security-item h3 {
  margin-bottom: 6px;

  font-size: 0.95rem;
}

.security-item p {
  color: var(--slate-600);

  font-size: 0.8rem;
}


/* =========================================================
   TECHNOLOGY
   ========================================================= */

.technology-section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.technology-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);

  border: 1px solid var(--slate-200);

  border-radius: var(--radius-md);

  overflow: hidden;
}

.technology-item {
  min-height: 140px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 25px;

  border-right: 1px solid var(--slate-200);

  background: white;
}

.technology-item:last-child {
  border-right: 0;
}

.technology-item strong {
  margin-bottom: 5px;

  font-size: 0.95rem;
}

.technology-item span {
  color: var(--slate-500);

  font-size: 0.7rem;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
  padding: 90px 0;

  color: white;

  background:
    radial-gradient(
      circle at 80% 50%,
      rgba(96, 165, 250, 0.2),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #0a1b35,
      #123d70
    );
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr auto;

  gap: 60px;

  align-items: center;
}

.section-kicker.light {
  color: #93c5fd;
}

.cta-container h2 {
  max-width: 650px;

  font-size: clamp(2.2rem, 4vw, 3.7rem);

  line-height: 1.05;
  letter-spacing: -0.045em;
}

.cta-container p {
  max-width: 650px;

  margin-top: 18px;

  color: var(--slate-300);
}

.cta-actions {
  display: flex;
  flex-direction: column;

  gap: 12px;

  min-width: 190px;
}

.button-white {
  background: white;

  color: var(--navy-900);
}

.button-outline-white {
  border: 1px solid rgba(255, 255, 255, 0.3);

  color: white;

  background: transparent;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  padding: 45px 0;

  background: #040d1c;

  color: var(--slate-300);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.footer-brand {
  color: white;

  font-size: 1.3rem;
  font-weight: 800;
}

.footer-content p {
  margin-top: 7px;

  font-size: 0.72rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;

  gap: 5px;

  text-align: right;

  font-size: 0.68rem;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--cyan-400);
  outline-offset: 4px;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1050px) {

  .hero-grid {
    grid-template-columns: 1fr 0.9fr;

    gap: 45px;
  }

  .workflow {
    grid-template-columns: repeat(5, 1fr);

    align-items: stretch;
  }

  .workflow-arrow {
    display: none;
  }

  .workflow-step {
    min-height: 280px;
  }

  .architecture-layout {
    grid-template-columns: 1fr;
  }

  .architecture-flow {
    overflow-x: auto;
  }

  .architecture-detail {
    min-height: 260px;
  }

  .experience-grid {
    gap: 60px;
  }

  .management-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .technology-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .technology-item {
    border-bottom: 1px solid var(--slate-200);
  }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 780px) {

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

  .section {
    padding: 80px 0;
  }

  .navbar {
    min-height: 72px;
  }

  .mobile-menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;

    top: 72px;
    left: 15px;
    right: 15px;

    display: none;
    flex-direction: column;
    align-items: stretch;

    gap: 4px;

    padding: 14px;

    border:
      1px solid rgba(255, 255, 255, 0.1);

    border-radius: 14px;

    background: #07172c;

    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero {
    padding: 85px 0 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.3rem);
  }

  .hero-trust {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .hero-demo-card {
    max-width: 520px;

    margin-inline: auto;
  }

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

  .workflow {
    grid-template-columns: 1fr;

    gap: 14px;
  }

  .workflow-step {
    min-height: auto;
  }

  .architecture-flow {
    display: flex;

    flex-direction: column;

    overflow: visible;
  }

  .architecture-node {
    width: 100%;
    min-height: 115px;
  }

  .architecture-connector {
    transform: rotate(90deg);
  }

  .experience-grid {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .phone-shell {
    max-width: 380px;
  }

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

  .security-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .technology-row {
    grid-template-columns: 1fr;
  }

  .technology-item {
    border-right: 0;
  }

  .cta-container {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-content {
    flex-direction: column;

    align-items: flex-start;
  }

  .footer-meta {
    text-align: left;
  }

}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 430px) {

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

  .button {
    width: 100%;
  }

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

  .section-heading h2,
  .experience-copy h2,
  .security-section h2 {
    font-size: 2.2rem;
  }

  .chat-window {
    min-height: 390px;
  }

}
/* =========================================================
   CAMPAIGNAI CRYSTAL GREEN THEME
   Nigerian-inspired visual identity
   ========================================================= */

:root {
  --ca-green-950: #022c22;
  --ca-green-900: #064e3b;
  --ca-green-800: #065f46;
  --ca-green-700: #047857;
  --ca-green-600: #059669;
  --ca-green-500: #10b981;
  --ca-green-400: #34d399;
  --ca-green-300: #6ee7b7;
  --ca-green-200: #a7f3d0;
  --ca-green-100: #d1fae5;
  --ca-green-50: #ecfdf5;

  --ca-glass:
    rgba(255, 255, 255, 0.68);

  --ca-glass-border:
    rgba(16, 185, 129, 0.18);

  --ca-shadow:
    0 24px 70px rgba(6, 78, 59, 0.12);
}


/* ---------------------------------------------------------
   Navigation
--------------------------------------------------------- */

.site-header {
  background: rgba(255, 255, 255, 0.86);

  border-bottom:
    1px solid rgba(5, 150, 105, 0.12);

  backdrop-filter: blur(22px);
}

.brand {
  color: #071a14;
}

.brand-main {
  color: #071a14;
}

.brand-main span,
.footer-brand span {
  color: var(--ca-green-600);
}

.brand-tagline {
  color: #527065;
}

.nav-links {
  color: #183b30;
}

.nav-links a:hover {
  color: var(--ca-green-600);
}

.nav-cta {
  color: white !important;

  background:
    linear-gradient(
      135deg,
      var(--ca-green-700),
      var(--ca-green-500)
    );

  box-shadow:
    0 10px 28px rgba(5, 150, 105, 0.22);
}


/* ---------------------------------------------------------
   Hero
--------------------------------------------------------- */

.hero {
  color: #071a14;

  background:
    radial-gradient(
      circle at 72% 18%,
      rgba(16, 185, 129, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 15% 68%,
      rgba(52, 211, 153, 0.13),
      transparent 27%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f5fffa 40%,
      #e9fbf2 72%,
      #dff7ea 100%
    );
}

.hero::after {
  background-image:
    linear-gradient(
      rgba(5, 150, 105, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(5, 150, 105, 0.035) 1px,
      transparent 1px
    );

  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 94%
    );
}

.hero-glow-one {
  background: var(--ca-green-400);
}

.hero-glow-two {
  background: var(--ca-green-300);
}

.eyebrow {
  color: var(--ca-green-800);

  background:
    rgba(16, 185, 129, 0.09);

  border:
    1px solid rgba(5, 150, 105, 0.17);
}

.hero h1 {
  color: #071a14;
}

.hero h1 span {
  background:
    linear-gradient(
      90deg,
      var(--ca-green-700),
      var(--ca-green-500),
      #22c55e
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.hero-description {
  color: #38594e;
}

.button-primary {
  color: white;

  background:
    linear-gradient(
      135deg,
      var(--ca-green-700),
      var(--ca-green-500)
    );

  box-shadow:
    0 16px 36px rgba(5, 150, 105, 0.23);
}

.button-secondary {
  color: var(--ca-green-800);

  border:
    1px solid rgba(5, 150, 105, 0.25);

  background:
    rgba(255, 255, 255, 0.62);

  backdrop-filter: blur(14px);
}

.hero-trust {
  border-top:
    1px solid rgba(5, 150, 105, 0.15);
}

.hero-trust strong {
  color: #092b21;
}

.hero-trust span {
  color: #587368;
}


/* ---------------------------------------------------------
   Hero conversation — glass crystal
--------------------------------------------------------- */

.hero-demo-card {
  border:
    1px solid rgba(5, 150, 105, 0.2);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.86),
      rgba(236, 253, 245, 0.65)
    );

  backdrop-filter: blur(24px);

  box-shadow:
    0 35px 90px rgba(6, 78, 59, 0.17);
}

.demo-card-header {
  border-bottom:
    1px solid rgba(5, 150, 105, 0.13);

  background:
    rgba(255, 255, 255, 0.48);
}

.demo-avatar,
.phone-avatar {
  background:
    linear-gradient(
      135deg,
      var(--ca-green-700),
      var(--ca-green-400)
    );

  box-shadow:
    0 8px 20px rgba(5, 150, 105, 0.22);
}

.demo-card-header strong {
  color: #092b21;
}

.demo-card-header span:not(.online-indicator) {
  color: #607a70;
}

.online-indicator {
  color: var(--ca-green-600);
}

.chat-window {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(52, 211, 153, 0.12),
      transparent 35%
    ),
    rgba(248, 255, 251, 0.72);
}

.citizen-message {
  background:
    linear-gradient(
      135deg,
      var(--ca-green-600),
      var(--ca-green-500)
    );

  box-shadow:
    0 8px 20px rgba(5, 150, 105, 0.17);
}

.ai-message {
  color: #173f32;

  border:
    1px solid rgba(5, 150, 105, 0.13);

  background:
    rgba(255, 255, 255, 0.82);

  box-shadow:
    0 8px 25px rgba(6, 78, 59, 0.07);
}

.message-label {
  color: var(--ca-green-700);
}

.source-chip {
  color: var(--ca-green-800);

  background:
    var(--ca-green-100);
}

.typing-indicator {
  border:
    1px solid rgba(5, 150, 105, 0.12);

  background: white;
}

.typing-indicator span {
  background: var(--ca-green-500);
}

.demo-disclaimer {
  color: #648076;

  background:
    rgba(236, 253, 245, 0.78);

  border-top:
    1px solid rgba(5, 150, 105, 0.1);
}


/* ---------------------------------------------------------
   Global accents
--------------------------------------------------------- */

.section-kicker {
  color: var(--ca-green-600);
}

.section-heading h2 span,
.experience-copy h2 span,
.security-section h2 span {
  color: var(--ca-green-600);
}


/* ---------------------------------------------------------
   Communication gap
--------------------------------------------------------- */

.problem-section {
  background:
    linear-gradient(
      180deg,
      #f7fffb,
      #ffffff
    );
}

.problem-card {
  border:
    1px solid rgba(5, 150, 105, 0.13);

  background:
    rgba(255, 255, 255, 0.82);

  backdrop-filter: blur(16px);
}

.problem-card:hover {
  border-color:
    rgba(5, 150, 105, 0.35);

  box-shadow: var(--ca-shadow);
}

.card-number {
  color: var(--ca-green-600);
}


/* ---------------------------------------------------------
   Workflow
--------------------------------------------------------- */

.workflow-step {
  border:
    1px solid rgba(5, 150, 105, 0.13);

  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f3fff9
    );
}

.workflow-icon {
  color: var(--ca-green-700);

  background: var(--ca-green-100);
}

.workflow-arrow {
  color: var(--ca-green-500);
}


/* ---------------------------------------------------------
   Architecture — dark emerald crystal
--------------------------------------------------------- */

.architecture-section {
  color: white;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(52, 211, 153, 0.17),
      transparent 36%
    ),
    linear-gradient(
      135deg,
      #022c22,
      #043d30 52%,
      #064e3b
    );
}

.architecture-heading p {
  color: #b9d9cd;
}

.architecture-flow {
  border:
    1px solid rgba(167, 243, 208, 0.14);

  background:
    rgba(255, 255, 255, 0.035);

  backdrop-filter: blur(16px);
}

.architecture-node {
  border:
    1px solid rgba(167, 243, 208, 0.13);

  background:
    rgba(255, 255, 255, 0.045);
}

.architecture-node:hover,
.architecture-node.active {
  border-color: var(--ca-green-300);

  background:
    rgba(16, 185, 129, 0.16);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.12);
}

.architecture-node small {
  color: #b9d9cd;
}

.architecture-connector {
  color: var(--ca-green-300);
}

.architecture-detail {
  border:
    1px solid rgba(110, 231, 183, 0.25);

  background:
    linear-gradient(
      145deg,
      rgba(16, 185, 129, 0.15),
      rgba(255, 255, 255, 0.045)
    );

  backdrop-filter: blur(20px);
}

.detail-label {
  color: var(--ca-green-300);
}

.architecture-detail p {
  color: #c9e3d9;
}

.detail-data strong {
  color: var(--ca-green-200);
}

.architecture-note {
  border-left-color: var(--ca-green-400);

  color: #c9e3d9;
}


/* ---------------------------------------------------------
   Interactive experience
--------------------------------------------------------- */

.experience-section {
  background:
    linear-gradient(
      180deg,
      #f5fff9,
      #ffffff
    );
}

.demo-question {
  border:
    1px solid rgba(5, 150, 105, 0.14);
}

.demo-question:hover,
.demo-question.active {
  border-color:
    rgba(5, 150, 105, 0.38);

  background: var(--ca-green-50);

  color: var(--ca-green-800);
}

.phone-shell {
  border-color: #073d30;

  box-shadow:
    0 35px 80px rgba(6, 78, 59, 0.2);
}

.phone-header {
  background:
    linear-gradient(
      135deg,
      #075e54,
      var(--ca-green-700)
    );
}


/* ---------------------------------------------------------
   Management cards
--------------------------------------------------------- */

.feature-card {
  border:
    1px solid rgba(5, 150, 105, 0.13);
}

.feature-card:hover {
  box-shadow: var(--ca-shadow);
}

.feature-icon {
  color: var(--ca-green-700);

  background: var(--ca-green-100);
}


/* ---------------------------------------------------------
   Security
--------------------------------------------------------- */

.security-section {
  background:
    linear-gradient(
      145deg,
      #f7fffb,
      #edfdf5
    );
}

.security-item > span {
  color: var(--ca-green-700);

  background: var(--ca-green-100);
}


/* ---------------------------------------------------------
   Technology
--------------------------------------------------------- */

.technology-row {
  border-color:
    rgba(5, 150, 105, 0.14);

  box-shadow:
    0 20px 50px rgba(6, 78, 59, 0.07);
}

.technology-item {
  border-color:
    rgba(5, 150, 105, 0.12);

  background:
    linear-gradient(
      145deg,
      white,
      #f7fffb
    );
}


/* ---------------------------------------------------------
   CTA
--------------------------------------------------------- */

.cta-section {
  background:
    radial-gradient(
      circle at 80% 40%,
      rgba(110, 231, 183, 0.18),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #022c22,
      #065f46
    );
}

.section-kicker.light {
  color: var(--ca-green-300);
}


/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */

.footer {
  background: #011c16;
}


/* ---------------------------------------------------------
   Focus
--------------------------------------------------------- */

button:focus-visible,
a:focus-visible {
  outline-color: var(--ca-green-400);
}


/* ---------------------------------------------------------
   Mobile navigation
--------------------------------------------------------- */

@media (max-width: 780px) {

  .mobile-menu-button {
    color: var(--ca-green-900);
  }

  .nav-links {
    border:
      1px solid rgba(5, 150, 105, 0.15);

    background:
      rgba(250, 255, 252, 0.97);

    color: #173f32;
  }

}
/* =========================================================
   CAMPAIGNAI INTERACTIVE EXPERIENCE
   ========================================================= */


/* ---------------------------------------------------------
   Question buttons
--------------------------------------------------------- */

.demo-question {
  position: relative;

  min-height: 76px;

  padding:
    18px
    58px
    18px
    24px;

  overflow: hidden;
}

.demo-question::after {
  content: "›";

  position: absolute;

  top: 50%;
  right: 24px;

  transform:
    translateY(-50%);

  color: var(--ca-green-700);

  font-size: 1.8rem;
  font-weight: 400;

  transition:
    transform 0.25s ease;
}

.demo-question:hover::after {
  transform:
    translate(5px, -50%);
}

.demo-question.active {
  border-color:
    rgba(5, 150, 105, 0.45);

  background:
    linear-gradient(
      90deg,
      rgba(236, 253, 245, 0.95),
      rgba(209, 250, 229, 0.55)
    );

  box-shadow:
    0 10px 30px rgba(5, 150, 105, 0.08);
}


/* ---------------------------------------------------------
   Phone conversation animation
--------------------------------------------------------- */

.phone-chat {
  overflow-y: auto;
  scroll-behavior: smooth;
}

.phone-message {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.message-hidden {
  opacity: 0;

  transform:
    translateY(12px)
    scale(0.98);

  pointer-events: none;
}

.message-visible {
  opacity: 1;

  transform:
    translateY(0)
    scale(1);

  animation:
    phoneMessageAppear
    0.35s ease forwards;
}

@keyframes phoneMessageAppear {

  from {
    opacity: 0;

    transform:
      translateY(12px)
      scale(0.98);
  }

  to {
    opacity: 1;

    transform:
      translateY(0)
      scale(1);
  }

}


/* ---------------------------------------------------------
   CampaignAI typing animation
--------------------------------------------------------- */

.phone-typing {
  width: 68px;

  display: flex;
  align-items: center;

  gap: 5px;

  padding:
    15px
    17px;
}

.phone-typing span {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background:
    var(--ca-green-500);

  animation:
    phoneTypingDot
    1.15s infinite ease-in-out;
}

.phone-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.phone-typing span:nth-child(3) {
  animation-delay: 0.30s;
}

@keyframes phoneTypingDot {

  0%,
  60%,
  100% {
    opacity: 0.3;

    transform:
      translateY(0);
  }

  30% {
    opacity: 1;

    transform:
      translateY(-5px);
  }

}


/* ---------------------------------------------------------
   Source indicator
--------------------------------------------------------- */

.phone-source {
  display: flex;
  align-items: center;

  gap: 7px;
}

.source-icon {
  color:
    var(--ca-green-600);

  font-weight: 800;
}


/* ---------------------------------------------------------
   Give phone a slightly more realistic feel
--------------------------------------------------------- */

.phone-shell {
  position: relative;

  overflow: hidden;

  background:
    #073d30;
}

.phone-shell::before {
  content: "";

  position: absolute;

  z-index: 10;

  top: 8px;
  left: 50%;

  width: 76px;
  height: 6px;

  transform:
    translateX(-50%);

  border-radius: 20px;

  background:
    rgba(1, 28, 22, 0.75);
}


/* ---------------------------------------------------------
   Architecture interaction polish
--------------------------------------------------------- */

.architecture-node.active {
  box-shadow:
    0 0 0 1px rgba(110, 231, 183, 0.16),
    0 15px 35px rgba(0, 0, 0, 0.13);
}

.architecture-detail {
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
/* =========================================================
   OWNERSHIP
   ========================================================= */

.ownership-line {
  margin-top: 4px;
  color: #9fbeb2;
}

.ownership-line strong {
  color: #d1fae5;
  font-weight: 700;
}
/* =========================================================
   MULTILINGUAL EXPERIENCE DEMO
   ========================================================= */


/* ---------------------------------------------------------
   Language selector
--------------------------------------------------------- */

.language-selector {
  margin-top: 30px;
  margin-bottom: 24px;

  padding: 18px 20px;

  border:
    1px solid rgba(5, 150, 105, 0.14);

  border-radius: 16px;

  background:
    rgba(255, 255, 255, 0.76);

  box-shadow:
    0 12px 35px rgba(6, 78, 59, 0.045);
}


.language-label {
  display: block;

  margin-bottom: 12px;

  color: #527065;

  font-size: 0.68rem;
  font-weight: 800;

  letter-spacing: 0.11em;

  text-transform: uppercase;
}


.language-options {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;
}


.language-button {
  position: relative;

  min-height: 39px;

  padding: 8px 16px;

  cursor: pointer;

  border:
    1px solid rgba(5, 150, 105, 0.18);

  border-radius: 999px;

  background: white;

  color: #315b4c;

  font-size: 0.78rem;
  font-weight: 700;

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


.language-button:hover {
  transform: translateY(-2px);

  border-color:
    rgba(5, 150, 105, 0.42);

  color:
    #047857;

  box-shadow:
    0 6px 16px rgba(5, 150, 105, 0.08);
}


.language-button.active {
  border-color:
    #059669;

  background:
    linear-gradient(
      135deg,
      #047857,
      #10b981
    );

  color: white;

  box-shadow:
    0 8px 20px rgba(5, 150, 105, 0.20);
}


.language-button:focus-visible {
  outline:
    3px solid rgba(16, 185, 129, 0.25);

  outline-offset: 3px;
}


/* ---------------------------------------------------------
   Question button layout
--------------------------------------------------------- */

.demo-question {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}


.demo-question-text {
  display: block;

  flex: 1;
}


.demo-question-arrow {
  flex: 0 0 auto;

  color: #059669;

  font-size: 1.45rem;
  font-weight: 500;

  line-height: 1;

  transition:
    transform 0.2s ease;
}


.demo-question:hover
.demo-question-arrow {
  transform:
    translateX(3px);
}


.demo-question.active
.demo-question-arrow {
  transform:
    translateX(3px);
}


/* ---------------------------------------------------------
   Language-change greeting animation
--------------------------------------------------------- */

.greeting-flash {
  animation:
    greetingLanguageChange
    0.38s ease;
}


@keyframes greetingLanguageChange {

  0% {
    opacity: 0.35;

    transform:
      translateY(5px);
  }

  100% {
    opacity: 1;

    transform:
      translateY(0);
  }

}


/* ---------------------------------------------------------
   Better transition between multilingual conversations
--------------------------------------------------------- */

#demoUserQuestion,
#demoAIAnswer,
#demoGreeting {
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}


/* ---------------------------------------------------------
   Fictional demo notice
--------------------------------------------------------- */

.fictional-notice {
  line-height: 1.65;
}


/* ---------------------------------------------------------
   Responsive multilingual selector
--------------------------------------------------------- */

@media (max-width: 700px) {

  .language-selector {
    padding: 16px;
  }


  .language-options {
    display: grid;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .language-button {
    width: 100%;

    padding-inline: 10px;

    text-align: center;
  }

}


@media (max-width: 420px) {

  .language-options {
    grid-template-columns: 1fr;
  }

}
/* Remove legacy auto-generated question arrow */
.demo-question::after {
  content: none !important;
  display: none !important;
}