/* Zolli Pop Shopify Theme Styles - Premium Redesign */

:root {
  --color-primary: #e10e86;
  /* Zolli Pink */
  --color-primary-dark: #c00c73;
  --color-secondary: #00aeef;
  /* Zolli Blue */
  --color-accent: #fff200;
  /* Zolli Yellow */
  --color-text: #2d3748;
  --color-text-light: #718096;
  --color-background: #ffffff;
  --color-surface: #f7fafc;
  --font-heading: "Fredoka One", cursive, sans-serif;
  --font-body: "Nunito", sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --container-width: 1200px;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  /* Background Pattern */
  background-color: var(--color-background);
  background-image: radial-gradient(
      at 10% 10%,
      rgba(225, 14, 134, 0.08) 0px,
      transparent 50%
    ),
    radial-gradient(at 90% 90%, rgba(0, 174, 239, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.1;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

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

button,
input,
textarea,
select {
  font-family: inherit;
}

/* Utilities */
.container,
.wrap {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  animation: fadeInUp 0.8s ease-out;
}

/* Offset for fixed header so content isn't hidden */
.page {
  padding-top: 64px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px 0 rgba(225, 14, 134, 0.39);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(225, 14, 134, 0.4);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::after {
  opacity: 1;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 8px 0;
  animation: fadeInUp 0.6s ease-out;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(16, 24, 40, 0.04);
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
  backdrop-filter: blur(10px);
}

.header .brandbar {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header .brandbar img {
  height: 48px;
}

.header .pill {
  display: inline-block;
  background: rgba(225, 14, 134, 0.08);
  color: var(--color-primary);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  margin-left: auto;
}

/* Hero Section */
.hero {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.02)
  );
  padding: 100px 0 40px;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

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

/* Hero Content */
.h1 {
  font-size: 3.5rem;
  color: var(--color-text);
  margin-bottom: 24px;
}

.h1 .brand {
  color: var(--color-primary);
}

.checks {
  margin-bottom: 32px;
}

.checks li {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  color: var(--color-text);
}

.checks li::before {
  content: "✓";
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background: var(--color-secondary);
  color: white;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0, 174, 239, 0.3);
}

.sub {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.7;
}

/* Form Card */
.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card__title {
  text-align: center;
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.card__desc {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

/* Form Elements */
.field {
  margin-bottom: 24px;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--color-text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: all 0.2s;
  background: #f8fafc;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--color-secondary);
  background: white;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

/* Grid Fields */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Radio Lists */
fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

legend {
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
  font-size: 0.95rem;
}

.radio-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Radio Row Alignment Fix */
.radio-row {
  display: flex;
  align-items: center;
  /* Ensure vertical centering */
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.radio-row:hover {
  background: #f8fafc;
  border-color: #cbd5e0;
}

.radio-row:has(input:checked) {
  border-color: var(--color-primary);
  background: rgba(225, 14, 134, 0.05);
  color: var(--color-primary);
}

.radio-row input {
  width: auto;
  margin-right: 12px;
  accent-color: var(--color-primary);
}

/* Privacy & Footer Badges */
.privacy {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 16px;
}

.footer-badges {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.badge-mini {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-secondary);
  border-radius: 50%;
}

/* Hero Right Column Styles */
.hero .art img {
  max-width: 480px;
  /* Slightly larger than before since it is the main visual now */
  margin: 0 auto;
  display: block;
}

.hero .footer-badges {
  margin-top: 24px;
  justify-content: center;
}

/* Product Showcase visuals */
.product-showcase {
  padding: 40px 0 80px;
  background: linear-gradient(180deg, rgba(255, 242, 200, 0.02), transparent);
}

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

.showcase-item {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}

.showcase-item:hover {
  transform: translateY(-6px);
}

.showcase-img {
  max-width: 160px;
  margin: 0 auto 18px;
  filter: saturate(1.05);
}

.showcase-title {
  color: var(--color-primary);
  margin-bottom: 8px;
}

.showcase-desc {
  color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    padding-top: 100px;
    text-align: center;
  }

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

  .h1 {
    font-size: 2.4rem;
  }

  .checks {
    display: inline-block;
    text-align: left;
  }

  .sub {
    margin: 0 auto 28px;
    max-width: 92%;
  }

  .card {
    padding: 20px;
  }

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

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

  .header .pill {
    display: none;
  }
}

@media (max-width: 520px) {
  .h1 {
    font-size: 1.8rem;
  }

  .header .brandbar img {
    height: 48px;
  }
}
