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

:root {
  --tech-blue: #0A2540;
  --cyan: #00B7E3;
  --charcoal: #1A1A1A;
  --white: #F8F9FA;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--tech-blue) 100%);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Animated background */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ─── NAV ─── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 5%;
  background: rgba(10, 37, 64, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
}

.logo-copy {
  align-items: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
}

.logo-text {
  display: block;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.035em;
  color: var(--white);
  text-decoration: none;
}

.logo-tagline {
  color: rgba(255, 255, 255, 0.58);
  display: block;
  font-size: 0.44rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(0.30rem);
  white-space: nowrap;
}

.text-highlight {
  color: var(--cyan);
  margin-left: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

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

.btn-nav {
  background: var(--cyan);
  color: var(--charcoal) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.3);
  color: var(--charcoal) !important;
}

/* Nav social icons */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-socials a {
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  transition: color 0.3s, transform 0.3s;
}

.nav-socials a:hover {
  color: var(--cyan);
  transform: translateY(-1px);
}

/* ─── HERO (two-column) ─── */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 8rem 5% 4rem 5%;
  position: relative;
  z-index: 1;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 560px;
  animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  animation: fadeIn 1s 0.3s ease-out both;
}

.notify-page {
  justify-content: center;
  text-align: center;
}

.notify-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  max-width: 760px;
}

/* Features section */
.features-section {
  position: relative;
  z-index: 1;
  padding: 0 5% 5rem 5%;
  display: flex;
  justify-content: center;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 2.5rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: fadeIn 0.8s ease-out;
}

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

/* Title */
.main-title {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 30%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 700px;
  animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.main-subtitle {
  font-size: 1.2rem;
  color: #90A4AE;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 3rem;
  animation: slideUp 0.8s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* ─── SIGNUP FORM ─── */
.signup-container {
  animation: slideUp 0.8s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  width: 100%;
  max-width: 500px;
  margin-bottom: 3.5rem;
}

.signup-form {
  display: flex;
  gap: 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 60px;
  padding: 5px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.signup-form:focus-within {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.1);
}

.signup-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 1rem 1.5rem;
  color: var(--white);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  min-width: 0;
}

.signup-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.signup-form button {
  background: var(--cyan);
  color: var(--charcoal);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s, box-shadow 0.3s;
}

.signup-form button:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.35);
}

.form-note {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
  margin-top: 1rem;
}

/* Success message (hidden by default) */
.success-message {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: slideUp 0.5s ease-out;
}

.success-message.show {
  display: flex;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.12);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.success-message h3 {
  font-size: 1.2rem;
  color: var(--white);
}

.success-message p {
  color: #90A4AE;
  font-size: 0.95rem;
}

/* ─── FEATURES PREVIEW ─── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 750px;
  width: 100%;
  animation: slideUp 0.8s 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
}

.feature-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.feature-card p {
  font-size: 0.82rem;
  color: #78909C;
  line-height: 1.5;
}

/* Feature page */
.feature-page {
  position: relative;
  z-index: 1;
  width: 100%;
}

.feature-hero {
  min-height: 72vh;
  padding: 9rem 5% 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 980px;
}

.feature-hero .main-title {
  max-width: 900px;
}

.feature-hero .main-subtitle {
  max-width: 720px;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 3rem;
  align-items: center;
  padding: 2rem 5% 5rem;
}

.feature-story-copy {
  max-width: 680px;
}

.section-kicker {
  color: var(--cyan);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.feature-story h2,
.feature-cta h2 {
  color: var(--white);
  font-size: 2.4rem;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.feature-story p,
.feature-cta p {
  color: #90A4AE;
  font-size: 1.05rem;
  line-height: 1.75;
}

.signal-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  padding: 1.4rem;
}

.signal-panel-header {
  align-items: center;
  color: var(--cyan);
  display: flex;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 10px;
  margin-bottom: 1rem;
}

.signal-row {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #CFD8DC;
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.signal-row span {
  color: #90A4AE;
}

.signal-action {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.16);
  border-radius: 12px;
  color: #CFD8DC;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-top: 0.8rem;
  padding: 1rem;
}

.feature-grid-large {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 5% 5rem;
}

.large-feature-card {
  text-align: left;
}

.large-feature-card .feature-icon {
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0 0 1.2rem;
}

.large-feature-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}

.large-feature-card p {
  font-size: 0.9rem;
}

.feature-cta {
  align-items: flex-start;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  margin: 0 5% 4rem;
  max-width: 860px;
  padding-top: 4rem;
}

.feature-cta .btn-nav {
  display: inline-flex;
  margin-top: 1.5rem;
}

/* ─── SYSTEM STATUS CARD ─── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.15);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.04) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
  position: relative;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

.status-text {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.95rem;
}

.terminal {
  background: rgba(0, 0, 0, 0.5);
  padding: 1.25rem;
  border-radius: 12px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.82rem;
  line-height: 1.9;
  margin-bottom: 1rem;
  position: relative;
  text-align: left;
}

.terminal-line {
  display: block;
  color: var(--cyan);
}

.terminal-bold { color: var(--white); }
.tag-ok { color: #4CAF50; }
.tag-warn { color: #FFC107; }

.card-footer {
  color: #546E7A;
  font-size: 0.82rem;
  line-height: 1.5;
  position: relative;
  text-align: left;
}
.chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 200;
  box-shadow: 0 6px 24px rgba(0, 229, 255, 0.4);
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
  animation: fabPulse 3s ease-in-out infinite;
}

.chat-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.5);
}

.chat-fab.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5);
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(0, 229, 255, 0.4); }
  50% { box-shadow: 0 6px 36px rgba(0, 229, 255, 0.6); }
}

.chat-window {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 380px;
  height: 520px;
  background: rgba(10, 20, 40, 0.97);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  z-index: 201;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.8) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s;
}

.chat-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Chat Header */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(0, 229, 255, 0.06);
  border-bottom: 1px solid var(--glass-border);
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-header-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.chat-header-status {
  font-size: 0.72rem;
  color: #78909C;
  display: flex;
  align-items: center;
  gap: 5px;
}

.online-dot {
  width: 6px;
  height: 6px;
  background: #4CAF50;
  border-radius: 50%;
  display: inline-block;
}

.chat-close {
  background: none;
  border: none;
  color: #78909C;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

/* Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.chat-msg {
  max-width: 85%;
  padding: 0.7rem 1rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  animation: msgIn 0.3s ease-out;
}

.chat-msg.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  color: #CFD8DC;
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--cyan);
  color: var(--charcoal);
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

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

/* Typing indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 0.8rem 1.1rem !important;
  align-items: center;
}

.typing-indicator span {
  width: 7px;
  height: 7px;
  background: rgba(0, 229, 255, 0.5);
  border-radius: 50%;
  animation: typingBounce 1.2s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Suggestions */
.chat-suggestions {
  padding: 0 1rem 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.suggestion-btn {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 50px;
  padding: 6px 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.suggestion-btn:hover {
  background: rgba(0, 229, 255, 0.15);
  transform: translateY(-1px);
}

/* Input */
.chat-input-row {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border-top: 1px solid var(--glass-border);
  gap: 8px;
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  color: var(--white);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.3s;
}

.chat-input:focus {
  border-color: rgba(0, 229, 255, 0.3);
}

.chat-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--cyan);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.chat-send:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
}

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 3rem 5%;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 0.24rem;
}

.footer-brand-mark {
  opacity: 0.95;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  transition: color 0.3s, transform 0.3s;
}

.footer-socials a:hover {
  color: var(--cyan);
  transform: translateY(-2px);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
}

/* ─── ANIMATIONS ─── */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* ═══════════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    flex-direction: column;
    padding: 7rem 6% 3rem 6%;
    min-height: auto;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-visual {
    width: 100%;
  }

  .main-title {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 1.2rem;
  }

  .main-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .signup-form {
    flex-direction: column;
    border-radius: 16px;
    padding: 4px;
    gap: 0;
  }

  .signup-form input {
    padding: 1.1rem 1.2rem;
    text-align: center;
    border-radius: 12px;
  }

  .signup-form button {
    width: 100%;
    padding: 1.1rem;
    border-radius: 12px;
    font-size: 1rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
  }

  .feature-card {
    padding: 1.5rem;
    text-align: left;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }

  .feature-icon {
    margin: 0;
    flex-shrink: 0;
  }

  .feature-card h4 {
    margin-bottom: 0.3rem;
  }

  .badge {
    margin-bottom: 1.5rem;
    font-size: 0.7rem;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  /* Chatbot mobile */
  .chat-fab {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

  .chat-window {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .suggestion-btn {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  /* Status card mobile */
  .glass-card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .terminal {
    font-size: 0.7rem;
    padding: 1rem;
    overflow-x: auto;
  }

  .status-text {
    font-size: 0.85rem;
  }

  .feature-hero {
    min-height: auto;
    padding: 7rem 6% 3rem;
    text-align: center;
  }

  .feature-story {
    grid-template-columns: 1fr;
    padding: 1rem 6% 3rem;
    text-align: left;
  }

  .feature-story h2,
  .feature-cta h2 {
    font-size: 1.8rem;
  }

  .feature-grid-large {
    grid-template-columns: 1fr;
    padding: 0 6% 3rem;
  }

  .large-feature-card {
    display: block;
  }

  .large-feature-card .feature-icon {
    margin-bottom: 1rem;
  }

  .feature-cta {
    align-items: center;
    margin: 0 6% 3rem;
    padding-top: 3rem;
    text-align: center;
  }
}

@media (max-width: 375px) {
  .coming-soon {
    padding-top: 7rem;
  }

  .main-title {
    font-size: 1.9rem;
  }

  .main-subtitle {
    font-size: 0.92rem;
  }
}

/* Brand sheet alignment */
:root {
  --brand-navy: #071D33;
  --brand-navy-soft: #0D2B47;
  --brand-cyan: #00B7E3;
  --brand-cyan-soft: #E7F9FC;
  --brand-green: #55C969;
  --brand-paper: #F7FAFC;
  --brand-surface: #FFFFFF;
  --brand-border: #DDE7EE;
  --brand-muted: #617587;
  --brand-shadow: 0 20px 60px rgba(7, 29, 51, 0.12);
  --tech-blue: var(--brand-navy);
  --cyan: var(--brand-cyan);
  --charcoal: #102033;
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(7, 29, 51, 0.12);
}

body {
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 183, 227, 0.11), transparent 28%),
    linear-gradient(180deg, #FFFFFF 0%, var(--brand-paper) 48%, #EEF5F8 100%);
  color: var(--brand-navy);
}

#bgCanvas {
  opacity: 0.18;
  mix-blend-mode: multiply;
}

nav {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--brand-border);
  box-shadow: 0 8px 30px rgba(7, 29, 51, 0.06);
}

.logo-container {
  gap: 0.38rem;
}

.brand-mark {
  height: 44px;
  width: 44px;
}

.logo-copy {
  align-items: center;
  color: var(--brand-navy);
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
}

.logo-text {
  color: var(--brand-navy);
  display: block;
  font-size: 1.66rem;
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1;
}

.logo-tagline {
  color: var(--brand-muted);
  display: block;
  font-size: 0.48rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(0.30rem);
  white-space: nowrap;
}

.text-highlight {
  color: var(--brand-cyan);
  margin-left: 0.03em;
}

.nav-links a,
.nav-socials a {
  color: rgba(7, 29, 51, 0.68);
}

.nav-links a:hover,
.nav-socials a:hover {
  color: var(--brand-cyan);
}

.btn-nav,
.signup-form button,
.chat-fab,
.chat-send {
  background: var(--brand-cyan);
  color: var(--brand-navy) !important;
  box-shadow: none;
}

.btn-nav:hover,
.signup-form button:hover,
.chat-fab:hover {
  box-shadow: 0 10px 28px rgba(0, 183, 227, 0.22);
}

.hero,
.feature-hero {
  overflow: hidden;
}

.hero {
  min-height: 92vh;
  padding-top: 9rem;
}

.hero::before,
.feature-hero::before,
.notify-page::before {
  content: "";
  position: absolute;
  inset: 7rem 5% auto 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(7, 29, 51, 0.16), transparent);
  pointer-events: none;
}

.hero-path-motif {
  bottom: 7%;
  left: 3%;
  max-width: 58rem;
  opacity: 0.08;
  pointer-events: none;
  position: absolute;
  width: 70vw;
  z-index: -1;
}

.badge {
  background: var(--brand-cyan-soft);
  border-color: rgba(0, 183, 227, 0.28);
  color: var(--brand-cyan);
  letter-spacing: 0.18em;
}

.badge-dot,
.status-dot {
  background: var(--brand-cyan);
  box-shadow: none;
}

.main-title {
  background: none;
  color: var(--brand-navy);
  -webkit-text-fill-color: currentColor;
  font-size: clamp(3.2rem, 6.8vw, 6.7rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.feature-hero .main-title {
  font-size: clamp(3rem, 5.5vw, 5.4rem);
}

.main-subtitle,
.feature-story p,
.feature-cta p,
.feature-card p,
.card-footer {
  color: var(--brand-muted);
}

.signup-form {
  background: var(--brand-surface);
  border-color: var(--brand-border);
  box-shadow: var(--brand-shadow);
}

.signup-form:focus-within {
  border-color: rgba(0, 183, 227, 0.42);
  box-shadow: 0 18px 50px rgba(0, 183, 227, 0.15);
}

.signup-form input {
  color: var(--brand-navy);
}

.signup-form input::placeholder {
  color: rgba(97, 117, 135, 0.7);
}

.form-note,
.footer-tagline,
.footer-copy {
  color: rgba(97, 117, 135, 0.78);
}

.success-icon {
  background: var(--brand-cyan-soft);
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
}

.success-message h3,
.feature-card h4,
.large-feature-card h3,
.feature-story h2,
.feature-cta h2 {
  color: var(--brand-navy);
}

.features {
  max-width: 960px;
}

.feature-card,
.signal-panel,
.glass-card {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(7, 29, 51, 0.08);
}

.feature-card:hover,
.glass-card:hover {
  border-color: rgba(0, 183, 227, 0.36);
  box-shadow: 0 22px 55px rgba(7, 29, 51, 0.12);
}

.feature-icon {
  background: var(--brand-cyan-soft);
  color: var(--brand-cyan);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.glass-card {
  max-width: 480px;
  overflow: hidden;
}

.glass-card::before {
  background: url("/assets/brand/path-motif.svg") center/cover no-repeat;
  inset: auto -12% -18% -12%;
  height: 150px;
  opacity: 0.055;
  width: auto;
  animation: none;
}

.status-text,
.signal-panel-header,
.section-kicker,
.terminal-line {
  color: var(--brand-cyan);
}

.terminal {
  background: #071D33;
  color: #FFFFFF;
}

.terminal-bold {
  color: #FFFFFF;
}

.tag-ok {
  color: var(--brand-green);
}

.tag-warn {
  color: #C58B00;
}

.feature-page {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 42%, var(--brand-paper) 100%);
}

.feature-story,
.feature-grid-large,
.feature-cta {
  position: relative;
  z-index: 1;
}

.signal-row {
  border-top-color: rgba(7, 29, 51, 0.1);
  color: var(--brand-navy);
}

.signal-row span {
  color: var(--brand-muted);
}

.signal-action {
  background: var(--brand-cyan-soft);
  border-color: rgba(0, 183, 227, 0.18);
  color: var(--brand-navy-soft);
}

.feature-cta {
  border-top-color: var(--brand-border);
}

footer {
  background: #FFFFFF;
  border-top: 1px solid var(--brand-border);
}

.footer-socials a {
  color: rgba(7, 29, 51, 0.5);
}

.footer-socials a:hover {
  color: var(--brand-cyan);
}

.chat-window {
  background: #FFFFFF;
  border-color: var(--brand-border);
  box-shadow: 0 24px 70px rgba(7, 29, 51, 0.24);
}

.chat-header {
  background: var(--brand-cyan-soft);
  border-bottom-color: var(--brand-border);
}

.chat-avatar {
  background: #FFFFFF;
}

.chat-header-name,
.chat-msg.user,
.chat-input {
  color: var(--brand-navy);
}

.chat-msg.bot {
  background: #EEF5F8;
  color: var(--brand-navy-soft);
}

.chat-input {
  background: #F4F8FA;
}

.chat-input::placeholder,
.chat-header-status,
.chat-close {
  color: var(--brand-muted);
}

.suggestion-btn {
  background: var(--brand-cyan-soft);
  border-color: rgba(0, 183, 227, 0.26);
  color: var(--brand-cyan);
}

@media (max-width: 768px) {
  nav {
    padding: 1rem 6%;
  }

  .brand-mark {
    height: 38px;
    width: 38px;
  }

  .logo-text {
    font-size: 1.35rem;
    letter-spacing: -0.035em;
  }

  .logo-tagline {
    font-size: 0.38rem;
    letter-spacing: 0.14em;
    transform: translateX(0.18rem);
  }

  .hero,
  .feature-hero {
    padding-top: 7rem;
  }

  .main-title,
  .feature-hero .main-title {
    font-size: clamp(2.5rem, 13vw, 4rem);
    letter-spacing: -0.05em;
  }

  .hero-path-motif {
    bottom: 2rem;
    left: -16rem;
    opacity: 0.07;
    width: 55rem;
  }
}
