/* ===============================
   GLOBAL RESET
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===============================
   PAGE BASE
================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #16202a;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(79, 125, 168, 0.15), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(90, 166, 161, 0.12), transparent 60%),
    linear-gradient(180deg, #f4f7fb, #eef3f9);
}

/* ===============================
   BASIC ELEMENTS
================================ */
a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* ===============================
   LAYOUT
================================ */
.container {
  width: min(92%, 1200px);
  margin-left: auto;
  margin-right: auto;
}

.container-wide {
  width: min(94%, 1400px);
  margin-left: auto;
  margin-right: auto;
}

.container-narrow {
  width: min(92%, 760px);
  margin-left: auto;
  margin-right: auto;
}

/* ===============================
   SECTION SPACING
================================ */
.section {
  padding: 56px 0;
}

.section-tight {
  padding: 36px 0;
}

.section-wide {
  padding: 88px 0;
}

/* ===============================
   TYPOGRAPHY
================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #16202a;
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin-bottom: 12px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

p {
  color: #5f6e7c;
  margin-bottom: 14px;
}

p:last-child {
  margin-bottom: 0;
}

/* ===============================
   COMMON SURFACES
================================ */
.card {
  background: #ffffff;
  border: 1px solid #d7e0ea;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(20, 33, 48, 0.04);
}

/* ===============================
   COMMON UTILITIES
================================ */
.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* ===============================
   Buttons
================================ */
.cta-actions{
margin-top:auto;
display:flex;
gap:14px;
justify-content:center;
flex-wrap:wrap;
}
.cta-actions .btn{
  width:auto;
}

.btn {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 11px 20px;
  min-height: 44px;

  border-radius: 10px;

  font-size: 0.92rem;
  font-weight: 600; /* 🔥 less heavy */
  letter-spacing: 0.2px;

  text-decoration: none;
  cursor: pointer;

  transition: all 0.2s ease;
}

.btn:hover{
transform:translateY(-1px);
}

/* ===============================
   Primary Button
================================ */

.btn-primary {
  background: linear-gradient(
    135deg,
    #38bdf8,
    #0ea5e9
  );

  border: 1px solid #0ea5e9;
  color: #ffffff;

  box-shadow:
    0 4px 12px rgba(14,165,233,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);

  box-shadow:
    0 8px 18px rgba(14,165,233,0.35);

  filter: brightness(1.03);
}

/* ===============================
   Secondary Button
================================ */

.btn-secondary {
  background: #ffffff;

  border: 1px solid #cfe6ff;
  color: #0f5f7a;

  box-shadow:
    0 2px 6px rgba(0,0,0,0.05);
}

.btn-secondary:hover {
  background: #f0f9ff;
  border-color: #38bdf8;

  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: auto;
  min-height: 44px;
  padding: 11px 20px;

  border: 1px solid #cfdceb;
  border-radius: 10px;

  background: #ffffff;
  color: #183450;

  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  cursor: pointer;

  transition: all 0.2s ease;
}

.btn-outline:hover {
  transform: translateY(-1px);
  border-color: #2f6fed;
  color: #2f6fed;
  box-shadow: 0 10px 24px rgba(47, 111, 237, 0.08);
}

/* ===============================
   Anchor CTA
================================ */

.btn-anchor{
background:#2a4768;
color:#ffffff;
border:1px solid #2a4768;
box-shadow:none;
}

.btn-anchor:hover{
background:#213a56;
border-color:#213a56;
color:#ffffff;
}

.section-divider {
  position: relative;
  border-top: 1px solid rgba(46, 125, 50, 0.16);
  background:
    linear-gradient(
      to bottom,
      rgba(46, 125, 50, 0.035) 0%,
      rgba(46, 125, 50, 0.015) 38%,
      rgba(255, 255, 255, 0) 100%
    );
}

.section-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(180px, 28vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    to right,
    rgba(46, 125, 50, 0),
    rgba(46, 125, 50, 0.5),
    rgba(46, 125, 50, 0)
  );
}

.section-divider::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #2e7d32;
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.08);
}


/* ===============================
   FINAL CTA
================================ */

.cta-box {
  position: relative;
  overflow: hidden;

  width: min(1580px, calc(100% - 40px));
  max-width: 1580px;
  margin: auto;
  padding: 70px 56px;

  text-align: center;
  border-radius: 34px;

  background:
    radial-gradient(circle at top left, rgba(223, 243, 168, 0.28), transparent 32%),
    radial-gradient(circle at bottom right, rgba(29, 95, 156, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);

  border: 1px solid rgba(15, 23, 42, 0.08);

  box-shadow:
    0 28px 70px rgba(15, 23, 42, 0.10),
    0 10px 24px rgba(15, 23, 42, 0.05);
}

/* soft glow layer */
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(135deg, rgba(255,255,255,0.42), transparent 48%);
  pointer-events: none;
}

/* content stays above glow */
.cta-box > * {
  position: relative;
  z-index: 1;
}

/* heading inside CTA */
.cta-box h2 {
  max-width: 980px;
  margin: 0 auto 16px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #0f172a;
}

/* paragraph inside CTA */
.cta-box p:not(.kicker) {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.85;
  color: #556575;
}

/* CTA actions row */
.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* optional stronger spacing for kicker */
.cta-box .kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 0 12px;
  border-radius: 999px;

  background: rgba(223, 243, 168, 0.62);
  border: 1px solid rgba(183, 223, 82, 0.55);
  color: #20310d;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* responsive */
@media (max-width: 768px) {
  .cta-box {
    width: min(100% - 24px, 1580px);
    padding: 46px 24px;
    border-radius: 24px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn,
  .cta-actions .btn-anchor,
  .cta-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
/* ===============================
   GRID SYSTEM
================================ */
.grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
  margin-top: 28px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* ===============================
   CARD BASE
================================ */
.card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  padding: 24px 22px 22px;
  background: #ffffff;
  border: 1px solid #e2e6ed;
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.03),
    0 10px 24px rgba(16, 24, 40, 0.05);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #d2d9e4;
  box-shadow:
    0 14px 32px rgba(16, 24, 40, 0.08),
    0 2px 8px rgba(16, 24, 40, 0.04);
}

/* ===============================
   CARD ICON / TOP BAND FEEL
================================ */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #17181c;
  color: #ffffff;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  flex: 0 0 auto;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* reusable solid icon colors */
.icon-services {
  background: #17181c;
  color: #ffffff;
}

.icon-ai {
  background: #456af7;
  color: #ffffff;
}

.icon-systems {
  background: #6d4df2;
  color: #ffffff;
}

.icon-estimator {
  background: #0f766e;
  color: #ffffff;
}

.icon-quote {
  background: #d97706;
  color: #ffffff;
}

/* optional extra variants for other pages */
.icon-green {
  background: #15803d;
  color: #ffffff;
}

.icon-red {
  background: #dc2626;
  color: #ffffff;
}

.icon-slate {
  background: #334155;
  color: #ffffff;
}

.icon-gold {
  background: #ca8a04;
  color: #ffffff;
}

/* ===============================
   CARD TEXT
================================ */
.card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.24;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #17181c;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.68;
  color: #66707f;
}

/* ===============================
   CARD VARIANTS
   kept subtle because these are global
================================ */
.card.v1 {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.card.v2 {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.card.v3 {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
}

.card.v4 {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf3 100%);
}

/* ===============================
   CARD LINK HELPER
================================ */
.card-link {
  text-decoration: none;
}

.card-link .card-link-text {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.86rem;
  line-height: 1.2;
  font-weight: 700;
  color: #456af7;
}

.card-link:hover .card-link-text {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===============================
   PRICING INTRO SPECIFIC
================================ */
.pricing-intro-grid {
  margin-top: 30px;
}

.pricing-intro-card {
  align-items: flex-start;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1280px) {
  .grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .grid-5,
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid {
    gap: 16px;
    margin-top: 22px;
  }

  .card {
    padding: 20px 18px 18px;
    border-radius: 18px;
  }

  .card-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
    margin-bottom: 14px;
    border-radius: 12px;
  }

  .card-icon svg {
    width: 20px;
    height: 20px;
  }
}
/* ===============================
   TRUST LINE
================================ */

.trust-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;

  padding-top: 0;
  padding-right: 14px;
  padding-bottom: 0;
  padding-left: 14px;

  border-width: 1px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.24);

  background-color: rgba(255, 255, 255, 0.24);
  color: #355169;

  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 600;
  text-align: center;

  box-shadow:
    0 8px 20px rgba(31, 63, 91, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

