/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  overflow-x: hidden;
  background: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Colors ===== */
:root {
  --primary: #0077b6;
  --primary-dark: #005f8a;
  --primary-light: #90e0ef;
  --accent: #00b4d8;
  --dark: #1a1a2e;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #0077b6, #00b4d8);
  --shadow: 0 4px 20px rgba(0, 119, 182, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 119, 182, 0.15);
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.35);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-nav {
  padding: 0.6rem 1.5rem;
  background: var(--gradient);
  color: var(--white) !important;
  border-radius: 50px;
}

.btn-full {
  width: 100%;
}

/* WhatsApp button */
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  font-size: 1rem;
  gap: 0.5rem;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.6rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.navbar.scrolled .logo {
  color: var(--dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s;
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--dark);
}

.nav-links a:hover {
  color: var(--primary-light);
}

.nav-links a.active {
  color: var(--primary-light);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--primary);
}

.navbar.scrolled .nav-links a.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.navbar.scrolled .nav-toggle span {
  background: var(--dark);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a1628 0%, #0d3b66 40%, #0077b6 100%);
  overflow: hidden;
  padding-top: 5rem;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  color: var(--white);
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(5px);
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content .tagline {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary);
  font-style: italic;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #90e0ef, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 1;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ===== Page Header (Inner Pages) ===== */
.page-header {
  background: linear-gradient(135deg, #0a1628 0%, #0d3b66 40%, #0077b6 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
}

/* ===== Section Styles ===== */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  background: rgba(0, 119, 182, 0.1);
  color: var(--primary);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--gray);
  font-size: 1.05rem;
}

/* ===== About ===== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.about-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.about-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.about-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}

.about-card h3 {
  margin-bottom: 0.8rem;
}

.about-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ===== Products ===== */
.products {
  background: var(--light-gray);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-card.featured {
  border-color: var(--primary);
  transform: scale(1.02);
}

.product-card.featured:hover {
  transform: scale(1.02) translateY(-5px);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.product-image {
  background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-visual {
  font-size: 5rem;
  animation: float 3s ease-in-out infinite;
}

.pv-2 { animation-delay: 0.5s; }
.pv-3 { animation-delay: 1s; }

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.product-info > p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-features {
  margin-bottom: 1.2rem;
}

.product-features li {
  font-size: 0.9rem;
  color: var(--dark);
  padding: 0.25rem 0;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.price-old {
  font-size: 1.1rem;
  color: var(--gray);
  text-decoration: line-through;
}

/* ===== ISO Badges (Product Cards) ===== */
.iso-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.iso-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(0, 119, 182, 0.06);
  color: var(--primary-dark);
  border: 1px solid rgba(0, 119, 182, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.iso-badge::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.55rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== Certifications Section ===== */
.certifications {
  background: var(--white);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.cert-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.cert-icon {
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
}

.cert-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.cert-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
}

.cert-card > p:last-child {
  color: var(--gray);
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cert-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ===== Features ===== */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-item {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.feature-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8rem;
}

.feature-item h3 {
  margin-bottom: 0.6rem;
}

.feature-item p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ===== How It Works ===== */
.how-it-works {
  background: linear-gradient(135deg, #0a1628, #0d3b66);
  color: var(--white);
}

.how-it-works .section-tag {
  background: rgba(144, 224, 239, 0.2);
  color: var(--primary-light);
}

.how-it-works .highlight {
  background: linear-gradient(135deg, #90e0ef, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 240px;
  padding: 1rem;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 1.2rem;
}

.step h3 {
  margin-bottom: 0.6rem;
}

.step p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin-top: 2.8rem;
  flex-shrink: 0;
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--light-gray);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-card > p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.author-avatar-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.9), rgba(0, 180, 216, 0.9)), url('../images/cta-bg.jpg') center/cover no-repeat;
  text-align: center;
  padding: 5rem 0;
  color: var(--white);
}

.cta-banner h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Contact ===== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: var(--light-gray);
  padding: 2.5rem;
  border-radius: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color 0.3s;
  color: var(--dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}

.info-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.info-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.info-card h4 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.info-card p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
  background: #0a1628;
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 300px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card.featured {
    transform: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 16px 16px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: var(--dark) !important;
    padding: 0.8rem 0;
    display: block;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

  .review-layout {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat strong {
    font-size: 1.4rem;
  }

  .contact-form,
  .review-form {
    padding: 1.5rem;
  }
}

/* ===== Review System ===== */
.review-section {
  background: var(--white);
}

.review-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.review-form {
  background: var(--light-gray);
  padding: 2.5rem;
  border-radius: 20px;
}

/* Interactive Star Rating */
.star-rating {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.3rem;
}

.star-btn {
  font-size: 2rem;
  color: #d1d5db;
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  user-select: none;
  line-height: 1;
}

.star-btn:hover {
  transform: scale(1.15);
}

.star-btn.active {
  color: #f59e0b;
}

.star-btn.hover {
  color: #fbbf24;
}

/* Review Summary Card */
.review-summary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.summary-card {
  text-align: center;
  padding: 2rem;
  border-radius: 20px;
  background: var(--light-gray);
  border: 1px solid #e5e7eb;
}

.summary-avg {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.summary-stars {
  font-size: 1.5rem;
  color: #f59e0b;
  letter-spacing: 3px;
  margin-bottom: 0.3rem;
}

.summary-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.rating-bars {
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--light-gray);
  border: 1px solid #e5e7eb;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: var(--dark);
}

.rating-bar-row:last-child {
  margin-bottom: 0;
}

.rating-bar-row > span:first-child {
  width: 32px;
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

.bar-track {
  flex: 1;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
  width: 0%;
  transition: width 0.5s ease;
}

.bar-count {
  width: 20px;
  text-align: left;
  color: var(--gray);
  font-size: 0.8rem;
}

/* User Reviews Grid */
.user-reviews {
  background: var(--light-gray);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: reviewFadeIn 0.4s ease forwards;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

@keyframes reviewFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.review-card .stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  letter-spacing: 2px;
}

.review-card .review-text {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  font-style: italic;
  line-height: 1.6;
}

.review-card .review-product {
  display: inline-block;
  background: rgba(0, 119, 182, 0.08);
  color: var(--primary);
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.review-card .review-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.review-card .review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.review-card .review-author strong {
  display: block;
  font-size: 0.95rem;
}

.review-card .review-author span {
  font-size: 0.8rem;
  color: var(--gray);
}

.review-card .review-date {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.8rem;
}

.no-reviews {
  text-align: center;
  color: var(--gray);
  font-size: 1rem;
  padding: 2rem 0;
}

.no-reviews.hidden {
  display: none;
}

/* Success toast */
.review-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--gradient);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(0, 119, 182, 0.3);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
}

.review-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive additions for review system */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
