:root{
  --bg: #f6f7f8;
  --surface: #ffffff;
  --text: #111827;
  --muted: rgba(17,24,39,.70);
  --muted2: rgba(17,24,39,.55);
  --border: rgba(17,24,39,.12);

  --primary: #1a73e8;
  --primaryHover: #174ea6;

  --radius-xl: 26px;
  --radius-lg: 20px;

  --shadow-lg: 0 22px 60px rgba(17,24,39,.18);
  --shadow-md: 0 12px 35px rgba(17,24,39,.12);
  --shadow-sm: 0 8px 18px rgba(17,24,39,.10);

  --max: 1280px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.45;
  overflow-x:hidden;

  background:
    radial-gradient(1200px 800px at 20% 0%, rgba(26,115,232,.10), transparent 60%),
    radial-gradient(900px 650px at 90% 10%, rgba(52,168,83,.08), transparent 55%),
    radial-gradient(900px 650px at 70% 90%, rgba(234,67,53,.06), transparent 55%),
    var(--bg);
}

img{ max-width:100%; height:auto; display:block; }
a{ color: inherit; text-decoration:none; }

.wrap{
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 16px 0 72px;
}
@media (max-width: 700px){ .wrap{ width: calc(100% - 24px); } }

/* Animated background layer */
.bg{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg .grid{
  position:absolute;
  inset:-30%;
  background-image:
    linear-gradient(rgba(17,24,39,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,24,39,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: rotate(-10deg);
  opacity: .18;
  mask-image: radial-gradient(circle at 30% 20%, rgba(0,0,0,.9), transparent 70%);
}
.orb{
  position:absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(38px);
  opacity: .55;
  transform: translate3d(0,0,0);
  animation: float 16s ease-in-out infinite;
}
.o1{ left:-120px; top:120px; background: rgba(26,115,232,.32); animation-duration:18s; }
.o2{ right:-160px; top:40px; background: rgba(52,168,83,.22); animation-duration:21s; }
.o3{ left:35%; bottom:-220px; background: rgba(234,67,53,.18); animation-duration:24s; }
@keyframes float{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(0,-22px,0) scale(1.05); }
}

/* HEADER */
header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 0 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 240px;
}
.brand-logo{
  height: 44px;
  width: auto;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(17,24,39,.10);
}
.brand h1{
  margin:0;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.brand p{
  margin:2px 0 0;
  font-size: 13px;
  color: var(--muted2);
}
nav{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav{
  font-size: 13px;
  color: rgba(17,24,39,.62);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
  transition: background .15s ease-out, border-color .15s ease-out, color .15s ease-out, transform .15s ease-out;
}
.nav:hover{
  background: rgba(255,255,255,.82);
  border-color: var(--border);
  color: rgba(17,24,39,.90);
  transform: translateY(-1px);
}

/* HERO */
.hero{
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #cfd7dd;
  box-shadow: var(--shadow-lg);
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(25,32,38,.55) 0%, rgba(25,32,38,.26) 45%, rgba(25,32,38,.08) 70%, rgba(25,32,38,0) 100%),
    url("https://images.pexels.com/photos/1181675/pexels-photo-1181675.jpeg?auto=compress&dpr=2&w=1800");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: saturate(.98) contrast(1.02);
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: .14;
  mix-blend-mode: overlay;
  pointer-events:none;
}
.hero-inner{
  position: relative;
  z-index: 1;
  padding: clamp(24px, 3vw, 44px);
  display:grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 420px);
  gap: clamp(18px, 2.2vw, 32px);
  align-items: center;
  min-height: clamp(520px, 62vh, 640px);
}
.hero-copy{
  color:#fff;
  max-width: 820px;
  min-width: 0;
}
.hero-kicker{
  font-size: 14px;
  opacity: .92;
  margin-bottom: 14px;
}
.hero-title{
  margin:0 0 16px;
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.03em;
  max-width: 12.5ch;
}
.hero-title .nowrap{
  display:inline-block;
  white-space: nowrap;
  font-size: .78em;
  letter-spacing: -0.015em;
  max-width: 100%;
}
.hero-sub{
  margin:0 0 22px;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.90);
}
.hero-ctas{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  align-items:center;
}

.btnPrimary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--primary);
  color:#fff;
  font-weight: 900;
  font-size: 13px;
  border: 1px solid rgba(26,115,232,.30);
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
  transition: background .15s ease-out, transform .15s ease-out, box-shadow .15s ease-out;
  white-space: nowrap;
}
.btnPrimary:hover{
  background: var(--primaryHover);
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
}
.btnGhost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.22);
  transition: background .15s ease-out, transform .15s ease-out;
  white-space: nowrap;
}
.btnGhost:hover{ background: rgba(255,255,255,.20); transform: translateY(-1px); }

/* Preview */
.hero-preview{ justify-self: end; width: 100%; max-width: 420px; }

.send-stage{
  position: relative;
  min-height: 300px;
}

.preview-frame{
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(17,24,39,.58);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 26px 65px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  position: relative;
  transform-origin: 18% 65%;
  will-change: transform, opacity, filter;
}

.preview-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 12px 14px;
  font-size: 12px;
  color: rgba(255,255,255,.76);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.preview-site{
  font-weight: 900;
  letter-spacing: .02em;
  color: rgba(255,255,255,.92);
}
.preview-body{
  padding: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}

.compose{
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 16px 40px rgba(17,24,39,.20);
  padding: 12px 12px 10px;
}

.compose-row{
  display:grid;
  grid-template-columns: 70px 1fr;
  gap:10px;
  align-items:center;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(17,24,39,.03);
  margin-bottom: 8px;
  font-size: 12px;
  color: rgba(17,24,39,.62);
}
.compose-row strong{
  color: rgba(17,24,39,.80);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.compose-main{
  padding: 8px 10px 0;
  font-size: 12.5px;
  color: rgba(17,24,39,.72);
  line-height: 1.5;
}
.compose-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 10px 4px;
  margin-top: 8px;
  gap:10px;
  flex-wrap:wrap;
}
.sendBtn{
  appearance:none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(17,24,39,.12);
  background: rgba(26,115,232,.12);
  color: #1a73e8;
  cursor: pointer;
}
.composeFoot{ font-size:12px; color: rgba(17,24,39,.50); }

/* Progress bar */
.send-bar{
  margin-top: 10px;
  height: 6px;
  border-radius: 999px;
  background: rgba(17,24,39,.08);
  overflow:hidden;
}
.send-bar-fill{
  display:block;
  height: 100%;
  width: 35%;
  border-radius: 999px;
  background: rgba(26,115,232,.55);
  animation: sending 2.6s ease-in-out infinite;
}
@keyframes sending{
  0%   { transform: translateX(-120%); opacity: .4; }
  35%  { opacity: 1; }
  60%  { transform: translateX(120%); opacity: 1; }
  100% { transform: translateX(260%); opacity: .4; }
}

/* Mailbox destination */
.mailbox{
  position: absolute;
  right: -18px;
  top: 56%;
  width: 76px;
  height: 66px;
  transform: translateY(-50%);
  opacity: 0;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.25));
}
.mailbox-flag{
  position:absolute;
  right: 6px;
  top: -10px;
  width: 28px;
  height: 10px;
  border-radius: 6px;
  background: rgba(26,115,232,.75);
}
.mailbox-box{
  position:absolute;
  inset: 0 0 12px 0;
  background: #1a73e8;
  border-radius: 12px;
}
.mailbox-slot{
  position:absolute;
  left: 10px;
  right: 10px;
  bottom: 16px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  opacity: .9;
}

/* Envelope flaps for FULL preview (not just compose) */
.preview-frame::before,
.preview-frame::after{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  pointer-events:none;
  opacity: 0;
}

.preview-frame::before{
  top: 46px;
  height: 48%;
  background: rgba(255,255,255,.10);
  border-top: 1px solid rgba(255,255,255,.18);
  clip-path: polygon(0 0, 100% 0, 50% 60%);
  transform-origin: top center;
  transform: rotateX(0deg);
}
.preview-frame::after{
  bottom: 12px;
  height: 48%;
  background: rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.18);
  clip-path: polygon(0 100%, 100% 100%, 50% 40%);
  transform-origin: bottom center;
  transform: rotateX(0deg);
}

/* Sending sequence */
.send-stage.is-sending .sendBtn{ pointer-events:none; opacity:.65; }
.send-stage.is-sending .send-bar{ opacity:0; transition: opacity .12s ease-out; }

.send-stage.is-sending .mailbox{
  animation: mailboxShow .25s ease-out .70s forwards;
}
@keyframes mailboxShow{ to{ opacity: 1; } }

.send-stage.is-sending .preview-body{
  animation: previewInnerFade .22s ease-out .18s forwards;
}
@keyframes previewInnerFade{
  to{ opacity:0; transform: translateY(6px); }
}

.send-stage.is-sending .preview-frame::before,
.send-stage.is-sending .preview-frame::after{
  opacity: 1;
}
.send-stage.is-sending .preview-frame::before{
  animation: flapTopFold .55s ease-in-out .20s forwards;
}
.send-stage.is-sending .preview-frame::after{
  animation: flapBottomFold .55s ease-in-out .20s forwards;
}
@keyframes flapTopFold{ to{ transform: rotateX(78deg); } }
@keyframes flapBottomFold{ to{ transform: rotateX(-78deg); } }

.send-stage.is-sending #previewFrame{
  animation:
    previewCompress .70s ease-in-out forwards,
    flyToMailbox 1.25s cubic-bezier(.2,.9,.2,1) .70s forwards;
}

@keyframes previewCompress{
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(0,10px,0) scale(.66); }
}

/* Fly into mailbox (end near right side) */
@keyframes flyToMailbox{
  0%   { opacity: 1; transform: translate3d(0,10px,0) scale(.66) rotate(0deg); }
  75%  { opacity: 1; transform: translate3d(310px,-12px,0) scale(.46) rotate(-8deg); }
  100% { opacity: 0; transform: translate3d(360px, 6px,0) scale(.34) rotate(-10deg); }
}

/* Sections */
.stack{
  display:flex;
  flex-direction:column;
  gap: 14px;
  margin-top: 14px;
}

section{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 22px 20px;
  transition: transform .16s ease-out, box-shadow .16s ease-out, border-color .16s ease-out;
}
section:hover{ transform: translateY(-1px); }

.sectionTitle{
  margin:0 0 8px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.sectionSub{
  margin:0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Reveal */
.reveal{ opacity:0; transform: translateY(14px); filter: blur(2px); }
.reveal.in{
  opacity:1; transform: translateY(0); filter: blur(0);
  transition: opacity .55s ease-out, transform .55s ease-out, filter .55s ease-out;
}

/* Services */
.strip{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}
.visual-card{
  border-radius: 18px;
  border: 1px solid rgba(17,24,39,.10);
  background: #fff;
  overflow:hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease-out, box-shadow .15s ease-out, border-color .15s ease-out;
}
.visual-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(17,24,39,.14);
  border-color: rgba(26,115,232,.22);
}
.visual-hero{
  padding: 14px 14px 10px;
  background: linear-gradient(180deg, rgba(26,115,232,.09), transparent 70%);
  border-bottom: 1px solid rgba(17,24,39,.08);
}
.visual-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}
.visual-title h4{
  margin:0;
  font-size: 14px;
  font-weight: 900;
  color: rgba(17,24,39,.92);
  line-height: 1.25;
}
.tag{
  font-size: 11px;
  border-radius: 999px;
  padding: 5px 10px;
  border: 1px solid rgba(26,115,232,.20);
  color: #1a73e8;
  background: rgba(26,115,232,.06);
  white-space:nowrap;
  font-weight: 900;
}
.icon-panel{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 14px 0 6px;
}
.big-icon{
  width: 92px;
  height: 92px;
  border-radius: 22px;
  border: 1px solid rgba(17,24,39,.10);
  background: #fff;
  box-shadow: var(--shadow-sm);
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(17,24,39,.75);
}
.logo-row{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  padding: 14px 0 0;
}
.logo-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.10);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  color: rgba(17,24,39,.85);
  font-weight: 900;
}
.logo-svg{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 22px;
  height: 22px;
}
.visual-caption{
  padding: 12px 14px 16px;
  color: rgba(17,24,39,.68);
  font-size: 13px;
  line-height: 1.55;
}

/* Pricing */
.pricingGrid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}
.priceCard{
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 16px;
  transition: transform .15s ease-out, box-shadow .15s ease-out, border-color .15s ease-out;
}
.priceCard:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(17,24,39,.14);
  border-color: rgba(26,115,232,.22);
}
.priceTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}
.priceTop h4{
  margin:0;
  font-size: 15px;
  font-weight: 950;
  color: rgba(17,24,39,.92);
}
.priceTag{
  font-size: 11px;
  font-weight: 900;
  color: #1a73e8;
  background: rgba(26,115,232,.08);
  border: 1px solid rgba(26,115,232,.20);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.priceDesc{
  margin: 10px 0 12px;
  color: rgba(17,24,39,.70);
  font-size: 13px;
  line-height: 1.55;
}
.priceList{
  margin: 0 0 14px;
  padding-left: 18px;
  color: rgba(17,24,39,.72);
  font-size: 13px;
  line-height: 1.7;
}
.priceCard.featured{
  border-color: rgba(26,115,232,.28);
  box-shadow: 0 18px 55px rgba(26,115,232,.12);
  background: linear-gradient(180deg, rgba(26,115,232,.06), #fff 45%);
}

/* Steps */
.steps{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}
.step-card{
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 14px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
  transition: transform .15s ease-out, box-shadow .15s ease-out, border-color .15s ease-out;
}
.step-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(17,24,39,.14);
  border-color: rgba(26,115,232,.22);
}
.step-num{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(26,115,232,.12);
  border: 1px solid rgba(26,115,232,.20);
  color: #1a73e8;
  font-weight: 950;
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
  margin-top: 2px;
}
.step-card h4{
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 950;
  color: rgba(17,24,39,.92);
}
.step-card p{
  margin: 0;
  font-size: 13px;
  color: rgba(17,24,39,.68);
  line-height: 1.55;
}
.step-badges{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-top: 10px;
}
.step-badge{
  font-size: 11px;
  font-weight: 900;
  color: rgba(17,24,39,.70);
  background: rgba(17,24,39,.04);
  border: 1px solid rgba(17,24,39,.10);
  padding: 5px 10px;
  border-radius: 999px;
}

/* Contact */
.contactForm{ margin-top: 14px; }
.formGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.field{
  display:flex;
  flex-direction:column;
  gap: 6px;
  font-size: 13px;
  color: rgba(17,24,39,.80);
}
.field span{
  font-weight: 900;
  color: rgba(17,24,39,.75);
}
.field input,
.field select,
.field textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(17,24,39,.14);
  background: #fff;
  outline: none;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(17,24,39,.06);
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: rgba(26,115,232,.45);
  box-shadow: 0 0 0 4px rgba(26,115,232,.12);
}
.fieldFull{ grid-column: 1 / -1; }
.formActions{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.formNote{
  margin:0;
  font-size: 13px;
  color: rgba(17,24,39,.60);
}

/* Footer */
.footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  padding: 18px 6px 0;
  color: rgba(17,24,39,.55);
  font-size: 13px;
}
.footerLink{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.75);
}

/* Responsive */
@media (min-width: 900px){
  .strip{ grid-template-columns: repeat(3, 1fr); }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .pricingGrid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1200px){
  .hero-title{ font-size: clamp(34px, 3.9vw, 58px); max-width: 11ch; }
  .hero-title .nowrap{ font-size: .74em; }
}
@media (max-width: 980px){
  .hero-inner{
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 22px 18px 18px;
  }
  .hero-title{
    max-width: 100%;
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.04;
  }
  .hero-title .nowrap{
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: .92em;
  }
  .hero-preview{
    justify-self: start;
    max-width: 520px;
    margin-top: 6px;
  }
  .formGrid{ grid-template-columns: 1fr; }
  nav{ gap: 6px; }
  section{ padding: 18px 16px; }
}
@media (max-width: 420px){
  .wrap{ width: calc(100% - 22px); }
  .hero-ctas{ width: 100%; }
  .btnPrimary, .btnGhost{ width: 100%; }
  .footer{ flex-direction:column; align-items:flex-start; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .orb{ animation: none; }
  .send-bar-fill{ animation: none; width: 60%; transform:none; opacity: .7; }
  .reveal{ opacity: 1; transform:none; filter:none; }
  .reveal.in{ transition:none; }
}
