/* =============================================
   LINKEDOUT PRO — LANDING PAGE v3
   Clean · Professional · Stunning
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --bg:             #06080B;
  --surface:        #0D0F14;
  --surface-hi:     rgba(255,255,255,0.04);
  --border:         rgba(255,255,255,0.07);
  --border-hover:   rgba(255,255,255,0.15);
  --text-primary:   #F0F0F5;
  --text-secondary: rgba(240,240,245,0.65);
  --text-muted:     rgba(240,240,245,0.35);
  --primary:        #0077B5;
  --primary-light:  #0A9FE0;
  --white:          #FFFFFF;
  --font:           'Inter', sans-serif;
  --ease:           cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
  height: 100%; width: 100%;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ========================
   BOOT SCREEN
   ======================== */
#bootScreen {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease);
}
.boot-bg-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,119,181,0.12) 0%, transparent 70%);
  border-radius: 50%; z-index: -1;
  animation: glowPulse 3s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  0%   { transform: translate(-50%, -50%) scale(0.85); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.1);  opacity: 1; }
}
.boot-content {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  animation: fadeUp 0.8s var(--ease) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.boot-logo {
  margin-bottom: 8px;
  filter: drop-shadow(0 0 16px rgba(0,119,181,0.5));
  animation: logoBreathe 2.5s ease-in-out infinite alternate;
}
@keyframes logoBreathe {
  0%   { filter: drop-shadow(0 0 8px rgba(0,119,181,0.3));  transform: scale(0.97); }
  100% { filter: drop-shadow(0 0 24px rgba(0,119,181,0.6)); transform: scale(1.03); }
}
.boot-text-wrap { text-align: center; }
.boot-title   { font-size: 1rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); }
.boot-subtitle{ font-size: 0.625rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; }
.boot-progress-wrap {
  margin-top: 20px; width: 200px; height: 2px;
  background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden;
}
.boot-progress-fill {
  height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  box-shadow: 0 0 12px rgba(0,119,181,0.6);
  transition: width 0.15s ease-out;
}

/* ========================
   CANVAS BACKGROUND
   ======================== */
#bgCanvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; display: block;
  pointer-events: none;
}

/* ========================
   NAVIGATION
   ======================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px;
  background: rgba(8, 9, 12, 0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1160px; margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-size: 1rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.brand-pro   { color: var(--primary); }

.btn-signin {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--primary); color: var(--white);
  border: none; border-radius: 10px;
  font-family: var(--font); font-size: 0.8rem; font-weight: 700;
  text-decoration: none; letter-spacing: 0.02em;
  transition: all 0.2s var(--ease);
  box-shadow: 0 4px 20px rgba(0,119,181,0.3);
}
.btn-signin:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(0,119,181,0.4); }

/* ========================
   HERO SECTION
   ======================== */
.hero {
  min-height: 100vh;
  padding: 160px 32px 80px;
  display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 1;
}
/* Dark shield behind text to ensure readability against the animated canvas */
.hero-container {
  max-width: 760px; text-align: center;
  position: relative;
  isolation: isolate;
}
.hero-container::before {
  content: '';
  position: absolute;
  inset: -80px -120px;
  background: radial-gradient(ellipse at center, rgba(6,8,11,0.92) 30%, rgba(6,8,11,0.7) 65%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(0,119,181,0.1); border: 1px solid rgba(0,119,181,0.25);
  border-radius: 99px;
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary-light);
  margin-bottom: 32px;
  animation: fadeUp 0.6s 0.1s var(--ease) both;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 8px rgba(10,159,224,0.8);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.6;transform:scale(0.8);} }

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900;
  line-height: 1.05; letter-spacing: -0.04em; color: var(--white);
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.2s var(--ease) both;
}
.hero-title-highlight {
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 40%, #00f0ff 60%, var(--white) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 5s linear infinite;
}
@keyframes shine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-desc {
  font-size: 1.1rem; font-weight: 400; color: var(--text-secondary);
  line-height: 1.75; max-width: 560px; margin: 0 auto 40px;
  animation: fadeUp 0.6s 0.3s var(--ease) both;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.hero-cta {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-bottom: 56px;
  animation: fadeUp 0.6s 0.4s var(--ease) both;
}
.cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 40px;
  background: var(--white); color: #000;
  border-radius: 14px; font-family: var(--font);
  font-size: 0.9rem; font-weight: 800; letter-spacing: 0.01em;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  box-shadow: 0 8px 40px rgba(255,255,255,0.15), 0 0 0 1px rgba(255,255,255,0.1), 0 0 20px rgba(255,255,255,0.08) inset;
}
.cta-primary:hover { 
  transform: translateY(-4px) scale(1.02); 
  box-shadow: 0 20px 60px rgba(255,255,255,0.3), 0 0 0 1px rgba(255,255,255,0.2), 0 0 30px rgba(255,255,255,0.2) inset; 
}
.cta-primary:active { transform: translateY(0); }

.cta-google {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 40px;
  background: rgba(255,255,255,0.05); color: var(--text-primary);
  border: 1px solid var(--border-hover); border-radius: 14px;
  font-family: var(--font); font-size: 0.875rem; font-weight: 700;
  letter-spacing: 0.01em; text-decoration: none; width: 100%;
  justify-content: center;
  transition: all 0.25s var(--ease);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.cta-google:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

.hero-cta { gap: 14px; }



/* Feature Pills */
.feature-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  animation: fadeUp 0.6s 0.5s var(--ease) both;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: var(--surface-hi); border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.75rem; font-weight: 600; color: var(--text-secondary);
  transition: all 0.2s var(--ease);
}
.pill:hover { border-color: rgba(0,119,181,0.4); color: var(--text-primary); }
.pill svg { color: var(--primary); flex-shrink: 0; }

/* ========================
   PREVIEW CARDS (Floating)
   ======================== */
.cards-wrap {
  position: relative; width: 100%; max-width: 780px;
  height: 220px; margin-top: 72px;
  animation: fadeUp 0.8s 0.6s var(--ease) both;
}
.preview-card {
  position: absolute; background: rgba(15, 17, 23, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px;
  padding: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
}
.card-1 {
  left: 0; top: 0; width: 300px;
  animation: floatCard 5s ease-in-out infinite alternate;
}
.card-2 {
  left: 50%; transform: translateX(-50%); top: -16px; width: 240px;
  animation: floatCard 4s 0.5s ease-in-out infinite alternate;
}
.card-3 {
  right: 0; top: 16px; width: 200px;
  animation: floatCard 6s 1s ease-in-out infinite alternate;
}
@keyframes floatCard {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}
.card-2 { animation: floatCard2 4s 0.5s ease-in-out infinite alternate; }
@keyframes floatCard2 {
  0%   { transform: translateX(-50%) translateY(0); }
  100% { transform: translateX(-50%) translateY(-12px); }
}

.card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.card-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); flex-shrink: 0; }
.card-meta { flex: 1; }
.card-name { height: 8px; background: rgba(255,255,255,0.15); border-radius: 4px; width: 100px; margin-bottom: 5px; }
.card-sub  { height: 6px; background: rgba(255,255,255,0.07); border-radius: 4px; width: 70px; }
.card-body { display: flex; flex-direction: column; gap: 6px; }
.card-line { height: 7px; background: rgba(255,255,255,0.07); border-radius: 4px; }
.card-line.w-full { width: 100%; }
.card-line.w-4\/5 { width: 80%; }
.card-line.w-3\/5 { width: 60%; }
.card-line.w-3\/4 { width: 75%; }
.card-line.mt-2   { margin-top: 8px; }
.card-line.mt-1   { margin-top: 4px; }
.card-badge {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.65rem; font-weight: 700; color: var(--primary-light);
  background: rgba(0,119,181,0.12); border: 1px solid rgba(0,119,181,0.25);
  padding: 4px 10px; border-radius: 99px;
}
.card-icon-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.card-icon-blue {
  width: 28px; height: 28px; border-radius: 8px; background: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.card-icon-green {
  width: 28px; height: 28px; border-radius: 8px; background: #10b981;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.card-status-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); }
.card-status-label.green { color: #10b981; }
.card-sched-text { font-size: 1.125rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.card-stats-row { display: flex; gap: 8px; margin-top: 10px; }
.stat-chip { font-size: 0.7rem; font-weight: 600; color: var(--text-secondary); background: var(--surface-hi); border: 1px solid var(--border); padding: 4px 10px; border-radius: 99px; }

/* ========================
   HOW IT WORKS
   ======================== */
.how-section {
  position: relative; z-index: 1;
  padding: 100px 32px 120px;
  border-top: 1px solid var(--border);
}
.how-container { max-width: 1100px; margin: 0 auto; }
.section-eyebrow {
  font-size: 0.6875rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--primary-light);
  margin-bottom: 16px; text-align: center;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 800;
  letter-spacing: -0.03em; color: var(--white);
  text-align: center; margin-bottom: 64px;
}
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-card {
  padding: 32px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; transition: all 0.2s var(--ease);
}
.step-card:hover { border-color: rgba(0,119,181,0.3); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.step-num {
  font-size: 0.625rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.25em; color: var(--primary);
  margin-bottom: 20px;
}
.step-title { font-size: 1.1rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; margin-bottom: 12px; }
.step-desc  { font-size: 0.875rem; font-weight: 400; color: var(--text-secondary); line-height: 1.7; }

/* ========================
   FOOTER
   ======================== */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 700; color: var(--text-secondary); }
.footer-copy  { font-size: 0.75rem; color: var(--text-muted); }

/* ========================
   UTILITIES
   ======================== */
.hidden { display: none !important; }
.error-banner {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%);
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3);
  color: #f87171; padding: 14px 24px; border-radius: 12px;
  font-size: 0.8rem; font-weight: 600; z-index: 500; max-width: 480px; text-align: center;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 900px) {
  .hero { padding: 130px 24px 48px; min-height: auto; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .cards-wrap { display: none; margin: 0; height: 0; }
  .how-section { padding: 48px 24px 56px; }
  .section-title { margin-bottom: 40px; }
}

@media (max-width: 600px) {
  .nav-container { padding: 0 20px; }
  .hero { padding: 96px 20px 32px; min-height: auto; }
  .hero-title { font-size: 2.3rem; line-height: 1.05; letter-spacing: -0.02em; }
  .hero-desc { font-size: 0.95rem; line-height: 1.65; margin-bottom: 24px; color: rgba(240,240,245,0.7); }
  .hero-badge { margin-bottom: 18px; font-size: 0.6rem; padding: 5px 12px; }
  .hero-cta { margin-bottom: 28px; }
  .feature-pills { gap: 8px; margin-bottom: 0; }
  .btn-signin { padding: 9px 14px; font-size: 0.75rem; }
  .pill { font-size: 0.7rem; padding: 7px 13px; gap: 5px; }
  .cta-primary { padding: 16px 28px; font-size: 0.875rem; width: 100%; justify-content: center; border-radius: 12px; }
  .how-section { padding: 32px 20px 48px; }
  .section-eyebrow { margin-bottom: 10px; }
  .section-title { font-size: 1.7rem; margin-bottom: 28px; }
  .step-card { padding: 24px; }
  .footer { padding: 24px 20px; }
  .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
}
