
/* ==================== SPLASH SCREEN ==================== */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), 
              visibility 1.2s;
}

#splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.splash-logo {
  width: 250px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(176, 149, 224, 0.6));
  animation: logoFloat 2.5s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { 
    transform: scale(1) translateY(0); 
    opacity: 0.9; 
  }
  50% { 
    transform: scale(1.05) translateY(-10px); 
    opacity: 1; 
  }
}

/* Prevent scrolling during splash */
body.no-scroll {
  overflow: hidden;
}
/* ========== MOBILE FIX - ADD AT TOP OF style.css ========== */

/* Global box-sizing fix */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Prevent horizontal scroll */
html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Ensure all major containers fit screen */
.navbar,
.navbar__container,
.hero,
.hero__container,
section,
.container {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
  .navbar__container,
  .hero__container,
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Fix any text that might be too wide */
  h1, h2, h3, h4, h5, h6, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* ========== END MOBILE FIX ========== */

/* ==================== CSS VARIABLES ==================== */
:root {
  --color-bg: #0a0a0a;
  --color-surface: #141414;
  --color-surface-light: #1a1a1a;
  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a0a0;
  --color-accent-pink: #FFC4D6;
  --color-accent-lavender: #B095E0;
  --color-accent-gold: #FFD700;
  --color-success: #4CAF50;
  
  --gradient-primary: linear-gradient(135deg, var(--color-accent-lavender) 0%, var(--color-accent-pink) 100%);
  --gradient-glow: radial-gradient(circle, rgba(176, 149, 224, 0.15) 0%, transparent 70%);
  
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;
  
  --spacing-section: 6rem;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==================== NAVIGATION ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(176, 149, 224, 0.1);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar__logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.navbar__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.navbar__links a:hover {
  color: var(--color-text-primary);
}

.navbar__links a:hover::after {
  width: 100%;
}

.navbar__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-account, .btn-cart {
  padding: 0.7rem 1.3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(176, 149, 224, 0.3);
  border-radius: var(--radius-pill);
  color: var(--color-text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-account:hover, .btn-cart:hover {
  background: rgba(176, 149, 224, 0.15);
  border-color: var(--color-accent-lavender);
  transform: translateY(-2px);
}

.btn-cart {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--gradient-primary);
  color: var(--color-bg);
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* ==================== BUTTONS ==================== */
.btn {
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-bg);
  box-shadow: 0 4px 15px rgba(176, 149, 224, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(176, 149, 224, 0.5);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(176, 149, 224, 0.3);
  color: var(--color-text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(176, 149, 224, 0.15);
  border-color: var(--color-accent-lavender);
}

.btn-large {
  padding: 1.3rem 3rem;
  font-size: 1rem;
}

.btn-small {
  padding: 0.6rem 1.3rem;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

.btn-order {
  flex-direction: column;
  gap: 0.3rem;
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn-text {
  font-size: 1rem;
  font-weight: 700;
}

.btn-stock {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(176, 149, 224, 0.3);
  }
  50% {
    box-shadow: 0 6px 30px rgba(176, 149, 224, 0.6);
  }
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 8rem 2rem 4rem;
}

.hero__bg-gradient {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: var(--gradient-glow);
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}

.hero__container {
  max-width: 900px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-accent-pink);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-accent-pink);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-accent-lavender), transparent);
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(10px);
  }
}

/* ==================== SECTIONS ==================== */
section {
  padding: var(--spacing-section) 0;
}

.section-product {
  background: var(--color-surface);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-accent-pink);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  max-width: 600px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ==================== PRODUCT SHOWCASE ==================== */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-3d-placeholder {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(176, 149, 224, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--gradient-glow);
  filter: blur(80px);
  animation: rotate-glow 8s linear infinite;
}

@keyframes rotate-glow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.product-icon {
  font-size: 5rem;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.placeholder-text {
  color: var(--color-text-secondary);
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.product-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(176, 149, 224, 0.2);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.stat-item:hover {
  background: rgba(176, 149, 224, 0.05);
  border-color: var(--color-accent-lavender);
  transform: translateY(-3px);
}

.stat-icon {
  font-size: 2rem;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* ==================== FEATURES ==================== */
.section-features {
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(176, 149, 224, 0.2);
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  background: rgba(176, 149, 224, 0.05);
  border-color: var(--color-accent-lavender);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ==================== TECHNOLOGY ==================== */
.section-technology {
  background: var(--color-surface);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.tech-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(176, 149, 224, 0.2);
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}

.tech-card:hover {
  background: rgba(176, 149, 224, 0.05);
  border-color: var(--color-accent-lavender);
  transform: translateY(-5px);
}

.tech-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.tech-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tech-description {
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ==================== SPECIFICATIONS ==================== */
.section-specs {
  background: var(--color-bg);
}

.specs-table {
  max-width: 900px;
  margin: 0 auto;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(176, 149, 224, 0.1);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--color-text-secondary);
  font-weight: 500;
}

.spec-value {
  font-weight: 600;
  color: var(--color-accent-pink);
  text-align: right;
}

/* ==================== COMPARISON ==================== */
.section-comparison {
  background: var(--color-surface);
}

.comparison-container {
  max-width: 900px;
  margin: 0 auto;
}

.comparison-table {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(176, 149, 224, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comparison-header,
.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}

.comparison-header {
  background: rgba(176, 149, 224, 0.1);
  font-weight: 700;
  border-bottom: 1px solid rgba(176, 149, 224, 0.2);
}

.comparison-row {
  border-bottom: 1px solid rgba(176, 149, 224, 0.05);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comp-cell {
  padding: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comp-cell:first-child {
  text-align: left;
  justify-content: flex-start;
  font-weight: 500;
}

.comp-highlight {
  background: rgba(255, 196, 214, 0.05);
  color: var(--color-accent-pink);
  font-weight: 600;
}

.comp-cell i {
  font-size: 1.3rem;
}

.fa-check-circle {
  color: var(--color-success);
}

.fa-times-circle {
  color: #ff4444;
}

.fa-minus-circle {
  color: var(--color-text-secondary);
}

/* ==================== FAQ ==================== */
.section-faq {
  background: var(--color-bg);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(176, 149, 224, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item[open] {
  background: rgba(176, 149, 224, 0.05);
  border-color: var(--color-accent-lavender);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-accent-pink);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question i {
  color: var(--color-accent-pink);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ==================== SUPPORT ==================== */
.section-support {
  background: var(--color-surface);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.support-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(176, 149, 224, 0.2);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-smooth);
}

.support-card:hover {
  background: rgba(176, 149, 224, 0.05);
  border-color: var(--color-accent-lavender);
  transform: translateY(-5px);
}

.support-icon {
  font-size: 3rem;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.support-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.support-card p {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

/* ==================== CTA SECTION ==================== */
.section-cta {
  background: var(--color-bg);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--color-surface);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(176, 149, 224, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(176, 149, 224, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: rgba(176, 149, 224, 0.15);
  border-color: var(--color-accent-lavender);
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: var(--color-accent-pink);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-column a {
  display: block;
  color: var(--color-text-secondary);
  margin-bottom: 0.7rem;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--color-text-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(176, 149, 224, 0.1);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.footer-bottom i {
  color: var(--color-accent-pink);
}

/* ==================== AUTH MODAL ==================== */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.auth-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.auth-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.auth-box {
  position: relative;
  width: 90%;
  max-width: 450px;
  background: var(--color-surface-light);
  border: 1px solid var(--color-accent-lavender);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(176, 149, 224, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.auth-modal.active .auth-box {
  transform: scale(1);
}

.auth-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--color-text-secondary);
  line-height: 1;
  transition: color 0.3s ease;
}

.auth-close:hover {
  color: var(--color-accent-pink);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.auth-tabs {
  display: flex;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(176, 149, 224, 0.2);
}

.auth-tab {
  flex: 1;
  padding: 1rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.auth-tab.active {
  color: var(--color-accent-pink);
}

.auth-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(176, 149, 224, 0.3);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus {
  border-color: var(--color-accent-lavender);
  background: rgba(176, 149, 224, 0.08);
}

.form-group input::placeholder {
  color: var(--color-text-secondary);
}

/* ==================== CART PANEL ==================== */
.cart-panel {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  height: 100%;
  background: var(--color-surface-light);
  border-left: 1px solid rgba(176, 149, 224, 0.2);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-panel.active {
  right: 0;
}

.cart-header {
  padding: 2rem;
  border-bottom: 1px solid rgba(176, 149, 224, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.cart-close {
  font-size: 1.5rem;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

.cart-close:hover {
  color: var(--color-accent-pink);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--color-text-secondary);
}

.cart-empty i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(176, 149, 224, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.cart-item-icon {
  font-size: 2.5rem;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.cart-item-price {
  color: var(--color-accent-pink);
  font-weight: 600;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background: rgba(176, 149, 224, 0.3);
}

.cart-item-qty {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
}

.btn-remove {
  margin-left: auto;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 68, 68, 0.1);
  color: #ff4444;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.btn-remove:hover {
  background: rgba(255, 68, 68, 0.2);
}

.cart-footer {
  padding: 2rem;
  border-top: 1px solid rgba(176, 149, 224, 0.2);
}

.cart-totals {
  margin-bottom: 1.5rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.cart-total-final {
  font-size: 1.3rem;
  font-weight: 700;
  padding-top: 1rem;
  border-top: 1px solid rgba(176, 149, 224, 0.2);
}

.text-success {
  color: var(--color-success);
  font-weight: 600;
}

/* ==================== AI CHAT WIDGET ==================== */
.chat-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--color-bg);
  font-size: 1.5rem;
  box-shadow: 0 8px 25px rgba(176, 149, 224, 0.4);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.chat-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 35px rgba(176, 149, 224, 0.6);
}

.chat-window {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 400px;
  height: 550px;
  background: var(--color-surface-light);
  border: 1px solid var(--color-accent-lavender);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-window.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chat-header {
  padding: 1.5rem;
  background: rgba(176, 149, 224, 0.1);
  border-bottom: 1px solid rgba(176, 149, 224, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-info h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.chat-status {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chat-status i {
  color: var(--color-success);
  font-size: 0.6rem;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.chat-close-btn {
  font-size: 1.5rem;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

.chat-close-btn:hover {
  color: var(--color-accent-pink);
}

.chat-messages {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-message {
  max-width: 80%;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

.chat-message.bot {
  align-self: flex-start;
  background: rgba(176, 149, 224, 0.1);
  border-bottom-left-radius: 4px;
}

.chat-message.user {
  align-self: flex-end;
  background: var(--gradient-primary);
  color: var(--color-bg);
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

.chat-input-area {
  padding: 1.5rem;
  border-top: 1px solid rgba(176, 149, 224, 0.2);
  display: flex;
  gap: 0.8rem;
}

.chat-input {
  flex: 1;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(176, 149, 224, 0.3);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.chat-input:focus {
  border-color: var(--color-accent-lavender);
  background: rgba(176, 149, 224, 0.08);
}

.chat-send-btn {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(176, 149, 224, 0.4);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .product-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-section: 4rem;
  }
  
  .navbar__links {
    display: none;
  }
  
  .navbar__container {
    padding: 0 1rem;
  }
  
  .hero {
    padding: 7rem 1rem 3rem;
  }
  
  .hero__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  
  .hero__subtitle {
    font-size: 1rem;
  }
  
  .product-stats {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .tech-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .spec-row {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .spec-value {
    text-align: center;
  }
  
  .comparison-table {
    overflow-x: auto;
  }
  
  .comparison-header,
  .comparison-row {
    min-width: 600px;
  }
  
  .cart-panel {
    width: 100%;
    right: -100%;
  }
  
  .chat-window {
    width: calc(100% - 2rem);
    right: 1rem;
    bottom: 5rem;
  }
  
  .auth-box {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .btn-account span,
  .btn-cart i {
    display: none;
  }
  
  .hero__cta {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .comp-cell {
    padding: 1rem 0.5rem;
    font-size: 0.85rem;
  }
}

/* ==================== ENHANCED ANIMATIONS ==================== */

/* Hero Title Animation */
.hero__title {
  animation: fadeInUp 1s ease 0.3s both;
}

.hero__subtitle {
  animation: fadeInUp 1s ease 0.5s both;
}

.hero__badge {
  animation: fadeInDown 0.8s ease 0.1s both;
}

.hero__cta {
  animation: fadeInUp 1s ease 0.7s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Rotating background gradient animation */
.hero__bg-gradient {
  animation: rotate-gradient 10s ease-in-out infinite alternate;
}

@keyframes rotate-gradient {
  0% {
    transform: translateX(-50%) scale(1) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) scale(1.2) rotate(20deg);
  }
}

/* Pulsing order button animation - enhanced */
.btn-order {
  position: relative;
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn-order::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--gradient-primary);
  opacity: 0;
  z-index: -1;
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% {
    opacity: 0;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}

/* Navbar scroll effect */
.navbar {
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Product visual shimmer effect */
.product-3d-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 196, 214, 0.15),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  to {
    left: 100%;
  }
}

/* Card hover lift animation */
.feature-card,
.tech-card,
.support-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover,
.tech-card:hover,
.support-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(176, 149, 224, 0.3);
}

/* Stats counter animation on scroll */
.stat-value {
  animation: countUp 1.5s ease-out;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* FAQ accordion smooth animation */
.faq-item summary {
  transition: all 0.3s ease;
}

.faq-item[open] summary {
  color: var(--color-accent-pink);
}

.faq-answer {
  animation: expandDown 0.4s ease;
}

@keyframes expandDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Chat fab breathing animation */
.chat-fab {
  animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(176, 149, 224, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(176, 149, 224, 0.6);
  }
}

/* Cart panel slide animation */
.cart-panel {
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Typing indicator animation for chat */
.chat-typing {
  display: flex;
  gap: 4px;
  padding: 0.9rem 1.2rem;
  align-self: flex-start;
  background: rgba(176, 149, 224, 0.1);
  border-radius: var(--radius-md);
}

.chat-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-lavender);
  animation: typing-bounce 1.4s infinite;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* Section titles staggered animation */
.section-label {
  animation: fadeIn 0.8s ease 0.2s both;
}

.section-title {
  animation: fadeInUp 1s ease 0.4s both;
}

.section-description,
.section-subtitle {
  animation: fadeIn 1s ease 0.6s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Comparison table row animation on scroll */
.comparison-row {
  animation: slideInLeft 0.6s ease both;
}

.comparison-row:nth-child(2) { animation-delay: 0.1s; }
.comparison-row:nth-child(3) { animation-delay: 0.2s; }
.comparison-row:nth-child(4) { animation-delay: 0.3s; }
.comparison-row:nth-child(5) { animation-delay: 0.4s; }
.comparison-row:nth-child(6) { animation-delay: 0.5s; }
.comparison-row:nth-child(7) { animation-delay: 0.6s; }

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Spec row stagger animation */
.spec-row {
  animation: fadeInRight 0.6s ease both;
}

.spec-row:nth-child(1) { animation-delay: 0.1s; }
.spec-row:nth-child(2) { animation-delay: 0.15s; }
.spec-row:nth-child(3) { animation-delay: 0.2s; }
.spec-row:nth-child(4) { animation-delay: 0.25s; }
.spec-row:nth-child(5) { animation-delay: 0.3s; }
.spec-row:nth-child(6) { animation-delay: 0.35s; }
.spec-row:nth-child(7) { animation-delay: 0.4s; }
.spec-row:nth-child(8) { animation-delay: 0.45s; }
.spec-row:nth-child(9) { animation-delay: 0.5s; }
.spec-row:nth-child(10) { animation-delay: 0.55s; }

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Product stats stagger animation */
.stat-item:nth-child(1) {
  animation: popIn 0.6s ease 0.2s both;
}

.stat-item:nth-child(2) {
  animation: popIn 0.6s ease 0.35s both;
}

.stat-item:nth-child(3) {
  animation: popIn 0.6s ease 0.5s both;
}

.stat-item:nth-child(4) {
  animation: popIn 0.6s ease 0.65s both;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Footer animation */
.footer {
  animation: fadeIn 1s ease 0.3s both;
}

/* Smooth scroll behavior enhanced */
html {
  scroll-behavior: smooth;
}

/* Add parallax effect to sections */
@media (prefers-reduced-motion: no-preference) {
  .section-product,
  .section-features,
  .section-technology,
  .section-specs,
  .section-comparison,
  .section-faq,
  .section-support,
  .section-cta {
    animation: fadeInSection 0.8s ease both;
  }
}

@keyframes fadeInSection {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==================== TYPING EFFECT ANIMATION ==================== */
#dynamicText::after {
  content: '|';
  color: var(--color-accent-pink);
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { 
    opacity: 1; 
  }
  50% { 
    opacity: 0; 
  }
}

#dynamicText {
  display: inline-block;
  min-width: 350px;
  text-align: left;
}

@media (max-width: 768px) {
  #dynamicText {
    min-width: 280px;
  }
}
/* ==================== SPLASH SCREEN ==================== */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), 
              visibility 1.2s;
}

#splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.splash-logo {
  width: 250px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(176, 149, 224, 0.6));
  animation: logoFloat 2.5s ease-in-out infinite;
}

/* Fallback text if image fails to load */
.splash-logo-text {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoFloat 2.5s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { 
    transform: scale(1) translateY(0); 
    opacity: 0.9; 
  }
  50% { 
    transform: scale(1.05) translateY(-10px); 
    opacity: 1; 
  }
}

/* Prevent scrolling during splash */
body.no-scroll {
  overflow: hidden;
}