/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0c0c0f;
  --bg-2: #111116;
  --bg-3: #18181f;
  --lime: #c8f73a;
  --lime-dim: rgba(200, 247, 58, 0.12);
  --lime-glow: rgba(200, 247, 58, 0.06);
  --text: #f0f0f1;
  --text-2: #8a8a96;
  --text-3: #4a4a56;
  --border: rgba(255,255,255,0.06);
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(12,12,15,0.85);
  backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--lime); }

.nav-cta {
  background: var(--lime);
  color: #000;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: #d4ff4a;
}

/* === SECTION BASE === */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 64px;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow-lime {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse at 80% 20%, rgba(200,247,58,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime-dim);
  border: 1px solid rgba(200,247,58,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--lime);
  margin-bottom: 32px;
  font-family: var(--font-head);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 24px;
}

.headline-accent {
  color: var(--lime);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 440px;
}

/* Hero image frame */
.hero-visual-aside {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 460px;
}

.img-grid-sampler {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.sample {
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.s1 {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.s1::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(200,247,58,0.15) 100%);
}

.s2 {
  background: linear-gradient(135deg, #2d1b00 0%, #4a3000 50%, #6b4800 100%);
}
.s2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(200,247,58,0.08) 100%);
}

.s3 {
  background: linear-gradient(135deg, #1b1b2f 0%, #1f1f3a 50%, #252550 100%);
}
.s3::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(200,247,58,0.12) 0%, transparent 60%);
}

.s4 {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #222 100%);
}
.s4::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 50%, rgba(200,247,58,0.1) 100%);
}

/* Add visual elements to samples */
.s1::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 10 L90 50 L50 90 L10 50 Z' fill='none' stroke='rgba(200,247,58,0.15)' stroke-width='1'/%3E%3C/svg%3E") center/cover; }
.s2::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 60% 40%, rgba(255,200,50,0.2) 0%, transparent 50%); }
.s3::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(100,150,255,0.08) 0%, transparent 60%); }
.s4::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 40%, rgba(200,247,58,0.06) 100%); }

.prompt-chip {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  white-space: nowrap;
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.prompt-text {
  font-size: 12px;
  color: var(--text-2);
  font-family: var(--font-body);
  font-style: italic;
}

/* === USE CASES === */
.usecases {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.usecase-card {
  background: var(--bg);
  padding: 48px 40px;
  position: relative;
  transition: background 0.3s;
}

.usecase-card:hover { background: var(--bg-2); }

.uc-icon {
  width: 56px;
  height: 56px;
  background: var(--lime-dim);
  border: 1px solid rgba(200,247,58,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.usecase-card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.usecase-card p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.usecase-card ul {
  list-style: none;
}

.usecase-card li {
  font-size: 13px;
  color: var(--text-2);
  padding: 5px 0;
  border-top: 1px solid var(--border);
}

.usecase-card li::before {
  content: '→';
  color: var(--lime);
  margin-right: 8px;
  font-size: 11px;
}

/* === FEATURES === */
.features {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg-2);
  padding: 48px 40px;
  transition: background 0.3s;
}

.feature-card:hover { background: var(--bg-3); }

.feature-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.65;
}

/* === PROCESS === */
.process {
  padding: 120px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
}

.step-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  color: var(--lime);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.step-body h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.step-body p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.65;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 24px;
  width: 80px;
  flex-shrink: 0;
}

/* === MANIFESTO === */
.manifesto {
  padding: 120px 0;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
}

.manifesto-statement {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-text {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 32px;
}

.manifesto-sub {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
}

/* === CLOSING === */
.closing {
  padding: 120px 0 80px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.closing-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-align: center;
  margin-bottom: 16px;
}

.closing-sub {
  color: var(--text-2);
  font-size: 16px;
  text-align: center;
  margin-bottom: 64px;
}

.closing-visual {
  max-width: 900px;
  margin: 0 auto;
}

.closing-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 120px 120px;
  gap: 8px;
}

.cg-item {
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.cg-1 {
  grid-column: span 2;
  background: linear-gradient(135deg, #1a2a1a, #0f2a0f);
  grid-row: 1 / 3;
}
.cg-2 {
  grid-column: span 2;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}
.cg-3 {
  background: linear-gradient(135deg, #2a1a0a, #3a2a0a);
}
.cg-4 {
  background: linear-gradient(135deg, #0a1a2a, #0a2a4a);
}
.cg-5 {
  grid-column: span 2;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}
.cg-6 {
  background: linear-gradient(135deg, #1a0a2a, #2a0a3a);
}

/* === FOOTER === */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-3);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--lime); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px 0;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--text-3);
  font-size: 13px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px;
  }
  .hero-content { order: 1; }
  .hero-visual-aside { order: 2; }
  .usecase-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 40px; }
  .step-connector { display: none; }
  .footer-inner { flex-direction: column; }
  .nav-links { display: none; }
  .closing-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto auto; }
  .cg-1 { grid-column: span 3; grid-row: auto; }
  .cg-5 { grid-column: span 3; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 36px; }
  .section-title { font-size: 28px; }
  .closing-grid { grid-template-columns: repeat(2, 1fr); }
  .cg-1, .cg-5 { grid-column: span 2; }
}
