/* =========================================================
   Base & Reset
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary:   #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-accent:    #f59e0b;
  --color-bg:        #f8fafc;
  --color-bg-alt:    #eef2ff;
  --color-text:      #1e293b;
  --color-text-muted:#64748b;
  --color-white:     #ffffff;
  --color-border:    #e2e8f0;
  --radius-card:     12px;
  --shadow-card:     0 4px 24px rgba(37, 99, 235, 0.10);
  --transition:      0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

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

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

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

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

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #60a5fa 100%);
  color: var(--color-white);
  padding: 6rem 0 5rem;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
  max-width: 580px;
  margin: 0 auto 2rem;
}

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 5rem 0; }
.section--alt { background: var(--color-bg-alt); }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
}

/* =========================================================
   Carousel
   ========================================================= */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-track-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
}

/* Product Card */
.product-card {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
  margin: 0 0.25rem;
}

.product-img-wrap {
  flex: 0 0 320px;
  background: var(--color-bg-alt);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.product-img-wrap img {
  width: 100%;
  height: 260px;
  object-fit: contain;
}

.product-info {
  flex: 1;
}

.product-badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.product-badge--sale { background: #ef4444; }

.product-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.product-info p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  max-width: 420px;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.product-price s {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-left: 0.4rem;
}

/* Carousel buttons */
.carousel-btn {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-size: 2rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.carousel-dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

/* =========================================================
   Target Audience
   ========================================================= */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
}

.audience-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: transform var(--transition);
}

.audience-card:hover { transform: translateY(-4px); }

.audience-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.audience-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.audience-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* =========================================================
   CTA Section
   ========================================================= */
.section--cta {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: var(--color-white);
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-inner p { opacity: 0.9; margin-bottom: 2rem; }

.cta-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-form input[type="email"] {
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  border: none;
  width: 300px;
  font-size: 1rem;
  outline: none;
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
  min-height: 1.4em;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 1.75rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 768px) {
  .product-card {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .product-img-wrap {
    flex: none;
    width: 100%;
    min-height: 200px;
  }

  .product-img-wrap img { height: 200px; }

  .nav-links { gap: 1rem; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
  .cta-form input[type="email"] { width: 100%; }
}
