/* A Cup of Tee — full-page responsive landing */

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

:root {
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-script: 'Pacifico', cursive;
  --color-bg: #fafafa;
  --color-text: #111;
  --color-muted: #555;
  --color-lime: #e2ff8c;
  --color-footer: #111;
  --content-max: 1120px;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.75rem;
  --space-3xl: 3.5rem;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
  background: #fff;
  overflow-x: hidden;
}

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

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

.page {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #fff;
  overflow-x: hidden;
}

.inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* Header */
.header {
  padding: var(--space-lg) var(--space-md) var(--space-sm);
  text-align: center;
}

.brand-text {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

/* Hero */
.hero {
  padding: 0 var(--space-md) var(--space-xl);
  text-align: center;
}

.hero-title {
  font-size: clamp(1.45rem, 4.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
}

.hero-subtitle {
  font-size: clamp(0.85rem, 2vw, 1.15rem);
  color: var(--color-muted);
  line-height: 1.45;
  margin-bottom: var(--space-xl);
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.hero-image-wrap {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #eee;
  aspect-ratio: 16 / 9;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Stats bar — full bleed */
.stats {
  background: var(--color-lime);
  padding: var(--space-xl) var(--space-md);
}

.stats-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  text-align: center;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.stat {
  flex: 1;
  min-width: 0;
}

.stat-number {
  display: block;
  font-size: clamp(1.25rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.stat-label {
  display: block;
  font-size: clamp(0.68rem, 1.6vw, 1rem);
  font-weight: 500;
  line-height: 1.3;
  color: #222;
}

/* Platform rows */
.platforms {
  padding: var(--space-2xl) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.platform-row {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  transition: opacity 0.2s;
}

.platform-row:hover {
  opacity: 0.85;
}

.platform-row--text-left {
  flex-direction: row;
}

.platform-row--text-right {
  flex-direction: row-reverse;
}

.platform-copy {
  flex: 1;
  min-width: 0;
}

.platform-name {
  font-size: clamp(1.05rem, 2.4vw, 1.6rem);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  line-height: 1.25;
}

.platform-desc {
  font-size: clamp(0.8rem, 1.6vw, 1.05rem);
  color: var(--color-muted);
  line-height: 1.5;
  max-width: 32em;
}

.platform-visual {
  position: relative;
  flex-shrink: 0;
  width: clamp(110px, 22vw, 220px);
  height: clamp(110px, 22vw, 220px);
}

.platform-mascot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #f0f0f0;
}

.platform-badge {
  position: absolute;
  width: clamp(32px, 5vw, 52px);
  height: clamp(32px, 5vw, 52px);
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.platform-badge--whatsapp {
  bottom: 0;
  left: 0;
}

.platform-badge--shopee {
  bottom: 0;
  right: 0;
}

.platform-badge--tokopedia {
  bottom: 0;
  right: 0;
}

.platform-badges-stack {
  position: absolute;
  bottom: -2px;
  left: -2px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.platform-badges-stack .platform-badge {
  position: static;
  width: clamp(28px, 4.5vw, 44px);
  height: clamp(28px, 4.5vw, 44px);
}

.platform-badge--tiktok {
  border-radius: 8px;
}

/* Products */
.products {
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
  text-align: center;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.products-header {
  margin-bottom: var(--space-xl);
}

.products-eyebrow {
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  color: var(--color-muted);
  margin-bottom: 0.35rem;
}

.products-title {
  font-size: clamp(1.05rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.35;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.6rem, 1.5vw, 1.25rem);
}

.product-card-image-wrap {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #eee;
  margin-bottom: var(--space-sm);
}

.product-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-card-caption {
  font-size: clamp(0.65rem, 1.4vw, 0.95rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
}

/* Gallery */
.gallery {
  padding: 0 var(--space-md) var(--space-2xl);
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.6rem, 1.5vw, 1.25rem);
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #eee;
  aspect-ratio: 2 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Footer — full bleed */
.footer {
  background: var(--color-footer);
  color: #fff;
  text-align: center;
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
}

.footer-brand {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: var(--space-sm);
}

.footer-copy {
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* —— Mobile: stack platforms, tighter spacing —— */
@media (max-width: 640px) {
  .platforms {
    gap: var(--space-xl);
    padding: var(--space-xl) var(--space-md);
  }

  .platform-row {
    gap: var(--space-md);
  }

  .platform-visual {
    width: clamp(100px, 34vw, 140px);
    height: clamp(100px, 34vw, 140px);
  }

  .hero-image-wrap {
    border-radius: var(--radius-sm);
  }

  .product-cards,
  .gallery-grid {
    gap: var(--space-sm);
  }

  .product-card-caption {
    font-size: 0.62rem;
  }
}

/* —— Small phones: slightly tighter product captions —— */
@media (max-width: 380px) {
  .product-cards,
  .gallery-grid {
    gap: 0.45rem;
  }

  .stat-label {
    font-size: 0.62rem;
  }
}

/* —— Tablet & desktop: breathing room —— */
@media (min-width: 768px) {
  .header {
    padding: var(--space-2xl) var(--space-xl) var(--space-md);
  }

  .hero {
    padding: 0 var(--space-xl) var(--space-2xl);
  }

  .hero-image-wrap {
    border-radius: var(--radius-lg);
  }

  .stats {
    padding: var(--space-2xl) var(--space-xl);
  }

  .platforms {
    padding: var(--space-3xl) var(--space-xl);
    gap: var(--space-3xl);
  }

  .platform-row {
    gap: var(--space-2xl);
  }

  .products {
    padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
  }

  .gallery {
    padding: 0 var(--space-xl) var(--space-3xl);
  }

  .product-card-image-wrap,
  .gallery-item {
    border-radius: var(--radius-md);
  }
}

/* —— Large desktop —— */
@media (min-width: 1200px) {
  :root {
    --content-max: 1200px;
  }

  .hero-image-wrap {
    max-width: 1200px;
  }
}
