/* =========================================================
   BALLOON MARKETING + DESIGN
   Main Website Styles
   ========================================================= */

:root {
  --blue: #064ed3;
  --blue-bright: #0b5cff;
  --blue-dark: #00399f;
  --navy: #07111f;
  --ink: #101318;
  --muted: #667085;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --line: #e5e9f0;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(17, 29, 51, 0.12);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 105px 0;
}

.section-light {
  background: var(--surface-soft);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.light-eyebrow {
  color: #a8c7ff;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(3rem, 7vw, 5.85rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 800;
}

h2 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4.7vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.052em;
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.lead {
  max-width: 730px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-dark));
  box-shadow: 0 14px 30px rgba(5, 79, 210, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(5, 79, 210, 0.36);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.07);
}

.btn-white {
  color: var(--blue-dark);
  background: #fff;
  white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(6, 19, 39, .94);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

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

.site-logo {
  width: 190px;
  height: 54px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: .94rem;
  font-weight: 750;
}

.main-nav a {
  color: rgba(255,255,255,.78);
  transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
}

.main-nav .nav-cta {
  padding: 11px 19px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--blue-bright);
}

.menu-toggle {
  display: none;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.premium-hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 80% 15%, rgba(20, 99, 255, .44), transparent 34%),
    linear-gradient(135deg, #061122 0%, #07162c 42%, #06245a 100%);
}

.premium-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .13;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 65px 65px;
  mask-image: linear-gradient(to bottom, transparent, black 35%, black 75%, transparent);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 74px;
  align-items: center;
  padding: 96px 0 110px;
}

.hero-copy .lead {
  color: rgba(255,255,255,.72);
}

.hero-copy h1 {
  max-width: 780px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 58px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.13);
}

.trust-row div {
  min-width: 130px;
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  margin-bottom: 2px;
  color: #fff;
  font-size: .95rem;
}

.trust-row span {
  color: rgba(255,255,255,.48);
  font-size: .78rem;
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.browser-card {
  position: absolute;
  top: 38px;
  right: 0;
  width: min(100%, 500px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 40px 100px rgba(0,0,0,.34);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
}

.browser-top {
  display: flex;
  gap: 8px;
  padding: 15px 18px;
  background: #eef1f6;
}

.browser-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c3c8d0;
}

.browser-body {
  min-height: 420px;
  padding: 42px;
  color: var(--ink);
  background: #fff;
}

.browser-logo-wrap {
  height: 105px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.browser-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.browser-line {
  width: 63%;
  height: 13px;
  margin-top: 22px;
  border-radius: 20px;
  background: #dfe4eb;
}

.browser-line.wide {
  width: 88%;
  margin-top: 32px;
  height: 21px;
  background: #172033;
}

.browser-button {
  width: 130px;
  height: 42px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--blue);
}

.browser-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-top: 52px;
}

.browser-stats div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.browser-stats strong,
.browser-stats span {
  display: block;
}

.browser-stats strong {
  font-size: 1rem;
}

.browser-stats span {
  color: var(--muted);
  font-size: .72rem;
}

.floating-card {
  position: absolute;
  z-index: 4;
  width: 210px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 17px;
  background: rgba(6, 20, 43, .83);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px rgba(0,0,0,.22);
}

.floating-card span {
  display: block;
  margin-bottom: 6px;
  color: #82adff;
  font-size: .72rem;
  font-weight: 900;
}

.floating-card strong {
  font-size: .92rem;
}

.floating-card-one {
  left: -20px;
  bottom: 110px;
}

.floating-card-two {
  right: -25px;
  bottom: 18px;
}

/* Section headings */
.section-heading {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: end;
}

/* Services */
.premium-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 58px;
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #cbd8f7;
  box-shadow: var(--shadow);
}

.service-card.featured {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #064ed3, #00399f);
}

.service-card.featured p {
  color: rgba(255,255,255,.74);
}

.service-card.featured a {
  color: #fff;
}

.service-icon {
  margin-bottom: 76px;
  color: var(--blue);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.featured .service-icon {
  color: #c7dbff;
}

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

.service-card a {
  position: absolute;
  bottom: 30px;
  left: 34px;
  color: var(--blue);
  font-weight: 800;
  font-size: .92rem;
}

/* Dark showcase */
.dark-section {
  color: #fff;
  background: var(--navy);
}

.showcase-split {
  align-items: center;
}

.showcase-copy {
  max-width: 580px;
  color: rgba(255,255,255,.65);
  font-size: 1.08rem;
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  color: #8db6ff;
  font-weight: 800;
}

/* Process */
.process-section {
  background: #fff;
}

.premium-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 50px;
}

.process-card {
  min-height: 270px;
  padding: 28px;
  border-top: 1px solid var(--line);
}

.process-card .step {
  display: inline-block;
  margin-bottom: 70px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 900;
}

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

/* CTA */
.premium-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 58px 62px;
  color: #fff;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 15%, rgba(255,255,255,.19), transparent 28%),
    linear-gradient(135deg, #0655e7, #003a9f);
  box-shadow: 0 25px 60px rgba(0,66,177,.25);
}

.premium-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

/* Inner pages */
.branded-page-hero {
  padding: 130px 0 95px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 0%, rgba(18, 101, 255, .55), transparent 32%),
    linear-gradient(135deg, #061122, #07265e);
}

.branded-page-hero .lead {
  color: rgba(255,255,255,.67);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: start;
}

.brand-panel {
  min-height: 430px;
  padding: 35px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-radius: 26px;
  background: var(--blue);
  box-shadow: var(--shadow);
}

.brand-panel img {
  width: 100%;
  border-radius: 18px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.value-card {
  min-height: 260px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.value-card span {
  display: block;
  margin-bottom: 60px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
}

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

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 32px;
}

.premium-contact-panel,
.premium-form {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.premium-contact-panel {
  color: #fff;
  border: 0;
  background: linear-gradient(150deg, #0a1b37, #063a94);
}

.premium-contact-panel .eyebrow {
  color: #a8c7ff;
}

.premium-contact-panel p {
  color: rgba(255,255,255,.68);
}

.contact-detail {
  margin-top: 30px;
}

.contact-detail span {
  display: block;
  margin-bottom: 3px;
  color: rgba(255,255,255,.48);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-detail a {
  color: #fff;
  font-weight: 800;
}

.contact-note {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.13);
}

.contact-note p {
  margin: 8px 0 0;
  font-size: .9rem;
}

form {
  display: grid;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  font-size: .9rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  margin-top: 8px;
  padding: 15px 16px;
  border: 1px solid #d9e0e9;
  border-radius: 12px;
  color: var(--ink);
  background: #fbfcfe;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(6,78,211,.09);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.form-submit {
  justify-self: start;
  margin-top: 4px;
}

/* Footer */
.site-footer {
  padding: 75px 0 26px;
  color: #fff;
  background: #040a13;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 42px;
}

.footer-logo {
  width: 210px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 22px;
}

.footer-brand p {
  max-width: 390px;
}

.site-footer p,
.site-footer a {
  color: rgba(255,255,255,.56);
}

.site-footer h4 {
  margin-bottom: 16px;
  font-size: .88rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
  font-size: .9rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 52px;
  padding-top: 23px;
  border-top: 1px solid rgba(255,255,255,.09);
  font-size: .84rem;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .section-heading,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .premium-services {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 500px;
  }

  .browser-card {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .floating-card-one {
    left: 0;
  }

  .floating-card-two {
    right: 0;
  }

  .premium-cta {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 760px) {
  .section {
    padding: 78px 0;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .site-logo {
    width: 155px;
    height: 45px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    background: #07111f;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

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

  .main-nav .nav-cta {
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .premium-hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 80px 0 90px;
    gap: 50px;
  }

  .hero-visual {
    min-height: 415px;
  }

  .browser-card {
    width: 94%;
    transform: translateX(-50%);
  }

  .browser-body {
    min-height: 340px;
    padding: 28px;
  }

  .browser-stats {
    margin-top: 38px;
  }

  .floating-card {
    width: 180px;
    padding: 14px;
  }

  .floating-card-one {
    bottom: 45px;
  }

  .floating-card-two {
    display: none;
  }

  .trust-row {
    gap: 20px;
  }

  .premium-process {
    grid-template-columns: 1fr;
  }

  .process-card {
    min-height: auto;
  }

  .process-card .step {
    margin-bottom: 32px;
  }

  .premium-cta {
    padding: 38px 28px;
  }

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

  .premium-contact-panel,
  .premium-form {
    padding: 28px;
  }

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