/* AuraSensory - Design System & Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-sans: 'Inter', sans-serif;
  --font-title: 'Outfit', sans-serif;
  
  /* Color Palette - Modern Calming Wellness */
  --bg-deep: #090e1a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-glow: rgba(72, 202, 228, 0.15);
  
  --primary: #48cae4;
  --primary-hover: #90e0ef;
  --secondary: #7209b7;
  --accent: #ffb703;
  --text-main: #f8f9fa;
  --text-muted: #adb5bd;
  --success: #4ade80;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 16px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #00b4d8 100%);
  color: #03045e;
  box-shadow: 0 4px 20px rgba(72, 202, 228, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(72, 202, 228, 0.5);
}

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

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(72, 202, 228, 0.05);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(9, 14, 26, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, #90e0ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background: radial-gradient(circle at 80% 20%, rgba(72, 202, 228, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(114, 9, 183, 0.1) 0%, transparent 50%);
}

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

.hero-title {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 50%, #b3effc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.hero-image-wrapper img {
  width: 100%;
  display: block;
  transition: var(--transition);
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Section Header */
.section-header {
  margin-bottom: 60px;
}

.section-eyebrow {
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(72, 202, 228, 0.1);
}

.product-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-tag {
  align-self: flex-start;
  background: rgba(72, 202, 228, 0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.product-title {
  font-size: 22px;
  margin-bottom: 12px;
}

.product-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-price-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
}

/* Calculator Widget */
.calc-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.calc-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-group-title {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--text-main);
  border-left: 3px solid var(--primary);
  padding-left: 12px;
}

.space-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.space-option {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.space-option:hover {
  border-color: rgba(72, 202, 228, 0.4);
  background: rgba(72, 202, 228, 0.02);
}

.space-option.active {
  border-color: var(--primary);
  background: rgba(72, 202, 228, 0.08);
  box-shadow: 0 0 15px rgba(72, 202, 228, 0.15);
}

.space-option-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
}

.space-option-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.product-toggles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.product-toggle-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.product-toggle-item.active {
  border-color: var(--primary);
  background: rgba(72, 202, 228, 0.03);
}

.toggle-details {
  display: flex;
  flex-direction: column;
}

.toggle-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 15px;
}

.toggle-price {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

/* Custom Checkbox */
.custom-checkbox {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.product-toggle-item.active .custom-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}

.custom-checkbox::after {
  content: "✓";
  color: #03045e;
  font-size: 14px;
  font-weight: 700;
  display: none;
}

.product-toggle-item.active .custom-checkbox::after {
  display: block;
}

.calc-right {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-result-title {
  font-size: 20px;
  margin-bottom: 24px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.calc-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 24px;
  color: var(--text-main);
}

.calc-row.total span {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.calc-gate {
  margin-top: 32px;
  background: rgba(72, 202, 228, 0.03);
  border: 1px dashed var(--primary);
  border-radius: 16px;
  padding: 24px;
}

.calc-gate-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.calc-gate-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.calc-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
}

.calc-input:focus {
  border-color: var(--primary);
  outline: none;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 80px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
}

.trust-badge svg {
  color: var(--primary);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px;
}

.review-stars {
  color: var(--accent);
  margin-bottom: 16px;
}

.review-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2b3040;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-title);
}

.author-info h4 {
  font-size: 14px;
}

.author-info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Footer */
footer {
  background: #05080f;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-desc {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 320px;
}

.footer-title {
  font-size: 16px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-desc {
    margin: 0 auto 36px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 40px;
  }
  
  .space-options {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
