/* ======================
   RESET
====================== */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body{
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(17,119,255,.18), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(233,254,255,.9), transparent 55%),
    #ffffff;

  color: #0f172a; /* dark text */
  line-height: 1.6;
}



/* avoid default purple links */
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: none; }

:root{
  --accent: #1177FF;
  --accent2: #6FA9FF;
  --accent-soft: #E9FEFF;

  --text-muted: #64748b;

  --card: #ffffff;
  --stroke: rgba(17,119,255,.12);
  --stroke2: rgba(17,119,255,.20);

  --shadow: 0 20px 40px rgba(17,119,255,.12);
  --radius: 22px;
}



/* ======================
   LAYOUT
====================== */
.page-wrap{ min-height: 100%; display: flex; flex-direction: column; }
main{ flex: 1; }

.container{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.section{
  padding: 4rem 0;
}

.section-header{
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2{
  font-size: 2.1rem;
  line-height: 1.15;
}

.section-header p{
  margin-top: .7rem;
  color: var(--text-muted);
}

/* ======================
   HEADER
====================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke);
}


.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
}

.nav{
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav a{
  color: #0f172a;
}
.nav a:hover{
  color: var(--accent);
}


.nav-cta{ display: flex; gap: .6rem; align-items: center; }

/* ======================
   BUTTONS
====================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: 999px;
  padding: .78rem 1.35rem;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  user-select: none;
  white-space: nowrap;
}

.btn:hover{ transform: translateY(-1px); }

.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(17,119,255,.35);
}


.btn-secondary{
  background: rgba(255,255,255,.06);
  border: 1px solid var(--stroke);
  color: #fff;
}



.btn-lg{ padding: .95rem 1.5rem; font-size: .98rem; }
.btn-full{ width: 100%; }

/* ======================
   BADGE + CHIPS
====================== */

.demo-badge,
.badge{
  background: rgba(233,254,255,.9);
  border: 1px solid rgba(17,119,255,.25);
  color: #0f172a;
}

.badge-dot{
  background: #1177FF;
  box-shadow: 0 0 0 4px rgba(17,119,255,.15);
}

.trust-chip{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.86);
  font-size: .82rem;
}

.chip-row{
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}

/* ======================
   CARD
====================== */
.demo-card,
.card{
  background: #ffffff;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}


/* ======================
   FORMS (global styles)
====================== */
.form-label{
  font-size: .85rem;
  color: rgba(255,255,255,.86);
  margin-bottom: .35rem;
  display: inline-block;
}

.form-input{
  background: #ffffff;
  border: 1px solid var(--stroke);
  color: #0f172a;
  border-radius: 14px;
  padding: .75rem .85rem;
}


.form-input:focus{
  border-color: #1177FF;
  box-shadow: 0 0 0 4px rgba(17,119,255,.15);
}

.form-textarea{ resize: vertical; }

/* ======================
   FOOTER
====================== */
.site-footer{
  padding: 2.2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: .88rem;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 3rem;
}

/* ======================
   RESPONSIVE NAV
====================== */
@media (max-width: 920px){
  .nav{ display:none; }
  .logo-wrap{ min-width:auto; }
}


.demo-badge{
  background: rgba(233,254,255,.78);
  border: 1px solid rgba(17,119,255,.22);
  color: #0f172a;
}
.badge-dot{
  background: rgb(17,119,255);
  box-shadow: 0 0 0 4px rgba(17,119,255,.15);
}




.site-header nav,
.site-header .nav-links,
.site-header .menu {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;           /* IMPORTANT */
  margin-left: auto;           /* push menu to right */
}


/* ===== BRAND (LOGO) ===== */
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark img{
  height: 54px;        /* set your icon height */
  width: 54px;
  display: block;
}

.brand-stack{
  height: 54px;        /* SAME as icon height */
  display: flex;
  flex-direction: column;
  justify-content: center;  /* centers the stack within the icon height */
  line-height: 1.05;
}

.brand-tappy{
  height: 24px;        /* adjust so total fits within 54px */
  width: auto;
  display: block;
  margin-bottom: 2px;
}

.brand-reviewflow{
  font-weight: 800;
  font-size: 18px;
  color: #0f172a;      /* change if header is dark */
}

.brand-sub{
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
}

@media (max-width: 820px){
  .site-header .nav-inner,
  .site-header .container,
  .header-inner{
    flex-wrap: wrap;
  }

  .site-header nav,
  .site-header .nav-links,
  .site-header .menu{
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Header button should be visible on light header */
.site-header .btn-header{
  border: 1px solid var(--stroke2);
  color: #0f172a;
  background: rgba(255,255,255,.7);
}

.site-header .btn-header:hover{
  border-color: rgba(17,119,255,.35);
  color: var(--accent);
}

.header-inner{
  padding: .65rem 0;   /* was .9rem; reduces height */
}

/* =========================
   SINGLE RECTANGULAR LOGO
========================= */

.brand{
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Control logo size here */
.brand-logo{
  height: 44px;        /* 👈 adjust if needed: 40–48px ideal */
  width: auto;
  display: block;
  object-fit: contain;
}

/* Header alignment fix */
.site-header .header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Prevent header from becoming tall */
.site-header{
  min-height: auto;
}

/* ===== FORCE PRIMARY BUTTON TEXT VISIBILITY ===== */
.btn-primary,
.btn-primary span{
  color: #ffffff !important;
}

/* Optional: better contrast on hover */
.btn-primary:hover{
  filter: brightness(1.05);
}

/* ===============================
   FIX: Primary button text not visible
   (force white text everywhere)
================================== */
a.btn.btn-primary,
a.btn.btn-primary:visited,
a.btn.btn-primary:hover,
a.btn.btn-primary:active,
a.btn.btn-primary:focus{
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;  /* fixes iOS/Safari cases */
  text-shadow: none !important;
}

/* If any CSS is clipping text like gradient-text */
a.btn.btn-primary{
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
}

/* =========================
   HERO BUTTON FIX (FINAL)
========================= */

.hero-actions{
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* PRIMARY CTA */
.hero-actions .btn-primary{
  background: linear-gradient(135deg, #1E7BFF, #4FA3FF);
  color: #ffffff !important;          /* FORCE visibility */
  font-weight: 800;
  font-size: 1.05rem;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  border: none;
  box-shadow:
    0 18px 40px rgba(30,123,255,.35),
    inset 0 1px 0 rgba(255,255,255,.25);
}

.hero-actions .btn-primary:hover{
  transform: translateY(-2px);
  box-shadow:
    0 22px 50px rgba(30,123,255,.45);
}

/* SECONDARY CTA */
.hero-actions .btn-outline{
  background: transparent;
  border: none;
  color: #1E7BFF;
  font-weight: 700;
  font-size: 1rem;
  padding: 0;
}

.hero-actions .btn-outline:hover{
  text-decoration: underline;
}

.hero-actions .btn-primary::after{
  content: " →";
  font-weight: 900;
}


/* =========================
   HERO PRIMARY CTA – VISIBILITY FIX
   (NO SIZE CHANGE)
========================= */

.btn-primary{
  background: linear-gradient(135deg, #2f80ff, #6aa9ff) !important;
  color: #ffffff !important;
  border: none !important;

  /* text clarity */
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);

  /* soft glow like reference */
  box-shadow: 0 16px 36px rgba(47,128,255,.35);
}

/* Prevent parent opacity / blend issues */
.btn-primary,
.btn-primary span{
  opacity: 1 !important;
  filter: none !important;
}

/* Hover polish (no resize) */
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(47,128,255,.45);
}

.btn-primary{
  background: linear-gradient(135deg, #1a73ff, #4f9cff);
  color: #ffffff !important;   /* FORCE visible text */
  box-shadow: 0 12px 30px rgba(26,115,255,.35);
  border: none;
}

.btn-primary:hover{
  opacity: .96;
}

.btn svg,
.btn i{
  color: inherit;
  fill: currentColor;
}

/* Let header.css fully control header layout */
.site-header .container.header-inner,
.header-inner{
  flex-wrap: nowrap !important;
}

/* ===== HERO BADGE (FULL WIDTH, CENTERED) ===== */
.demo-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 14px;
  border-radius: 999px;

  background: rgba(233,254,255,.85);
  border: 1px solid rgba(17,119,255,.25);
  color: #0f172a;

  font-size: 13px;
  font-weight: 600;
}

/* IMPORTANT: wrapper alignment */
.contact-hero-inner,
.hiw-hero-inner,
.features-hero-inner,
.hero-inner{
  display: flex;
  flex-direction: column;
  align-items: center;     /* centers badge + heading */
  text-align: center;
}

/* Ensure badge occupies row visually */
.contact-hero .demo-badge,
.features-hero .demo-badge,
.hiw-hero .demo-badge{
  margin: 0 auto 14px;
}
