/* ==========================================================
   iunlockcloud — Premium Cyber Coming Soon Design System
   ========================================================== */

:root {
  --bg-primary: #060811;
  --bg-card: rgba(14, 20, 36, 0.65);
  --bg-card-hover: rgba(20, 28, 52, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.3);
  
  --cyan: #00f2fe;
  --blue: #3b82f6;
  --purple: #7928ca;
  --emerald: #00f5a0;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --grad-cyan-purple: linear-gradient(135deg, #00f2fe 0%, #4facfe 40%, #7928ca 100%);
  --grad-emerald-cyan: linear-gradient(135deg, #00f5a0 0%, #00d2ff 100%);
  --grad-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  
  --font-main: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-main);
  direction: ltr;
}

body {
  font-family: var(--font-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  line-height: 1.6;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

/* Interactive Canvas */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* Ambient Glow Orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.45;
  animation: orbFloat 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #7928ca 0%, transparent 70%);
  top: -100px;
  left: 10%;
}

.orb-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #00f2fe 0%, transparent 70%);
  bottom: 5%;
  right: 5%;
  animation-duration: 22s;
  animation-direction: alternate-reverse;
}

.orb-3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #00f5a0 0%, transparent 70%);
  top: 40%;
  left: -100px;
  opacity: 0.25;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-40px, -50px) scale(0.92); }
}

/* Cyber Grid Overlay */
.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: 50px 50px;
  pointer-events: none;
  z-index: 2;
}

/* Site Layout Container */
.site-container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Top Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(14, 20, 36, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.4));
  transition: var(--transition-smooth);
}

.brand-logo svg {
  width: 100%;
  height: 100%;
}

.brand:hover .brand-logo {
  transform: scale(1.08) rotate(-4deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-main);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.gradient-text {
  background: var(--grad-cyan-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.system-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald);
}

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

@keyframes pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 245, 160, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(0, 245, 160, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 245, 160, 0); }
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 10px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(90deg, rgba(0, 242, 254, 0.12), rgba(121, 40, 202, 0.12));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
  animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.main-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.highlight-gradient {
  display: block;
  background: var(--grad-cyan-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 20px rgba(0, 242, 254, 0.25));
}

.main-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 740px;
  margin-bottom: 44px;
  line-height: 1.8;
}

/* Countdown Timer */
.countdown-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  direction: ltr;
}

.time-card {
  position: relative;
  width: 105px;
  height: 110px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.time-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px rgba(0, 242, 254, 0.2);
}

.card-glass {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.time-value {
  font-family: var(--font-main);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.time-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 6px;
}

.time-separator {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  margin-top: -15px;
  animation: blinkSeparator 1s infinite;
}

@keyframes blinkSeparator {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* Notify Container & Form */
.notify-container {
  width: 100%;
  max-width: 580px;
  margin-bottom: 60px;
}

.notify-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.notify-form {
  display: flex;
  gap: 10px;
  background: rgba(14, 20, 36, 0.7);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.notify-form:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
}

.input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}

.input-icon {
  width: 20px;
  height: 20px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.notify-form input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 0.98rem;
  font-family: inherit;
}

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

.submit-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-cyan-purple);
  border: none;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 24px rgba(0, 242, 254, 0.3);
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 242, 254, 0.45);
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.submit-button:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

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

.form-feedback {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 24px;
  transition: var(--transition-smooth);
}

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

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

.privacy-note {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 10px;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin-bottom: 50px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: left;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.4), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

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

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.feature-icon-box svg {
  width: 24px;
  height: 24px;
}

.feature-icon-box.cyan {
  background: rgba(0, 242, 254, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.feature-icon-box.emerald {
  background: rgba(0, 245, 160, 0.12);
  color: var(--emerald);
  border: 1px solid rgba(0, 245, 160, 0.25);
}

.feature-icon-box.purple {
  background: rgba(121, 40, 202, 0.12);
  color: #b366ff;
  border: 1px solid rgba(121, 40, 202, 0.25);
}

.feature-icon-box.blue {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.feature-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact Channels */
.contact-channels {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.channels-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dim);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(14, 20, 36, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 242, 254, 0.2);
}

.social-btn:hover svg {
  transform: scale(1.15);
}

/* Site Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 0;
  border-top: 1px solid var(--border-subtle);
  margin-top: 40px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.ssl-shield {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--emerald);
  font-weight: 600;
}

.ssl-shield svg {
  width: 18px;
  height: 18px;
}

.footer-right strong {
  color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-title {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-lg);
  }
  .header-actions {
    width: 100%;
    justify-content: center;
  }
  .main-title {
    font-size: 2.1rem;
  }
  .countdown-wrapper {
    gap: 8px;
  }
  .time-card {
    width: 72px;
    height: 80px;
  }
  .time-value {
    font-size: 1.9rem;
  }
  .time-label {
    font-size: 0.68rem;
  }
  .time-separator {
    font-size: 1.4rem;
  }
  .notify-form {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 10px;
  }
  .submit-button {
    width: 100%;
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .site-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
