/* ========== 趣夜传媒 - 全局样式 ========== */
:root {
  --color-bg: #0a0a1a;
  --color-bg-soft: #12122a;
  --color-bg-card: rgba(255, 255, 255, 0.04);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #e8e8f0;
  --color-text-soft: #a8a8c0;
  --color-text-muted: #787898;
  --color-primary: #7c5cff;
  --color-primary-light: #a78bfa;
  --color-accent: #22d3ee;
  --color-accent-2: #f472b6;
  --gradient-primary: linear-gradient(135deg, #7c5cff 0%, #a855f7 50%, #ec4899 100%);
  --gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #1a1040 50%, #0a0a1a 100%);
  --gradient-card: linear-gradient(145deg, rgba(124, 92, 255, 0.08) 0%, rgba(34, 211, 238, 0.04) 100%);
  --shadow-glow: 0 0 40px rgba(124, 92, 255, 0.3);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --container: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 15% 20%, rgba(124, 92, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(34, 211, 238, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

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

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

ul, ol {
  list-style: none;
}

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

.section {
  padding: 100px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 100px;
  color: var(--color-primary-light);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--color-text-soft);
  max-width: 680px;
  margin: 0 auto;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(124, 92, 255, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-light);
  transform: translateY(-3px);
}

/* ========== Header / Nav ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 26, 0.75);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 10, 26, 0.92);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(124, 92, 255, 0.5);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.nav-cta {
  padding: 9px 22px;
  font-size: 14px;
}

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

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== Hero ========== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 92, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: 100px;
  font-size: 13px;
  color: var(--color-primary-light);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 12px #22d3ee;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .grad {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--color-text-soft);
  margin-bottom: 36px;
  max-width: 560px;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.hero-visual {
  position: relative;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s ease;
}

.hero-img-wrap:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.hero-img-wrap img {
  width: 100%;
  display: block;
}

.hero-float {
  position: absolute;
  padding: 14px 18px;
  background: rgba(20, 20, 40, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-size: 13px;
}

.hero-float.f1 { top: -20px; right: -20px; animation: float 4s ease-in-out infinite; }
.hero-float.f2 { bottom: 40px; left: -30px; animation: float 4s ease-in-out infinite 1s; }

.hero-float strong { display: block; color: var(--color-accent); font-size: 18px; }

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

/* ========== Features ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: var(--shadow-glow);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.35);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* ========== Services ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 92, 255, 0.4);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-body {
  padding: 26px;
}

.service-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-body p {
  color: var(--color-text-soft);
  font-size: 14px;
  margin-bottom: 18px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span {
  padding: 4px 12px;
  background: rgba(124, 92, 255, 0.1);
  border-radius: 100px;
  font-size: 12px;
  color: var(--color-primary-light);
}

/* ========== CTA ========== */
#cta {
  padding: 100px 0;
}

.cta-box {
  position: relative;
  padding: 70px 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  text-align: center;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.3) 0%, transparent 40%);
}

.cta-box > * { position: relative; z-index: 1; }

.cta-box h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: #fff;
  color: #7c5cff;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
}

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

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

/* ========== Footer ========== */
.site-footer {
  background: #060614;
  border-top: 1px solid var(--color-border);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 15px;
  margin-bottom: 20px;
  color: var(--color-text);
}

.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--color-primary-light);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ========== Page Hero (sub pages) ========== */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 92, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.page-hero > * { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero h1 .grad {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero p {
  color: var(--color-text-soft);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.breadcrumb a:hover { color: var(--color-primary-light); }

/* ========== About ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-grid.reverse { direction: rtl; }
.about-grid.reverse > * { direction: ltr; }

.about-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.about-img img { width: 100%; }

.about-text h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text p {
  color: var(--color-text-soft);
  margin-bottom: 18px;
}

.about-list {
  margin-top: 24px;
}

.about-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  color: var(--color-text-soft);
}

.about-list li::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: 700;
}

/* ========== Products ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: var(--shadow-glow);
}

.product-img {
  height: 220px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img { transform: scale(1.08); }

.product-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.product-body p {
  color: var(--color-text-soft);
  font-size: 14px;
  margin-bottom: 20px;
  flex: 1;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.product-features span {
  padding: 5px 12px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 100px;
  font-size: 12px;
  color: var(--color-accent);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}

.product-price .now {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-price .unit {
  color: var(--color-text-muted);
  font-size: 13px;
}

/* ========== News ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.news-card {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 255, 0.4);
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-body { padding: 24px; }

.news-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.news-meta .cat {
  color: var(--color-primary-light);
  font-weight: 600;
}

.news-body h3 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-body h3 a:hover { color: var(--color-primary-light); }

.news-body p {
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== News Detail ========== */
.detail-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
  padding: 60px 0;
}

.detail-article {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.detail-article h1 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.detail-meta {
  display: flex;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

.detail-cover {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 30px;
}

.detail-cover img { width: 100%; }

.detail-content h2 {
  font-size: 22px;
  margin: 30px 0 14px;
  font-weight: 700;
}

.detail-content p {
  color: var(--color-text-soft);
  margin-bottom: 18px;
  line-height: 1.9;
}

.detail-content ul {
  margin: 16px 0;
  padding-left: 8px;
}

.detail-content ul li {
  color: var(--color-text-soft);
  padding: 8px 0 8px 22px;
  position: relative;
}

.detail-content ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--color-primary-light);
}

.detail-sidebar .widget {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.detail-sidebar .widget h4 {
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.widget-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--color-border);
}

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

.widget-item img {
  width: 70px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.widget-item h5 {
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text-soft);
}

.widget-item h5 a:hover { color: var(--color-primary-light); }

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

.contact-info-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-info-card h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.contact-info-card > p {
  color: var(--color-text-soft);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

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

.contact-form {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--color-text-soft);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.15);
}

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

/* ========== FAQ ========== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover { border-color: rgba(124, 92, 255, 0.3); }

.faq-q {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-q .icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

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

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  color: var(--color-text-soft);
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 22px;
}

/* ========== Animations ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ========== Responsive ========== */
@media (max-width: 968px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .detail-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-grid.reverse { direction: ltr; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(16px);
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { width: 100%; padding: 12px 16px; }
  .menu-toggle { display: flex; }
  .hero-float.f1 { right: 10px; }
  .hero-float.f2 { left: 10px; }
  .cta-box { padding: 50px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .detail-article { padding: 24px; }
  .hero-stats { gap: 24px; }
}
