/* ============================================
   MANKTOPS - Global Styles
   ============================================ */

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

:root {
  --primary: #ff6b35;
  --primary-dark: #e55a2b;
  --secondary: #1a1a2e;
  --accent: #ffd23f;
  --bg: #fafafa;
  --bg-alt: #f0f0f0;
  --text: #1a1a2e;
  --text-light: #6b7280;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

ul {
  list-style: none;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

.btn-outline:hover {
  background: var(--text);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   Announcement Bar
   ============================================ */

.announcement-bar {
  background: var(--secondary);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.announcement-bar strong {
  color: var(--accent);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
  position: sticky;
  top: 0;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
  transition: var(--transition);
  position: relative;
  border-radius: 50%;
}

.nav-btn:hover {
  background: var(--bg-alt);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 24px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--bg-alt);
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0 80px;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(8rem, 20vw, 20rem);
  color: rgba(0, 0, 0, 0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--secondary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--secondary);
}

.hero .highlight {
  color: var(--primary);
  position: relative;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.8rem;
  color: var(--text);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero Visual / Product Cards */
.hero-visual {
  position: relative;
  height: 500px;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:hover {
  transform: scale(1.03) rotate(0deg) !important;
  z-index: 10;
}

.hero-card-1 {
  width: 260px;
  height: 340px;
  top: 10%;
  right: 15%;
  transform: rotate(-3deg);
  z-index: 3;
}

.hero-card-2 {
  width: 220px;
  height: 290px;
  top: 5%;
  right: 0;
  transform: rotate(5deg);
  z-index: 2;
}

.hero-card-3 {
  width: 200px;
  height: 270px;
  bottom: 5%;
  right: 25%;
  transform: rotate(-6deg);
  z-index: 1;
}

.product-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    hsl(var(--hue), 70%, 92%),
    hsl(var(--hue), 60%, 82%)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.placeholder-emoji {
  font-size: 4rem;
}

.placeholder-label {
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: hsl(var(--hue), 40%, 40%);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.scroll-arrow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* ============================================
   Marquee
   ============================================ */

.marquee-section {
  background: var(--secondary);
  padding: 18px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  padding-right: 32px;
}

.marquee-content span {
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  letter-spacing: 0.15em;
}

.marquee-dot {
  color: var(--primary) !important;
  font-size: 0.5rem !important;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================
   Categories
   ============================================ */

.categories {
  padding: 100px 0;
}

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

.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.category-card h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.category-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.category-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
}

/* ============================================
   Best Sellers / Product Grid
   ============================================ */

.bestsellers {
  padding: 100px 0;
  background: var(--bg-alt);
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

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

.product-image {
  position: relative;
  overflow: hidden;
}

.product-img-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(
    135deg,
    hsl(var(--hue), 65%, 93%),
    hsl(var(--hue), 55%, 85%)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  transition: var(--transition);
}

.product-card:hover .product-img-placeholder {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--secondary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  z-index: 2;
}

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

.product-badge.new {
  background: var(--primary);
}

.quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--secondary);
  color: var(--white);
  border: none;
  padding: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transform: translateY(100%);
  transition: var(--transition);
  z-index: 2;
}

.product-card:hover .quick-add {
  transform: translateY(0);
}

.quick-add:hover {
  background: var(--primary);
}

.product-info {
  padding: 20px 24px 24px;
}

.product-colors {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.color-dot:hover {
  transform: scale(1.3);
}

.product-info h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.product-desc {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-weight: 700;
  font-size: 1.1rem;
}

.sale-price {
  color: #e74c3c;
}

.original-price {
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 400;
  margin-left: 8px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stars {
  color: var(--accent);
  font-size: 0.85rem;
}

.rating-count {
  font-size: 0.75rem;
  color: var(--text-light);
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   Fun Stats Banner
   ============================================ */

.fun-banner {
  background: var(--primary);
  padding: 60px 0;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.banner-number {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  display: block;
}

.banner-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ============================================
   About Section
   ============================================ */

.about {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-tag {
  margin-bottom: 20px;
}

.about-content h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 8px;
}

.about-highlight {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 24px;
  font-weight: 700;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.feature strong {
  display: block;
  font-size: 0.95rem;
}

.feature span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.about-visual {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #1a1a2e, #2d2d44);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-end;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.about-image-placeholder::before {
  content: '💪🏋️🔥';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 5rem;
  opacity: 0.3;
  letter-spacing: 20px;
}

.about-quote {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 24px;
  color: white;
}

.about-quote p {
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: white;
  line-height: 1.6;
}

.about-quote span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Reviews
   ============================================ */

.reviews {
  padding: 100px 0;
  background: var(--bg-alt);
}

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

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

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

.review-stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.review-text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.review-author strong {
  display: block;
  font-size: 0.9rem;
}

.review-author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================
   Newsletter
   ============================================ */

.newsletter {
  padding: 80px 0;
  background: var(--secondary);
}

.newsletter-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.newsletter h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 12px;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  font-size: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

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

.footer {
  background: #111122;
  padding: 80px 0 32px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-brand .logo-text {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  transition: var(--transition);
}

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

/* ============================================
   Animations
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

  .about-image-placeholder {
    height: 350px;
  }

  .banner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 40px 0 60px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .banner-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .announcement-bar {
    font-size: 0.75rem;
  }
}
