/* =============================================
   FLUIDCORE - Under Construction Landing Page
   style.css — Custom Animations & Effects
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;600;700;900&display=swap');

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

:root {
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --text-primary: #f8fafc;
  --text-muted: rgba(248, 250, 252, 0.6);
  --font-main: 'Outfit', 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: #020617;
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #020617; }
::-webkit-scrollbar-thumb { background: rgba(239, 68, 68, 0.5); border-radius: 3px; }

/* ─── Mouse-Follow Light ─── */
#mouse-light {
  position: fixed;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(239, 68, 68, 0.10) 0%,
    rgba(220, 38, 38, 0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease;
  z-index: 9999;
  mix-blend-mode: screen;
}

/* ─── Particles Canvas ─── */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ─── Navbar ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(2, 6, 23, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s ease;
}

.logo-text {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #fee2e2 0%, #ef4444 40%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  user-select: none;
}

.logo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  margin-left: 4px;
  vertical-align: middle;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.1);
  font-size: 0.78rem;
  font-weight: 500;
  color: #fca5a5;
  letter-spacing: 0.05em;
}

.nav-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* ─── Hero Section ─── */
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 1.5rem 4rem;
}

/* ─── Slider ─── */
#slider-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  transform-origin: center center;
}

.slide.active {
  opacity: 1;
  animation: kenBurns 8s ease-in-out forwards;
}

.slide.fade-out {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

@keyframes kenBurns {
  0%   { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1%, -1%); }
}

/* Dark overlay */
#slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.55) 0%,
    rgba(2, 6, 23, 0.65) 50%,
    rgba(2, 6, 23, 0.85) 100%
  );
  z-index: 2;
}

/* ─── Heading Glow ─── */
.heading-glow {
  position: absolute;
  width: 700px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(239, 68, 68, 0.25) 0%,
    rgba(220, 38, 38, 0.12) 50%,
    transparent 70%
  );
  filter: blur(60px);
  pointer-events: none;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { opacity: 0.7; transform: translate(-50%, -55%) scale(1); }
  to   { opacity: 1;   transform: translate(-50%, -55%) scale(1.1); }
}

/* ─── Hero Content ─── */
#hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  width: 100%;
}

/* ─── Word-by-Word Heading ─── */
#main-heading {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #f8fafc;
}

.word {
  display: inline-block;
  margin-right: 0.22em;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Gradient highlight for last word */
.word.highlight {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Typing Subtitle ─── */
#subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  letter-spacing: 0.01em;
  margin-bottom: 2.5rem;
  min-height: 2.5em;
}

#typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: #ef4444;
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 0.75s step-end infinite;
}

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

/* ─── CTA Buttons ─── */
.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeUp 0.8s 2.5s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-disabled {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(248, 250, 252, 0.5);
  cursor: not-allowed;
}

.btn-contact {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4), 0 4px 12px rgba(0,0,0,0.3);
}

.btn-contact:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 35px rgba(239, 68, 68, 0.6), 0 8px 20px rgba(0,0,0,0.4);
}

.btn-contact:active {
  transform: translateY(0) scale(0.98);
}

/* ─── Glassmorphism Card ─── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.08);
}


/* ─── Email Form Section ─── */
#notify-section {
  padding: 3rem 1.5rem 5rem;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, #f8fafc 0%, #fca5a5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
}

.notify-card {
  width: 100%;
  max-width: 520px;
  padding: 2rem;
}

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

.notify-input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.notify-input::placeholder { color: rgba(248, 250, 252, 0.35); }

.notify-input:focus {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.btn-notify {
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.35);
}

.btn-notify:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(239, 68, 68, 0.55);
}

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

#notify-success {
  margin-top: 1rem;
  text-align: center;
  color: #34d399;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#notify-success.show {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Social Icons ─── */
#social-section {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  position: relative;
  z-index: 10;
}

.social-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(248, 250, 252, 0.7);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
  color: #a5b4fc;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

/* ─── Pagination Dots ─── */
#slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 20;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot.active {
  background: #ef4444;
  width: 24px;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

/* ─── Footer ─── */
#footer {
  position: relative;
  z-index: 10;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(2, 6, 23, 0.8);
}

.footer-text {
  font-size: 0.8rem;
  color: rgba(248, 250, 252, 0.35);
  text-align: center;
}

.footer-accent {
  color: #ef4444;
}

/* ─── Divider ─── */
.section-divider {
  width: 100%;
  max-width: 500px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.4), transparent);
  margin: 0 auto;
}

/* ─── Slide-up reveal utility ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ─── Responsive ─── */
@media (max-width: 768px) {
  #navbar { padding: 1rem 1.25rem; }
  #hero { padding: 6rem 1rem 3rem; }
  .countdown-item { min-width: 70px; padding: 1rem 0.75rem; }
  .countdown-divider { display: none; }
  .notify-form { flex-direction: column; }
  .notify-input, .btn-notify { width: 100%; }
  .heading-glow { width: 100%; height: 200px; }
}

@media (max-width: 480px) {
  .logo-text { font-size: 1.3rem; }
  .cta-group { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; max-width: 260px; }
}

/* ════════════════════════════════════
   PRODUCTS SECTION STYLE
   Premium dynamic product slider
════════════════════════════════════ */
#products-section {
  padding: 6rem 1.5rem;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.products-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.products-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 0.72rem;
  font-weight: 600;
  color: #fca5a5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.products-slider-outer {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.products-slider-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 1rem 0.25rem 2.5rem;
}

.products-slider-track {
  display: flex;
  gap: 1.75rem;
  overflow-x: scroll;
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none;    /* Firefox */
}

.products-slider-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Glassmorphic Navigation Buttons */
.prod-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(248, 250, 252, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  z-index: 25;
  box-shadow: var(--glass-shadow);
}

.prod-nav-btn.prev {
  left: -20px;
}

.prod-nav-btn.next {
  right: -20px;
}

.prod-nav-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.prod-nav-btn:active {
  transform: scale(0.95);
}

/* Product Cards */
.product-card {
  flex: 0 0 320px;
  width: 320px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 40px rgba(7, 13, 26, 0.5), 0 0 30px rgba(239, 68, 68, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.product-card-thumb-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #0d1527;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-card-image {
  transform: scale(1.08);
}

.product-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.8) 0%, rgba(220, 38, 38, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 10;
}

.product-card-logo-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 20;
  padding: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.product-card-logo-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Light beam overlay effect on card hover */
.product-card-thumb-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 45%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.06) 55%,
    transparent 100%
  );
  transform: translateX(-100%) translateY(-100%);
  transition: transform 0.6s ease;
  z-index: 5;
}

.product-card:hover .product-card-thumb-wrap::after {
  transform: translateX(100%) translateY(100%);
}

.product-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.product-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
  white-space: pre-wrap;
}

.product-card-desc ul {
  list-style-type: disc;
  margin-left: 1.25rem;
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

.product-card-desc li {
  margin-bottom: 0.25rem;
}

.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.9rem;
}

.product-card-spec-pill {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

/* Responsive slider spacing adjustment */
@media (max-width: 768px) {
  #products-section { padding: 4rem 1rem; }
  .products-header { margin-bottom: 2rem; }
  .prod-nav-btn { display: none; } /* Hide arrows on mobile and rely on swipe */
  .products-slider-wrapper { padding: 0.5rem 0 1.5rem; }
  .product-card { flex: 0 0 280px; width: 280px; }
}
