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

:root {
  --bg: #0c0c0f;
  --bg-elevated: #111115;
  --bg-card: #141418;
  --text: #e8e3d5;
  --text-muted: #7a7668;
  --accent: #b4ff3f;
  --accent-dim: rgba(180, 255, 63, 0.08);
  --border: rgba(232, 227, 213, 0.08);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--bg); }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
}

.nav-brand { display: flex; align-items: center; gap: 12px; }

.freq-logo {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-status {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  right: 80px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 160px;
  opacity: 0.18;
}

.wave-bar {
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  animation: wave-pulse 2s ease-in-out infinite;
}
.w1 { height: 20%; animation-delay: 0s; }
.w2 { height: 40%; animation-delay: 0.15s; }
.w3 { height: 65%; animation-delay: 0.3s; }
.w4 { height: 95%; animation-delay: 0.45s; }
.w5 { height: 75%; animation-delay: 0.6s; }
.w6 { height: 55%; animation-delay: 0.75s; }
.w7 { height: 80%; animation-delay: 0.9s; }
.w8 { height: 50%; animation-delay: 1.05s; }
.w9 { height: 35%; animation-delay: 1.2s; }
.w10 { height: 60%; animation-delay: 1.35s; }
.w11 { height: 45%; animation-delay: 1.5s; }
.w12 { height: 25%; animation-delay: 1.65s; }

@keyframes wave-pulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}

.hero-content { max-width: 820px; position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 32px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 80px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}

/* === PHILOSOPHY === */
.philosophy {
  padding: 140px 48px;
  background: var(--bg-elevated);
  position: relative;
}

.philosophy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.philosophy-inner { max-width: 860px; }

.philosophy-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.label-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.philosophy-label span:last-child {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 32px;
  font-style: italic;
}

.philosophy-body {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}

/* === FEATURES === */
.features {
  padding: 140px 48px;
}

.features-header {
  margin-bottom: 72px;
}

.features-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  margin-bottom: 16px;
}

.features-sub {
  font-size: 15px;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

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

.feature-card:hover { background: #18181e; }

.feature-icon {
  color: var(--accent);
  margin-bottom: 28px;
  opacity: 0.8;
}

.feature-name {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* === WORKFLOW === */
.workflow {
  padding: 140px 48px;
  background: var(--bg-elevated);
  position: relative;
}

.workflow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.workflow-inner { max-width: 1000px; }

.workflow-header { margin-bottom: 80px; }

.workflow-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  margin-bottom: 16px;
}

.workflow-sub {
  font-size: 15px;
  color: var(--text-muted);
}

.workflow-steps {
  display: grid;
  grid-template-columns: auto 40px auto 40px auto 40px auto;
  align-items: center;
  gap: 0;
}

.step {
  display: flex;
  flex-direction: column;
}

.step-num {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}

.step-name {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

.step-connector {
  width: 40px;
  height: 1px;
  background: var(--border);
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}

/* === CLOSING === */
.closing {
  padding: 160px 48px;
  text-align: center;
}

.closing-inner { max-width: 720px; margin: 0 auto; }

.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  background: var(--accent-dim);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 56px;
}

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

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 40px;
}

.closing-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 64px;
  font-weight: 300;
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--accent);
  opacity: 0.6;
}

/* === FOOTER === */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-status {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .hero { padding: 0 24px 60px; }
  .hero-wave { display: none; }
  .hero-scroll-hint { display: none; }
  .philosophy, .features, .workflow { padding: 80px 24px; }
  .closing { padding: 100px 24px; }
  .footer { padding: 32px 24px; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .step-connector { display: none; }

  .philosophy-quote { font-size: 24px; }
  .features-title, .workflow-title { font-size: 32px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 52px; }
  .closing-headline { font-size: 36px; }
}