/* ==========================================================================
   ANCURVE® Coming Soon Design System (Vanilla CSS / Premium Aesthetics)
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
  --color-bg-dark: #FAFAFC;
  --color-bg-darker: #FAFAFC;
  --color-white: #0A0A0F;
  --color-surface-glass: rgba(255, 255, 255, 0.75);
  --color-border-glass: rgba(10, 10, 15, 0.07);
  --color-border-glass-hover: rgba(212, 168, 67, 0.4);
  
  --color-gold: #D4A843;
  --color-gold-light: #A07A20;
  --color-gold-dark: #7A5C10;
  --color-gold-glow: rgba(212, 168, 67, 0.08);

  --color-text-primary: #0A0A0F;
  --color-text-secondary: #4A4A5A;
  --color-text-tertiary: #9292A0;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-sans);
  --font-mono: "JetBrains Mono", monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  --transition-base: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Basic Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background Ambient Lighting & Glow Animations */
.ambient-glow {
  position: fixed;
  top: -15%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(120, 110, 160, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
  animation: floatGlow1 24s ease-in-out infinite alternate;
}

.ambient-glow-gold {
  position: fixed;
  bottom: -10%;
  left: -5%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
  animation: floatGlow2 20s ease-in-out infinite alternate;
}

@keyframes floatGlow1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-10%, 10%) scale(1.1); }
}

@keyframes floatGlow2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8%, -8%) scale(1.05); }
}

/* Layout Wrapper */
.wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-col: column;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header styling */
.header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
}

.logo-container {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.15)) drop-shadow(0 0 24px rgba(212, 168, 67, 0.25));
  transition: var(--transition-base);
}

.logo-image:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.25)) drop-shadow(0 0 36px rgba(212, 168, 67, 0.45));
}

.logo-text-fallback {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: 0.18em;
  color: var(--color-white);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2), 0 0 30px rgba(212, 168, 67, 0.4);
  transition: var(--transition-base);
}

.logo-text-fallback:hover {
  transform: scale(1.03);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.35), 0 0 40px rgba(212, 168, 67, 0.6);
}

.logo-symbol {
  color: var(--color-gold);
}

.tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(10, 10, 15, 0.03);
  border: 1px solid var(--color-border-glass);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 0.12em;
}

.badge-dot {
  width: 5px;
  height: 5px;
  background-color: var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-gold);
}

/* Main Content Area */
.hero-content {
  width: 100%;
  max-width: 680px;
  text-align: center;
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tagline-gold {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.main-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .main-title {
    font-size: 3.8rem;
  }
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-white) 30%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .subtitle {
    font-size: 16px;
  }
}

/* Premium Interactive Switch Customizer styles */
.customizer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  margin: 1.5rem auto 3.5rem auto;
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 10;
}

.customizer-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  text-align: center;
  background-color: rgba(10, 10, 15, 0.03);
  border: 1px solid var(--color-border-glass);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
}

/* The Plate Preview */
.switch-preview-plate {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(10, 10, 15, 0.08);
  box-shadow: 
    0 10px 30px rgba(10, 10, 15, 0.06),
    0 1px 3px rgba(10, 10, 15, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

/* Switch Plate Color Themes */
.switch-preview-plate.gold {
  background: linear-gradient(135deg, #F3D995 0%, #D4A843 50%, #A07A20 100%);
  border-color: #C09A33;
  box-shadow: 
    0 10px 30px rgba(212, 168, 67, 0.18),
    0 1px 3px rgba(212, 168, 67, 0.1);
}

.switch-preview-plate.charcoal {
  background: linear-gradient(135deg, #3A3A4A 0%, #20202A 50%, #0F0F14 100%);
  border-color: #1A1A22;
  box-shadow: 
    0 10px 30px rgba(10, 10, 15, 0.15),
    0 1px 3px rgba(10, 10, 15, 0.1);
}

.switch-preview-plate.white {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFC 50%, #EEEEF4 100%);
  border-color: #D2D2DA;
  box-shadow: 
    0 10px 30px rgba(10, 10, 15, 0.05),
    0 1px 3px rgba(10, 10, 15, 0.02);
}

.switch-preview-plate.silver {
  background: linear-gradient(135deg, #F0F0F5 0%, #C8C8D2 50%, #9A9AA4 100%);
  border-color: #AEAEB6;
  box-shadow: 
    0 10px 30px rgba(174, 174, 182, 0.15),
    0 1px 3px rgba(174, 174, 182, 0.1);
}

.switch-inner-panel {
  padding: 16px;
  width: 100%;
  height: 100%;
}

.switch-bevel-frame {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(10, 10, 15, 0.06);
  background-color: rgba(10, 10, 15, 0.02);
  box-shadow: inset 0 2px 6px rgba(10, 10, 15, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.switch-preview-plate.charcoal .switch-bevel-frame {
  border-color: rgba(255, 255, 255, 0.04);
  background-color: rgba(0, 0, 0, 0.15);
}

.switch-rocker-btn-wrapper {
  width: 44px;
  height: 76px;
  background-color: rgba(10, 10, 15, 0.05);
  border-radius: var(--radius-sm);
  box-shadow: 
    inset 0 2px 5px rgba(10, 10, 15, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.switch-preview-plate.charcoal .switch-rocker-btn-wrapper {
  background-color: rgba(0, 0, 0, 0.35);
  box-shadow: 
    inset 0 2px 5px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.05);
}

.switch-rocker-btn {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F5FA 100%);
  border-radius: 5px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  box-shadow: 
    0 2px 4px rgba(10, 10, 15, 0.12),
    0 1px 1px rgba(255, 255, 255, 0.8) inset;
  transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.15s ease;
  transform-origin: center;
  transform: perspective(300px) rotateX(-12deg);
  cursor: pointer;
  outline: none;
}

.switch-preview-plate.charcoal .switch-rocker-btn {
  background: linear-gradient(180deg, #2D2D37 0%, #1D1D24 100%);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 1px 1px rgba(255, 255, 255, 0.05) inset;
}

/* OFF State (Default) */
.switch-indicator-led {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #9292A0; /* offline gray */
  box-shadow: none;
  transition: var(--transition-base);
}

.switch-logo-mark {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: var(--color-text-tertiary);
  opacity: 0.35;
  transition: var(--transition-base);
}

.switch-preview-plate.charcoal .switch-logo-mark {
  color: #FAFAFC;
  opacity: 0.2;
}

/* ON State */
.switch-rocker-btn.on {
  transform: perspective(300px) rotateX(12deg);
  background: linear-gradient(180deg, #F5F5FA 0%, #FFFFFF 100%);
  box-shadow: 
    0 1px 2px rgba(10, 10, 15, 0.08),
    0 -1px 3px rgba(10, 10, 15, 0.12),
    0 1px 1px rgba(255, 255, 255, 0.8) inset;
}

.switch-preview-plate.charcoal .switch-rocker-btn.on {
  background: linear-gradient(180deg, #1D1D24 0%, #2D2D37 100%);
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 -1px 3px rgba(0, 0, 0, 0.3),
    0 1px 1px rgba(255, 255, 255, 0.05) inset;
}

.switch-rocker-btn.on .switch-indicator-led {
  background-color: #10B981; /* emerald green LED */
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.9);
}

/* Swatches Grid */
.finishes-selector {
  width: 100%;
}

.swatches-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.swatch-btn {
  background-color: var(--color-surface-glass);
  border: 1px solid var(--color-border-glass);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(10, 10, 15, 0.02);
  transition: var(--transition-base);
}

.swatch-btn:hover {
  border-color: var(--color-border-glass-hover);
  transform: translateY(-1px);
}

.swatch-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--swatch-color);
  border: 1px solid rgba(10, 10, 15, 0.12);
}

.swatch-btn.active {
  border-color: var(--color-gold);
  color: var(--color-text-primary);
  background-color: #FAFAFC;
  box-shadow: 
    0 4px 12px rgba(212, 168, 67, 0.08),
    0 2px 4px rgba(10, 10, 15, 0.03);
}

/* Finish Details Panel */
.finish-info-card {
  width: 100%;
  background-color: var(--color-surface-glass);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.6rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(10, 10, 15, 0.03);
  transition: var(--transition-base);
  animation: fadeInDetail 0.4s ease-out;
}

.finish-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.finish-description {
  font-size: 11px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

@keyframes fadeInDetail {
  0% { opacity: 0.7; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Premium Animated Coming Soon Display */
.coming-soon-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  width: 100%;
}

.animated-text {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-indent: 0.3em; /* centers text with letter-spacing */
  color: transparent;
  background: linear-gradient(
    90deg, 
    var(--color-white) 0%, 
    var(--color-gold-light) 25%, 
    var(--color-gold) 50%, 
    var(--color-gold-light) 75%, 
    var(--color-white) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 5s linear infinite, subtlePulse 3.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 15px rgba(212, 168, 67, 0.25));
}

@media (min-width: 768px) {
  .animated-text {
    font-size: 4.8rem;
    letter-spacing: 0.35em;
    text-indent: 0.35em;
  }
}

.glowing-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  box-shadow: 0 0 8px var(--color-gold);
  opacity: 0.6;
  animation: pulseLine 3.5s ease-in-out infinite alternate;
}

@keyframes shineText {
  0% { background-position: 0% center; }
  100% { background-position: -200% center; }
}

@keyframes subtlePulse {
  0% { transform: scale(0.98); opacity: 0.9; filter: drop-shadow(0 0 10px rgba(212, 168, 67, 0.15)); }
  100% { transform: scale(1.02); opacity: 1; filter: drop-shadow(0 0 25px rgba(212, 168, 67, 0.35)); }
}

@keyframes pulseLine {
  0% { width: 60px; opacity: 0.3; }
  100% { width: 110px; opacity: 0.8; }
}

/* Footer Section */
.footer {
  width: 100%;
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text-tertiary);
}

.footer-separator {
  color: var(--color-gold);
  opacity: 0.4;
}

.copyright {
  font-size: 11px;
  color: var(--color-text-tertiary);
  text-align: center;
}
