/* ==========================================================================
   Devlabs Veloce — Coming Soon / Under Construction Stylesheet
   Modern AI Agentic Dark Cyberpunk Minimalist Aesthetic
   ========================================================================== */

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(22, 33, 62, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.35);
  
  --primary-cyan: #38bdf8;
  --primary-indigo: #6366f1;
  --primary-purple: #c084fc;
  --accent-emerald: #10b981;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  min-height: 100%;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background canvas & ambient glow */
#neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-indigo), rgba(99, 102, 241, 0));
  top: -100px;
  left: 10%;
}

.orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--primary-cyan), rgba(56, 189, 248, 0));
  bottom: 5%;
  right: 5%;
  animation-duration: 16s;
  animation-direction: alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

/* Page structure */
.page-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2.5rem;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.brand-link:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.25));
  display: block;
}

/* Hero Logo / Emblem Showcase */
.hero-logo-showcase {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-logo-showcase::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 70px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.35) 0%, rgba(99, 102, 241, 0.15) 50%, transparent 80%);
  filter: blur(20px);
  z-index: -1;
}

.hero-dv-emblem {
  height: 82px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(56, 189, 248, 0.45));
  animation: emblemPulse 4s ease-in-out infinite alternate;
}

@keyframes emblemPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.35)); }
  100% { transform: scale(1.04); filter: drop-shadow(0 0 32px rgba(56, 189, 248, 0.65)); }
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse 1.8s infinite ease-in-out;
}

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

.status-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-emerald);
  letter-spacing: 0.06em;
}

/* Main Hero */
.hero-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0 3rem;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.8rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #c7d2fe;
  backdrop-filter: blur(8px);
}

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

.hero-headline {
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  color: #ffffff;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.3));
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 2.2rem;
}

/* Terminal Card */
.terminal-card {
  width: 100%;
  max-width: 680px;
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  overflow: hidden;
  margin-bottom: 1rem;
  text-align: left;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; opacity: 0.8; }
.dot.yellow { background: #f59e0b; opacity: 0.8; }
.dot.green { background: #10b981; opacity: 0.8; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.terminal-id {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--primary-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.terminal-body {
  padding: 1.1rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  min-height: 110px;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.log-line {
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
}

.log-time {
  color: var(--text-dim);
}

.log-tag {
  color: var(--primary-cyan);
  font-weight: 600;
}

.log-tag.done {
  color: var(--accent-emerald);
}

.log-tag.wait {
  color: #fbbf24;
}

.log-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--primary-cyan);
  vertical-align: middle;
  animation: blink 0.9s infinite;
  margin-left: 4px;
}

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

/* Notification & Waitlist Form */
.notify-container {
  width: 100%;
  max-width: 620px;
  margin-bottom: 3.5rem;
}

.notify-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  transition: border-color var(--transition-fast);
}

.notify-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.notify-intro {
  margin-bottom: 1.25rem;
}

.notify-intro h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.notify-intro p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.notify-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.input-wrapper {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  pointer-events: none;
  transition: color var(--transition-fast);
}

.input-wrapper input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  background: rgba(7, 9, 14, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-fast);
}

.input-wrapper input:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.input-wrapper input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--primary-cyan);
}

.input-wrapper input::placeholder {
  color: var(--text-dim);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-indigo) 100%);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(99, 102, 241, 0.4);
}

.btn-primary:active {
  transform: translateY(1px);
}

.arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn-primary:hover .arrow-icon {
  transform: translateX(3px);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-feedback {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  min-height: 20px;
  transition: all var(--transition-fast);
}

.form-feedback.success {
  color: var(--accent-emerald);
}

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

/* Sneak Peek Pillars */
.pillars-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  width: 100%;
  margin-top: 1rem;
}

.pillar-card {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: left;
  backdrop-filter: blur(8px);
  transition: all var(--transition-smooth);
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.pillar-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.pillar-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-cyan);
}

.sep {
  color: var(--border-subtle);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .brand-logo-img {
    height: 38px;
  }

  .hero-dv-emblem {
    height: 64px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .status-indicator {
    align-self: flex-start;
  }

  .notify-form {
    flex-direction: column;
  }
  
  .btn-primary {
    width: 100%;
  }

  .pillars-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
