/* ============================================================
   styles-v05.css — Magikid Franchise v0.5
   Simplified: Form → Owner Stories → Founder → Community → Process → Form
   ============================================================ */

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

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

:root {
  --navy:    #141c42;
  --deep:    #0b0f22;
  --card:    #1b2460;
  --border:  #2a3880;
  --cyan:    #01c1c8;
  --blue:    #01abff;
  --yellow:  #ffde59;
  --text:    #ffffff;
  --muted:   #dde8fe;
  --dim:     #5a6a9a;
  --radius:  14px;
  --r-pill:  100px;
  --max-w:   1100px;
}

html { scroll-behavior: smooth; }

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

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.grad-text {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Image Placeholder ─────────────────────────────────────── */
.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100px;
  background: linear-gradient(135deg, rgba(1,193,200,0.08), rgba(1,171,255,0.08));
  border: 2px dashed rgba(1,193,200,0.3);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--dim);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  transition: all 0.3s;
}
.img-placeholder:hover {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(1,193,200,0.12), rgba(1,171,255,0.12));
}
.img-placeholder .placeholder-icon {
  font-size: 2rem;
}
.img-placeholder small {
  font-size: 0.65rem;
  color: var(--dim);
  font-weight: 400;
}

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 66px;
  background: rgba(11, 15, 34, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42, 56, 128, 0.5);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
}
.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo span {
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--dim);
  display: block;
  margin-top: -4px;
  -webkit-text-fill-color: var(--dim);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
  padding: 9px 24px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.88rem;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── SECTION COMMON ───────────────────────────────────────── */
.section { padding: 80px 0; }
.section-header-center {
  text-align: center;
  margin-bottom: 48px;
}
.sec-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(1,193,200,0.1);
  padding: 4px 13px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}
.sec-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.sec-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 580px;
}

/* ── CONTACT / FORM ───────────────────────────────────────── */
.contact-section {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 80px 0;
}
.contact-section.hero-form {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}
.trust-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}
.trust-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  flex-shrink: 0;
}
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
}
.form-intro {
  font-size: 0.85rem;
  color: var(--dim);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
  letter-spacing: 0.04em;
}
.form-group input {
  width: 100%;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus { border-color: var(--blue); }
.form-group input::placeholder { color: var(--dim); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  padding: 15px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 6px 24px rgba(1,171,255,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(1,171,255,0.35);
}
.form-note {
  font-size: 0.72rem;
  color: var(--dim);
  margin-top: 14px;
  text-align: center;
  line-height: 1.5;
}
.form-success {
  display: none;
  background: rgba(1,193,200,0.1);
  border: 1px solid rgba(1,193,200,0.4);
  color: #01c1c8;
  padding: 14px;
  border-radius: 10px;
  margin-top: 14px;
  font-size: 0.88rem;
  text-align: center;
}

/* Stats Row */
.stats-row {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}
.stat-quick {
  text-align: center;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 80px;
}
.sq-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.sq-label {
  font-size: 0.7rem;
  color: var(--dim);
}

/* ── OWNER STORIES ─────────────────────────────────────────── */
.stories-section {
  background: linear-gradient(180deg, var(--deep) 0%, var(--navy) 100%);
}
.owner-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.owner-story-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.owner-story-card:hover {
  transform: translateY(-6px);
  border-color: rgba(1,193,200,0.4);
}
.owner-card-img {
  height: 200px;
}
.owner-card-img .img-placeholder {
  border-radius: 0;
  border: none;
  min-height: 200px;
}
.owner-card-content {
  padding: 24px;
}
.owner-badge {
  display: inline-block;
  background: rgba(1,193,200,0.12);
  color: var(--cyan);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.owner-card-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.owner-bio {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.owner-stats-mini {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.owner-stats-mini span {
  font-size: 0.75rem;
  color: var(--dim);
}
.owner-stats-mini strong {
  color: var(--yellow);
}
.owner-link {
  display: inline-flex;
  align-items: center;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
}
.owner-link:hover { text-decoration: underline; }

/* ── FOUNDER STORY ─────────────────────────────────────────── */
.founder-section {
  background: var(--navy);
}
.founder-hero-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  margin-bottom: 40px;
}
.founder-main-img .img-placeholder {
  min-height: 350px;
}
.founder-side-imgs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.founder-side-img .img-placeholder {
  min-height: 160px;
}
.founder-story-content {
  max-width: 800px;
  margin: 0 auto;
}
.founder-quote-large {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 28px;
  padding-left: 24px;
  border-left: 4px solid var(--cyan);
}
.founder-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
}
.founder-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.founder-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s;
}
.founder-link-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}
.fl-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fl-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.fl-name {
  font-weight: 700;
  font-size: 0.9rem;
}
.fl-url {
  font-size: 0.72rem;
  color: var(--dim);
}

/* ── COMMUNITY STORIES ────────────────────────────────────── */
.community-section {
  background: linear-gradient(180deg, var(--navy) 0%, var(--deep) 100%);
}
.community-story-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.community-story-card:last-child {
  border-bottom: none;
}
.community-story-card.reverse {
  direction: rtl;
}
.community-story-card.reverse > * {
  direction: ltr;
}
.cs-image .img-placeholder {
  min-height: 300px;
  border-radius: 16px;
}
.cs-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.ai-tag { background: rgba(255,215,0,0.15); color: #ffd700; }
.biz-tag { background: rgba(1,193,200,0.15); color: var(--cyan); }
.nasa-tag { background: rgba(1,171,255,0.15); color: var(--blue); }
.cs-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}
.cs-excerpt {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.cs-link {
  display: inline-flex;
  align-items: center;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.9rem;
}
.cs-link:hover { text-decoration: underline; }

/* ── PROCESS SECTION ───────────────────────────────────────── */
.process-section {
  background: var(--deep);
}

/* ── 步骤流程设计（垂直+图标+贯通连接线） ── */
.steps-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  position: relative;
}

/* 贯穿所有步骤的竖线 */
.steps-container::before {
  content: '';
  position: absolute;
  left: 51px; /* 20px padding + 64px/2 图标居中 */
  top: 32px;  /* 第一个图标中心 */
  bottom: 32px; /* 最后一个图标中心 */
  width: 3px;
  background: linear-gradient(to bottom, var(--cyan), var(--blue));
  opacity: 0.35;
  z-index: 0;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  position: relative;
  padding-bottom: 36px;
}

.step-item:last-child {
  padding-bottom: 0;
}

/* 图标区域 */
.step-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-line {
  display: none; /* 不再需要单独的线元素，由 ::before 统一处理 */
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 30px rgba(1,193,200,0.4);
  z-index: 2;
  position: relative;
}

/* 内容区域 */
.step-content {
  padding-top: 10px;
  flex: 1;
}

.step-number {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}

.step-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.step-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
}

/* 时间条 */
.process-timeline-bar {
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(1,193,200,0.1), rgba(1,171,255,0.1));
  border: 1px solid rgba(1,193,200,0.3);
  border-radius: 12px;
  font-size: 1.05rem;
  color: var(--muted);
}
.process-timeline-bar strong {
  font-size: 1.4rem;
  margin-left: 12px;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: #07091a;
  border-top: 1px solid var(--border);
  padding: 32px 28px;
  text-align: center;
}
.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.footer p {
  font-size: 0.78rem;
  color: var(--dim);
  line-height: 1.6;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .owner-stories-grid { grid-template-columns: 1fr; }
  .founder-hero-layout { grid-template-columns: 1fr; }
  .founder-side-imgs { flex-direction: row; }
  .founder-links { grid-template-columns: repeat(2, 1fr); }
  .community-story-card { grid-template-columns: 1fr; }
  .community-story-card.reverse { direction: ltr; }

  .stats-row { flex-wrap: wrap; }
  .hero-form { min-height: auto; padding: 120px 0 60px; }
  
  /* 步骤流程响应式 */
  .step-item {
    gap: 20px;
  }
  .step-icon {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
  .step-content h3 {
    font-size: 1.05rem;
  }
}
}
