/* ====== Gen Z AI Era — Connect Landing ====== */
:root {
  --bg-0: #030014;
  --bg-1: #020010;
  --bg-2: #0f0720;
  --glass: rgba(15, 7, 32, 0.6);
  --glass-strong: rgba(20, 10, 40, 0.78);
  --border: rgba(168, 85, 247, 0.18);
  --border-strong: rgba(236, 72, 153, 0.35);
  --text: #ffffff;
  --muted: #9ca3af;
  --purple: #a855f7;
  --pink: #ec4899;
  --glow: rgba(168, 85, 247, 0.55);
  --grad: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --grad-soft: linear-gradient(135deg, rgba(168,85,247,.18), rgba(236,72,153,.18));
  --shadow-elev: 0 18px 50px -18px rgba(168, 85, 247, 0.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }

/* ===== BACKGROUND ===== */
.bg-layer {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, #1a0830 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, #2a0a3a 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-0), var(--bg-2));
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168,85,247,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .55; will-change: transform;
}
.blob-purple { width: 480px; height: 480px; background: #a855f7; top: -120px; left: -120px; animation: drift1 18s ease-in-out infinite; }
.blob-pink   { width: 520px; height: 520px; background: #ec4899; bottom: -160px; right: -140px; animation: drift2 22s ease-in-out infinite; }
.blob-violet { width: 360px; height: 360px; background: #7c3aed; top: 45%; left: 50%; transform: translate(-50%,-50%); opacity: .25; animation: drift3 26s ease-in-out infinite; }

@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(60px,40px)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-50px,-30px)} }
@keyframes drift3 { 0%,100%{transform:translate(-50%,-50%)} 50%{transform:translate(-40%,-55%)} }

.shape {
  position: absolute; border: 1px solid rgba(168,85,247,.25);
  background: rgba(168,85,247,.04);
  backdrop-filter: blur(2px);
  animation: float 12s ease-in-out infinite;
}
.shape-1 { width: 60px; height: 60px; top: 12%; right: 8%; border-radius: 14px; transform: rotate(15deg); animation-delay: -2s; }
.shape-2 { width: 28px; height: 28px; top: 35%; left: 6%; border-radius: 50%; border-color: rgba(236,72,153,.35); animation-delay: -5s; }
.shape-3 { width: 42px; height: 42px; bottom: 22%; right: 12%; border-radius: 50%; animation-delay: -8s; }
.shape-4 { width: 54px; height: 54px; bottom: 12%; left: 8%; border-radius: 12px; transform: rotate(35deg); border-color: rgba(236,72,153,.3); animation-delay: -3s; }
@keyframes float { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-22px) rotate(8deg)} }

.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(2,0,16,0.7) 100%);
  pointer-events: none;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 520px;
  margin: 0 auto;
  padding: 36px 20px 120px;
  position: relative;
}
.section { margin-top: 48px; }
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px; font-weight: 700;
  text-align: center; letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.section-sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== HERO ===== */
.hero { text-align: center; padding-top: 24px; }
.logo-wrap {
  display: inline-block; position: relative;
  padding: 10px; border-radius: 22px;
  margin-bottom: 18px;
}
.logo-wrap::before {
  content: ""; position: absolute; inset: -10px;
  background: var(--grad); border-radius: 28px;
  filter: blur(28px); opacity: .55; z-index: -1;
  animation: pulseGlow 3.5s ease-in-out infinite;
}
@keyframes pulseGlow { 0%,100%{opacity:.45} 50%{opacity:.7} }
.logo { width: 200px; height: auto; filter: drop-shadow(0 6px 24px rgba(168,85,247,.45)); }

.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 36px; letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.tagline { color: var(--muted); font-size: 15px; margin-bottom: 24px; }

.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 0 8px; }
.hero-cta .btn { flex: 1 1 160px; min-width: 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 22px; border-radius: 14px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 28px -8px rgba(236,72,153,.55), 0 0 0 0 rgba(168,85,247,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(236,72,153,.7), 0 0 28px 0 var(--glow); }
.btn-ghost {
  background: var(--glass); color: #fff;
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--pink); box-shadow: 0 0 24px rgba(236,72,153,.35); }
.btn-block { width: 100%; padding: 15px; }

/* ===== GLASS CARD ===== */
.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}
.card { padding: 8px; }

/* ===== CONTACT ROWS ===== */
.contact-list { display: flex; flex-direction: column; }
.contact-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 14px;
  border-radius: 14px;
  transition: background .25s ease, transform .2s ease;
  position: relative;
}
.contact-row + .contact-row { border-top: 1px solid rgba(168,85,247,.1); }
.contact-row:hover { background: rgba(168,85,247,.08); }
.ic {
  flex: 0 0 44px; height: 44px; border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  color: #fff;
}
.ic svg { width: 20px; height: 20px; }
.row-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.row-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.row-value { font-weight: 600; font-size: 15px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chev { color: var(--purple); font-size: 22px; line-height: 1; transition: transform .25s ease; }
.contact-row:hover .chev { transform: translateX(4px); color: var(--pink); }

/* ===== SOCIAL ===== */
.socials { display: flex; gap: 14px; justify-content: center; }
.social-btn {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--border);
  display: grid; place-items: center; color: #fff;
  backdrop-filter: blur(12px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.social-btn:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 0 28px rgba(168,85,247,.55);
}

/* ===== SERVICES ===== */
.services-scroller {
  display: flex; gap: 14px;
  overflow-x: auto; overflow-y: hidden;
  padding: 6px 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.services-scroller::-webkit-scrollbar { display: none; }
.service-card {
  flex: 0 0 220px; height: 280px;
  border-radius: 18px; overflow: hidden; position: relative;
  background-size: cover; background-position: center;
  scroll-snap-align: start;
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  cursor: pointer;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,0,16,0.15) 0%, rgba(2,0,16,0.55) 50%, rgba(2,0,16,0.95) 100%);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink);
  box-shadow: 0 12px 32px -8px rgba(236,72,153,.45);
}
.service-card .tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 10px; letter-spacing: .18em; font-weight: 600;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(15,7,32,.7); border: 1px solid var(--border-strong);
  color: #fff; backdrop-filter: blur(8px);
}
.service-card h3 {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px; font-weight: 600; line-height: 1.25;
}
.scroll-hint { text-align: center; font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ===== FORM ===== */
.form { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.field input, .field textarea {
  background: rgba(2,0,16,.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px; color: #fff;
  font-size: 15px; resize: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(236,72,153,.18);
  background: rgba(2,0,16,.65);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(156,163,175,.6); }

/* ===== CTA FINAL ===== */
.cta-final .cta-card {
  text-align: center; padding: 32px 22px;
  background: linear-gradient(135deg, rgba(168,85,247,.18), rgba(236,72,153,.18)), var(--glass);
  border-color: var(--border-strong);
}
.cta-card h2 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; margin-bottom: 18px; font-weight: 700; }

.footnote { text-align: center; color: var(--muted); font-size: 12px; margin-top: 36px; opacity: .6; }

/* ===== FLOATING BUTTON ===== */
.floating-btn {
  position: fixed; bottom: 22px; right: 22px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px -6px rgba(236,72,153,.6);
  z-index: 50;
  transition: transform .25s ease;
}
.floating-btn:hover { transform: scale(1.08); }
.floating-btn .fb-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--grad); opacity: .6;
  animation: ringPulse 2s ease-out infinite; z-index: -1;
}
@keyframes ringPulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .container { max-width: 600px; padding: 48px 28px 140px; }
  .brand-name { font-size: 44px; }
  .tagline { font-size: 17px; }
  .section-title { font-size: 30px; }
  .service-card { flex: 0 0 240px; height: 300px; }
}
@media (min-width: 960px) {
  .container { max-width: 900px; }
  .service-card { flex: 0 0 260px; height: 320px; }
  .floating-btn { bottom: 28px; right: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
