/* ==========================================================================
   OfNav Design System & Coming Soon Page Styles
   Faithful to https://ofnav.vercel.app/
   ========================================================================== */

:root {
  /* Brand Colors from OfNav */
  --primary: #237ffc;
  --primary-rgb: 35, 127, 252;
  --primary-hover: #1b6cd9;
  
  --accent-yellow: #ffda4f;
  --accent-yellow-hover: #f5cf40;
  
  /* OfNav Signature Gradient Tokens */
  --hero-gradient-start: #f6ffb9;
  --hero-gradient-middle: #edf6db;
  --hero-gradient-end: #ffeed5;

  --surface-lime: #f6ffb9;
  --surface-peach: #ffeed5;
  --surface-sky: #d9f2ff;
  --surface-sky-light: #e7f8ff;
  --surface-blue-soft: #e9efff;
  --surface-cream: #fffbf4;

  /* Typography Colors */
  --text-main: #060709;
  --text-muted: #555b6a;
  --text-light: #8e95a5;

  /* Borders & Shadows */
  --border-subtle: #e5e7eb;
  --border-card: #eceef3;
  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.04);

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Dimensions */
  --container-max-width: 820px;
  --header-height: 72px;

  /* Easings */
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: #ffffff;
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
  background-color: #ffffff;
  /* Multi-stop seamless radial ambient gradient matching https://ofnav.vercel.app/ */
  background-image: 
    radial-gradient(circle at 12% 150px, rgba(255, 238, 213, 0.75) 0%, rgba(255, 245, 230, 0.35) 35%, rgba(255, 255, 255, 0) 65%),
    radial-gradient(circle at 88% 180px, rgba(217, 242, 255, 0.8) 0%, rgba(230, 245, 255, 0.4) 35%, rgba(255, 255, 255, 0) 65%),
    radial-gradient(circle at 50% 85%, rgba(246, 255, 185, 0.45) 0%, rgba(240, 250, 210, 0.2) 30%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 28px 28px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  position: relative;
  overflow-x: hidden;
}

/* ==========================================================================
   Interactive Desktop Cursor Ambient Glow
   ========================================================================== */
.cursor-glow {
  position: fixed;
  top: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 127, 252, 0.07) 0%, rgba(255, 218, 79, 0.04) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
}

/* ==========================================================================
   Page Layout
   ========================================================================== */
.page-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228, 230, 235, 0.75);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.75rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.85;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

.header-badges {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Stealth Status Indicator */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10d07f;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: rgba(16, 208, 127, 0.45);
  animation: pulseGlow 2s infinite ease-out;
}

@keyframes pulseGlow {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Header Contact Button */
.btn-header-contact {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid transparent;
  background: linear-gradient(to right, var(--surface-lime), var(--surface-peach));
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-header-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #000000;
  border-radius: inherit;
  transition: opacity 0.35s var(--ease-spring);
}

.btn-header-contact:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  color: #000000;
}

.btn-header-contact:hover::before {
  opacity: 0;
}

/* ==========================================================================
   Main Hero Section (Centered & Max-Width)
   ========================================================================== */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem 4rem;
}

.hero-card {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* Hero Title */
.hero-title {
  font-size: clamp(2.35rem, 5.2vw, 4.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.title-line {
  display: block;
}

.title-first-line {
  margin-bottom: 0.95rem; /* Proper, elegant gap below 'Something Exceptional is' */
}

.highlight-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
}

/* OfNav Highlight Pill */
.animated-pill {
  display: inline-block;
  padding: 0.15rem 1.15rem;
  background: rgba(35, 127, 252, 0.12);
  color: var(--primary);
  border-radius: 1rem;
  font-weight: 700;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.animated-pill.fading {
  opacity: 0;
  transform: translateY(6px);
}

.subtitle-contrast {
  color: var(--text-light);
  font-weight: 600;
}

/* Hero Description */
.hero-description {
  max-width: 650px;
  margin: 0 auto 2.25rem;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 400;
  text-wrap: pretty;
}

/* ==========================================================================
   Waitlist Subscription Form (Responsive Pill)
   ========================================================================== */
.waitlist-section {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 2.25rem;
}

.notify-form {
  position: relative;
  width: 100%;
}

.input-container {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.375rem 0.45rem 0.375rem 1.15rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-container:focus-within {
  border-color: var(--primary);
  box-shadow: 0 6px 24px rgba(35, 127, 252, 0.15);
}

.mail-icon {
  color: var(--text-light);
  flex-shrink: 0;
  margin-right: 0.65rem;
}

.input-container input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-main);
  min-width: 0;
}

.input-container input::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.input-container input:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

/* Notify Button */
.btn-notify {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid transparent;
  background: linear-gradient(to right, var(--surface-lime), var(--surface-peach));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-notify::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #000000;
  border-radius: inherit;
  transition: opacity 0.35s var(--ease-spring);
}

.btn-notify:hover:not(:disabled) {
  transform: translateY(-1px);
  color: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.btn-notify:hover:not(:disabled)::before {
  opacity: 0;
}

.btn-notify:disabled {
  background: #10d07f;
  color: #ffffff;
  cursor: default;
  box-shadow: none;
}

.btn-notify:disabled::before {
  display: none;
}

.arrow-icon {
  transition: transform 0.2s ease;
}

.btn-notify:hover:not(:disabled) .arrow-icon {
  transform: translateX(2px) translateY(-1px);
}

/* Feedback message */
.form-feedback {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  min-height: 1.25rem;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.form-feedback.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-feedback.success {
  color: #0d824d;
}

.form-feedback.error {
  color: #d92d20;
}

.trust-note {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.lock-icon {
  font-size: 0.85rem;
}

/* ==========================================================================
   Studio Capabilities Pills
   ========================================================================== */
.capabilities-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-bottom: 2rem;
}

.capability-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.capability-item:hover {
  transform: translateY(-1px);
  border-color: #cbd0dc;
  color: var(--text-main);
}

.capability-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-yellow);
}

/* ==========================================================================
   Active Inquiries & Direct Connect Card
   ========================================================================== */
.inquiry-box {
  width: 100%;
  max-width: 720px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-card);
  border-radius: 1.5rem;
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.inquiry-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.inquiry-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.inquiry-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}

/* Discovery Call Button (Yellow Accent matching OfNav) */
.btn-action-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-yellow);
  color: #000000;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(255, 218, 79, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-action-primary:hover {
  transform: translateY(-1px);
  background-color: var(--accent-yellow-hover);
  box-shadow: 0 4px 12px rgba(255, 218, 79, 0.45);
}

/* Secondary Email Button */
.btn-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.45rem;
  background-color: #000000;
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-action-secondary:hover {
  transform: translateY(-1px);
  background-color: #222222;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

/* Chat channels (WhatsApp & Telegram) */
.chat-channels {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.channel-pill:hover {
  transform: translateY(-1px);
  border-color: #cbd0dc;
  color: var(--text-main);
  background-color: var(--surface-cream);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(228, 230, 235, 0.75);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem 0;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  font-size: 0.875rem;
  color: var(--text-light);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--text-main);
  border-color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .site-header .header-inner {
    padding: 0 1.25rem;
  }

  .status-indicator {
    display: inline-flex;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
  }

  .title-first-line {
    margin-bottom: 0.7rem;
  }

  .main-content {
    padding: 2.5rem 1.25rem 3.5rem;
  }

  .hero-title {
    font-size: 2.35rem;
    margin-bottom: 1.25rem;
  }

  .hero-description {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .inquiry-box {
    padding: 1.5rem 1.25rem;
  }

  .inquiry-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-action-primary,
  .btn-action-secondary {
    width: 100%;
  }

  .chat-channels {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.22;
  }

  .title-first-line {
    margin-bottom: 0.6rem;
  }

  .inquiry-box {
    padding: 1.25rem 1rem;
  }

  .chat-channels {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 0.5rem;
  }

  .channel-pill {
    flex: 1;
    justify-content: center;
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
  }
}
