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

body {
  background-color: #09090b;
  color: #f4f4f5;
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  overflow-x: hidden;
}

section {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(249,115,22,0.12), rgba(234,88,12,0.04) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero > *:not(.hero-glow) { position: relative; z-index: 1; }

.logo {
  font-size: clamp(3.5rem, 10vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.logo .grad {
  background: linear-gradient(135deg, #f97316, #fb923c, #fdba74);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo .ic {
  display: inline-block;
  animation: flame 1.5s ease-in-out infinite;
  -webkit-text-fill-color: initial;
}

.sub {
  font-size: 0.85rem;
  font-weight: 500;
  color: #f97316;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  font-weight: 700;
  color: #f4f4f5;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.hero-title strong {
  background: linear-gradient(135deg, #f97316, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── CTA Rotating word ─── */
.cta-window {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.2em;
  text-align: center;
}

.cta-slide {
  display: block;
  animation: ctaSlide 12s ease infinite;
}

.cta-slide span {
  display: block;
  height: 1.2em;
  line-height: 1.2em;
  white-space: nowrap;
}

@keyframes ctaSlide {
  0%       { transform: translateY(0); }
  12%      { transform: translateY(0); }
  14.28%   { transform: translateY(-14.285%); }
  26%      { transform: translateY(-14.285%); }
  28.57%   { transform: translateY(-28.571%); }
  40%      { transform: translateY(-28.571%); }
  42.85%   { transform: translateY(-42.857%); }
  54%      { transform: translateY(-42.857%); }
  57.14%   { transform: translateY(-57.142%); }
  68%      { transform: translateY(-57.142%); }
  71.42%   { transform: translateY(-71.428%); }
  83%      { transform: translateY(-71.428%); }
  85.71%   { transform: translateY(-85.714%); }
  100%     { transform: translateY(-85.714%); }
}

.hero-desc {
  font-size: 1.05rem;
  font-weight: 300;
  color: #a1a1aa;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  text-align: center;
  border-radius: 0.5rem;
  background: linear-gradient(to right, #ea580c, #f97316);
  color: #000;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 24px rgba(249,115,22,0.25);
}
.hero-cta:hover { transform: scale(1.05); box-shadow: 0 0 36px rgba(249,115,22,0.35); }

/* ─── Section header ─── */
.sh { text-align: center; margin-bottom: 2rem; }
.sh h2 { font-size: 1.35rem; font-weight: 800; color: #f4f4f5; margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.sh h2 .fire { background: linear-gradient(135deg, #f97316, #fb923c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sh p { font-size: 0.88rem; color: #71717a; line-height: 1.5; }

/* ─── Vision ─── */
.vision { text-align: center; padding-top: 0.5rem; padding-bottom: 0.5rem; }

.vision-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
  color: #f97316; border: 1px solid rgba(249,115,22,0.25); background: rgba(249,115,22,0.05);
  padding: 0.4rem 1.2rem; border-radius: 9999px; margin-bottom: 1.75rem;
}

.vision-card {
  position: relative; border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(24,24,27,0.8), rgba(15,15,17,0.9));
  border: 1px solid rgba(249,115,22,0.12); padding: 2.25rem 2rem; overflow: hidden;
  box-shadow: 0 4px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.03);
}

.vision-glow {
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 400px; height: 300px;
  background: radial-gradient(ellipse, rgba(249,115,22,0.1), rgba(251,146,60,0.03) 50%, transparent 70%);
  pointer-events: none; animation: visionGlow 4s ease-in-out infinite alternate;
}

@keyframes visionGlow { from { opacity: 0.6; } to { opacity: 1; } }

.vision-line {
  display: flex; align-items: center; gap: 1.1rem; padding: 0.85rem 0.5rem;
  position: relative; z-index: 1; animation: visionFade 0.6s ease-out both;
  border-radius: 0.75rem; transition: background 0.2s;
}
.vision-line:hover { background: rgba(249,115,22,0.04); }

.vision-icon {
  font-size: 1.5rem; flex-shrink: 0; width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(249,115,22,0.04));
  border: 1px solid rgba(249,115,22,0.1); border-radius: 0.75rem;
}

.vision-text { text-align: left; line-height: 1.5; }
.vision-text span { display: block; font-size: 0.82rem; color: #a1a1aa; letter-spacing: 0.01em; }
.vision-text strong {
  display: block; font-size: clamp(1.05rem, 3vw, 1.2rem); font-weight: 700;
  background: linear-gradient(135deg, #f97316, #fb923c, #fdba74);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.vision-sep { height: 1px; background: linear-gradient(to right, transparent, rgba(249,115,22,0.08), transparent); margin: 0.15rem 1rem; }

@keyframes visionFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ─── Divider ─── */
.divider { height: 1px; background: linear-gradient(to right, transparent, rgba(249,115,22,0.12), rgba(251,146,60,0.06), transparent); margin: 3.5rem auto; max-width: 360px; }

/* ─── Chat Bot vs AI Bot ─── */
.oneliner { text-align: center; font-size: 1.15rem; color: #a1a1aa; margin-bottom: 1.75rem; }
.oneliner .dim { color: #52525b; }
.oneliner .bright { background: linear-gradient(135deg, #f97316, #fb923c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 700; }

.chat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.chat {
  border-radius: 1rem; padding: 1.5rem; border: 1px solid rgba(39,39,42,0.5);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15); transition: transform 0.2s, box-shadow 0.2s;
}
.chat:hover { transform: translateY(-2px); }
.chat.old { background: linear-gradient(145deg, rgba(24,24,27,0.3), rgba(15,15,17,0.4)); opacity: 0.55; }
.chat.now { background: linear-gradient(145deg, rgba(24,24,27,0.8), rgba(15,15,17,0.9)); border-color: rgba(249,115,22,0.2); box-shadow: 0 4px 30px rgba(249,115,22,0.06), 0 2px 20px rgba(0,0,0,0.2); }

.chat-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.85rem; padding-bottom: 0.6rem; border-bottom: 1px solid rgba(39,39,42,0.25); }
.chat.old .chat-tag { color: #52525b; }
.chat.now .chat-tag { color: #f97316; }

.bub { display: flex; gap: 0.5rem; margin-bottom: 0.55rem; font-size: 0.8rem; line-height: 1.5; }
.bub .w { flex-shrink: 0; }
.chat.old .bub .t { color: #52525b; }
.chat.now .bub .t { color: #d4d4d8; }
.bub .ok { color: #22c55e; font-weight: 600; }

/* ─── Features ─── */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; text-align: left; }

.feat {
  padding: 1.5rem; border-radius: 1rem;
  background: linear-gradient(145deg, rgba(24,24,27,0.7), rgba(15,15,17,0.8));
  border: 1px solid rgba(39,39,42,0.4); transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}
.feat:hover { border-color: rgba(249,115,22,0.25); transform: translateY(-2px); box-shadow: 0 4px 24px rgba(249,115,22,0.06), 0 2px 16px rgba(0,0,0,0.2); }
.feat .ei {
  font-size: 1.5rem; margin-bottom: 0.5rem; display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(249,115,22,0.03));
  border: 1px solid rgba(249,115,22,0.08); border-radius: 0.65rem;
}
.feat h3 { font-size: 0.95rem; font-weight: 700; color: #f4f4f5; margin-bottom: 0.25rem; }
.feat p { font-size: 0.8rem; color: #71717a; line-height: 1.5; }

/* ─── Memory ─── */
.mem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; text-align: left; }

.mem {
  padding: 1.15rem 1.35rem; border-radius: 1rem;
  background: linear-gradient(145deg, rgba(24,24,27,0.7), rgba(15,15,17,0.8));
  border: 1px solid rgba(39,39,42,0.4); display: flex; gap: 0.85rem; align-items: flex-start;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s; box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}
.mem:hover { border-color: rgba(249,115,22,0.2); transform: translateY(-2px); box-shadow: 0 4px 24px rgba(249,115,22,0.06), 0 2px 16px rgba(0,0,0,0.2); }

.mem .mi {
  font-size: 1.3rem; flex-shrink: 0; margin-top: 0.15rem; width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(249,115,22,0.03));
  border: 1px solid rgba(249,115,22,0.08); border-radius: 0.6rem;
}
.mem h4 { font-size: 0.88rem; font-weight: 700; color: #f4f4f5; margin-bottom: 0.2rem; }
.mem p { font-size: 0.78rem; color: #71717a; line-height: 1.5; }

/* ─── Timeline ─── */
.tl { text-align: left; position: relative; padding-left: 2.5rem; }

.tl::before {
  content: ''; position: absolute; left: 0.55rem; top: 0.5rem; bottom: 0.5rem;
  width: 2px; background: linear-gradient(to bottom, #f97316, #fb923c 50%, rgba(251,146,60,0.08)); border-radius: 2px;
}

.tl-i {
  position: relative; margin-bottom: 1.75rem; padding: 0.85rem 1.1rem; border-radius: 0.85rem;
  background: linear-gradient(145deg, rgba(24,24,27,0.5), rgba(15,15,17,0.6));
  border: 1px solid rgba(39,39,42,0.3); transition: border-color 0.25s, transform 0.2s;
}
.tl-i:hover { border-color: rgba(249,115,22,0.2); transform: translateX(4px); }

.tl-i::before {
  content: ''; position: absolute; left: -2.2rem; top: 1.1rem;
  width: 12px; height: 12px; border-radius: 50%; background: #f97316;
  box-shadow: 0 0 10px rgba(249,115,22,0.5); border: 2px solid #09090b;
}

.tl-i .tl-t { font-size: 0.82rem; font-weight: 700; color: #fb923c; margin-bottom: 0.25rem; }
.tl-i .tl-d { font-size: 0.88rem; color: #a1a1aa; line-height: 1.55; }

/* ─── Skills ─── */
.sk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; text-align: center; }

.sk {
  padding: 1.1rem 0.6rem; border-radius: 1rem;
  background: linear-gradient(145deg, rgba(24,24,27,0.7), rgba(15,15,17,0.8));
  border: 1px solid rgba(39,39,42,0.4); transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.sk:hover { border-color: rgba(249,115,22,0.25); transform: translateY(-3px); box-shadow: 0 4px 20px rgba(249,115,22,0.06), 0 2px 12px rgba(0,0,0,0.15); }
.sk .si {
  font-size: 1.4rem; margin-bottom: 0.4rem; display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; background: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(249,115,22,0.02)); border-radius: 0.55rem;
}
.sk .sn { font-size: 0.8rem; font-weight: 700; color: #f4f4f5; margin-bottom: 0.15rem; }
.sk .sd { font-size: 0.65rem; color: #71717a; line-height: 1.4; }

.sk-custom {
  grid-column: 1 / -1; padding: 1rem; border-radius: 1rem;
  background: linear-gradient(135deg, rgba(249,115,22,0.06), rgba(249,115,22,0.02));
  border: 1px dashed rgba(249,115,22,0.2); color: #fb923c; font-size: 0.85rem; font-weight: 600;
  text-align: center; transition: background 0.2s;
}
.sk-custom:hover { background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(249,115,22,0.04)); }

/* ─── Bottom CTA ─── */
.bottom-cta { text-align: center; padding: 3rem 1.5rem 2rem; max-width: 720px; margin: 0 auto; }

.agent-pill {
  display: inline-flex; align-items: center; gap: 0.5rem; color: #a1a1aa; font-size: 0.9rem;
  text-decoration: none; padding: 0.5rem 1.25rem; border-radius: 9999px;
  border: 1px solid rgba(39,39,42,0.5); transition: all 0.2s; margin-bottom: 2.5rem;
}
.agent-pill:hover { color: #f4f4f5; border-color: rgba(249,115,22,0.4); }
.agent-pill .an { color: #fb923c; font-weight: 600; }

.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.6);
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(34,197,94,0.6); }
  50% { opacity: 0.5; box-shadow: 0 0 12px rgba(34,197,94,0.8); }
}

/* ─── Footer ─── */
footer {
  text-align: center; padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid rgba(39,39,42,0.2); max-width: 720px; margin: 0 auto;
}

.foot-quote { font-style: italic; color: #3f3f46; font-size: 0.85rem; margin-bottom: 1.25rem; line-height: 1.5; }

.foot-links { display: flex; justify-content: center; gap: 1.75rem; flex-wrap: wrap; }
.foot-links a { color: #52525b; font-size: 0.78rem; font-weight: 500; text-decoration: none; transition: color 0.2s; letter-spacing: 0.02em; }
.foot-links a:hover { color: #fb923c; }

/* ─── Modal ─── */
.modal-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(4px); z-index: 1000;
  justify-content: center; align-items: center;
}
.modal-overlay.active { display: flex; }

.modal {
  background: linear-gradient(145deg, rgba(24,24,27,0.98), rgba(9,9,11,0.98));
  border: 1px solid rgba(249,115,22,0.2); border-radius: 1rem; padding: 2rem;
  max-width: 420px; width: 90%; position: relative; box-shadow: 0 0 60px rgba(249,115,22,0.15);
}

.modal-close {
  position: absolute; top: 1rem; right: 1rem; background: none; border: none;
  color: #71717a; font-size: 1.5rem; cursor: pointer; transition: color 0.2s;
}
.modal-close:hover { color: #f4f4f5; }

.modal h2 {
  font-size: 1.5rem; margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #f97316, #fb923c);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.modal p { color: #a1a1aa; font-size: 0.95rem; margin-bottom: 1.5rem; }

.modal-form { display: flex; flex-direction: column; gap: 0.75rem; }

.modal-input {
  padding: 0.85rem 1rem; border: 1px solid #27272a; border-radius: 0.5rem;
  background: #09090b; color: #f4f4f5; font-size: 0.95rem; outline: none; transition: border-color 0.2s;
}
.modal-input:focus { border-color: #f97316; }
.modal-input::placeholder { color: #52525b; }

.modal-btn {
  padding: 0.85rem 1.5rem; background: linear-gradient(135deg, #f97316, #ea580c);
  border: none; border-radius: 0.5rem; color: #000; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.modal-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(249,115,22,0.35); }

.modal-status { text-align: center; font-size: 0.9rem; min-height: 1.5rem; margin-top: 0.5rem; }
.modal-status.success { color: #22c55e; }
.modal-status.error { color: #ef4444; }

/* ─── Animations ─── */
@keyframes flame {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.05) rotate(-2deg); }
  50% { transform: scale(1.1) rotate(0deg); }
  75% { transform: scale(1.05) rotate(2deg); }
}

@media (max-width: 520px) {
  .feat-grid, .chat-grid, .mem-grid { grid-template-columns: 1fr; }
  .sk-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 3rem; }
  .vision-card { padding: 1.5rem 1rem; }
  .vision-icon { width: 2.4rem; height: 2.4rem; font-size: 1.3rem; }
  .vision-line { gap: 0.85rem; padding: 0.75rem 0.35rem; }
}