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

:root {
  /* Core palette */
  --bg-primary: #06080d;
  --bg-secondary: #0b0f18;
  --bg-card: rgba(14, 20, 35, 0.55);
  --bg-card-hover: rgba(20, 28, 50, 0.7);

  /* Accent */
  --accent-cyan: #00e5ff;
  --accent-blue: #3d7aff;
  --accent-purple: #a855f7;
  --gradient-primary: linear-gradient(135deg, #00e5ff 0%, #3d7aff 50%, #a855f7 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(61, 122, 255, 0.15) 50%, rgba(168, 85, 247, 0.15) 100%);

  /* Text */
  --text-primary: #e8ecf4;
  --text-secondary: rgba(232, 236, 244, 0.55);
  --text-muted: rgba(232, 236, 244, 0.3);

  /* Border */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(0, 229, 255, 0.15);

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-pad: clamp(4rem, 10vh, 8rem) clamp(1.5rem, 5vw, 6rem);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

input {
  font-family: inherit;
}

/* ===== CANVAS BACKGROUND ===== */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ===== AMBIENT GLOW ORBS ===== */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow.orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(0, 229, 255, 0.06);
  top: -200px;
  right: -100px;
  animation: floatOrb 20s ease-in-out infinite;
}

.ambient-glow.orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(61, 122, 255, 0.05);
  bottom: -150px;
  left: -100px;
  animation: floatOrb 25s ease-in-out infinite reverse;
}

.ambient-glow.orb-3 {
  width: 400px;
  height: 400px;
  background: rgba(168, 85, 247, 0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: floatOrb 30s ease-in-out infinite 5s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.1); }
  50% { transform: translate(-20px, 40px) scale(0.95); }
  75% { transform: translate(30px, 20px) scale(1.05); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  background: rgba(6, 8, 13, 0.6);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.navbar-logo span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent-cyan); }
  50% { opacity: 0.5; box-shadow: 0 0 16px var(--accent-cyan); }
}

/* ===== MAIN CONTENT ===== */
.main-content {
  position: relative;
  z-index: 1;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-pad);
  padding-top: 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  animation: fadeSlideUp 0.8s ease-out 0.2s both;
}

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

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.8s ease-out 0.4s both;
}

.hero h1 .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2rem;
  animation: fadeSlideUp 0.8s ease-out 0.6s both;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--accent-cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  animation: fadeSlideUp 0.8s ease-out 0.8s both;
  position: relative;
}

.hero-tagline::before,
.hero-tagline::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan));
  vertical-align: middle;
  margin: 0 1rem;
}

.hero-tagline::after {
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
}

/* ===== COUNTDOWN ===== */
.countdown-container {
  animation: fadeSlideUp 0.8s ease-out 1s both;
  margin-bottom: 3rem;
}

.countdown {
  display: flex;
  gap: 1rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  padding: 1.25rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.countdown-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.countdown-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.countdown-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeSlideUp 0.8s ease-out 1.2s both;
}

.scroll-indicator span {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-family: var(--font-mono);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; height: 40px; }
  50% { opacity: 0.3; height: 25px; }
}

/* ===== NOTIFY SECTION ===== */
.notify-section {
  padding: var(--section-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.notify-section .section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.notify-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.notify-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.notify-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  width: 100%;
}

.notify-form input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.notify-form input::placeholder {
  color: var(--text-muted);
}

.notify-form input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08);
}

.notify-btn {
  padding: 0.9rem 1.75rem;
  background: var(--gradient-primary);
  border-radius: 12px;
  color: #06080d;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.notify-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.notify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.25);
}

.notify-btn:hover::before {
  opacity: 1;
}

.notify-btn:active {
  transform: translateY(0);
}

.notify-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 12px;
  color: var(--accent-cyan);
  font-size: 0.9rem;
}

.notify-success.visible {
  display: flex;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: var(--section-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-card {
  max-width: 720px;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-blue), transparent);
  opacity: 0.5;
}

.about-card .section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}

.about-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: var(--section-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-section .section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  text-align: center;
}

.services-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  width: 100%;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              background 0.3s ease,
              box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 20px;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.08);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.1);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-cyan);
  stroke-width: 1.5;
  fill: none;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ===== DIVIDER ===== */
.section-divider {
  width: 100%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

.footer-links a svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Intersection Observer animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== CODE RAIN OVERLAY ===== */
.code-rain {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-cyan);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .countdown {
    gap: 0.6rem;
  }

  .countdown-item {
    min-width: 70px;
    padding: 1rem 0.75rem;
  }

  .countdown-number {
    font-size: 1.6rem;
  }

  .notify-form {
    flex-direction: column;
  }

  .hero-tagline::before,
  .hero-tagline::after {
    width: 20px;
    margin: 0 0.5rem;
  }

  .about-card {
    padding: 2rem 1.5rem;
  }

  .navbar-status span {
    display: none;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .countdown {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}
