/* ============================================
   Web Awesome Theme Configuration
   ============================================ */

:root {
  /* Using Web Awesome's CSS custom properties */
  --wa-primary: #1565C0;
  --wa-primary-hover: #0D47A1;
  --wa-primary-light: #1976D2;
  --wa-primary-text: white;
  --wa-spacing-md: 1rem;
  --wa-spacing-lg: 2rem;
  --wa-spacing-xl: 3rem;
  --wa-border-radius: 12px;
  --text-primary: #212121;
  --text-secondary: #616161;
  --text-muted: #757575;
  --bg-light: #FAFAFA;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Global Styles
   ============================================ */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header {
  padding: 0.75rem 1rem;
  background: white;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  width: calc(100% + 2rem);
  margin: 0 -1rem;
}

@media (min-width: 969px) {
  header {
    padding: 1.25rem 1rem 0.75rem;
    width: 100%;
    margin: 0;
  }
}

main {
  min-height: 60vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--wa-spacing-md);
}

/* ============================================
   Header & Navigation
   ============================================ */

/* header.wa-desktop-only {
  padding: 1.25rem 1rem 0.75rem;
  background: white;
  box-shadow: var(--shadow-sm);
  margin: 0 -1rem;
} */

/* header.wa-mobile-only {
  padding: 0;
  background: white;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 100;
} */

/* .mobile-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  width: 100%;
  background: white;
} */

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-logo h2 {
  color: var(--wa-primary);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-image {
  height: 40px;
  width: auto;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  padding: 4rem var(--wa-spacing-md);
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
  margin: 0 -1rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="%231565C0" opacity="0.05"/></svg>');
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--wa-spacing-xl);
  align-items: center;
}

.hero-content {
  padding: var(--wa-spacing-md);
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.175rem;
  color: var(--text-secondary);
  margin-bottom: var(--wa-spacing-lg);
  line-height: 1.75;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--wa-border-radius);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--wa-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.35);
}

.btn-primary:hover {
  background: var(--wa-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.45);
}

.btn-secondary {
  background: white;
  color: var(--wa-primary);
  border: 2px solid var(--wa-primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--wa-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-container {
  width: 100%;
  max-width: 500px;
}

.thumbnail-image {
  width: 100%;
  height: auto;
  border-radius: var(--wa-border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.hero-image:hover .thumbnail-image {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* ============================================
   Section Headers
   ============================================ */

.section-header {
  text-align: center;
  margin-bottom: var(--wa-spacing-lg);
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   Products Section
   ============================================ */

#products {
  padding: 4.5rem var(--wa-spacing-md);
  background: white;
}

.product-carousel {
  max-width: 1000px;
  margin: 0 auto;
}

wa-carousel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* padding: var(--wa-spacing-md); */

wa-carousel-item a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

.carousel-product-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--wa-border-radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

wa-carousel-item a:hover .carousel-product-img {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.carousel-product-title {
  margin-top: 1.25rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: -0.01em;
}

/* ============================================
   Why Choose Us Section
   ============================================ */

.why-choose {
  padding: 4.5rem var(--wa-spacing-md);
  background: var(--bg-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.benefit-card {
  background: white;
  padding: 2rem;
  border-radius: var(--wa-border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--wa-primary) 0%, var(--wa-primary-light) 100%);
  border-radius: 50%;
  color: white;
  font-size: 1.75rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============================================
   Use Cases Section
   ============================================ */

.use-cases {
  padding: 4.5rem var(--wa-spacing-md);
  background: white;
}

.use-case-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.use-case-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--bg-light);
  border-radius: var(--wa-border-radius);
  border-left: 4px solid var(--wa-primary);
  transition: var(--transition);
}

.use-case-item:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.use-case-item>i {
  font-size: 2rem;
  color: var(--wa-primary);
  min-width: 2rem;
  margin-top: 0.25rem;
}

.use-case-item h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.use-case-item p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
  padding: 4.5rem var(--wa-spacing-md);
  background: var(--bg-light);
  margin: 0 -1rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--wa-spacing-xl);
  margin-top: var(--wa-spacing-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--wa-spacing-lg);
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  background: white;
  border-radius: var(--wa-border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.contact-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-item i {
  font-size: 1.75rem;
  color: var(--wa-primary);
  min-width: 1.75rem;
  margin-top: 0.125rem;
}

.contact-item h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
  letter-spacing: -0.01em;
}

.contact-item p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.contact-item a {
  color: var(--wa-primary);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.form-container {
  background: white;
  padding: var(--wa-spacing-lg);
  border-radius: var(--wa-border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  min-height: 400px;
}

.form-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 300px;
}

.loading-content {
  text-align: center;
  color: #666;
}

.spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--wa-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: #212121;
  color: #E0E0E0;
  padding: 3rem var(--wa-spacing-md) 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--wa-spacing-xl);
  margin-bottom: var(--wa-spacing-lg);
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-section h3 {
  font-size: 1.5rem;
}

.footer-section p {
  line-height: 1.8;
  color: #BDBDBD;
}

.footer-section a {
  color: var(--wa-primary);
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #333333;
  border-radius: 50%;
  color: white;
  font-size: 1.25rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--wa-primary);
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--wa-spacing-md);
  padding-bottom: 0.5rem;
  color: #888;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================
   Product Page
   ============================================ */

.product-page {
  padding: 2rem 0 4rem;
  background: white;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.breadcrumb a {
  color: var(--wa-primary);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span:not(:last-child) {
  color: var(--text-muted);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Product Images */
.product-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-image {
  width: 100%;
  border-radius: var(--wa-border-radius);
  overflow: hidden;
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.product-main-img {
  width: 100%;
  height: auto;
  display: block;
}

.thumbnail-gallery {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--wa-primary);
}

/* Product Info */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0;
}

.product-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.product-price-section {
  padding: 1.5rem 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--wa-primary);
  letter-spacing: -0.02em;
}

.price-suffix {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Product Specs */
.product-specs h3,
.product-features h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.spec-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.spec-value {
  font-size: 1.125rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Product Features */
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.features-list i {
  color: #4CAF50;
  margin-top: 0.125rem;
  font-size: 1.125rem;
}

/* Product Actions */
.product-actions {
  margin-top: 1rem;
}

.btn-large {
  width: 100%;
  padding: 1.125rem 2rem;
  font-size: 1.125rem;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.action-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* Product Highlights */
.product-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--wa-border-radius);
}

.highlight-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.highlight-item i {
  font-size: 1.5rem;
  color: var(--wa-primary);
  min-width: 1.5rem;
}

.highlight-item strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.highlight-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Product Content */
.product-content {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

.product-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.product-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--wa-spacing-lg);
  }

  .hero-image {
    order: -1;
  }

  .hero-title {
    font-size: 2rem;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--wa-spacing-lg);
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .benefits-grid,
  .use-case-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .nav-logo h2 {
    font-size: 1.25rem;
  }
}

/* ============================================
   Mobile Navigation Menu
   ============================================ */
/* 
.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.mobile-nav-menu a {
  display: block;
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a:active {
  background: var(--bg-light);
  color: var(--wa-primary);
} */

/* ============================================
   Utility Classes
   ============================================ */

/* .wa-cluster {
  display: flex;
  align-items: center;
  gap: var(--wa-spacing-md);
  flex-wrap: wrap;
} */