/* ============================================================
   CINÉ-TICKET — 影票票根 / 胶片美学设计系统
   浅暖纸感 + 复古放映红 + 爆米花琥珀
   ============================================================ */

:root {
  --paper: #F6F0E6;
  --paper-deep: #EDE2D2;
  --paper-light: #FDFAF4;
  --ink: #241E17;
  --ink-soft: rgba(36, 30, 23, 0.68);
  --ink-faint: rgba(36, 30, 23, 0.52);
  --red: #D8413A;
  --red-deep: #B7332C;
  --gold: #E9A13B;
  --gold-light: #F3C161;
  --line: rgba(36, 30, 23, 0.12);
  --shadow: 0 6px 24px rgba(36, 30, 23, 0.08);
  --shadow-lift: 0 14px 36px rgba(36, 30, 23, 0.14);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 颗粒灯箱噪点 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--paper-deep);
}

/* 区块之间的胶片拉片线 */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 180px;
  height: 6px;
  transform: translateX(-50%) translateY(-3px);
  border-radius: 20px;
  background: repeating-linear-gradient(90deg, var(--red) 0 12px, var(--gold) 12px 24px, transparent 24px 30px);
  opacity: 0.35;
}

/* ---------------- 导航 ---------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(246, 240, 230, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

/* 片孔下缘 */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 6px;
  pointer-events: none;
  background-image: radial-gradient(circle at 9px 3px, var(--gold) 1.5px, transparent 2.5px);
  background-size: 18px 6px;
  opacity: 0.35;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}

.logo::after {
  content: "免费开映 · 在线不落幕";
  display: block;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--red);
  margin-top: -4px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  color: #FFFDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  border-radius: 50% 50% 10px 10px;
  box-shadow: 0 6px 16px rgba(216, 65, 58, 0.3);
  position: relative;
}

.logo-icon::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1.5px dashed rgba(216, 65, 58, 0.4);
  border-radius: 50% 50% 12px 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: color 0.25s;
}

.main-nav a::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 50%, var(--gold) 50%);
  background-size: 8px 2px;
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 0.25s, transform 0.35s var(--ease);
}

.main-nav a:hover {
  color: var(--red);
}

.main-nav a:hover::before {
  opacity: 0.8;
  transform: scaleX(1);
}

.nav-cta {
  background: var(--red) !important;
  color: #FFFDF8 !important;
  border-radius: 50px !important;
  padding: 10px 22px !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 20px rgba(216, 65, 58, 0.28);
  margin-left: 8px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.nav-cta::before,
.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(216, 65, 58, 0.36);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--paper-light);
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink);
  font-weight: 800;
}

.menu-toggle::before {
  content: "≡";
  font-size: 1.6rem;
  line-height: 1;
}

/* ---------------- Hero ---------------- */
.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  padding: 132px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 16%, rgba(233, 161, 59, 0.2) 0%, transparent 44%),
    radial-gradient(ellipse at 10% 90%, rgba(216, 65, 58, 0.12) 0%, transparent 48%),
    linear-gradient(180deg, #FBF6ED 0%, var(--paper) 100%);
}

/* 电影光束 + 片盘 */
.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 8%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px dashed rgba(36, 30, 23, 0.09);
  background:
    radial-gradient(circle, var(--gold-light) 8px, transparent 9px),
    radial-gradient(circle, var(--ink) 1.5px, transparent 2.5px);
  background-size: 72px 72px, 12px 12px;
  background-position: center, 0 0;
  opacity: 0.3;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -180px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(216, 65, 58, 0.12) 0 12deg, transparent 12deg 24deg);
  opacity: 0.4;
  z-index: 0;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
  flex: 1 1 520px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 7px 18px;
  border-radius: 2px 16px 2px 16px;
  background: var(--gold);
  color: var(--ink);
  margin-bottom: 20px;
  box-shadow: 5px 5px 0 rgba(216, 65, 58, 0.2);
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero h1::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 0.12em;
  background: var(--red);
  border-radius: 8px;
  margin-left: 0.15em;
}

.hero p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  opacity: 1;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 0 1 380px;
  position: relative;
  background: var(--paper-light);
  border-radius: 6px 22px 22px 22px;
  padding: 12px 12px 26px;
  box-shadow: var(--shadow-lift);
  border: 1.5px dashed var(--line);
  transform: rotate(2.5deg);
  z-index: 2;
  transition: transform 0.4s var(--ease);
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-image::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 10px;
  height: 8px;
  background-image: radial-gradient(circle at 7px 7px, var(--red) 2.5px, transparent 3.5px);
  background-size: 16px 8px;
  opacity: 0.5;
}

.hero-image::after {
  content: "ONLINE · 永不散场";
  position: absolute;
  top: -12px;
  left: 18px;
  background: var(--red);
  color: #FFFDF8;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  padding: 5px 12px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(216, 65, 58, 0.25);
}

.hero-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
}

.btn-primary {
  background: var(--red);
  color: #FFFDF8;
  box-shadow: 0 10px 26px rgba(216, 65, 58, 0.28);
}

.btn-primary::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(216, 65, 58, 0.34);
}

.btn-primary:hover::after {
  transform: translateX(4px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(36, 30, 23, 0.16);
}

/* ---------------- 区块标题 ---------------- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--paper-light);
  border: 1.5px dashed rgba(216, 65, 58, 0.5);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 14px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 8px;
  margin-top: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--red) 0 22px, var(--gold) 22px 46px, var(--line) 0 62px);
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 44px;
}

/* ---------------- 分类卡片 ---------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}

.category-card {
  position: relative;
  background: var(--paper-light);
  border: 1.5px dashed rgba(36, 30, 23, 0.18);
  border-radius: 8px 28px 8px 28px;
  padding: 30px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.35s var(--ease), border-color 0.3s;
}

.category-card::before {
  content: "";
  position: absolute;
  top: -42px;
  right: -42px;
  width: 76px;
  height: 76px;
  border: 2px dashed var(--gold);
  border-radius: 50%;
  opacity: 0.35;
  transform: rotate(15deg);
  transition: transform 0.5s var(--ease), opacity 0.3s;
}

.category-card:hover {
  transform: translateY(-5px) rotate(-0.5deg);
  box-shadow: var(--shadow-lift);
  border-color: var(--red);
}

.category-card:hover::before {
  transform: rotate(90deg) scale(1.15);
  opacity: 0.7;
}

.card-icon {
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  color: var(--ink);
  border-radius: 22% 50% 22% 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  box-shadow: 0 8px 22px rgba(233, 161, 59, 0.22);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--red);
  margin-top: 10px;
  transition: color 0.2s;
}

.card-link::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.category-card:hover .card-link::after {
  transform: translateX(5px);
}

/* ---------------- 特性块 ---------------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  position: relative;
  border-radius: 18px;
  overflow: visible;
}

.feature-image::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 2px solid var(--gold);
  border-radius: 18px;
  transform: rotate(2.5deg);
  z-index: 0;
}

.feature-image::after {
  content: "SCENE 01";
  position: absolute;
  right: -14px;
  top: -14px;
  background: var(--red);
  color: #FFFDF8;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  padding: 6px 14px;
  border-radius: 4px 18px 4px 18px;
  box-shadow: 0 6px 16px rgba(216, 65, 58, 0.3);
  z-index: 2;
}

.feature-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.feature-text {
  position: relative;
}

.feature-text::before {
  content: "今日首映场";
  position: absolute;
  top: -12px;
  left: -4px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--red);
  opacity: 0.7;
}

.feature-list {
  list-style: none;
  margin-top: 18px;
}

.feature-list li {
  padding: 11px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  border-bottom: 1px dashed var(--line);
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50% 50% 0 50%;
  box-shadow: 4px 4px 0 var(--gold);
  flex-shrink: 0;
}

/* ---------------- 数据条 ---------------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  position: relative;
}

.stat-item {
  position: relative;
  background: var(--paper-light);
  border-radius: 4px 20px 20px 20px;
  border: 1px solid var(--line);
  padding: 36px 18px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.stat-item::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 1px;
  background-image: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 13px);
  opacity: 0.6;
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--red);
  line-height: 1.1;
}

.stat-number::before {
  content: ">";
  font-size: 0.7em;
  vertical-align: 0.05em;
  margin-right: 2px;
}

.stat-number::after {
  content: "+";
  font-size: 0.5em;
  vertical-align: 0.55em;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-faint);
  margin-top: 10px;
}

/* ---------------- 内容墙 ---------------- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  position: relative;
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: 22px 22px 6px 6px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

/* 票根撕票孔 */
.content-wall-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  height: 5px;
  background-image: radial-gradient(circle at 8px 3px, rgba(36, 30, 23, 0.4) 1.5px, transparent 2.5px);
  background-size: 16px 5px;
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.3s;
}

.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.content-wall-item:hover::after {
  opacity: 0.8;
}

.content-wall-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.content-wall-body {
  padding: 20px 22px 24px;
}

.content-wall-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.content-wall-body p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

/* ---------------- FAQ ---------------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--paper-light);
  border: 1.5px dashed var(--line);
  border-radius: 8px 8px 8px 24px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item.open {
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.01em;
}

.faq-item .faq-question::after {
  content: "+";
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
  background: var(--red);
  border-color: var(--red);
  color: #FFFDF8;
}

.faq-item .faq-answer {
  padding: 0px 22px 20px;
  display: none;
  line-height: 1.7;
  color: var(--ink-soft);
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.4s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------------- CTA 横幅 ---------------- */
.cta-banner {
  position: relative;
  background:
    linear-gradient(135deg, var(--red) 0%, #E88749 100%);
  border-radius: 6px 36px 6px 36px;
  padding: 58px 32px 62px;
  text-align: center;
  color: #FFFDF8;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(216, 65, 58, 0.28);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  border-radius: 4px 28px 4px 28px;
  pointer-events: none;
}

.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -36px;
  left: -20px;
  width: 160px;
  height: 160px;
  border: 20px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  color: #FFFDF8;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #FFFDF8;
  color: var(--red);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary::after {
  color: var(--red);
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  position: relative;
  background: var(--paper);
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  right: 0;
  height: 6px;
  background-image: radial-gradient(circle at 10px 3px, var(--red) 2px, transparent 3px);
  background-size: 20px 6px;
  opacity: 0.28;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
}

.footer-brand {
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--ink);
}

.footer-brand small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-top: 6px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 5px 0;
  transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover {
  color: var(--red);
  transform: translateX(3px);
}

.site-footer .container {
  text-align: left;
}

.footer-bottom {
  border-top: 1px dashed var(--line);
  margin-top: 44px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* ---------------- 工具类 ---------------- */
.text-accent {
  color: var(--red);
  font-weight: 800;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 660px;
  margin: 0 auto 48px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 56px;
    padding: 130px 0 64px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    transform: rotate(0deg);
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(246, 240, 230, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    box-shadow: var(--shadow-lift);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    padding: 12px 8px;
    font-size: 1rem;
  }

  .main-nav a::before {
    display: none;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-image img {
    height: 240px;
  }

  .section {
    padding: 64px 0;
  }

  .feature-block {
    gap: 48px;
  }
}