/* ============================================================
   HHpoker / 德扑圈 — Origami Geometry Theme
   Pastel palette: peach #ffd4b8, mint #b8ffd4, lavender #d4b8ff
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Noto+Serif+SC:wght@400;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --peach: #ffd4b8;
  --peach-dark: #f0b890;
  --peach-deep: #e09a70;
  --mint: #b8ffd4;
  --mint-dark: #90e8b0;
  --mint-deep: #68c888;
  --lavender: #d4b8ff;
  --lavender-dark: #b890e8;
  --lavender-deep: #9468d0;
  --bg-light: #fef9f5;
  --bg-paper: #faf6f0;
  --text-dark: #2d1f14;
  --text-mid: #5a4535;
  --text-light: #8a7565;
  --white: #ffffff;
  --shadow-soft: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-fold: 6px 6px 0px rgba(0,0,0,0.08);
  --shadow-fold-lg: 10px 10px 0px rgba(0,0,0,0.07);
  --shadow-polygon: 0 8px 32px rgba(0,0,0,0.10);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    linear-gradient(135deg, rgba(255,212,184,0.15) 0%, transparent 50%),
    linear-gradient(225deg, rgba(184,255,212,0.10) 0%, transparent 50%),
    linear-gradient(315deg, rgba(212,184,255,0.10) 0%, transparent 50%);
}

/* --- Paper Texture Overlay --- */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.015) 2px, rgba(0,0,0,0.015) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.01) 2px, rgba(0,0,0,0.01) 4px);
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-soft);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--peach), var(--lavender));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 900;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--peach-dark), var(--lavender-dark));
  transition: width var(--transition);
  clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-dark);
}

.nav-cta {
  background: linear-gradient(135deg, var(--peach), var(--lavender));
  color: var(--text-dark) !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 700 !important;
  box-shadow: 3px 3px 0px rgba(0,0,0,0.08);
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px rgba(0,0,0,0.10);
}

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

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

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all var(--transition);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}

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

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

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

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: brightness(1.1) saturate(0.9);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(255,212,184,0.3) 0%,
    rgba(254,249,245,0.6) 30%,
    rgba(254,249,245,0.9) 70%,
    rgba(254,249,245,0.98) 100%);
  z-index: 1;
}

/* Origami fold decorations */
.hero-fold-1 {
  position: absolute;
  top: 15%;
  left: 5%;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--peach), rgba(255,212,184,0.3));
  clip-path: polygon(0 0, 100% 15%, 90% 100%, 10% 90%);
  z-index: 0;
  opacity: 0.5;
  animation: floatFold 8s ease-in-out infinite;
}

.hero-fold-2 {
  position: absolute;
  bottom: 20%;
  right: 8%;
  width: 140px;
  height: 140px;
  background: linear-gradient(225deg, var(--mint), rgba(184,255,212,0.3));
  clip-path: polygon(15% 0, 100% 10%, 85% 100%, 0 85%);
  z-index: 0;
  opacity: 0.4;
  animation: floatFold 10s ease-in-out infinite reverse;
}

.hero-fold-3 {
  position: absolute;
  top: 40%;
  right: 15%;
  width: 100px;
  height: 100px;
  background: linear-gradient(315deg, var(--lavender), rgba(212,184,255,0.3));
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  z-index: 0;
  opacity: 0.35;
  animation: floatFold 7s ease-in-out infinite;
}

@keyframes floatFold {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(1deg); }
  75% { transform: translateY(15px) rotate(-1deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 24px;
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0% 100%);
  box-shadow: var(--shadow-soft);
}

.hero-badge i {
  color: #e8a850;
  font-size: 0.75rem;
}

.hero-title {
  font-family: 'Noto Serif SC', 'Noto Sans SC', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #c07040, #8b50c0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-mid);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #e8a850, #d4883c);
  color: #fff;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.12);
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0% 100%);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px rgba(0,0,0,0.14);
}

.btn-outline {
  background: rgba(255,255,255,0.85);
  color: var(--text-dark);
  border: 2px solid rgba(0,0,0,0.10);
  box-shadow: 4px 4px 0px rgba(0,0,0,0.06);
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0% 100%);
}

.btn-outline:hover {
  background: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px rgba(0,0,0,0.08);
}

/* --- Section Common --- */
.section {
  padding: 100px 24px;
  position: relative;
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lavender-deep);
  background: rgba(212,184,255,0.15);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0% 100%);
}

.section-title {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Features Section --- */
.features-section {
  background: linear-gradient(180deg,
    var(--bg-light) 0%,
    rgba(184,255,212,0.08) 50%,
    var(--bg-light) 100%);
}

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

.feature-card {
  position: relative;
  background: #fff;
  padding: 36px 28px;
  clip-path: polygon(
    0 15px, 15px 0, calc(100% - 10px) 0, 100% 10px,
    100% calc(100% - 15px), calc(100% - 15px) 100%,
    10px 100%, 0 calc(100% - 10px)
  );
  box-shadow: var(--shadow-fold);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,0.06) 50%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.feature-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0px rgba(0,0,0,0.10);
}

.feature-card:nth-child(1) { border-top: 3px solid var(--peach-dark); }
.feature-card:nth-child(2) { border-top: 3px solid var(--mint-dark); }
.feature-card:nth-child(3) { border-top: 3px solid var(--lavender-dark); }
.feature-card:nth-child(4) { border-top: 3px solid var(--lavender-deep); }
.feature-card:nth-child(5) { border-top: 3px solid var(--peach-deep); }
.feature-card:nth-child(6) { border-top: 3px solid var(--mint-deep); }

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 1.5rem;
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

.feature-card:nth-child(odd) .feature-icon {
  background: linear-gradient(135deg, var(--peach), var(--lavender));
}

.feature-card:nth-child(even) .feature-icon {
  background: linear-gradient(135deg, var(--mint), var(--peach));
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* --- Stats Section --- */
.stats-section {
  background: linear-gradient(135deg, rgba(255,212,184,0.2), rgba(212,184,255,0.2));
}

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

.stat-card {
  text-align: center;
  padding: 36px 20px;
  background: #fff;
  clip-path: polygon(
    0 20px, 20px 0, calc(100% - 15px) 0, 100% 15px,
    100% calc(100% - 20px), calc(100% - 20px) 100%,
    15px 100%, 0 calc(100% - 15px)
  );
  box-shadow: var(--shadow-fold);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-fold-lg);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.stat-card:nth-child(1) .stat-icon { color: #e8a850; }
.stat-card:nth-child(2) .stat-icon { color: #50c878; }
.stat-card:nth-child(3) .stat-icon { color: #8b50c0; }
.stat-card:nth-child(4) .stat-icon { color: #e87070; }

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--text-dark), var(--lavender-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 500;
}

/* --- Testimonials Section --- */
.testimonials-section {
  background: var(--bg-light);
}

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

.testimonial-card {
  background: #fff;
  padding: 32px 28px;
  clip-path: polygon(
    0 25px, 25px 0, calc(100% - 12px) 0, 100% 12px,
    100% calc(100% - 20px), calc(100% - 20px) 100%,
    12px 100%, 0 calc(100% - 12px)
  );
  box-shadow: var(--shadow-fold);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
}

.testimonial-card:nth-child(1) { border-left: 4px solid var(--peach-dark); }
.testimonial-card:nth-child(2) { border-left: 4px solid var(--mint-dark); }
.testimonial-card:nth-child(3) { border-left: 4px solid var(--lavender-dark); }

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-fold-lg);
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.testimonial-quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--peach-dark);
  line-height: 1;
  font-family: Georgia, serif;
}

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

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

.testimonial-author .name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.testimonial-author .role {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* --- FAQ Section --- */
.faq-section {
  background: linear-gradient(180deg,
    var(--bg-light) 0%,
    rgba(212,184,255,0.08) 50%,
    var(--bg-light) 100%);
}

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

.faq-item {
  background: #fff;
  clip-path: polygon(
    0 12px, 12px 0, calc(100% - 8px) 0, 100% 8px,
    100% calc(100% - 12px), calc(100% - 12px) 100%,
    8px 100%, 0 calc(100% - 8px)
  );
  box-shadow: 2px 2px 0px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.faq-item:hover {
  box-shadow: 4px 4px 0px rgba(0,0,0,0.08);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  user-select: none;
  gap: 16px;
}

.faq-question span {
  flex: 1;
}

.faq-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--peach), var(--lavender));
  border-radius: 50%;
  font-size: 0.85rem;
  transition: all var(--transition);
  flex-shrink: 0;
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--lavender), var(--peach));
}

.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 24px 20px;
  color: var(--text-mid);
  font-size: 0.93rem;
  line-height: 1.8;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, rgba(255,212,184,0.3), rgba(212,184,255,0.3), rgba(184,255,212,0.2));
  text-align: center;
}

.cta-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 40px;
  background: #fff;
  clip-path: polygon(
    0 30px, 30px 0, calc(100% - 20px) 0, 100% 20px,
    100% calc(100% - 30px), calc(100% - 30px) 100%,
    20px 100%, 0 calc(100% - 20px)
  );
  box-shadow: var(--shadow-fold-lg);
  border: 1px solid rgba(0,0,0,0.04);
}

.cta-card h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-card p {
  color: var(--text-mid);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* --- Footer --- */
.footer {
  background: #1a1410;
  color: rgba(255,255,255,0.75);
  padding: 80px 24px 40px;
  clip-path: polygon(0 30px, 100% 0, 100% 100%, 0% 100%);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-col h3 {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--peach-dark), var(--lavender-dark));
  clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

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

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

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
}

/* --- Floating CS Button --- */
.floating-cs {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #e8a850, #d4883c);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(200,140,60,0.4);
  transition: all var(--transition);
  border: none;
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
  animation: csPulse 2s ease-in-out infinite;
}

@keyframes csPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(200,140,60,0.4); }
  50% { box-shadow: 0 6px 36px rgba(200,140,60,0.6); }
}

.floating-cs:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(200,140,60,0.5);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: #fff;
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0,0,0,0.08);
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--peach);
  border-color: transparent;
  transform: translateY(-3px);
}

/* --- About Page --- */
.about-hero {
  padding: 160px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg,
    rgba(255,212,184,0.2) 0%,
    var(--bg-light) 100%);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.about-content h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0,0,0,0.06);
  position: relative;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--peach-dark), var(--lavender-dark));
}

.about-content p {
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.about-feature-box {
  background: #fff;
  padding: 28px;
  clip-path: polygon(
    0 15px, 15px 0, calc(100% - 10px) 0, 100% 10px,
    100% calc(100% - 15px), calc(100% - 15px) 100%,
    10px 100%, 0 calc(100% - 10px)
  );
  box-shadow: var(--shadow-fold);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
}

.about-feature-box i {
  font-size: 2rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--peach-dark), var(--lavender-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-feature-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-feature-box p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* --- Contact Page --- */
.contact-hero {
  padding: 160px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg,
    rgba(212,184,255,0.2) 0%,
    var(--bg-light) 100%);
}

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 100px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: #fff;
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  clip-path: polygon(
    0 15px, 15px 0, calc(100% - 10px) 0, 100% 10px,
    100% calc(100% - 15px), calc(100% - 15px) 100%,
    10px 100%, 0 calc(100% - 10px)
  );
  box-shadow: var(--shadow-fold);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--transition);
}

.contact-info-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0px rgba(0,0,0,0.10);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
  font-size: 1.2rem;
}

.contact-info-card:nth-child(1) .contact-info-icon {
  background: linear-gradient(135deg, var(--peach), var(--lavender));
}
.contact-info-card:nth-child(2) .contact-info-icon {
  background: linear-gradient(135deg, var(--mint), var(--peach));
}
.contact-info-card:nth-child(3) .contact-info-icon {
  background: linear-gradient(135deg, var(--lavender), var(--mint));
}

.contact-info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

.contact-form-wrapper {
  background: #fff;
  padding: 40px;
  clip-path: polygon(
    0 25px, 25px 0, calc(100% - 15px) 0, 100% 15px,
    100% calc(100% - 25px), calc(100% - 25px) 100%,
    15px 100%, 0 calc(100% - 15px)
  );
  box-shadow: var(--shadow-fold-lg);
  border: 1px solid rgba(0,0,0,0.04);
}

.contact-form-wrapper h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-form-wrapper > p {
  color: var(--text-mid);
  margin-bottom: 28px;
  font-size: 0.9rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg-light);
  color: var(--text-dark);
  transition: all var(--transition);
  clip-path: polygon(1% 0, 100% 0, 99% 100%, 0% 100%);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--lavender-dark);
  box-shadow: 0 0 0 4px rgba(212,184,255,0.15);
  background: #fff;
}

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

.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #e8a850, #d4883c);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0% 100%);
  box-shadow: 4px 4px 0px rgba(0,0,0,0.12);
  transition: all var(--transition);
  font-family: inherit;
}

.form-submit:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px rgba(0,0,0,0.14);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .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);
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 24px;
    box-shadow: -8px 0 32px rgba(0,0,0,0.10);
    transition: right var(--transition);
    z-index: 1000;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

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

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

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

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

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .floating-cs {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .back-to-top {
    bottom: 80px;
    right: 20px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 16px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }
}
