@import url('https://fonts.googleapis.com/css2?family=DynaPuff:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  /* Style #23 Color Palette */
  --clay-bg: #fffdd0;        /* Soft Cream */
  --clay-bg-darker: #f9f7c4; /* Slightly darker cream for depth */
  --terracotta: #e2725b;     /* Terracotta Red-Orange */
  --terracotta-dark: #cc5a42;
  --olive: #808000;          /* Olive Green */
  --olive-dark: #666600;
  --warm-blue: #4682b4;      /* Warm Blue */
  --warm-blue-dark: #356994;
  --text-dark: #2c2c2c;      /* Soft charcoal */
  --text-muted: #5e5e5e;
  --white: #ffffff;
  --black: #000000;

  /* Shadows (Claymorphic Depth) */
  --clay-raised-shadow: 
    8px 8px 16px rgba(128, 120, 90, 0.12), 
    -8px -8px 16px rgba(255, 255, 255, 0.9),
    inset 2px 2px 5px rgba(255, 255, 255, 0.6),
    inset -2px -2px 5px rgba(0, 0, 0, 0.05);

  --clay-raised-shadow-hover: 
    12px 12px 24px rgba(128, 120, 90, 0.16), 
    -12px -12px 24px rgba(255, 255, 255, 0.95),
    inset 3px 3px 6px rgba(255, 255, 255, 0.7),
    inset -3px -3px 6px rgba(0, 0, 0, 0.04);

  --clay-sunken-shadow: 
    inset 4px 4px 8px rgba(0, 0, 0, 0.08), 
    inset -4px -4px 8px rgba(255, 255, 255, 0.8),
    1px 1px 3px rgba(255, 255, 255, 0.5);

  /* Button Clay Shadows (Squishy) */
  --btn-terracotta-shadow: 
    0px 6px 0px #b24d38,
    4px 10px 15px rgba(226, 114, 91, 0.25),
    inset 2px 2px 4px rgba(255, 255, 255, 0.4),
    inset -2px -2px 4px rgba(0, 0, 0, 0.2);

  --btn-olive-shadow: 
    0px 6px 0px #5e5e00,
    4px 10px 15px rgba(128, 128, 0, 0.25),
    inset 2px 2px 4px rgba(255, 255, 255, 0.4),
    inset -2px -2px 4px rgba(0, 0, 0, 0.2);

  --btn-blue-shadow: 
    0px 6px 0px #2f5f87,
    4px 10px 15px rgba(70, 130, 180, 0.25),
    inset 2px 2px 4px rgba(255, 255, 255, 0.4),
    inset -2px -2px 4px rgba(0, 0, 0, 0.2);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--clay-bg);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DynaPuff', cursive;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-dark);
  font-weight: 500;
}

a {
  color: var(--warm-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--terracotta);
}

/* Claymorphic Containers */
.clay-card {
  background-color: var(--white);
  border: 8px solid var(--text-dark);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: var(--clay-raised-shadow);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.clay-card::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 2px dashed rgba(44, 44, 44, 0.15);
  border-radius: 20px;
  pointer-events: none;
}

.clay-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--clay-raised-shadow-hover);
}

.clay-sunken {
  background-color: var(--clay-bg-darker);
  border: 5px solid var(--text-dark);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--clay-sunken-shadow);
  position: relative;
}

/* Claymorphic Header / Navigation */
header {
  padding: 1.5rem 2rem;
  background-color: var(--white);
  border-bottom: 8px solid var(--text-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 0 rgba(0,0,0,0.05);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DynaPuff', cursive;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-dark);
}

.logo-dot {
  width: 16px;
  height: 16px;
  background-color: var(--terracotta);
  border: 3px solid var(--text-dark);
  border-radius: 50%;
  display: inline-block;
  animation: stop-motion-scale 1.5s steps(4) infinite;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 0.4rem;
  align-items: center;
}

nav a {
  font-family: 'DynaPuff', cursive;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  padding: 0.35rem 0.65rem;
  border-radius: 12px;
  border: 3px solid transparent;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

nav a:hover, nav li.active a {
  border-color: var(--text-dark);
  background-color: var(--clay-bg-darker);
  transform: translateY(-2px);
  color: var(--text-dark);
}

/* Squishy Clay Buttons */
.clay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'DynaPuff', cursive;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.85rem 2rem;
  border-radius: 20px;
  border: 5px solid var(--text-dark);
  cursor: pointer;
  position: relative;
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.5), box-shadow 0.15s ease;
  user-select: none;
  text-decoration: none;
  text-align: center;
}

/* Colored buttons */
.clay-btn.terracotta {
  background-color: var(--terracotta);
  color: var(--white);
  box-shadow: var(--btn-terracotta-shadow);
}
.clay-btn.terracotta:hover {
  background-color: #e88672;
}

.clay-btn.olive {
  background-color: var(--olive);
  color: var(--white);
  box-shadow: var(--btn-olive-shadow);
}
.clay-btn.olive:hover {
  background-color: #999900;
}

.clay-btn.blue {
  background-color: var(--warm-blue);
  color: var(--white);
  box-shadow: var(--btn-blue-shadow);
}
.clay-btn.blue:hover {
  background-color: #5893c2;
}

/* Squish/Click Effects */
.clay-btn:hover {
  transform: translateY(-3px) scale(1.03);
}

.clay-btn:active {
  transform: translateY(4px) scale(0.97);
  box-shadow: 
    0px 2px 0px var(--text-dark),
    inset 3px 3px 6px rgba(0, 0, 0, 0.3),
    inset -3px -3px 6px rgba(255, 255, 255, 0.1);
}

/* Small squishy tags */
.clay-tag {
  display: inline-block;
  font-family: 'DynaPuff', cursive;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  border: 3px solid var(--text-dark);
  background-color: var(--clay-bg-darker);
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.clay-tag.hot {
  background-color: var(--terracotta);
  color: var(--white);
}

.clay-tag.secure {
  background-color: var(--olive);
  color: var(--white);
}

/* Clay Inputs */
.clay-input-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.clay-label {
  font-family: 'DynaPuff', cursive;
  font-weight: 600;
  font-size: 1rem;
}

.clay-input, .clay-textarea {
  width: 100%;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.9rem 1.2rem;
  background-color: var(--clay-bg-darker);
  border: 4px solid var(--text-dark);
  border-radius: 18px;
  box-shadow: var(--clay-sunken-shadow);
  color: var(--text-dark);
  outline: none;
  transition: all 0.2s ease;
}

.clay-input:focus, .clay-textarea:focus {
  background-color: var(--white);
  box-shadow: inset 2px 2px 4px rgba(0,0,0,0.04), 0 0 0 4px rgba(70, 130, 180, 0.3);
}

.clay-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Stop-Motion Jitter & Keyframes */
.stop-motion-jitter {
  animation: stop-motion-jitter-anim 0.8s steps(4) infinite;
}

.stop-motion-jitter-hover:hover {
  animation: stop-motion-jitter-anim 0.4s steps(2) infinite;
}

@keyframes stop-motion-jitter-anim {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(2px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1.5deg); }
  75% { transform: translate(-2px, -2px) rotate(0.5deg); }
  100% { transform: translate(1px, 1px) rotate(-0.5deg); }
}

@keyframes stop-motion-scale {
  0% { transform: scale(1); }
  33% { transform: scale(1.1) rotate(5deg); }
  66% { transform: scale(0.95) rotate(-5deg); }
  100% { transform: scale(1); }
}

/* Stop-motion slide-reveal or step animations */
.stop-motion-slide {
  animation: slide-step 1.2s steps(8) forwards;
}

@keyframes slide-step {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Site Layout Styles */
main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* Grid helper */
.clay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 5rem;
}

.hero-content {
  flex: 1.2;
}

.hero-image {
  flex: 0.8;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 28px;
  border: 8px solid var(--text-dark);
  box-shadow: var(--clay-raised-shadow);
  transform: rotate(-3deg);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-image:hover img {
  transform: rotate(2deg) scale(1.05);
}

/* Bullet list clay style */
.clay-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.clay-list li {
  position: relative;
  padding-left: 2.5rem;
  font-weight: 600;
  font-size: 1.05rem;
}

.clay-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-color: var(--olive);
  border: 3px solid var(--text-dark);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
}

/* Google compliance disclaimers */
.independent-disclaimer {
  background-color: var(--clay-bg-darker);
  border: 4px solid var(--text-dark);
  border-radius: 20px;
  padding: 1.5rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  box-shadow: var(--clay-sunken-shadow);
}

.independent-disclaimer h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Feature grid items */
.feature-card {
  text-align: center;
}

.feature-icon-container {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Pros and Cons */
.pros-cons-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

@media (max-width: 768px) {
  .pros-cons-container {
    grid-template-columns: 1fr;
  }
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-image {
    order: -1;
  }
  nav ul {
    display: none; /* simple mobile nav override */
  }
  .mobile-menu-btn {
    display: block !important;
  }
}

.pro-card, .con-card {
  border: 6px solid var(--text-dark);
}

.pro-card h3 {
  color: var(--olive);
}

.con-card h3 {
  color: var(--terracotta);
}

.pro-con-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pro-con-list li {
  position: relative;
  padding-left: 2rem;
  font-weight: 500;
}

.pro-card .pro-con-list li::before {
  content: "+";
  color: var(--olive);
  position: absolute;
  left: 0;
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1;
}

.con-card .pro-con-list li::before {
  content: "-";
  color: var(--terracotta);
  position: absolute;
  left: 0;
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
}

/* FAQ Accordion */
.faq-item {
  margin-bottom: 1.5rem;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background-color: var(--white);
  border: 5px solid var(--text-dark);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  font-family: 'DynaPuff', cursive;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.faq-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.1);
}

.faq-arrow {
  width: 24px;
  height: 24px;
  background-color: var(--clay-bg-darker);
  border: 3px solid var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.faq-content {
  background-color: var(--white);
  border: 5px solid var(--text-dark);
  border-top: none;
  border-radius: 0 0 18px 18px;
  padding: 1.5rem;
  margin-top: -10px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.05);
  display: none;
}

.faq-item.active .faq-trigger {
  border-radius: 18px 18px 0 0;
  background-color: var(--clay-bg-darker);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  background-color: var(--terracotta);
  color: var(--white);
}

.faq-item.active .faq-content {
  display: block;
}

/* Steps list */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2.5rem 0;
}

.step-card {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.step-num {
  width: 64px;
  height: 64px;
  background-color: var(--terracotta);
  border: 5px solid var(--text-dark);
  border-radius: 50%;
  color: var(--white);
  font-family: 'DynaPuff', cursive;
  font-weight: 900;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
}

.step-details {
  flex-grow: 1;
}

@media (max-width: 600px) {
  .step-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* Footer styling */
footer {
  background-color: var(--white);
  border-top: 8px solid var(--text-dark);
  padding: 4rem 2rem 2rem 2rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.footer-info {
  max-width: 350px;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-column h4 {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

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

.footer-column a {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-column a:hover {
  color: var(--terracotta);
}

.footer-bottom {
  border-top: 4px solid var(--clay-bg-darker);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-disclaimer-box {
  background-color: var(--clay-bg-darker);
  border: 3px solid var(--text-dark);
  border-radius: 14px;
  padding: 1.25rem;
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: justify;
}

/* Toast Success Popup (tactile) */
.clay-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--white);
  border: 5px solid var(--text-dark);
  border-radius: 20px;
  padding: 1.25rem 2rem;
  box-shadow: 6px 6px 0 var(--text-dark);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1000;
  transform: translateY(150%) rotate(5deg);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.clay-toast.active {
  transform: translateY(0) rotate(0deg);
}

.clay-toast-icon {
  width: 32px;
  height: 32px;
  background-color: var(--olive);
  color: var(--white);
  border: 3px solid var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.clay-toast-content h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.clay-toast-content p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Site-wide Warning / Disclosure Banner */
.site-disclosure {
  background-color: #fff9e6; /* soft warning yellow tint */
  border: 3px solid var(--text-dark);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 1rem auto;
  max-width: 1200px;
  text-align: center;
  box-shadow: 3px 3px 0 var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
