/* ============================================
   FIX MY SOCIAL — Main Styles
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:   #00E5A0;
  --cyan:   #00D4FF;
  --dark:   #080D14;
  --darker: #050910;
  --card:   #0D1520;
  --border: rgba(0,229,160,0.12);
  --text:   #F0F5F5;
  --muted:  #7A8899;
  --grad:   linear-gradient(135deg, #00E5A0, #00D4FF);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

/* ============================================
   INTRO OVERLAY
   ============================================ */
#intro {
  position: fixed;
  inset: 0;
  background: var(--darker);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Intro canvas ── */
#intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ── Meteor impact effects ── */

/* Full-screen white burst on impact */
#impact-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 56%,
    #ffffff 0%,
    #fff5cc 18%,
    #ffcc44 38%,
    #ff6600 58%,
    #cc1100 74%,
    transparent 88%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  mix-blend-mode: screen;
}

/* Expanding shockwave rings */
.shockwave {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 7px solid rgba(255, 160, 40, 1);
  box-shadow:
    0 0 0 3px rgba(255, 220, 100, 0.5),
    0 0 60px rgba(255, 120, 20, 0.9),
    0 0 120px rgba(255, 60, 0, 0.5),
    inset 0 0 40px rgba(255, 80, 0, 0.4);
  pointer-events: none;
  z-index: 15;
  opacity: 0;
}
/* Ring 2: white-hot */
#sw2 {
  border-color: rgba(255, 255, 220, 0.95);
  box-shadow:
    0 0 0 3px rgba(255, 255, 200, 0.4),
    0 0 60px rgba(255, 240, 180, 0.8),
    0 0 120px rgba(255, 200, 100, 0.45),
    inset 0 0 40px rgba(255, 255, 200, 0.3);
}
/* Ring 3: teal brand colour */
#sw3 {
  border-color: rgba(0, 229, 160, 0.9);
  box-shadow:
    0 0 0 3px rgba(0, 229, 160, 0.35),
    0 0 60px rgba(0, 229, 160, 0.75),
    0 0 120px rgba(0, 212, 255, 0.45),
    inset 0 0 40px rgba(0, 229, 160, 0.25);
}

/* Crater glow at impact point */
#crater-glow {
  position: absolute;
  width: 300px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(ellipse,
    rgba(255, 200, 80, 0.95) 0%,
    rgba(255, 100, 0,  0.65) 30%,
    rgba(0,  229, 160, 0.3)  58%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 8;
  opacity: 0;
  filter: blur(6px);
}

/* ── Scattered icon sweets ── */
#sweets-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.sweet {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  opacity: 0;
  will-change: transform;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Logo reveal */
#logo-reveal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  z-index: 20;
}

#site-logo {
  max-width: 380px;
  max-height: 240px;
  width: 100%;
  display: block;
  filter: drop-shadow(0 0 50px rgba(0,229,160,0.7)) drop-shadow(0 0 100px rgba(0,212,255,0.3));
}

#logo-text {
  font-size: 52px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
}

#logo-tagline {
  font-size: 16px;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: 1px;
}

#skip-btn {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  transition: all 0.2s;
  z-index: 100;
}
#skip-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ============================================
   MAIN SITE
   ============================================ */
#main-site {
  opacity: 0;
  visibility: hidden;
}
#main-site.visible {
  opacity: 1;
  visibility: visible;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { height: 144px; width: auto; object-fit: contain; display: block; }
.nav-logo-text {
  font-size: 20px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}
nav ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
nav ul a:hover { color: #fff; }
.nav-cta {
  background: var(--teal) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg-sweets {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-sweet {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  filter: blur(1px);
  animation: float linear infinite;
}

@keyframes float {
  0%   { transform: translateY(100vh) rotate(0deg); }
  100% { transform: translateY(-200px) rotate(720deg); }
}

.hero-content {
  max-width: 720px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,229,160,0.2);
  border: 1px solid rgba(0,229,160,0.4);
  color: #00E5A0;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

#hero h1 {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#hero p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-stats strong {
  font-size: 36px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stats span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* STRIP */
.strip {
  background: linear-gradient(90deg, var(--teal), var(--pink));
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.strip-inner {
  display: inline-flex;
  gap: 48px;
  animation: scroll-strip 20s linear infinite;
}
.strip-inner span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
@keyframes scroll-strip {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* SECTIONS */
section { padding: 100px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
section h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 48px;
  line-height: 1.1;
}
.section-sub {
  color: var(--muted);
  font-size: 16px;
  margin-top: -36px;
  margin-bottom: 48px;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(0,229,160,0.4); }
.card-featured {
  border-color: rgba(0,212,255,0.4);
  background: linear-gradient(160deg, #1A0E2E, #12121A);
  box-shadow: 0 0 40px rgba(0,212,255,0.1);
}
.card-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card p  { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.card ul li { font-size: 13px; color: var(--muted); }

/* HOW IT WORKS */
#how { background: var(--card); }
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.step {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  flex: 1;
  min-width: 160px;
  max-width: 200px;
}
.step-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 10px;
}
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p  { font-size: 13px; color: var(--muted); line-height: 1.5; }
.step-arrow { font-size: 28px; color: var(--border); flex-shrink: 0; }

/* PRICING */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transition: transform 0.3s;
}
.price-card:hover { transform: translateY(-6px); }
.price-card-featured {
  border-color: rgba(0,229,160,0.5);
  background: linear-gradient(160deg, #180D30, #12121A);
  box-shadow: 0 0 60px rgba(0,229,160,0.15);
  transform: scale(1.03);
}
.price-card-featured:hover { transform: scale(1.03) translateY(-6px); }
.price-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 10px;
}
.price-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--muted); }
.price { font-size: 56px; font-weight: 900; letter-spacing: -2px; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.price-sub { font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.price-card ul li { font-size: 14px; color: var(--muted); }
.price-card .btn-primary { width: 100%; text-align: center; }

/* CONTACT */
#contact { background: var(--card); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.contact-left h2 { margin-bottom: 16px; }
.contact-left p { color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 32px; }
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  transition: opacity 0.2s, transform 0.2s;
  border: 1px solid var(--border);
}
.contact-social:hover { opacity: 0.8; transform: translateX(4px); }
.contact-social.ig { background: rgba(0,212,255,0.15); border-color: rgba(0,212,255,0.3); }
.contact-social.tk { background: rgba(255,255,255,0.05); }
.contact-social.wa { background: rgba(37,211,102,0.15); border-color: rgba(37,211,102,0.3); }

.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input,
.contact-form select {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus { border-color: rgba(0,229,160,0.6); }
.contact-form select option { background: var(--dark); }
.contact-form .btn-primary { margin-top: 4px; text-align: center; }

/* FOOTER */
footer {
  padding: 28px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
footer span { font-size: 13px; color: var(--muted); }

/* ============================================
   AI SECTION
   ============================================ */

#ai { background: var(--darker); }

/* Cert strip */
.cert-strip {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 32px;
}
.cert-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.cert-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.cert-badge:hover { border-color: rgba(0,229,160,0.4); transform: translateY(-2px); }
.cert-badge div { display: flex; flex-direction: column; }
.cert-badge strong { font-size: 14px; font-weight: 700; }
.cert-badge span { font-size: 11px; color: var(--muted); }

.cert-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}
.cert-logo.google    { background: linear-gradient(135deg,#4285F4,#34A853,#FBBC05,#EA4335); color:#fff; }
.cert-logo.anthropic { background: linear-gradient(135deg,#7B2FFF,#E1306C); color:#fff; font-size:20px; }
.cert-logo.ibm       { background: #1F70C1; color:#fff; font-size:13px; letter-spacing:1px; }

/* AI feature grid */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}
.ai-feat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.3s, border-color 0.3s;
}
.ai-feat:hover { transform: translateY(-4px); border-color: rgba(0,229,160,0.35); }
.ai-icon { font-size: 32px; display: block; margin-bottom: 14px; }
.ai-feat h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.ai-feat p  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Demo chat window */
.ai-demo {
  max-width: 540px;
  margin: 0 auto;
  background: #0D1117;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0,229,160,0.2), 0 0 160px rgba(0,212,255,0.08);
}
.demo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #161B22;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.demo-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg,#7B2FFF,#E1306C);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.demo-header strong { display: block; font-size: 14px; font-weight: 700; }
.demo-status { font-size: 11px; color: #25D366; }
.demo-platform {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.demo-chat {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,229,160,0.3) transparent;
}

.msg {
  display: flex;
  flex-direction: column;
  max-width: 82%;
  transition: opacity 0.4s, transform 0.4s;
}
.msg.hidden { opacity: 0; transform: translateY(10px); }
.msg.visible { opacity: 1; transform: translateY(0); }

.msg span {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.6;
}
.msg time {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
  padding: 0 4px;
}

.msg.client {
  align-self: flex-end;
  align-items: flex-end;
}
.msg.client span {
  background: #7B2FFF;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg.ai {
  align-self: flex-start;
  align-items: flex-start;
}
.msg.ai span {
  background: #1C2128;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.07);
  border-bottom-left-radius: 4px;
}
.msg.ai span em {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  color: var(--teal);
  font-style: italic;
  font-weight: 600;
}

/* Typing indicator */
.typing-indicator span {
  background: #1C2128;
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--muted);
  font-size: 20px;
  letter-spacing: 4px;
  padding: 8px 16px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}

.demo-footer {
  padding: 14px 20px;
  background: rgba(0,229,160,0.08);
  border-top: 1px solid rgba(0,229,160,0.2);
  font-size: 12px;
  color: #00E5A0;
  text-align: center;
  font-weight: 500;
}

/* Nav link for AI */
#ai { scroll-margin-top: 64px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  nav ul { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .price-card-featured { transform: scale(1); }
  .footer-inner { flex-direction: column; text-align: center; }
}
