/* ========================================
   ChillMist - DTC Brand Website (Dark Theme)
   ======================================== */

:root {
  --primary: #00d4ff;
  --primary-dark: #00a8cc;
  --accent: #6c5ce7;
  --accent-dark: #5a4bd1;
  --bg-dark: #0a0a0f;
  --bg-card: #14141f;
  --bg-elevated: #1a1a28;
  --bg-light: #14141f;
  --bg-white: #1a1a28;
  --text-dark: #f5f5fa;
  --text-gray: #9ca3af;
  --text-light: #6b7280;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --max-width: 1280px;
  --transition: all 0.3s ease;
  --gradient: linear-gradient(135deg, #00d4ff 0%, #6c5ce7 100%);
  --gradient-dark: linear-gradient(135deg, #00a8cc 0%, #5a4bd1 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-dark);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Header / Navigation
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.35);
}

.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-gray);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--bg-dark);
}

.btn-large {
  padding: 16px 36px;
  font-size: 17px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   Carousel Section
   ======================================== */
.carousel-section {
  margin-top: 72px;
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
  background: var(--bg-dark);
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 15, 0.92) 0%, rgba(10, 10, 15, 0.7) 40%, rgba(10, 10, 15, 0.25) 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
}

.carousel-content {
  max-width: 640px;
  padding: 0 8%;
  animation: carouselFadeIn 0.8s ease forwards;
}

.carousel-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid var(--primary);
  border-radius: 20px;
  background: rgba(0, 212, 255, 0.1);
}

.carousel-title {
  font-size: 60px;
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 18px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
}

.carousel-title .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.carousel-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 32px;
  line-height: 1.7;
}

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

/* Carousel Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.carousel-arrow:hover {
  background: var(--gradient);
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }

/* Carousel Dots */
.carousel-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

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

.carousel-dot.active {
  width: 32px;
  border-radius: 5px;
  background: var(--gradient);
}

/* ========================================
   Brands / Trust Section
   ======================================== */
.brands {
  padding: 40px 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.brands-text {
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brands-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 56px;
  opacity: 0.6;
}

.brand-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-gray);
}

/* ========================================
   Section Common
   ======================================== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-card);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 620px;
  margin: 0 auto;
}

/* ========================================
   Products Section
   ======================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 255, 0.1);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-elevated);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: var(--gradient);
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.product-tag.new {
  background: var(--success);
}

.product-info {
  padding: 24px;
}

.product-category {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.product-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-gray);
  padding: 4px 10px;
  background: var(--bg-elevated);
  border-radius: 6px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.product-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
}

.product-link:hover {
  gap: 10px;
  color: var(--accent);
}

/* ========================================
   Features Section
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-elevated);
  padding: 36px 28px;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ========================================
   Flagship Product Section
   ======================================== */
.flagship {
  background: linear-gradient(135deg, #0a0a0f 0%, #14141f 100%);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.flagship::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.flagship-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.flagship-text .section-tag {
  background: rgba(0, 212, 255, 0.15);
  color: var(--primary);
}

.flagship-text .section-title {
  color: white;
  text-align: left;
}

.flagship-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  line-height: 1.8;
}

.flagship-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.flagship-spec {
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.flagship-spec-value {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.flagship-spec-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.flagship-image {
  position: relative;
}

.flagship-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.flagship-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-elevated);
  color: var(--text-dark);
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  gap: 12px;
}

.flagship-float-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 212, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.flagship-float-text {
  font-size: 13px;
  color: var(--text-gray);
}

.flagship-float-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

/* ========================================
   Why Choose Us
   ======================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1);
}

.why-number {
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
  background: var(--bg-card);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-elevated);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 16px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-light);
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
  padding: 80px 0;
  background: var(--gradient);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.12) 0%, transparent 60%);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 32px;
}

.cta .btn-primary {
  background: white;
  color: var(--accent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--bg-card);
  color: white;
  padding: 80px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 20px;
}

.footer-brand .logo-icon {
  background: var(--gradient);
}

.footer-brand .logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gradient);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links a:hover {
  color: var(--primary);
}

/* ========================================
   Language Switcher
   ======================================== */
.lang-switch {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-gray);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.lang-dropdown.open {
  display: flex;
}

.lang-option {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-gray);
  cursor: pointer;
  transition: var(--transition);
}

.lang-option:hover {
  background: rgba(0, 212, 255, 0.1);
  color: var(--primary);
}

.lang-option.active {
  color: var(--primary);
  font-weight: 600;
}

/* ========================================
   Page Hero (inner pages)
   ======================================== */
.page-hero {
  margin-top: 72px;
  padding: 60px 0 40px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 640px;
}

.breadcrumb {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--primary);
}

/* ========================================
   Filters Bar (products page)
   ======================================== */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-gray);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.filter-btn.active {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

/* ========================================
   Blog Section
   ======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.blog-card-image {
  aspect-ratio: 16/9;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}

.blog-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.6) 0%, rgba(108, 92, 231, 0.6) 100%);
}

.blog-card-image .blog-card-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.95);
  font-size: 42px;
  font-weight: 800;
  z-index: 1;
}

.blog-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-light);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.blog-card-meta .read-more {
  color: var(--primary);
  font-weight: 600;
}

/* Blog Article */
.article-hero {
  margin-top: 72px;
  padding: 60px 0 40px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.article-hero .article-category {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--primary);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.article-hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 860px;
}

.article-hero .article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--text-gray);
}

.article-body {
  padding: 50px 0;
  max-width: 820px;
  margin: 0 auto;
}

.article-body p {
  font-size: 17px;
  line-height: 1.85;
  color: #d1d5db;
  margin-bottom: 22px;
}

.article-body h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 40px 0 16px;
}

.article-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 30px 0 12px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 22px 22px;
  color: #d1d5db;
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 12px 24px;
  margin: 24px 0;
  background: var(--bg-card);
  border-radius: 0 12px 12px 0;
  color: var(--text-dark);
  font-style: italic;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.article-nav a {
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-gray);
  font-size: 14px;
}

.article-nav a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-4px);
}

.contact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.contact-email {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-hours {
  font-size: 12px;
  color: var(--text-light);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

.contact-form .form-group {
  margin-bottom: 16px;
}

.form-success {
  padding: 14px 18px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  color: var(--success);
  font-size: 14px;
  margin-bottom: 16px;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flagship-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .flagship-text .section-title {
    text-align: center;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-cta .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .carousel-section { height: 380px; }
  .carousel-title { font-size: 28px; line-height: 1.2; }
  .carousel-subtitle { font-size: 14px; }
  .carousel-content { padding: 0 5%; }
  .carousel-arrow { width: 36px; height: 36px; font-size: 16px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .carousel-tag { font-size: 11px; padding: 4px 12px; }
  .carousel-dots { bottom: 12px; gap: 6px; }
  .carousel-dot { width: 8px; height: 8px; }

  .section-title {
    font-size: 26px;
    line-height: 1.2;
  }

  .page-hero h1,
  .article-hero h1 {
    font-size: 24px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .flagship-specs {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .section {
    padding: 48px 0;
  }

  .container {
    padding: 0 16px;
  }

  /* Product cards */
  .product-card {
    padding: 16px;
  }
  .product-card .product-image {
    height: 200px;
  }
  .product-card .product-name {
    font-size: 16px;
  }
  .product-card .product-price {
    font-size: 20px;
  }

  /* Buttons - larger touch targets */
  .btn {
    padding: 12px 20px;
    font-size: 14px;
    min-height: 44px;
  }
  .btn-large {
    padding: 14px 28px;
    font-size: 15px;
    min-height: 48px;
  }

  /* Hero section */
  .hero-content h1 {
    font-size: 32px !important;
    line-height: 1.15;
  }
  .hero-content p {
    font-size: 15px;
  }

  /* Ensure images never overflow */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Stats / numbers */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .carousel-section { height: 340px; }
  .carousel-title { font-size: 24px; }
  .carousel-subtitle { font-size: 13px; }
  .section-title { font-size: 22px; }
  .page-hero h1 { font-size: 22px; }
  .stats-grid { grid-template-columns: 1fr; }
  .product-card .product-image { height: 180px; }
}


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

.animate-up {
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
