/* ============================================
   Gojo T-Shirt Landing Page Styles
   Mobile-first, responsive design
   ============================================ */

/* CSS Custom Properties */
:root {
  --color-primary: #0f0f1a;
  --color-accent: #6366f1;
  --color-accent-hover: #818cf8;
  --color-accent-glow: rgba(99, 102, 241, 0.3);
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-text-muted: #9ca3af;
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --color-bg-dark: #0f0f1a;
  --color-border: #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 30px var(--color-accent-glow);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: 0.2s ease;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

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

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

.nav-cta {
  padding: 8px 20px;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.hero-grid {
  display: grid;
  gap: 40px;
}

/* Gallery */
.hero-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-main {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.main-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-main:hover .main-image {
  transform: scale(1.02);
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  flex-wrap: wrap;
  max-width: 100%;
}

.thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition);
  padding: 0;
  flex-shrink: 0;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover {
  border-color: var(--color-text-muted);
  transform: scale(1.05);
}

.thumb.active {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

/* Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.hero-content h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary);
}

.hero-content h1 .highlight {
  color: var(--color-accent);
}

.subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
}

/* Price Box */
.price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

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

.price-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Variants */
.variants {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.variant-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text);
}

.color-options {
  display: flex;
  gap: 10px;
}

.color-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: var(--transition);
  position: relative;
}

.color-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid transparent;
  border-radius: 50%;
  transition: var(--transition);
}

.color-btn:hover::after,
.color-btn.active::after {
  border-color: var(--color-accent);
}

.variant-note {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-btn {
  min-width: 44px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  background: white;
  transition: var(--transition);
}

.size-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.size-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 32px;
  background: var(--color-accent);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 40px var(--color-accent-glow);
}

.btn-large {
  padding: 20px 48px;
  font-size: 1.25rem;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   Features Section
   ============================================ */
.features {
  padding: 80px 0;
  background: var(--color-bg);
}

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

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  padding: 32px 24px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ============================================
   Size Guide Section
   ============================================ */
.sizes {
  padding: 80px 0;
  background: var(--color-bg-alt);
}

.size-table-wrapper {
  overflow-x: auto;
  margin-top: 32px;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.size-table th,
.size-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.size-table th {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.size-table tbody tr:hover {
  background: var(--color-bg-alt);
}

.size-table tbody tr:last-child td {
  border-bottom: none;
}

/* ============================================
   Reviews Section
   ============================================ */
.reviews {
  padding: 80px 0;
  background: var(--color-bg);
}

.reviews-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

.review-card {
  padding: 28px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.review-stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 16px;
  font-style: italic;
}

.reviewer {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-light);
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  padding: 100px 0;
  background: var(--color-bg-dark);
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 32px 0;
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-content p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-content a {
  color: var(--color-accent);
  transition: var(--transition);
}

.footer-content a:hover {
  color: var(--color-accent-hover);
}

.footer-note {
  margin-top: 8px;
  font-size: 0.75rem !important;
  opacity: 0.7;
}

/* ============================================
   Responsive Breakpoints
   ============================================ */

/* Tablet (640px+) */
@media (min-width: 640px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

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

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

  .thumb {
    width: 65px;
    height: 65px;
  }

  .gallery-thumbs {
    gap: 10px;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .hero {
    padding: 120px 0 80px;
  }

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

  .hero-content h1 {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .cta-content h2 {
    font-size: 2.5rem;
  }

  .thumb {
    width: 70px;
    height: 70px;
  }

  .gallery-thumbs {
    gap: 10px;
    justify-content: flex-start;
  }
}

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
  .container {
    padding: 0 40px;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }
}
