/* ============================================
   AURELIANBGD 3.0 - 空间感/晶体化/科技感设计系统
   2026 Future Aesthetic - Glassmorphism & Spatial UI
   ============================================ */

/* ===== 3.0 Design System Variables ===== */
:root {
  /* Primary Colors - Neon Blue Gradient */
  --color-primary: #0088FF;
  --color-primary-light: #00C2FF;
  --color-primary-dark: #0044CC;
  --color-accent: #0088FF;
  --color-accent-light: #00C2FF;
  --color-accent-dark: #0044CC;

  /* 3.0 Gradients */
  --gradient-neon: linear-gradient(135deg, #0088FF 0%, #0044CC 100%);
  --gradient-button: linear-gradient(135deg, #0EA5E9 0%, #0075FF 50%, #0044CC 100%);
  --gradient-button-hover: linear-gradient(135deg, #38BDF8 0%, #0088FF 50%, #0052CC 100%);
  --gradient-glow: linear-gradient(90deg, #00C2FF, #0088FF, #0044CC);

  /* Background - Pure White */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8FAFC;
  --color-bg-card: #FFFFFF;

  /* Text Colors */
  --color-text: #1A2B50;
  --color-text-secondary: #3B4A6B;
  --color-text-light: #64748B;
  --color-text-muted: #94A3B8;

  /* Border Colors - Light & Subtle */
  --color-border: rgba(0, 136, 255, 0.1);
  --color-border-light: rgba(0, 136, 255, 0.08);
  --color-border-medium: rgba(0, 136, 255, 0.15);

  /* 3.0 Glass Effects */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-light: rgba(255, 255, 255, 0.85);
  --glass-bg-blur: 20px;
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-border-light: rgba(0, 136, 255, 0.12);

  /* 3.0 Shadows - Floating Effect */
  --shadow-subtle: 0 2px 8px rgba(0, 136, 255, 0.04);
  --shadow-card: 0 4px 16px rgba(0, 136, 255, 0.06), 0 8px 24px rgba(0, 136, 255, 0.04);
  --shadow-card-hover: 0 8px 24px rgba(0, 136, 255, 0.1), 0 16px 40px rgba(0, 136, 255, 0.08);
  --shadow-floating: 0 12px 32px rgba(0, 136, 255, 0.12), 0 24px 48px rgba(0, 136, 255, 0.08);
  --shadow-glow: 0 0 30px rgba(0, 194, 255, 0.2);
  --shadow-glow-strong: 0 0 40px rgba(0, 194, 255, 0.35);

  /* Spacing - Generous */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;

  /* Border Radius - Organic */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-smooth: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Currency */
  --currency-symbol: '৳';
}

/* ===== Base Styles - 3.0 ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== Typography - 3.0 ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
  margin: 0 0 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-light);
}

/* ===== 3.0 Glassmorphism Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 136, 255, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all var(--transition-smooth);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
  pointer-events: none;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 4px 20px rgba(0, 136, 255, 0.08);
}

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

@media (min-width: 1024px) {
  .container-custom {
    padding:3rem;
  }
}

/* ===== 3.0 Section Spacing - Generous ===== */
.section-3d {
  padding: var(--spacing-4xl) 0;
  position: relative;
}

.section-3d-sm {
  padding: var(--spacing-3xl) 0;
}

/* ===== 3.0 Glass Card - Crystal Effect ===== */
.glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.75) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 136, 255, 0.2);
}

/* ===== 3.0 Floating Card - No Border ===== */
.floating-card {
  background: transparent;
  border: none;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-floating);
  transition: all var(--transition-smooth);
}

.floating-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-glow);
}

/* ===== 3.0 Product Card - Crystal ===== */
.product-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 136, 255, 0.06);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-floating), var(--shadow-glow);
  border-color: rgba(0, 136, 255, 0.15);
}

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

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.product-card-image img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
  filter: drop-shadow(0 4px 12px rgba(0, 136, 255, 0.1));
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
  filter: drop-shadow(0 8px 24px rgba(0, 136, 255, 0.15));
}

.product-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.9) 100%);
}

/* ===== 3.0 Capsule Button - Neon Gradient ===== */
.btn-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  background: var(--gradient-button);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 136, 255, 0.25), 0 2px 4px rgba(0, 136, 255, 0.15);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-capsule::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-capsule:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 136, 255, 0.35), 0 4px 8px rgba(0, 136, 255, 0.2);
}

.btn-capsule:hover::before {
  left: 100%;
}

.btn-capsule:active {
  transform: translateY(-1px);
}

/* Secondary Button - Glass */
.btn-capsule-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 136, 255, 0.2);
  border-radius: var(--radius-full);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(0, 136, 255, 0.06);
  transition: all var(--transition-smooth);
}

.btn-capsule-secondary:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 136, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 136, 255, 0.12);
  color: var(--color-accent);
}

/* ===== 3.0 Badge - Neon Tag ===== */
.badge-3d {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: var(--gradient-button);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 136, 255, 0.25);
}

/* ===== 3.0 Hero Section ===== */
.hero-3d {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: var(--color-bg);
  overflow: hidden;
}

.hero-3d::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(0, 194, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 136, 255, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-3d::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(0, 68, 204, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Grid Pattern */
.grid-pattern-3d {
  background-image:
    linear-gradient(rgba(0, 136, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 136, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* ===== 3.0 Trust Badge ===== */
.trust-badge-3d {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.125rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 136, 255, 0.08);
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
}

.trust-badge-3d:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 136, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 136, 255, 0.1);
}

.trust-badge-3d i {
  color: var(--color-accent);
  font-size: 0.875rem;
}

/* ===== 3.0 Feature Card ===== */
.feature-card-3d {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
  border: 1px solid rgba(0, 136, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.feature-card-3d:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 136, 255, 0.15);
}

.feature-icon-3d {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.1) 0%, rgba(0, 136, 255, 0.08) 100%);
  border: 1px solid rgba(0, 136, 255, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  transition: all var(--transition-smooth);
}

.feature-card-3d:hover .feature-icon-3d {
  background: var(--gradient-button);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 16px rgba(0, 136, 255, 0.25);
}

.feature-card-3d:hover .feature-icon-3d i {
  color: white;
}

.feature-icon-3d i {
  color: var(--color-accent);
  font-size: 1.125rem;
  transition: color var(--transition-base);
}

/* ===== 3.0 Footer - Crystal & Light ===== */
.site-footer {
  background: var(--color-bg) !important;
  border-top: 1px solid rgba(0, 136, 255, 0.06);
  padding: var(--spacing-4xl) 0 var(--spacing-2xl);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 136, 255, 0.1), transparent);
}

.footer-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-3xl);
}

.footer-title-3d {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-link-3d {
  display: block;
  color: var(--color-text-light);
  font-size: 0.875rem;
  padding: 0.375rem 0;
  transition: all var(--transition-fast);
}

.footer-link-3d:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-bottom-3d {
  margin-top: var(--spacing-3xl);
  padding-top: var(--spacing-2xl);
  border-top: 1px solid rgba(0, 136, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* ===== 3.0 Form Inputs ===== */
.glass-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 136, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.glass-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 136, 255, 0.3);
  box-shadow: 0 0 0 4px rgba(0, 136, 255, 0.08), 0 4px 16px rgba(0, 136, 255, 0.08);
}

/* ===== 3.0 Animations ===== */
@keyframes floatSmooth {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-12px) scale(1.02); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 194, 255, 0.15); }
  50% { box-shadow: 0 0 35px rgba(0, 194, 255, 0.3); }
}

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

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

.animate-float-smooth {
  animation: floatSmooth 8s ease-in-out infinite;
}

.animate-glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Stagger Delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* ===== 3.0 Utility Classes ===== */
.text-gradient-3d {
  background: linear-gradient(135deg, #0088FF 0%, #0044CC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-text-3d {
  text-shadow: 0 0 20px rgba(0, 136, 255, 0.3);
}

.divider-3d {
  width: 50px;
  height: 2px;
  background: var(--gradient-glow);
  border-radius: 2px;
}

/* ===== 3.0 Responsive ===== */
@media (max-width: 768px) {
  .section-3d {
    padding: var(--spacing-3xl) 0;
  }

  .hero-3d {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: var(--spacing-3xl);
  }

  .product-card:hover,
  .glass-card:hover,
  .floating-card:hover {
    transform: translateY(-6px) scale(1.01);
  }

  .footer-3d {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
}

/* ===== 3.0 Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== 3.0 Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 136, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 136, 255, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 136, 255, 0.25);
}

/* ===== 3.0 Selection ===== */
::selection {
  background: rgba(0, 136, 255, 0.2);
  color: var(--color-text);
}