/* ========================================================
/* ========================================================
   ToolsMagicPro — Professional Coming Soon Styles
   ======================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0b0f1a;
  color: #e2e8f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.site-header {
  position: relative;
  z-index: 100;
}

.header-gradient-bar {
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899, #f59e0b, #6366f1);
  background-size: 300% 100%;
  animation: gradientSlide 6s ease infinite;
}

@keyframes gradientSlide {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.site-header .navbar {
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1.5rem;
}

.header-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 3px;
  border: 2px solid rgba(139, 92, 246, 0.5);
}

.brand-text {
  font-weight: 800;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

.header-social {
  gap: 0.5rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: #fff;
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
}

/* ===== PARTICLE BACKGROUND ===== */
.cs-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
}

.cs-particles {
  position: absolute;
  inset: 0;
}

.cs-particle {
  position: absolute;
  bottom: -10px;
  background: #8b5cf6;
  border-radius: 50%;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: var(--particle-opacity, 0.3);
  }
  90% {
    opacity: var(--particle-opacity, 0.3);
  }
  100% {
    transform: translateY(-100vh) scale(0.5);
    opacity: 0;
  }
}

/* ===== HERO / MAIN SECTION ===== */
.cs-hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.5rem;
}

.cs-hero-inner {
  text-align: center;
  max-width: 700px;
  width: 100%;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo ring with glow */
.cs-logo-ring {
  display: inline-block;
  position: relative;
  margin-bottom: 2rem;
}

.cs-logo {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: contain;
background: #fff;
padding: 8px;
border: 3px solid rgba(139, 92, 246, 0.5);
  box-shadow:
    0 0 30px rgba(139, 92, 246, 0.3),
    0 0 60px rgba(139, 92, 246, 0.1);
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.3), 0 0 60px rgba(139, 92, 246, 0.1); }
  50% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.5), 0 0 80px rgba(139, 92, 246, 0.2); }
}

/* Badge */
.cs-badge-wrapper {
  margin-bottom: 1.5rem;
}

.cs-badge {
  display: inline-block;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 3px;
  padding: 0.5rem 1.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.cs-badge i {
  margin-right: 6px;
}

/* Title */
.cs-title {
  font-size: 2.75rem;
  font-weight: 900;
  color: #f1f5f9;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cs-gradient-text {
  background: linear-gradient(135deg, #8b5cf6, #ec4899, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.cs-subtitle {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== COUNTDOWN TIMER ===== */
.cs-countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.cs-timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cs-timer-ring {
  position: relative;
  width: 100px;
  height: 100px;
}

.cs-timer-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.cs-ring-bg {
  fill: none;
  stroke: rgba(148, 163, 184, 0.1);
  stroke-width: 4;
}

.cs-ring-progress {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.5s ease;
}

.cs-ring-days   { stroke: #6366f1; filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.5)); }
.cs-ring-hours  { stroke: #8b5cf6; filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.5)); }
.cs-ring-mins   { stroke: #ec4899; filter: drop-shadow(0 0 6px rgba(236, 72, 153, 0.5)); }
.cs-ring-secs   { stroke: #f59e0b; filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.5)); }

.cs-timer-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: 1px;
}

.cs-timer-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0.4rem;
}

.cs-timer-sep {
  font-size: 1.5rem;
  font-weight: 700;
  color: #475569;
  padding-bottom: 1.5rem;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ===== SUBSCRIBE SECTION ===== */
.cs-subscribe {
  margin-bottom: 2rem;
}

.cs-subscribe-text {
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.cs-subscribe-text i {
  color: #f59e0b;
  margin-right: 6px;
}

.cs-input-group {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 50px;
  overflow: hidden;
  border: 2px solid rgba(139, 92, 246, 0.3);
  background: rgba(15, 23, 42, 0.8);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cs-input-group:focus-within {
  border-color: #8b5cf6;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.cs-email-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  background: transparent;
  color: #e2e8f0;
}

.cs-email-input::placeholder {
  color: #64748b;
}

.cs-subscribe-btn {
  border: none;
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cs-subscribe-btn:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.cs-subscribe-btn i {
  margin-left: 6px;
}

.cs-subscribe-note {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.75rem;
  transition: all 0.3s ease;
}

/* ===== SOCIAL FOLLOW ===== */
.cs-follow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cs-follow-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  margin-right: 0.25rem;
}

.cs-follow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cs-follow-icon:hover {
  transform: translateY(-3px) scale(1.1);
  color: #fff;
}

.cs-fb { background: rgba(24, 119, 242, 0.15); }
.cs-fb:hover { background: #1877f2; box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4); }
.cs-tw { background: rgba(255, 255, 255, 0.08); }
.cs-tw:hover { background: #1d9bf0; box-shadow: 0 4px 15px rgba(29, 155, 240, 0.4); }
.cs-ig { background: rgba(228, 64, 95, 0.15); }
.cs-ig:hover { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); box-shadow: 0 4px 15px rgba(221, 42, 123, 0.4); }
.cs-yt { background: rgba(255, 0, 0, 0.12); }
.cs-yt:hover { background: #ff0000; box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4); }
.cs-li { background: rgba(10, 102, 194, 0.15); }
.cs-li:hover { background: #0a66c2; box-shadow: 0 4px 15px rgba(10, 102, 194, 0.4); }

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 1rem;
  background: rgba(11, 15, 26, 0.9);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.15);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.footer-social-icon:hover {
  color: #fff;
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
  text-align: center;
}

.footer-copy a {
  color: #8b5cf6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-copy a:hover {
  color: #a78bfa;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .cs-title {
    font-size: 1.75rem;
  }

  .cs-subtitle {
    font-size: 0.95rem;
  }

  .cs-timer-ring {
    width: 72px;
    height: 72px;
  }

  .cs-timer-value {
    font-size: 1.25rem;
  }

  .cs-timer-sep {
    font-size: 1.1rem;
    padding-bottom: 1rem;
  }

  .cs-countdown {
    gap: 0.25rem;
  }

  .cs-input-group {
    flex-direction: column;
    border-radius: 16px;
  }

  .cs-email-input {
    text-align: center;
    padding: 0.85rem 1rem;
  }

  .cs-subscribe-btn {
    border-radius: 0 0 14px 14px;
    padding: 0.85rem;
  }

  .cs-logo {
    width: 90px;
    height: 90px;
  }

  .header-social {
    display: none !important;
  }
}

@media (max-width: 400px) {
  .cs-timer-ring {
    width: 60px;
    height: 60px;
  }

  .cs-timer-value {
    font-size: 1rem;
  }

  .cs-timer-label {
    font-size: 0.6rem;
  }
}
