/* =========================================================
   freeok官方版官网 | freeokgfbgw.com.cn
   Design System: "Neo-Swiss Brutalist Soft Tech"
   Palette: Off-white, Vibrant Orange, Electric Blue, Mint
   ========================================================= */

:root {
  --paper: #FDFBF7;
  --ink: #1A1A1A;
  --orange: #FF4D00;
  --blue: #0038FF;
  --mint: #00E5A0;
  --gray-bg: #F0F2F5;
  --shadow: 6px 6px 0px #1A1A1A;
  --border-size: 2px;
}

/* 基础重置 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--orange);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

input, textarea, select {
  font-family: inherit;
}

/* 核心布局 — 居中 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: var(--gray-bg);
  border-top: var(--border-size) solid var(--ink);
  border-bottom: var(--border-size) solid var(--ink);
}

/* 导航 — 固定顶部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--border-size) solid var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.35rem;
  text-decoration: none;
  color: inherit;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--orange);
  border: var(--border-size) solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 0.2s;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover {
  border-bottom-color: var(--orange);
  color: var(--orange);
}

.nav-cta {
  padding: 12px 28px !important;
  background: var(--ink);
  color: #fff !important;
  font-weight: 700 !important;
  border: var(--border-size) solid var(--ink);
  border-radius: 100px;
  box-shadow: 4px 4px 0 var(--orange);
  transition: all 0.2s ease;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-cta:hover {
  box-shadow: 0 0 0 var(--orange);
  transform: translate(4px, 4px);
  color: #fff !important;
  border-bottom-color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--mint);
  border: var(--border-size) solid var(--ink);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

/* 首页Hero */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  background: var(--paper);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -80px;
  width: 280px;
  height: 280px;
  background: var(--blue);
  border: var(--border-size) solid var(--ink);
  border-radius: 50%;
  z-index: 0;
  box-shadow: 12px 12px 0 var(--ink);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -20px;
  width: 160px;
  height: 160px;
  background: var(--mint);
  border: var(--border-size) solid var(--ink);
  border-radius: 40px;
  transform: rotate(18deg);
  z-index: 0;
  box-shadow: 8px 8px 0 var(--ink);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 640px;
  padding-right: 20px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 20px;
  background: var(--mint);
  border: var(--border-size) solid var(--ink);
  border-radius: 100px;
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 900;
  letter-spacing: -2px;
}

.hero h1 .text-accent {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.8;
  max-width: 480px;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 24px;
  overflow: hidden;
  border: var(--border-size) solid var(--ink);
  box-shadow: 14px 14px 0 var(--orange);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: var(--border-size) solid var(--ink);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 5px 5px 0 var(--ink);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 0 0 var(--ink);
  transform: translate(5px, 5px);
  background: var(--ink);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  background: #fff;
  box-shadow: 0 0 0 var(--ink);
  transform: translate(5px, 5px);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-title::before {
  content: '';
  display: block;
  width: 48px;
  height: 8px;
  background: var(--mint);
  border: var(--border-size) solid var(--ink);
  border-radius: 100px;
  margin-bottom: 12px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.text-center .section-title::before,
.section-title.text-center::before {
  margin-left: auto;
  margin-right: auto;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}

.category-card {
  background: #fff;
  border: var(--border-size) solid var(--ink);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  background: var(--mint);
  border-radius: 50%;
  border: var(--border-size) solid var(--ink);
  opacity: 0.3;
}

.category-card:hover {
  transform: translate(-6px, -6px);
  box-shadow: 12px 12px 0 var(--orange);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--gray-bg);
  border: var(--border-size) solid var(--ink);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  box-shadow: 3px 3px 0 var(--ink);
}

.card-link {
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-image {
  border-radius: 24px;
  overflow: hidden;
  border: var(--border-size) solid var(--ink);
  box-shadow: 12px 12px 0 var(--mint);
}

.feature-image img {
  width: 100%;
  height: auto;
}

.feature-text {
  padding: 20px 0;
}

.feature-text .section-title {
  margin-bottom: 24px;
}

.feature-text p {
  opacity: 0.75;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
}

.feature-list li::before {
  content: '✔';
  font-weight: 900;
  color: var(--ink);
  background: var(--mint);
  border: var(--border-size) solid var(--ink);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  background: var(--blue);
  color: #fff;
  padding: 36px 24px;
  border: var(--border-size) solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.stat-item:hover {
  transform: scale(1.03);
}

.stat-number {
  font-size: calc(2.2rem + 1vw);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 10px;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.content-wall-item {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: var(--border-size) solid var(--ink);
  box-shadow: 5px 5px 0 var(--orange);
  transition: all 0.25s ease;
}

.content-wall-item:hover {
  transform: translate(-5px, -5px);
  box-shadow: 10px 10px 0 var(--blue);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: var(--border-size) solid var(--ink);
}

.content-wall-body {
  padding: 24px;
}

.content-wall-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.content-wall-body p {
  opacity: 0.7;
  font-size: 0.95rem;
}

.content-wall-body .card-link {
  margin-top: 16px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border: var(--border-size) solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--gray-bg);
  transition: all 0.2s;
}

.faq-item:hover {
  box-shadow: 6px 6px 0 var(--mint);
}

.faq-item.open {
  box-shadow: 8px 8px 0 var(--orange);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question::after {
  content: '+';
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  content: '−';
  color: var(--orange);
}

.faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.75;
  border-top: 1px dashed #ccc;
  margin-top: -8px;
  padding-top: 16px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA横幅 */
.cta-banner {
  background: var(--orange);
  padding: 80px 24px;
  text-align: center;
  border: var(--border-size) solid var(--ink);
  border-radius: 32px;
  box-shadow: 16px 16px 0 var(--ink);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: 'freeok';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.06);
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}

.cta-banner::after {
  content: '零隐患';
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: var(--ink);
  opacity: 0.8;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 6px 6px 0 var(--blue);
  border: var(--border-size) solid var(--ink);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  box-shadow: 0 0 0 var(--blue);
  transform: translate(6px, 6px);
  background: var(--blue);
}

/* 页脚 */
.site-footer {
  background: var(--gray-bg);
  padding: 72px 0 28px;
  margin-top: 80px;
  border-top: var(--border-size) solid var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-weight: 900;
  font-size: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.6;
  margin-top: 12px;
  max-width: 240px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--ink);
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: 0.2s;
  color: var(--ink);
  text-decoration: none;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--orange);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: var(--border-size) solid var(--ink);
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a {
  color: var(--blue);
  font-weight: 700;
}

/* 工具类 */
.text-accent {
  color: var(--orange);
  font-weight: inherit;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  text-align: center;
  font-size: 1.05rem;
}

.seo-description strong {
  color: var(--orange);
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Awwwards-Level Decorative Grid Overlay */
.hero .container::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink);
  background: var(--mint);
  padding: 4px 12px;
  border-radius: 100px;
  border: var(--border-size) solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.hero .container::after {
  content: 'freeokgfbgw.com.cn';
  top: 0;
  right: 0;
}

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    padding-right: 0;
    text-align: center;
    margin: 0 auto;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-text {
    text-align: center;
  }

  .feature-text .section-title::before {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-list li {
    justify-content: center;
    text-align: left;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    background: var(--paper);
    border: var(--border-size) solid var(--ink);
    border-radius: 16px;
    box-shadow: 8px 8px 0 var(--orange);
    padding: 24px;
    gap: 8px;
  }

  .main-nav.open a {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
  }

  .main-nav.open a:hover {
    border-bottom-color: var(--orange);
  }

  .main-nav.open .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-item {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
  }

  .cta-banner {
    padding: 48px 20px;
  }

  .cta-banner::before,
  .cta-banner::after {
    font-size: 3rem;
  }

  .hero::before {
    width: 150px;
    height: 150px;
  }

  .hero::after {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .hero-image {
    border-radius: 16px;
    box-shadow: 8px 8px 0 var(--orange);
  }

  .cta-banner {
    border-radius: 16px;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .feature-image {
    border-radius: 16px;
  }

  .header-inner {
    height: 68px;
  }

  .logo span {
    display: none;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .main-nav.open {
    top: 64px;
  }
}