/* Modern Design System for Weetronic Mini Read Landing Page */

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

:root {
  --bg-dark: #080C14;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(28, 36, 56, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.3);
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --accent-cyan: #38BDF8;
  --accent-blue: #3B82F6;
  --accent-amber: #F59E0B;
  --accent-amber-light: #FDE68A;
  --accent-emerald: #10B981;
  
  --eink-bg: #F5F2EB;
  --eink-text: #1E293B;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(245, 158, 11, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.5) 0%, var(--bg-dark) 100%);
  background-attachment: fixed;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #38BDF8 50%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-amber {
  background: linear-gradient(135deg, #FFF 0%, #FDE68A 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.1rem 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(8, 12, 20, 0.8);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Custom Circuit W Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.logo-circuit-box {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #0F172A, #1E293B);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
  position: relative;
  overflow: hidden;
}

.logo-circuit-box svg {
  width: 28px;
  height: 28px;
}

.circuit-line {
  stroke: var(--accent-cyan);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.8));
}

.circuit-node {
  fill: #FFFFFF;
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 1));
}

/* Language Switcher Pill */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--accent-cyan);
  color: #080C14;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.4);
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-cyan);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #38BDF8 0%, #2563EB 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.5);
}

.btn-amber {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* HERO SECTION */
.hero {
  padding-top: 9rem;
  padding-bottom: 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  color: #FBBF24;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.2rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

/* Launch Countdown */
.countdown-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
}

.countdown-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  text-align: center;
}

.timer-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.4rem;
}

.timer-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
}

.timer-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* HERO MEDIA & BACKLIGHT SIMULATOR */
.hero-media-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.1);
  transition: var(--transition);
}

.device-img-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  line-height: 0;
}

.device-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 4px);
  transition: transform 0.5s ease;
}

/* Backlight Overlay Effects */
.screen-glow-overlay {
  position: absolute;
  top: 19%;
  left: 28%;
  width: 32%;
  height: 48%;
  pointer-events: none;
  border-radius: 6px;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
  transform: rotate(-19deg) skewY(1deg);
}

/* Backlight Modes */
.glow-mode-soft {
  opacity: 0.5;
  background: rgba(224, 242, 254, 0.35);
  box-shadow: 0 0 35px 15px rgba(56, 189, 248, 0.35);
}

.glow-mode-bright {
  opacity: 0.75;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 45px 25px rgba(255, 255, 255, 0.7);
}

.glow-mode-warm {
  opacity: 0.7;
  background: rgba(253, 230, 138, 0.45);
  box-shadow: 0 0 50px 25px rgba(245, 158, 11, 0.55);
}

/* Interactive Backlight Control Bar */
.backlight-controls {
  margin-top: 1.25rem;
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  backdrop-filter: blur(12px);
}

.backlight-label {
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
}

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

.light-btn {
  padding: 0.45rem 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.light-btn.active, .light-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
  color: #FFF;
}

/* HOTSPOTS */
.hotspot-pin {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.95);
  border: 2px solid #FFF;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.8);
  transition: transform 0.3s ease;
  z-index: 10;
}

.hotspot-pin::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  animation: pulsePin 2s infinite;
}

@keyframes pulsePin {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hotspot-pin:hover {
  transform: scale(1.2);
}

.hotspot-1 { top: 22%; left: 35%; }
.hotspot-2 { top: 40%; left: 62%; }
.hotspot-3 { top: 68%; left: 45%; }

/* Hotspot Tooltip Modal */
.hotspot-tooltip {
  position: absolute;
  bottom: -75px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--accent-cyan);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  color: #FFF;
  font-size: 0.82rem;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 20;
}

.hotspot-pin:hover .hotspot-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* FEATURES SECTION */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem auto;
}

.section-subtitle {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

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

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* SPECS HIGHLIGHT CONTAINER */
.specs-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-icon {
  font-size: 1.2rem;
  color: var(--accent-cyan);
  margin-top: 2px;
}

.spec-label {
  font-weight: 600;
  color: var(--text-main);
  font-size: 1rem;
}

.spec-val {
  color: var(--accent-amber-light);
  font-weight: 700;
}

.spec-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 2px;
}

/* AMBIENT SOUND GENERATOR BAR */
.soundscape-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 58, 138, 0.3));
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 0;
  gap: 1.5rem;
}

.soundscape-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.soundscape-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.soundscape-buttons {
  display: flex;
  gap: 0.75rem;
}

.sound-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.sound-btn.playing, .sound-btn:hover {
  background: var(--accent-cyan);
  color: #000;
  font-weight: 700;
}

/* PRE-REGISTER / EARLY ACCESS FORM */
.cta-section {
  background: linear-gradient(180deg, transparent 0%, rgba(56, 189, 248, 0.05) 50%, transparent 100%);
  text-align: center;
}

.cta-card {
  background: var(--bg-card);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 40px rgba(56, 189, 248, 0.15);
  position: relative;
}

.subscribe-form {
  display: flex;
  gap: 0.75rem;
  max-width: 520px;
  margin: 2rem auto 1rem auto;
}

.subscribe-input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.subscribe-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* SUCCESS MODAL / BADGE */
.success-msg {
  display: none;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  color: #6EE7B7;
  font-weight: 600;
  margin-top: 1.5rem;
  animation: fadeIn 0.5s ease;
}

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

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

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

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .specs-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .navbar .container {
    gap: 0.5rem;
  }
  .brand-logo span {
    font-size: 1.1rem;
  }
  .badge-status {
    display: none;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .subscribe-form {
    flex-direction: column;
  }
  .subscribe-input, .subscribe-form .btn {
    width: 100%;
  }
  .soundscape-banner {
    flex-direction: column;
    text-align: center;
  }
  .timer-num {
    font-size: 1.35rem;
  }
}
