/* ==========================================================================
   THE SMOKY SALSA COMPANY - BRAND STYLE SYSTEM & STYLESHEET
   ========================================================================== */

/* --- Custom Variables & Tokens --- */
:root {
  /* Slate & Charcoal (Base Chalkboard Palette) */
  --slate-bg: #111213;
  --slate-card: #18191b;
  --slate-card-light: #212325;
  --chalk-white: #f5f2eb;
  --chalk-white-dim: rgba(245, 242, 235, 0.7);
  --chalk-border: rgba(245, 242, 235, 0.15);
  
  /* Fire & Heat (Spicy Accents) */
  --fire-red: #d9381e;
  --fire-red-hover: #ff4526;
  --fire-red-glow: rgba(217, 56, 30, 0.4);
  --fire-orange: #e64a19;
  --amber-gold: #ff9800;
  --amber-glow: rgba(255, 152, 0, 0.3);
  
  /* Tomatillo & Freshness (Herbal & Green Accents) */
  --tomatillo-green: #689f38;
  --tomatillo-light: #81c784;
  --tomatillo-glow: rgba(104, 159, 56, 0.35);

  /* Fonts */
  --font-title: 'Lilita One', cursive, system-ui;
  --font-body: 'Outfit', sans-serif;
  
  /* Standard Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--slate-bg);
  color: var(--chalk-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Chalkboard Base Texture Overlay */
.chalkboard-bg {
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.04), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(217, 56, 30, 0.03), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(104, 159, 56, 0.02), transparent 45%),
    linear-gradient(rgba(17, 18, 19, 0.98), rgba(17, 18, 19, 0.98));
}

/* Subtle chalk dust layer using pseudo element */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.07;
  pointer-events: none;
  z-index: 10;
}

/* --- Typography & Headings --- */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--chalk-white);
}

h1 {
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.3), 1px 2px 2px rgba(0, 0, 0, 0.9);
}

h2 {
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.3), 1px 1px 2px rgba(0, 0, 0, 0.8);
}

p {
  font-weight: 300;
  color: var(--chalk-white-dim);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center { text-align: center; }
.text-cream { color: var(--chalk-white); }
.text-accent { color: var(--fire-red); }
.justify-center { justify-content: center; }

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-badge {
  background: rgba(217, 56, 30, 0.15);
  border: 1px solid var(--fire-red);
  color: var(--fire-red-hover);
}

.sub-badge {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--amber-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.bg-orange {
  color: var(--fire-orange);
}

/* --- Premium Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--fire-red), var(--fire-orange));
  color: var(--chalk-white);
  box-shadow: 0 4px 15px var(--fire-red-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--fire-red-hover), 0 0 10px rgba(255,152,0,0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--chalk-white);
  border-color: var(--chalk-white);
}

.btn-secondary:hover {
  background: var(--chalk-white);
  color: var(--slate-bg);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.btn-small {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 6px;
}

/* --- Fixed Header Navigation --- */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(17, 18, 19, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--chalk-border);
  transition: var(--transition-smooth);
}

/* Scroll style injection via JS */
.glass-nav.nav-scrolled {
  padding: 0.6rem 0;
  background: rgba(17, 18, 19, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--fire-orange);
  box-shadow: 0 0 12px var(--fire-red-glow);
  object-fit: cover;
  transition: var(--transition-smooth);
}

.brand-logo:hover .nav-logo-img {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 0 12px var(--fire-red-hover);
}

.brand-name {
  font-family: var(--font-title);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--chalk-white);
  text-shadow: 1px 1px 1px #000;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--chalk-white-dim);
  padding: 0.25rem 0;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--fire-orange);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--chalk-white);
}

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

.nav-btn {
  display: inline-flex;
  padding: 0.6rem 1.25rem;
  border: 2px dashed var(--fire-orange);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fire-orange);
  background: rgba(230, 74, 25, 0.05);
  box-shadow: 0 0 8px rgba(230, 74, 25, 0.1);
}

.nav-btn:hover {
  background: var(--fire-orange);
  color: var(--chalk-white);
  border-style: solid;
  box-shadow: 0 0 15px rgba(230, 74, 25, 0.3);
  transform: translateY(-2px);
}

/* Mobile Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--chalk-white);
  transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero-section {
  padding: 8.5rem 0 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
}

.glow-text {
  background: linear-gradient(to right, var(--fire-red-hover), var(--amber-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: none;
  animation: heat-glow 4s ease-in-out infinite alternate;
}

.hero-description {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--chalk-white-dim);
  max-width: 540px;
  margin-bottom: 0.5rem;
}

.hero-cta-group {
  display: flex;
  gap: 1.25rem;
}

/* Hero Picture Frame Container */
.hero-image-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-frame {
  position: relative;
  background: #1e2023;
  padding: 1rem 1rem 3.5rem 1rem; /* Polaroid polar style */
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(217, 56, 30, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(2deg);
  transition: var(--transition-spring);
  width: 100%;
  max-width: 440px;
}

.product-frame:hover {
  transform: rotate(-1deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(217, 56, 30, 0.15);
}

.hero-showcase-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.frame-tag {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--chalk-white-dim);
  letter-spacing: 0.05em;
  opacity: 0.8;
  white-space: nowrap;
}

.product-frame:hover .frame-tag,
.chalk-doodle-container:hover .frame-tag {
  color: var(--amber-gold);
  text-shadow: 0 0 8px rgba(255,152,0,0.3);
  opacity: 1;
}

/* --- Section Global Layout --- */
section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem auto;
  color: var(--chalk-white-dim);
}

/* --- Story Section --- */
.section-story {
  border-top: 1px solid var(--chalk-border);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.015), transparent 40%),
    linear-gradient(rgba(17,18,19,0.5), rgba(17,18,19,0.5));
}

.story-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 5rem;
}

.story-image-panel {
  display: flex;
  justify-content: center;
}

.chalk-doodle-container {
  position: relative;
  transition: var(--transition-spring);
  display: inline-block;
}

.chalk-doodle-container:hover {
  transform: scale(1.03) rotate(-1.5deg);
}

.story-banner-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border: 4px solid var(--slate-card);
  transition: var(--transition-spring);
  display: block;
}

.chalk-doodle-container:hover .story-banner-img {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px var(--fire-red-glow);
}

.story-image-panel .frame-tag {
  bottom: -2.8rem;
  transition: var(--transition-smooth);
}

/* Custom chalk doodle arrow overlaying */
.doodle-arrow {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  pointer-events: none;
}

.story-text-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.story-p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.highlight-metrics {
  display: flex;
  gap: 2.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--chalk-border);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-num {
  font-family: var(--font-title);
  font-size: 2.25rem;
  color: var(--amber-gold);
  line-height: 1;
}

.metric-lbl {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--chalk-white-dim);
  margin-top: 0.25rem;
}

/* --- Philosophy Section --- */
.section-philosophy {
  background-color: rgba(17, 18, 19, 0.4);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.philosophy-card {
  background: var(--slate-card);
  border: 1px solid var(--chalk-border);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.philosophy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: var(--transition-smooth);
}

.philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.02);
  border-color: rgba(245, 242, 235, 0.3);
}

.philosophy-card:nth-child(1):hover::before { background: var(--fire-orange); }
.philosophy-card:nth-child(2):hover::before { background: var(--tomatillo-light); }
.philosophy-card:nth-child(3):hover::before { background: var(--amber-gold); }

.philosophy-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: inline-block;
  transition: var(--transition-spring);
}

.philosophy-card:hover .philosophy-icon {
  transform: scale(1.2) rotate(10deg);
}

.philosophy-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.philosophy-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Flavor Lineup Section --- */
.section-lineup {
  border-top: 1px solid var(--chalk-border);
  background-image: 
    radial-gradient(circle at 90% 10%, rgba(217, 56, 30, 0.03), transparent 45%),
    linear-gradient(rgba(17,18,19,0.9), rgba(17,18,19,0.9));
}

.flavor-cards-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3.5rem;
}

/* Interactive Brand Cards */
.flavor-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--chalk-border);
  transition: var(--transition-spring);
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.flavor-card:hover {
  transform: translateY(-4px) scale(1.005);
}

/* Smoky Salsa Card Specifics (Chalkboard Dark Theme) */
.smoky-card {
  background: var(--slate-card);
  border-color: rgba(217, 56, 30, 0.2);
}

.smoky-card:hover {
  box-shadow: 0 20px 45px rgba(217, 56, 30, 0.18);
  border-color: var(--fire-red);
}

.smoky-card p.flavor-body {
  color: var(--chalk-white-dim);
}

/* Visual Panel */
.flavor-card-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  position: relative;
  background: rgba(217, 56, 30, 0.04);
  overflow: hidden;
}

.flavor-illustration {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
  transition: var(--transition-spring);
}

.smoky-card:hover .flavor-illustration {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 20px var(--fire-red-glow));
}

/* Content Panel */
.flavor-card-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.flavor-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
}

.tag-smoky {
  background: rgba(217, 56, 30, 0.15);
  color: var(--fire-red-hover);
}

.flavor-card-content h3 {
  font-size: 2.25rem;
  line-height: 1;
}

.flavor-subtitle {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: -0.5rem;
  opacity: 0.75;
}

.flavor-body {
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Stats (Heat, Smoke levels) */
.flavor-stats {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.smoky-card .flavor-stats {
  border-color: var(--chalk-border);
}

.stat-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.stat-name {
  font-weight: 600;
  width: 90px;
}

.heat-dots {
  display: flex;
  gap: 4px;
}

.heat-dots .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.smoky-card .heat-dots .dot.active {
  background-color: var(--fire-red);
  box-shadow: 0 0 6px var(--fire-red-glow);
  animation: ember-flicker 2s infinite alternate;
}

.stat-val {
  font-size: 0.85rem;
  opacity: 0.8;
  font-weight: 500;
}

.flavor-ingredients {
  font-size: 0.9rem;
}

/* --- VIP Signup Section --- */
.section-signup {
  background-image: 
    radial-gradient(circle at 10% 80%, rgba(104, 159, 56, 0.015), transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(217, 56, 30, 0.02), transparent 45%),
    linear-gradient(rgba(17,18,19,0.7), rgba(17,18,19,0.7));
  border-top: 1px solid var(--chalk-border);
}

.signup-box {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

/* Glassmorphism Panel style */
.glass-panel {
  background: rgba(24, 25, 27, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px dashed rgba(245, 242, 235, 0.25);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.02);
}

.signup-content {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.25rem;
  border-right: 1px dashed rgba(245, 242, 235, 0.15);
  background: rgba(0, 0, 0, 0.15);
}

.form-badge {
  background: rgba(255, 152, 0, 0.15);
  color: var(--amber-gold);
  border: 1px solid var(--amber-gold);
}

.form-title {
  font-size: 2.25rem;
  line-height: 1.1;
}

.form-desc {
  font-size: 1rem;
  line-height: 1.6;
}

.resale-callout {
  margin-top: 0.75rem;
  background: rgba(255, 152, 0, 0.05);
  border-left: 3px solid var(--amber-gold);
  padding: 0.85rem 1rem;
  border-radius: 4px;
}

.resale-callout p {
  font-size: 0.85rem;
  color: var(--chalk-white-dim);
  line-height: 1.4;
}

.resale-callout strong {
  color: var(--amber-gold);
}

/* Form Styles */
.signup-form {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--chalk-white-dim);
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(245, 242, 235, 0.2);
  color: var(--chalk-white);
  padding: 0.9rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 8px;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:hover {
  border-color: rgba(245, 242, 235, 0.4);
}

.form-input:focus {
  border-color: var(--fire-orange);
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 10px rgba(230, 74, 25, 0.25);
}

/* Modern Validation Styling: using :user-valid and :user-invalid */
.form-input:user-invalid {
  border-color: var(--fire-red);
  box-shadow: 0 0 10px rgba(217, 56, 30, 0.25);
}

.form-input:user-valid {
  border-color: var(--tomatillo-light);
  box-shadow: 0 0 10px rgba(129, 199, 132, 0.2);
}

.validation-message {
  font-size: 0.8rem;
  color: var(--fire-red-hover);
  margin-top: 0.25rem;
  min-height: 1.2rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.validation-message.active {
  opacity: 1;
}

/* Custom Checkbox for Resale Interest */
.form-group-checkbox {
  display: flex;
  align-items: center;
}

.custom-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  position: relative;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
  color: var(--chalk-white-dim);
}

.custom-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-checkmark {
  position: relative;
  top: 2px;
  flex-shrink: 0;
  height: 20px;
  width: 20px;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(245, 242, 235, 0.25);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.custom-checkbox-container:hover input ~ .checkbox-checkmark {
  border-color: var(--amber-gold);
}

.custom-checkbox-container input:checked ~ .checkbox-checkmark {
  background-color: var(--amber-gold);
  border-color: var(--amber-gold);
  box-shadow: 0 0 8px var(--amber-glow);
}

/* Custom checkmark indicator (hidden when unchecked) */
.checkbox-checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid var(--slate-bg);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.custom-checkbox-container input:checked ~ .checkbox-checkmark::after {
  display: block;
}

.checkbox-label-text {
  line-height: 1.4;
  font-weight: 400;
}

.custom-checkbox-container input:checked ~ .checkbox-label-text {
  color: var(--chalk-white);
  font-weight: 500;
}

/* Submit Button styling */
.btn-submit {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, var(--fire-red), var(--fire-orange));
  color: var(--chalk-white);
  box-shadow: 0 4px 15px var(--fire-red-glow);
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--fire-red-hover), 0 0 15px rgba(255, 152, 0, 0.3);
}

.btn-icon {
  font-size: 1.15rem;
  transition: var(--transition-spring);
}

.btn-submit:hover .btn-icon {
  transform: scale(1.3) rotate(15deg);
}

/* Overlay Success Block */
.success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(24, 25, 27, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 5;
}

.success-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.success-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 440px;
  transform: scale(0.9);
  transition: var(--transition-spring);
}

.success-overlay.active .success-content {
  transform: scale(1);
}

.success-icon {
  font-size: 3.5rem;
  animation: bounce-scale 1s infinite alternate;
}

.success-content h3 {
  font-size: 2rem;
  color: var(--amber-gold);
}

.success-content p {
  font-size: 1rem;
  color: var(--chalk-white-dim);
  line-height: 1.6;
}

/* --- Footer --- */
.footer {
  background-color: #0b0c0d;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid var(--chalk-border);
  color: var(--chalk-white-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 320px;
}

.footer-grid h4 {
  font-size: 1.15rem;
  color: var(--chalk-white);
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer-grid h4::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--fire-orange);
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-group a {
  font-size: 0.95rem;
  color: var(--chalk-white-dim);
}

.footer-links-group a:hover {
  color: var(--fire-orange);
  padding-left: 5px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

/* --- Interactive Particle Canvas --- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  display: none;
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes heat-glow {
  0% {
    text-shadow: 0 0 10px rgba(217, 56, 30, 0.2), 0 0 20px rgba(255, 152, 0, 0.1);
  }
  100% {
    text-shadow: 0 0 20px rgba(217, 56, 30, 0.5), 0 0 40px rgba(255, 152, 0, 0.3), 0 0 60px rgba(255, 255, 255, 0.2);
  }
}

@keyframes ember-flicker {
  0% {
    opacity: 0.65;
    transform: scale(0.95);
    box-shadow: 0 0 4px var(--fire-red-glow);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 0 10px var(--fire-red-hover);
  }
}

@keyframes bounce-scale {
  0% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1.1) rotate(5deg);
  }
}

/* --- RESPONSIVE LAYOUT BREAKPOINTS --- */

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-text-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.85rem;
  }
  
  .hero-description {
    max-width: 600px;
  }
  
  .story-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .story-text-panel {
    order: -1;
    text-align: center;
  }
  
  .highlight-metrics {
    justify-content: center;
  }
  
  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .flavor-card {
    grid-template-columns: 1fr;
  }
  
  .flavor-card-visual {
    padding: 3rem 1.5rem;
  }
  
  .flavor-card-content {
    padding: 2.5rem 2rem;
  }
  
  .signup-box {
    grid-template-columns: 1fr;
  }
  
  .signup-content {
    border-right: none;
    border-bottom: 1px dashed rgba(245, 242, 235, 0.15);
    padding: 2.5rem 2rem;
  }
  
  .signup-form {
    padding: 2.5rem 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  /* Navigation mobile behavior */
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(17, 18, 19, 0.98);
    border-bottom: 1px solid var(--chalk-border);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  }
  
  .nav-links.mobile-active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .nav-btn {
    width: 100%;
    justify-content: center;
  }
  
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .highlight-metrics {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
}
