/* ============================================
   SpamJammer — Claymorphism / 3D Design
   ============================================ */

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

/* --- CSS Variables --- */
:root {
  --pink: #F9A8D4;
  --pink-deep: #F472B6;
  --lavender: #C4B5FD;
  --lavender-deep: #A78BFA;
  --mint: #6EE7B7;
  --mint-deep: #34D399;
  --sky: #7DD3FC;
  --sky-deep: #38BDF8;
  --peach: #FDBA74;
  --peach-deep: #FB923C;
  --dark: #1a1a1a;
  --white: #ffffff;
  --bg-light: #FFF7ED;
  --bg-pink: #FFF1F2;
  --bg-lavender: #F5F3FF;
  --bg-mint: #ECFDF5;
  --bg-sky: #F0F9FF;
  --bg-peach: #FFF7ED;
  --border-width: 2.5px;
  --radius: 20px;
  --radius-lg: 30px;
  --radius-sm: 14px;
  --shadow-offset: 6px;
  --font: 'Fredoka', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

ul { list-style: none; }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Clay Utility --- */
.clay {
  border: var(--border-width) solid var(--dark);
  border-radius: var(--radius);
  box-shadow:
    var(--shadow-offset) var(--shadow-offset) 0px var(--dark),
    inset -4px -4px 0px rgba(0,0,0,0.08),
    inset 4px 4px 0px rgba(255,255,255,0.35);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease;
}

.clay:hover {
  transform: translateY(-3px) scale(1.02) rotate(-0.5deg);
  box-shadow:
    8px 10px 0px var(--dark),
    inset -4px -4px 0px rgba(0,0,0,0.08),
    inset 4px 4px 0px rgba(255,255,255,0.35);
}

.clay-static {
  border: var(--border-width) solid var(--dark);
  border-radius: var(--radius);
  box-shadow:
    var(--shadow-offset) var(--shadow-offset) 0px var(--dark),
    inset -4px -4px 0px rgba(0,0,0,0.08),
    inset 4px 4px 0px rgba(255,255,255,0.35);
}

/* --- Clay Colors --- */
.clay-pink { background: linear-gradient(135deg, #F9A8D4 0%, #F472B6 100%); }
.clay-lavender { background: linear-gradient(135deg, #C4B5FD 0%, #A78BFA 100%); }
.clay-mint { background: linear-gradient(135deg, #6EE7B7 0%, #34D399 100%); }
.clay-sky { background: linear-gradient(135deg, #7DD3FC 0%, #38BDF8 100%); }
.clay-peach { background: linear-gradient(135deg, #FDBA74 0%, #FB923C 100%); }
.clay-white { background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%); }

/* --- Clay Button --- */
.clay-btn {
  display: inline-block;
  padding: 16px 36px;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  border: var(--border-width) solid var(--dark);
  border-radius: 50px;
  cursor: pointer;
  box-shadow:
    5px 5px 0px var(--dark),
    inset -3px -3px 0px rgba(0,0,0,0.08),
    inset 3px 3px 0px rgba(255,255,255,0.35);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.clay-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    7px 7px 0px var(--dark),
    inset -3px -3px 0px rgba(0,0,0,0.08),
    inset 3px 3px 0px rgba(255,255,255,0.35);
}

.clay-btn:active {
  transform: translateY(2px) scale(0.97);
  box-shadow:
    2px 2px 0px var(--dark),
    inset -3px -3px 0px rgba(0,0,0,0.12),
    inset 3px 3px 0px rgba(255,255,255,0.2);
}

.clay-btn-primary {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
}

.clay-btn-secondary {
  background: linear-gradient(135deg, var(--lavender) 0%, var(--lavender-deep) 100%);
}

.clay-btn-mint {
  background: linear-gradient(135deg, var(--mint) 0%, var(--mint-deep) 100%);
}

.clay-btn-sm {
  padding: 10px 24px;
  font-size: 0.95rem;
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(255, 247, 237, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  border: var(--border-width) solid var(--dark);
  border-radius: 14px;
  box-shadow:
    3px 3px 0px var(--dark),
    inset -2px -2px 0px rgba(0,0,0,0.08),
    inset 2px 2px 0px rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}

.nav-links a:hover {
  background: rgba(249, 168, 212, 0.3);
  transform: scale(1.05);
}

.nav-links a.active {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  border: var(--border-width) solid var(--dark);
  box-shadow:
    3px 3px 0px var(--dark),
    inset -2px -2px 0px rgba(0,0,0,0.06),
    inset 2px 2px 0px rgba(255,255,255,0.3);
}

.nav-cta {
  margin-left: 8px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Sections --- */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.15rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.8;
  font-weight: 400;
}

/* --- Hero --- */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-pink) 0%, var(--bg-light) 100%);
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

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

.hero p {
  font-size: 1.2rem;
  max-width: 560px;
  margin: 0 auto 36px;
  opacity: 0.85;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Floating decorations */
.hero-decor {
  position: absolute;
  border: var(--border-width) solid var(--dark);
  border-radius: 50%;
  box-shadow:
    4px 4px 0px var(--dark),
    inset -3px -3px 0px rgba(0,0,0,0.06),
    inset 3px 3px 0px rgba(255,255,255,0.3);
  animation: float 6s ease-in-out infinite;
}

.hero-decor-1 {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--lavender), var(--lavender-deep));
  top: 15%; left: 8%;
  animation-delay: 0s;
}

.hero-decor-2 {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--mint), var(--mint-deep));
  top: 25%; right: 10%;
  animation-delay: 1s;
}

.hero-decor-3 {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--peach), var(--peach-deep));
  bottom: 20%; left: 12%;
  animation-delay: 2s;
}

.hero-decor-4 {
  width: 35px; height: 35px;
  background: linear-gradient(135deg, var(--sky), var(--sky-deep));
  bottom: 30%; right: 6%;
  animation-delay: 0.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(5deg); }
  66% { transform: translateY(6px) rotate(-3deg); }
}

/* --- Feature Cards Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  padding: 32px 28px;
  text-align: center;
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border: var(--border-width) solid var(--dark);
  border-radius: 20px;
  box-shadow:
    4px 4px 0px var(--dark),
    inset -3px -3px 0px rgba(0,0,0,0.06),
    inset 3px 3px 0px rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.55;
}

/* --- Stats --- */
.stats-section {
  background: linear-gradient(180deg, var(--bg-lavender) 0%, var(--bg-light) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stat-card {
  padding: 32px 20px;
  text-align: center;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
}

/* --- Testimonials --- */
.testimonials-section {
  background: linear-gradient(180deg, var(--bg-mint) 0%, var(--bg-light) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-card {
  padding: 28px;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: var(--border-width) solid var(--dark);
  box-shadow:
    3px 3px 0px var(--dark),
    inset -2px -2px 0px rgba(0,0,0,0.06),
    inset 2px 2px 0px rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.82rem;
  opacity: 0.7;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-sky) 0%, var(--bg-light) 100%);
}

.cta-box {
  padding: 56px 40px;
  max-width: 700px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.cta-box p {
  font-size: 1.1rem;
  margin-bottom: 28px;
  opacity: 0.85;
}

/* --- Pricing --- */
.pricing-section {
  background: linear-gradient(180deg, var(--bg-lavender) 0%, var(--bg-light) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: start;
}

.pricing-card {
  padding: 36px 28px;
  text-align: center;
  position: relative;
}

.pricing-card.highlighted {
  transform: scale(1.04);
}

.pricing-card.highlighted:hover {
  transform: scale(1.06) translateY(-3px) rotate(-0.5deg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: var(--border-width) solid var(--dark);
  border-radius: 50px;
  box-shadow: 3px 3px 0px var(--dark);
}

.pricing-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.7;
}

.pricing-desc {
  font-size: 0.9rem;
  opacity: 0.75;
  margin: 8px 0 20px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 7px 0;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '';
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  border: 2px solid var(--dark);
  box-shadow:
    2px 2px 0px var(--dark),
    inset -1px -1px 0px rgba(0,0,0,0.06),
    inset 1px 1px 0px rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--mint), var(--mint-deep));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.pricing-divider {
  border: none;
  border-top: 2px dashed rgba(26,26,26,0.15);
  margin: 16px 0;
}

/* --- FAQ --- */
.faq-section {
  background: linear-gradient(180deg, var(--bg-peach) 0%, var(--bg-light) 100%);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(255,255,255,0.2);
}

.faq-toggle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 2px solid var(--dark);
  box-shadow:
    2px 2px 0px var(--dark),
    inset -1px -1px 0px rgba(0,0,0,0.06),
    inset 1px 1px 0px rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg, var(--peach), var(--peach-deep));
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer-inner {
  padding: 0 28px 22px;
  font-size: 0.95rem;
  line-height: 1.65;
  opacity: 0.82;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* --- Contact --- */
.contact-section {
  background: linear-gradient(180deg, var(--bg-sky) 0%, var(--bg-light) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-form {
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 0.95rem;
  border: var(--border-width) solid var(--dark);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow:
    3px 3px 0px var(--dark),
    inset -2px -2px 0px rgba(0,0,0,0.04),
    inset 2px 2px 0px rgba(255,255,255,0.5);
  transition: box-shadow 0.2s, transform 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  box-shadow:
    4px 4px 0px var(--dark),
    inset -2px -2px 0px rgba(0,0,0,0.04),
    inset 2px 2px 0px rgba(249,168,212,0.3);
  transform: translateY(-1px);
}

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

.contact-info-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  border: var(--border-width) solid var(--dark);
  box-shadow:
    3px 3px 0px var(--dark),
    inset -2px -2px 0px rgba(0,0,0,0.06),
    inset 2px 2px 0px rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-info-label {
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 2px;
}

.contact-info-value {
  font-weight: 600;
  font-size: 1rem;
}

/* --- Footer --- */
.footer {
  padding: 48px 0 32px;
  background: var(--dark);
  color: var(--white);
  border-top: 4px solid var(--pink-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.footer-desc {
  font-size: 0.9rem;
  opacity: 0.65;
  line-height: 1.55;
  max-width: 280px;
}

.footer h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  opacity: 0.9;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  font-size: 0.9rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.footer ul li a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  opacity: 0.5;
}

/* --- Page Headers --- */
.page-header {
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 500px;
  margin: 0 auto;
}

/* --- Animations --- */
@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
}

@keyframes squish {
  0% { transform: scale(1, 1); }
  30% { transform: scale(1.1, 0.9); }
  60% { transform: scale(0.95, 1.05); }
  100% { transform: scale(1, 1); }
}

@keyframes bounce-in {
  0% { opacity: 0; transform: translateY(30px) scale(0.9); }
  60% { transform: translateY(-8px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.highlighted {
    transform: scale(1);
  }
  .pricing-card.highlighted:hover {
    transform: translateY(-3px) scale(1.02) rotate(-0.5deg);
  }
}

@media (max-width: 700px) {
  section { padding: 56px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 247, 237, 0.97);
    backdrop-filter: blur(12px);
    padding: 16px 24px;
    gap: 4px;
    border-bottom: var(--border-width) solid var(--dark);
    box-shadow: 0 6px 0px var(--dark);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
  }

  .section-title { font-size: 2rem; }

  .hero { padding: 70px 0 60px; }
  .hero h1 { font-size: 2.2rem; }

  .hero-decor { display: none; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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