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

:root {
  --color-dark-blue: #0f172a;
  --color-hero-bg: #1a2438;
  --color-yellow: #f5b224;
  --color-blue: #1e7bb8;
  --color-text-light: #ffffff;
  --color-text-gray: #94a3b8;
  --color-text-dark: #1e293b;
  --color-bg-white: #ffffff;
  --color-border: #e2e8f0;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
}

.container {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Wider container for product pages */
.article-content .container,
.product-hero .container {
  max-width: 1000px;
}

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

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

/* Header */
.header {
  background-color: var(--color-dark-blue);
  padding: 16px 0;
  position: relative;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-light);
}

.logo svg {
  flex-shrink: 0;
}

.logo span {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-hero-bg) 100%);
  padding: 40px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(30, 123, 184, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 178, 36, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text {
  text-align: left;
  max-width: 100%;
}

.hero-welcome {
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
  opacity: 0.9;
}

.hero-title {
  color: var(--color-text-light);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-description {
  color: var(--color-text-gray);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.btn-primary {
  display: block;
  width: 100%;
  background-color: var(--color-yellow);
  color: var(--color-dark-blue);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #e6a61f;
  transform: translateY(-1px);
}

.hero-image {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 300px;
  width: 100%;
}

/* About Team Section */
.about-team {
  padding: 60px 0;
  background-color: var(--color-bg-white);
}

.section-title-blue {
  color: var(--color-blue);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.about-description {
  color: #64748b;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 40px;
}

.team-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

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

.team-member img {
  width: 140px;
  height: 170px;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
  margin: 0 auto 12px;
  background-color: #e2e8f0;
}

.team-member h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.team-member p {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-dark);
}

/* Review Process Section */
.review-process {
  padding: 60px 0;
  background-color: var(--color-bg-white);
}

.section-subtitle {
  color: var(--color-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

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

.process-description {
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.process-list {
  list-style: none;
  margin-bottom: 24px;
}

.process-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--color-text-dark);
}

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.process-list li strong {
  font-weight: 600;
}

.process-conclusion {
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

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

.feature-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

/* Trending Lists Section */
.trending-lists {
  padding: 60px 0;
  background-color: var(--color-bg-white);
}

.trending-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.trending-items {
  display: flex;
  flex-direction: column;
}

.trending-item {
  display: grid;
  grid-template-columns: 80px 1fr 200px;
  align-items: center;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

.trending-item:last-child {
  border-bottom: none;
}

.item-number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: #d1d5db;
  text-align: left;
}

.item-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.item-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.item-content h3 .highlight {
  color: var(--color-yellow);
}

.item-content > p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 0;
}

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

.item-image img {
  max-width: 180px;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

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

/* Mobile responsive for trending items */
@media (max-width: 767px) {
  .trending-item {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
  }

  .item-number {
    font-size: 36px;
    grid-row: span 2;
  }

  .item-image {
    grid-column: 2;
    justify-content: flex-start;
  }

  .item-image img {
    max-width: 140px;
    max-height: 120px;
  }
}

/* Footer */
.footer {
  background-color: var(--color-dark-blue);
  padding: 48px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: var(--color-text-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: var(--color-text-gray);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: var(--color-text-light);
}

.footer-section.disclaimer p {
  color: var(--color-text-gray);
  font-size: 12px;
  line-height: 1.7;
}

.footer-logo {
  padding-top: 24px;
}

.footer-logo .logo {
  opacity: 0.8;
}

/* Responsive Design */
@media (min-width: 768px) {
  .container {
    max-width: 700px;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-description {
    font-size: 15px;
  }

  .btn-primary {
    width: auto;
    display: inline-block;
  }

  .hero-image img {
    max-width: 380px;
  }

  .section-title-blue {
    font-size: 24px;
  }

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

  .team-member img {
    width: 160px;
    height: 200px;
  }

  .section-title {
    font-size: 36px;
  }

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

  .item-number {
    font-size: 42px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 900px;
  }

  .article-content .container,
  .product-hero .container {
    max-width: 1100px;
  }

  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hero-text {
    max-width: 55%;
  }

  .hero-image {
    margin-top: 0;
  }

  .hero-image img {
    max-width: 320px;
  }

  .team-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }

  .team-member img {
    width: 130px;
    height: 160px;
  }

  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .trending-items {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Smooth scroll offset for fixed header */
section[id] {
  scroll-margin-top: 20px;
}

/* Animations */
.trending-item,
.feature-card,
.team-member {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.trending-item.visible,
.feature-card.visible,
.team-member.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delays for team members */
.team-member:nth-child(1) { transition-delay: 0s; }
.team-member:nth-child(2) { transition-delay: 0.1s; }
.team-member:nth-child(3) { transition-delay: 0.2s; }
.team-member:nth-child(4) { transition-delay: 0.3s; }
.team-member:nth-child(5) { transition-delay: 0.4s; }

/* Feature card stagger */
.feature-card:nth-child(1) { transition-delay: 0s; }
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }
