/* ============================================
   HHPOKER / 德扑圈 - Memphis Design Pop Theme
   Hot Pink #ff3b8c | Electric Blue #3b8cff | Yellow #ffe83b
   ============================================ */

/* -- Google Fonts Import (handled in HTML) -- */

/* ========== CSS Custom Properties ========== */
:root {
  --pink: #ff3b8c;
  --blue: #3b8cff;
  --yellow: #ffe83b;
  --black: #1a1a1a;
  --dark: #2d2d2d;
  --white: #ffffff;
  --light-gray: #f5f0ff;
  --pink-light: #fff0f6;
  --blue-light: #eef4ff;
  --yellow-light: #fffde8;
  --memphis-border: 3px solid #1a1a1a;
  --shadow-memphis: 6px 6px 0px #1a1a1a;
  --shadow-memphis-sm: 3px 3px 0px #1a1a1a;
  --shadow-memphis-lg: 8px 8px 0px #1a1a1a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', 'Poppins', sans-serif;
  background: var(--light-gray);
  color: var(--black);
  overflow-x: hidden;
  position: relative;
}

/* ========== Memphis Background Patterns ========== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background-image:
    /* squiggly lines */
    radial-gradient(circle at 10% 20%, rgba(255,59,140,0.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(59,140,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,232,59,0.04) 0%, transparent 50%);
}

/* ========== Memphis Shape Decorations ========== */
.memphis-dot-pattern {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.memphis-squiggle {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.memphis-triangle {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: 0;
  height: 0;
}

.memphis-circle {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.memphis-zigzag {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* ========== Animations ========== */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(3deg); }
  75% { transform: translateY(10px) rotate(-3deg); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255,59,140,0.4); }
  50% { box-shadow: 0 0 40px rgba(255,59,140,0.8), 0 0 60px rgba(59,140,255,0.4); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

@keyframes dash-march {
  to { stroke-dashoffset: -100; }
}

@keyframes counter-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-slow {
  animation: float-slow 8s ease-in-out infinite;
}

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-wiggle:hover {
  animation: wiggle 0.5s ease-in-out;
}

/* ========== Scroll-triggered reveal ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: var(--memphis-border);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.nav-logo {
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.5px;
}

.nav-logo .logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--yellow);
  border: var(--memphis-border);
  border-radius: 8px;
  font-size: 1.4rem;
  transform: rotate(-5deg);
}

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

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--black);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--pink);
  transition: width 0.3s ease;
}

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

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

.nav-download-btn {
  background: var(--pink) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem !important;
  border: 3px solid var(--black) !important;
  border-radius: 30px !important;
  font-family: 'Fredoka One', cursive !important;
  font-size: 0.9rem !important;
  box-shadow: var(--shadow-memphis-sm);
  transition: all 0.2s ease !important;
}

.nav-download-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-memphis);
}

.nav-download-btn::after {
  display: none !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 4px;
  background: var(--black);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  text-decoration: none;
  color: var(--black);
  position: relative;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--pink);
}

.mobile-menu .mobile-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--black);
  display: inline-block;
}

.mobile-menu .mobile-dot:nth-child(odd) { background: var(--pink); }
.mobile-menu .mobile-dot:nth-child(even) { background: var(--blue); }

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(135deg, #fff0f6 0%, #eef4ff 50%, #fffde8 100%);
}

.hero-bg-image {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 80%;
  object-fit: cover;
  border: var(--memphis-border);
  border-radius: 24px;
  box-shadow: var(--shadow-memphis-lg);
  z-index: 1;
}

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

.hero-content {
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  border: 3px solid var(--black);
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  font-family: 'Fredoka One', cursive;
  font-size: 0.85rem;
  color: var(--black);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-memphis-sm);
}

.hero-title {
  font-family: 'Fredoka One', cursive;
  font-size: 3.8rem;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 1rem;
  text-shadow: 3px 3px 0px rgba(255,59,140,0.3);
}

.hero-title .highlight {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  padding: 0.1rem 0.6rem;
  border: 3px solid var(--black);
  border-radius: 8px;
  transform: rotate(-2deg);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.6;
  font-weight: 500;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  border: 3px solid var(--black);
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.btn:hover {
  transform: translate(-3px, -3px);
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: var(--shadow-memphis);
}

.btn-primary:hover {
  box-shadow: 8px 8px 0px var(--black);
}

.btn-secondary {
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow-memphis-sm);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-memphis);
  background: var(--yellow);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--black);
  box-shadow: var(--shadow-memphis);
}

.btn-yellow:hover {
  box-shadow: 8px 8px 0px var(--black);
}

/* Hero Memphis Shapes */
.hero-memphis-shape-1 {
  position: absolute;
  top: 15%;
  left: 5%;
  width: 60px;
  height: 60px;
  border: 4px solid var(--black);
  border-radius: 50%;
  background: var(--pink);
  opacity: 0.8;
  z-index: 0;
  animation: float 7s ease-in-out infinite;
}

.hero-memphis-shape-2 {
  position: absolute;
  bottom: 20%;
  left: 30%;
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 60px solid var(--yellow);
  z-index: 0;
  animation: float-slow 9s ease-in-out infinite;
}

.hero-memphis-shape-3 {
  position: absolute;
  top: 25%;
  right: 40%;
  width: 45px;
  height: 45px;
  background: var(--blue);
  border: 4px solid var(--black);
  border-radius: 4px;
  transform: rotate(45deg);
  z-index: 0;
  animation: spin-slow 25s linear infinite;
}

.hero-memphis-shape-4 {
  position: absolute;
  bottom: 15%;
  right: 10%;
  width: 80px;
  height: 12px;
  background: var(--pink);
  border: 3px solid var(--black);
  border-radius: 20px;
  z-index: 0;
  animation: float 5s ease-in-out infinite;
}

.hero-memphis-shape-5 {
  position: absolute;
  top: 60%;
  left: 8%;
  width: 35px;
  height: 35px;
  border: 4px solid var(--black);
  background: var(--yellow);
  border-radius: 50%;
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

/* ========== Features Section ========== */
.features {
  position: relative;
  padding: 6rem 2rem;
  background: var(--white);
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,232,59,0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,59,140,0.1) 0%, transparent 40%);
  pointer-events: none;
}

.features .container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-family: 'Fredoka One', cursive;
  font-size: 0.9rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.4rem 1.2rem;
  border: 3px solid var(--black);
  border-radius: 30px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-memphis-sm);
}

.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: 2.8rem;
  color: var(--black);
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 0px rgba(59,140,255,0.2);
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
}

/* 3x2 Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  position: relative;
  background: var(--white);
  border: var(--memphis-border);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--pink);
}

.feature-card:nth-child(2)::before { background: var(--blue); }
.feature-card:nth-child(3)::before { background: var(--yellow); }
.feature-card:nth-child(4)::before { background: var(--blue); }
.feature-card:nth-child(5)::before { background: var(--pink); }
.feature-card:nth-child(6)::before { background: var(--yellow); }

.feature-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-memphis-lg);
}

.feature-card .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 3px solid var(--black);
  font-size: 2rem;
  margin-bottom: 1.2rem;
  transition: transform 0.3s;
}

.feature-card:nth-child(1) .card-icon { background: var(--pink); color: var(--white); }
.feature-card:nth-child(2) .card-icon { background: var(--blue); color: var(--white); }
.feature-card:nth-child(3) .card-icon { background: var(--yellow); color: var(--black); }
.feature-card:nth-child(4) .card-icon { background: var(--pink); color: var(--white); }
.feature-card:nth-child(5) .card-icon { background: var(--blue); color: var(--white); }
.feature-card:nth-child(6) .card-icon { background: var(--yellow); color: var(--black); }

.feature-card:hover .card-icon {
  transform: rotate(-8deg) scale(1.1);
}

.feature-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.3rem;
  color: var(--black);
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* Feature decorative shapes */
.feature-memphis-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--black);
}

.feature-card:nth-child(1) .feature-memphis-dot { bottom: 15px; right: 20px; background: var(--yellow); }
.feature-card:nth-child(2) .feature-memphis-dot { top: 20px; right: 15px; background: var(--pink); }
.feature-card:nth-child(3) .feature-memphis-dot { bottom: 20px; left: 15px; background: var(--blue); }
.feature-card:nth-child(4) .feature-memphis-dot { top: 15px; left: 20px; background: var(--yellow); }
.feature-card:nth-child(5) .feature-memphis-dot { bottom: 15px; right: 25px; background: var(--yellow); }
.feature-card:nth-child(6) .feature-memphis-dot { top: 18px; right: 18px; background: var(--pink); }

/* ========== Stats Section ========== */
.stats {
  position: relative;
  padding: 5rem 2rem;
  background: var(--dark);
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255,59,140,0.06) 10px,
      rgba(255,59,140,0.06) 20px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(59,140,255,0.06) 10px,
      rgba(59,140,255,0.06) 20px
    );
  pointer-events: none;
}

.stats .container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.stats .section-title {
  color: var(--white);
  text-shadow: 2px 2px 0px rgba(255,232,59,0.3);
}

.stats .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(5px);
  transition: all 0.3s;
}

.stat-card:hover {
  border-color: var(--yellow);
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.stat-number {
  font-family: 'Fredoka One', cursive;
  font-size: 3rem;
  color: var(--yellow);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

.stat-suffix {
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
  color: var(--yellow);
}

/* ========== Testimonials Section ========== */
.testimonials {
  position: relative;
  padding: 6rem 2rem;
  background: var(--white);
  overflow: hidden;
}

.testimonials .container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

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

.testimonial-card {
  background: var(--white);
  border: var(--memphis-border);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:nth-child(1) { border-top: 6px solid var(--pink); }
.testimonial-card:nth-child(2) { border-top: 6px solid var(--blue); }
.testimonial-card:nth-child(3) { border-top: 6px solid var(--yellow); }

.testimonial-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-memphis-lg);
}

.testimonial-quote {
  font-size: 3rem;
  font-family: 'Fredoka One', cursive;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-card:nth-child(1) .testimonial-quote { color: var(--pink); }
.testimonial-card:nth-child(2) .testimonial-quote { color: var(--blue); }
.testimonial-card:nth-child(3) .testimonial-quote { color: var(--yellow); }

.testimonial-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-top: 2px dashed #ddd;
  padding-top: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid var(--black);
  object-fit: cover;
}

.testimonial-author .author-name {
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  color: var(--black);
}

.testimonial-author .author-role {
  font-size: 0.8rem;
  color: #888;
}

/* ========== FAQ Section ========== */
.faq {
  position: relative;
  padding: 6rem 2rem;
  background: var(--light-gray);
  overflow: hidden;
}

.faq .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: var(--memphis-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-memphis-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  color: var(--black);
  gap: 1rem;
  user-select: none;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #fafafa;
}

.faq-question .faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--black);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item:nth-child(1) .faq-icon { background: var(--pink); color: var(--white); }
.faq-item:nth-child(2) .faq-icon { background: var(--blue); color: var(--white); }
.faq-item:nth-child(3) .faq-icon { background: var(--yellow); color: var(--black); }
.faq-item:nth-child(4) .faq-icon { background: var(--pink); color: var(--white); }
.faq-item:nth-child(5) .faq-icon { background: var(--blue); color: var(--white); }
.faq-item:nth-child(6) .faq-icon { background: var(--yellow); color: var(--black); }

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

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

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

.faq-answer-inner {
  padding: 0 1.5rem 1.3rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

/* ========== CTA Section ========== */
.cta {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--pink) 0%, #e82b70 50%, var(--blue) 100%);
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,232,59,0.3) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.15) 0%, transparent 30%);
  pointer-events: none;
}

/* Dots pattern overlay */
.cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.2) 2px, transparent 2px);
  background-size: 30px 30px;
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Fredoka One', cursive;
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 3px 3px 0px rgba(0,0,0,0.2);
}

.cta-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-weight: 500;
}

.cta .btn {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
}

/* CTA memphis shapes */
.cta-memphis-1 {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 50px;
  height: 50px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: rgba(255,232,59,0.5);
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.cta-memphis-2 {
  position: absolute;
  bottom: 15%;
  right: 8%;
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid rgba(255,255,255,0.4);
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

.cta-memphis-3 {
  position: absolute;
  top: 40%;
  right: 12%;
  width: 60px;
  height: 10px;
  background: var(--yellow);
  border: 3px solid var(--white);
  border-radius: 10px;
  z-index: 1;
  animation: float-slow 7s ease-in-out infinite;
}

/* ========== Footer ========== */
.footer {
  position: relative;
  padding: 4rem 2rem 2rem;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.footer .container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 4px;
  border-radius: 2px;
}

.footer-col:nth-child(1) h4::after { background: var(--pink); }
.footer-col:nth-child(2) h4::after { background: var(--blue); }
.footer-col:nth-child(3) h4::after { background: var(--yellow); }
.footer-col:nth-child(4) h4::after { background: var(--pink); }

.footer-col p {
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
  position: relative;
  padding-left: 12px;
}

.footer-col ul li a::before {
  content: '\25B8';
  position: absolute;
  left: 0;
  color: var(--pink);
  font-size: 0.7rem;
}

.footer-col:nth-child(2) ul li a::before { color: var(--blue); }
.footer-col:nth-child(3) ul li a::before { color: var(--yellow); }

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-col .contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 0.6rem;
}

.footer-col .contact-item i {
  color: var(--yellow);
  width: 20px;
}

.footer-bottom {
  border-top: 2px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #666;
}

/* ========== Floating Elements ========== */
.floating-cs {
  position: fixed;
  bottom: 120px;
  right: 25px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.floating-cs:hover {
  transform: scale(1.1);
}

.floating-cs .cs-bubble {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--pink);
  border: 3px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: var(--shadow-memphis-sm);
  animation: pulse-glow 2s ease-in-out infinite;
}

.floating-cs .cs-label {
  font-family: 'Fredoka One', cursive;
  font-size: 0.7rem;
  background: var(--black);
  color: var(--white);
  padding: 0.3rem 0.6rem;
  border-radius: 10px;
  white-space: nowrap;
}

.back-to-top {
  position: fixed;
  bottom: 50px;
  right: 25px;
  z-index: 998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--black);
  cursor: pointer;
  box-shadow: var(--shadow-memphis-sm);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-memphis);
}

/* ========== Memphis Decorative SVG Squiggles ========== */
.squiggle-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-bg-image {
    width: 45%;
    height: 60%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .hero-content {
    order: 1;
  }

  .hero-bg-image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: 300px;
    order: 0;
    border-radius: 20px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-memphis-shape-1,
  .hero-memphis-shape-2,
  .hero-memphis-shape-3,
  .hero-memphis-shape-4,
  .hero-memphis-shape-5 {
    display: none;
  }

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

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .cta-memphis-1,
  .cta-memphis-2,
  .cta-memphis-3 {
    display: none;
  }

  .navbar .container {
    padding: 0.75rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

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

  .stat-number {
    font-size: 2rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

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

  .floating-cs {
    right: 10px;
    bottom: 110px;
  }

  .back-to-top {
    right: 10px;
    bottom: 45px;
  }
}
