/*
Theme Name: Atomic Cat
Theme URI: https://modal.run/atomic-cat
Author: Antigravity
Description: A retro-atomic space age theme for cat lovers, integrated with WooCommerce.
Version: 1.0.0
Text Domain: atomic-cat
*/

/* ── ATOMIC CAT RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --orange: #F4622A;
  --teal: #2ABCB4;
  --cream: #FAF4E8;
  --dark: #1A1A2E;
  --navy: #0F1A3E;
  --gold: #F5C842;
  --white: #ffffff;
  --text-mid: #444;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* ── STARS BG ── */
.stars-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(42, 188, 180, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(244, 98, 42, 0.04) 0%, transparent 60%);
}

/* ── NAV ── */
header.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--teal);
}

header.site-header nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal);
}

.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-cart {
  background: var(--orange);
  color: var(--white);
  border: none;
  cursor: pointer;
  padding: 0.55rem 1.4rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}

.nav-cart:hover {
  background: #e04e1a;
  transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 50%, rgba(42, 188, 180, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 15% 80%, rgba(244, 98, 42, 0.15) 0%, transparent 45%);
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(42, 188, 180, 0.2);
  pointer-events: none;
}

.hero-ring-1 { width: 600px; height: 600px; right: -100px; top: 50%; transform: translateY(-50%); }
.hero-ring-2 { width: 420px; height: 420px; right: 80px; top: 50%; transform: translateY(-50%); border-color: rgba(244, 98, 42, 0.15); }
.hero-ring-3 { width: 240px; height: 240px; right: 170px; top: 50%; transform: translateY(-50%); border-color: rgba(245, 200, 66, 0.2); }

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--teal);
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 span { color: var(--orange); }

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 2.5rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary, .woocommerce a.button.alt, .woocommerce button.button.alt {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  background: var(--orange);
  color: var(--white) !important;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
  background: #e04e1a;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

/* Hero mascot animation */
.hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.hero-mascot-frame {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(42, 188, 180, 0.15), rgba(244, 98, 42, 0.15));
  border: 2px solid rgba(42, 188, 180, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-mascot-frame img { width: 90%; height: 90%; object-fit: contain; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Orbiting dot */
.orbit-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  top: 18px;
  left: 50%;
  transform-origin: 0 162px;
  animation: orbit 6s linear infinite;
  box-shadow: 0 0 12px var(--gold);
}
@keyframes orbit { from { transform: rotate(0deg) translateX(-7px); } to { transform: rotate(360deg) translateX(-7px); } }

/* ── MARQUEE STRIP ── */
.marquee-strip {
  background: var(--orange);
  overflow: hidden;
  padding: 0.7rem 0;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}
.marquee-inner { display: flex; gap: 3rem; width: max-content; animation: marquee 22s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--white);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.marquee-item::after { content: '✦'; color: var(--gold); }

/* ── SECTION HEADERS ── */
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-label::before { content: ''; display: block; width: 22px; height: 2px; background: var(--orange); }
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--dark);
}
.section-title span { color: var(--teal); }

/* ── PRODUCTS (WooCommerce Integration) ── */
.products-section { padding: 6rem 2rem; background: var(--cream); }
.products-inner { max-width: 1200px; margin: 0 auto; }
.products-header { margin-bottom: 3.5rem; }

/* WooCommerce Grid Styling */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 2rem; }
.woocommerce ul.products li.product {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(26, 26, 46, 0.08);
  position: relative;
  margin: 0;
  width: auto !important;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26, 26, 46, 0.14);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1.25rem 1.25rem 0.3rem !important;
  line-height: 1.3;
}
.woocommerce ul.products li.product .price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem !important;
  letter-spacing: 0.04em;
  color: var(--dark) !important;
  margin: 0 1.25rem 1.25rem !important;
  display: block;
}
.woocommerce ul.products li.product .price del { font-size: 1rem; color: #aaa; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--dark); }

.woocommerce ul.products li.product .button {
  background: var(--dark) !important;
  color: var(--white) !important;
  border: none;
  cursor: pointer;
  padding: 0.8rem 1.2rem !important;
  margin: 0 1.25rem 1.25rem !important;
  border-radius: 2px !important;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}
.woocommerce ul.products li.product .button:hover { background: var(--orange) !important; }

/* ── ABOUT STRIP ── */
.about-strip { background: var(--navy); padding: 6rem 2rem; position: relative; overflow: hidden; }
.about-strip::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; right: -200px; top: 50%; transform: translateY(-50%); border: 1px solid rgba(42, 188, 180, 0.1); }
.about-strip::after { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; right: 50px; top: 50%; transform: translateY(-50%); border: 1px solid rgba(244, 98, 42, 0.1); }
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.about-inner .section-title { color: var(--white); }
.about-inner .section-label { color: var(--teal); }
.about-inner .section-label::before { background: var(--teal); }
.about-text { font-size: 0.95rem; font-weight: 300; color: rgba(255, 255, 255, 0.7); line-height: 1.75; margin: 1.4rem 0 2rem; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.stat { border-left: 2px solid var(--orange); padding-left: 1rem; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; color: var(--white); letter-spacing: 0.04em; line-height: 1; }
.stat-label { font-size: 0.72rem; color: rgba(255, 255, 255, 0.5); margin-top: 0.2rem; letter-spacing: 0.05em; }

/* About Atom */
.about-atom { position: relative; width: 300px; height: 300px; display: flex; align-items: center; justify-content: center; }
.atom-core { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--orange)); display: flex; align-items: center; justify-content: center; font-size: 2rem; position: relative; z-index: 3; box-shadow: 0 0 30px rgba(42, 188, 180, 0.4); }
.atom-ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(42, 188, 180, 0.35); }
.atom-ring-1 { width: 150px; height: 150px; transform: rotateX(70deg); animation: spin1 5s linear infinite; }
.atom-ring-2 { width: 220px; height: 220px; transform: rotateX(70deg) rotateZ(60deg); animation: spin2 7s linear infinite; border-color: rgba(244, 98, 42, 0.3); }
.atom-ring-3 { width: 290px; height: 290px; transform: rotateX(70deg) rotateZ(120deg); animation: spin3 9s linear infinite; border-color: rgba(245, 200, 66, 0.25); }
@keyframes spin1 { to { transform: rotateX(70deg) rotateZ(360deg); } }
@keyframes spin2 { to { transform: rotateX(70deg) rotateZ(420deg); } }
@keyframes spin3 { to { transform: rotateX(70deg) rotateZ(480deg); } }

/* ── TESTIMONIALS ── */
.testimonials { padding: 6rem 2rem; background: var(--white); }
.testimonials-inner { max-width: 1200px; margin: 0 auto; }
.testimonials-header { margin-bottom: 3rem; text-align: center; }
.testimonials-header .section-label { justify-content: center; }
.testimonials-header .section-label::before { display: none; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review-card { background: var(--cream); border-radius: 4px; padding: 1.8rem; border: 1px solid rgba(26, 26, 46, 0.07); transition: transform 0.2s; }
.review-card:hover { transform: translateY(-3px); }
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.review-text { font-size: 0.9rem; line-height: 1.7; color: var(--text-mid); margin-bottom: 1.2rem; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 0.8rem; }
.reviewer-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--orange)); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; color: var(--white); font-family: 'Space Grotesk', sans-serif; }
.reviewer-name { font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--dark); }
.reviewer-loc { font-size: 0.72rem; color: #aaa; }

/* ── NEWSLETTER ── */
.newsletter { background: linear-gradient(135deg, var(--orange), #d44a1a); padding: 5rem 2rem; text-align: center; position: relative; overflow: hidden; }
.newsletter::before { content: '✦ ✦ ✦'; position: absolute; top: 1.5rem; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.2); font-size: 1.2rem; letter-spacing: 1rem; }
.newsletter-inner { max-width: 600px; margin: 0 auto; position: relative; }
.newsletter h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: 0.05em; color: var(--white); margin-bottom: 0.8rem; }
.newsletter p { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; margin-bottom: 2rem; }
.newsletter-form { display: flex; gap: 0; max-width: 440px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 0.95rem 1.4rem; border: none; outline: none; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; background: rgba(255, 255, 255, 0.95); border-radius: 2px 0 0 2px; }
.newsletter-form button { padding: 0.95rem 1.6rem; background: var(--navy); color: var(--white); border: none; cursor: pointer; font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 0 2px 2px 0; transition: background 0.2s; }
.newsletter-form button:hover { background: var(--dark); }

/* ── FOOTER ── */
footer.site-footer { background: var(--dark); padding: 4rem 2rem 2rem; border-top: 2px solid rgba(42, 188, 180, 0.2); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.footer-brand .logo-text { font-size: 2.2rem; display: block; margin-bottom: 0.8rem; }
.footer-tagline { color: rgba(255, 255, 255, 0.45); font-size: 0.82rem; line-height: 1.65; max-width: 220px; }
.footer-socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.social-btn { width: 36px; height: 36px; border-radius: 2px; border: 1px solid rgba(255, 255, 255, 0.15); background: transparent; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s, color 0.2s; text-decoration: none; }
.social-btn:hover { border-color: var(--teal); color: var(--teal); }
.footer-col h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; padding: 0; }
.footer-col a { color: rgba(255, 255, 255, 0.45); font-size: 0.82rem; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { max-width: 1200px; margin: 2rem auto 0; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { color: rgba(255, 255, 255, 0.3); font-size: 0.72rem; }
.footer-badge { display: flex; align-items: center; gap: 0.5rem; font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.3); }
.footer-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 4rem; }
  .hero-eyebrow, .hero-ctas { justify-content: center; }
  .hero-visual { display: none; }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* Scroll reveal */
.reveal-ready { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal-ready.revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero-ring { display: none; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input, .newsletter-form button { border-radius: 2px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
