/* 九福邻里帮普惠生态平台 - 企业官网样式 */
:root {
  --primary: #ff883b;
  --primary-dark: #e06a20;
  --primary-darker: #c95510;
  --primary-light: #fff5ef;
  --primary-gradient: #ffb366;
  --accent: #fbbd08;
  --text: #303030;
  --text-light: #666;
  --text-muted: #999;
  --bg: #fff;
  --bg-gray: #fef8f4;
  --border: #fde8d8;
  --shadow: 0 4px 24px rgba(255, 136, 59, 0.12);
  --radius: 8px;
  --header-h: 72px;
  --max-w: 1200px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(255, 136, 59, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

.logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 16px;
  color: var(--text);
  font-size: 15px;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: rgba(255, 136, 59, 0.08);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ========== Hero ========== */
.hero {
  margin-top: var(--header-h);
  min-height: 520px;
  background: url("../img/banner.jpg") center top / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  max-width: 680px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 17px;
  opacity: 0.92;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: #fff;
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 136, 59, 0.2);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn-green {
  background: var(--primary);
  color: #fff;
}

.btn-green:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ========== Section ========== */
.section {
  padding: 80px 0;
}

.section-gray {
  background: var(--bg-gray);
}

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

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ========== Feature Cards ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(255, 136, 59, 0.15);
  border-color: var(--primary);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

.feature-card .more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* ========== Stats ========== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 16px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.stat-item:hover {
  border-color: rgba(255, 136, 59, 0.35);
  box-shadow: 0 4px 20px rgba(255, 136, 59, 0.1);
}

.stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.stat-num span {
  font-size: 18px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 8px;
}

/* ========== Showcase Block ========== */
.showcase-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.showcase-block.reverse {
  direction: rtl;
}

.showcase-block.reverse > * {
  direction: ltr;
}

.showcase-text h3 {
  font-size: 26px;
  margin-bottom: 16px;
  color: var(--text);
}

.showcase-text p {
  color: var(--text-light);
  margin-bottom: 12px;
  font-size: 15px;
}

.showcase-text ul {
  margin: 16px 0 24px;
}

.showcase-text li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-light);
  font-size: 14px;
}

.showcase-text li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.showcase-visual {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.showcase-visual--phone {
  overflow: visible;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-visual--phone .phone-mockup {
  width: 300px;
}

.showcase-visual--qr {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  box-shadow: none;
  overflow: visible;
}

.qr-card {
  position: relative;
  width: 280px;
  max-width: 100%;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.qr-img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.qr-mask {
  position: absolute;
  inset: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(2px);
  border-radius: 8px;
}

.qr-mask-text {
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.showcase-img,
.section-img,
.hero-img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.section-img-wrap {
  margin-bottom: 48px;
}

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

.gallery-grid img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.news-thumb {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.screenshot-img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.screenshot-card:hover .screenshot-img {
  transform: scale(1.02);
}

.feature-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.page-banner-img {
  width: 100%;
  max-width: 720px;
  margin: 24px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: block;
}

/* ========== App Mockup ========== */
.phone-mockup {
  width: 280px;
  margin: 0 auto;
  background: linear-gradient(160deg, #3a3a3c 0%, #1c1c1e 40%, #2c2c2e 100%);
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 24px 64px rgba(0, 0, 0, 0.28);
  position: relative;
}

.phone-bezel {
  border-radius: 36px;
  overflow: hidden;
  background: #000;
}

.phone-screen {
  background: linear-gradient(180deg, var(--primary) 0%, #fff 30%);
  border-radius: 28px;
  overflow: hidden;
  min-height: 480px;
  position: relative;
}

.phone-screen:has(.phone-screenshot) {
  background: #000;
  border-radius: 0;
  min-height: 0;
  aspect-ratio: 9 / 19.5;
}

.phone-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 26px;
  background: #000;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-home-bar {
  width: 36%;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  margin: 8px auto 6px;
}

.phone-header {
  padding: 40px 20px 16px;
  color: #fff;
  text-align: center;
}

.phone-header h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.phone-header p {
  font-size: 11px;
  opacity: 0.8;
}

.phone-body {
  background: #fff;
  margin: 0 8px 8px;
  border-radius: 20px;
  padding: 16px;
  min-height: 360px;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.mock-item {
  text-align: center;
}

.mock-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 12px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.mock-item span {
  font-size: 10px;
  color: var(--text-light);
}

.mock-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-gradient));
  border-radius: 10px;
  padding: 16px;
  color: #fff;
  margin-bottom: 12px;
}

.mock-banner h5 {
  font-size: 13px;
  margin-bottom: 4px;
}

.mock-banner p {
  font-size: 10px;
  opacity: 0.85;
}

.mock-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.mock-list-item:last-child {
  border-bottom: none;
}

.mock-avatar {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border-radius: 50%;
  flex-shrink: 0;
}

.mock-list-text h6 {
  font-size: 12px;
  color: var(--text);
}

.mock-list-text p {
  font-size: 10px;
  color: var(--text-muted);
}

/* ========== Screenshots Grid ========== */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.screenshot-card {
  text-align: center;
}

.screenshot-card .phone-mockup {
  width: 240px;
  padding: 8px;
  border-radius: 40px;
  transform: scale(0.95);
  transition: transform var(--transition);
}

.screenshot-card .phone-bezel {
  border-radius: 32px;
}

.screenshot-card:hover .phone-mockup {
  transform: scale(1);
}

.screenshot-card h4 {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text);
}

.screenshot-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ========== Platform Badges ========== */
.platform-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.platform-badge .icon {
  font-size: 22px;
}

/* ========== News ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

a.news-card {
  text-decoration: none;
  color: inherit;
}

.news-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.news-date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  padding: 8px;
  background: var(--primary-light);
  border-radius: var(--radius);
}

.news-date .day {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.news-date .month {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

.news-content {
  flex: 1;
  min-width: 0;
}

.news-content h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text);
}

.news-content p {
  font-size: 13px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== CTA Banner ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 64px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 16px;
}

/* ========== Page Banner ========== */
.page-banner {
  margin-top: var(--header-h);
  background: linear-gradient(135deg, var(--primary-darker), var(--primary));
  color: #fff;
  padding: 56px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.page-banner p {
  opacity: 0.85;
  font-size: 15px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.7;
}

.breadcrumb a {
  color: #fff;
}

.breadcrumb a:hover {
  opacity: 1;
}

/* ========== Content Page ========== */
.content-page {
  padding: 60px 0 80px;
}

.content-page .container {
  max-width: 900px;
}

.content-page h2 {
  font-size: 22px;
  color: var(--text);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}

.content-page h3 {
  font-size: 17px;
  color: var(--text);
  margin: 24px 0 12px;
}

.content-page p {
  margin-bottom: 14px;
  color: var(--text-light);
  font-size: 15px;
}

.content-page ul,
.content-page ol {
  margin: 12px 0 16px 24px;
  color: var(--text-light);
  font-size: 15px;
}

.content-page li {
  margin-bottom: 8px;
}

.content-page .update-date {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 24px;
}

.news-detail-cover {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 32px;
}

.back-link {
  display: inline-block;
  margin-top: 40px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
}

.back-link:hover {
  color: var(--primary-dark);
}

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  padding: 32px;
  background: var(--bg-gray);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.contact-info-card h3 {
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--primary-dark);
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 15px;
  color: var(--text);
}

.contact-map {
  background: var(--bg-gray);
  border-radius: 12px;
  border: 1px solid var(--border);
  min-height: 360px;
  overflow: hidden;
}

.contact-amap {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 12px;
}

.contact-map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 360px;
  padding: 24px;
  text-align: center;
  color: var(--primary-dark);
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-gray) 100%);
}

.contact-map-fallback:hover {
  color: var(--primary);
}

.amap-info-window {
  padding: 4px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}

.amap-info-window strong {
  font-size: 14px;
  color: var(--primary-dark);
}

/* ========== About Timeline ========== */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-light);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
  padding-left: 24px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--primary-light);
}

.timeline-item h4 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--text-light);
}

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

.team-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.team-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 8px;
}

.team-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.qual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.qual-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.qual-item .icon {
  font-size: 28px;
}

.qual-item h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.qual-item p {
  font-size: 13px;
  color: var(--text-light);
}

/* ========== Footer ========== */
.site-footer {
  background: #2d1a10;
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-name {
  color: #fff;
}

.footer-brand .logo-sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  padding: 6px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
}

.footer-bottom p {
  margin-bottom: 8px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-icp {
  margin-top: 8px;
}

.footer-icp a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
}

/* ========== Animations ========== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .showcase-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .showcase-block.reverse {
    direction: ltr;
  }

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

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

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

  .news-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    gap: 12px 16px;
    padding: 16px;
    max-width: 100%;
    overflow: hidden;
  }

  .news-thumb {
    grid-column: 1 / -1;
    width: 100%;
    height: 140px;
  }

  .news-date {
    align-self: start;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 48px 20px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .feature-grid,
  .screenshots-grid,
  .news-grid,
  .contact-grid,
  .qual-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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