/* ----------------------------------------------------
   ANT SPAM - Premium Coming Soon & Under Construction CSS
   ---------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-dark: #070a14;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(26, 38, 66, 0.8);
  --border-color: rgba(0, 180, 255, 0.15);
  --border-hover: rgba(0, 180, 255, 0.4);
  
  --primary-blue: #009bf5;
  --primary-cyan: #00d2ff;
  --navy-deep: #0b1528;
  --navy-accent: #162a4a;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --accent-red: #ff4757;
  --accent-green: #10b981;
  --glow-cyan: rgba(0, 210, 255, 0.3);
  --glow-blue: rgba(0, 155, 245, 0.2);
  
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-code: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: 
    radial-gradient(circle at 15% 15%, rgba(0, 155, 245, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(0, 210, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(11, 21, 40, 0.9) 0%, var(--bg-dark) 100%);
}

/* Background Cyber Grid Canvas & Orbs */
#canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* Page Layout */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 1.5rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
header {
  width: 100%;
  padding: 2.5rem 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.main-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 155, 245, 0.3));
  transition: transform 0.3s ease;
}

.main-logo:hover {
  transform: scale(1.03);
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(10, 185, 129, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #34d399;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 10px #34d399;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Main Hero Content */
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 0;
}

/* Construction Icon Badge */
.construction-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.favicon-glow-ring {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--primary-cyan), var(--primary-blue), transparent, var(--primary-cyan));
  animation: spin 8s linear infinite;
  opacity: 0.4;
  filter: blur(12px);
}

.favicon-container {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-hover);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  backdrop-filter: blur(10px);
  animation: float 4s ease-in-out infinite;
}

.favicon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 180, 255, 0.4));
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

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

/* Headline & Subhead */
.tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 50px;
  color: var(--primary-cyan);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  max-width: 860px;
  background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 400;
}

/* Countdown Timer */
.countdown-section {
  margin-bottom: 3rem;
  width: 100%;
  max-width: 680px;
}

.countdown-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 1rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.time-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.2rem 0.5rem;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.time-box:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 155, 245, 0.15);
}

.time-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-code);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.time-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Form Container */
.subscribe-card {
  width: 100%;
  max-width: 580px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  margin-bottom: 4rem;
}

.subscribe-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.subscribe-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.subscribe-form {
  display: flex;
  gap: 0.75rem;
  position: relative;
}

.input-wrapper {
  position: relative;
  flex: 1;
}

.input-wrapper svg {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  transition: color 0.3s ease;
}

.subscribe-form input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 3.2rem;
  background: rgba(7, 10, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.subscribe-form input:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.subscribe-form input:focus + svg {
  color: var(--primary-cyan);
}

.btn-primary {
  padding: 0.95rem 1.8rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 155, 245, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
  background: linear-gradient(135deg, #0088db, #00beeb);
}

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

.form-feedback {
  margin-top: 1rem;
  font-size: 0.9rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
}

.form-feedback.success {
  display: flex;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.form-feedback.error {
  display: flex;
  background: rgba(255, 71, 87, 0.15);
  border: 1px solid rgba(255, 71, 87, 0.3);
  color: #ff6b81;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: left;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

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

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
  margin-bottom: 1.2rem;
}

.feature-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

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

/* Live Interactive Spam Scanner Widget */
.demo-section {
  width: 100%;
  max-width: 800px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 4rem;
  backdrop-filter: blur(12px);
  text-align: left;
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.demo-status {
  font-family: var(--font-code);
  font-size: 0.8rem;
  color: var(--primary-cyan);
  background: rgba(0, 210, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.demo-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.demo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 10, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.demo-item.spam-neutralized {
  border-color: rgba(255, 71, 87, 0.3);
  background: rgba(255, 71, 87, 0.05);
}

.demo-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.demo-sender {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.demo-subject {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.demo-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.demo-tag.blocked {
  background: rgba(255, 71, 87, 0.2);
  color: #ff6b81;
  border: 1px solid rgba(255, 71, 87, 0.4);
}

.demo-tag.clean {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Footer */
footer {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 0;
  position: relative;
  z-index: 1;
  background: rgba(7, 10, 20, 0.95);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  height: 32px;
  width: auto;
  opacity: 0.85;
}

.footer-text {
  font-size: 0.88rem;
  color: var(--text-dim);
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

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

/* Responsiveness */
@media (max-width: 900px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    gap: 1rem;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
