/* 深币交易所 Deepcoin - 全局样式 */
:root {
  --primary-color: #00d68f;
  --primary-dark: #00b87a;
  --secondary-color: #1a1a2e;
  --accent-color: #f7931a;
  --text-dark: #1a1a2e;
  --text-light: #ffffff;
  --text-gray: #6b7280;
  --bg-dark: #0d1117;
  --bg-light: #f8f9fa;
  --bg-gradient: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #1a1a2e 100%);
  --btn-gradient: linear-gradient(135deg, #00d68f 0%, #00b87a 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.8;
  color: var(--text-dark);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

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

/* ===== Header & Navigation ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(13, 17, 23, 0.98);
  box-shadow: var(--shadow-md);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  background: var(--btn-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
}

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

.brand-text .brand-name {
  color: var(--text-light);
  font-size: 1.1rem;
}

.brand-text .brand-sub {
  color: var(--primary-color);
  font-size: 0.7rem;
  letter-spacing: 1px;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

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

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-light);
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  gap: 8px;
}

.btn-primary {
  background: var(--btn-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 214, 143, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 214, 143, 0.4);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-gradient);
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 214, 143, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 5s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

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

.hero-text {
  color: var(--text-light);
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 214, 143, 0.15);
  border: 1px solid rgba(0, 214, 143, 0.3);
  border-radius: 50px;
  color: var(--primary-color);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.hero-text h1 {
  color: var(--text-light);
  margin-bottom: 20px;
}

.hero-text h1 .highlight {
  color: var(--primary-color);
}

.hero-text .subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

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

.stat-item {
  text-align: left;
}

.stat-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-visual {
  animation: fadeInRight 1s ease;
  position: relative;
}

.hero-visual img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 16px 20px;
  color: var(--text-light);
  animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 10%;
  left: -30px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 20%;
  right: -30px;
  animation-delay: 1.5s;
}

.floating-card-title {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.floating-card-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== Features Section ===== */
.features {
  padding: 120px 0;
  background: var(--bg-light);
}

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

.section-header .section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 214, 143, 0.1);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header h2 {
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(0, 214, 143, 0.15), rgba(0, 214, 143, 0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
}

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

.feature-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ===== Services Section ===== */
.services {
  padding: 120px 0;
  background: white;
}

.services-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.services-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.services-content .section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 214, 143, 0.1);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.services-content h2 {
  color: var(--text-dark);
  margin-bottom: 20px;
}

.services-list {
  margin-top: 32px;
}

.services-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.services-list li:last-child {
  border-bottom: none;
}

.services-list .service-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--btn-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.services-list .service-text h4 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.services-list .service-text p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* ===== Detailed Content / Market Stats ===== */
.market-section {
  padding: 120px 0;
  background: var(--bg-gradient);
  color: var(--text-light);
}

.market-section .section-header h2 {
  color: var(--text-light);
}

.market-section .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.market-stat {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.market-stat:hover {
  background: rgba(0, 214, 143, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.market-stat .stat-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.market-stat .stat-value {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.market-stat .stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* ===== Trading Table ===== */
.trading-pairs {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trading-pairs table {
  width: 100%;
  border-collapse: collapse;
}

.trading-pairs thead {
  background: rgba(0, 0, 0, 0.3);
}

.trading-pairs th {
  padding: 16px 20px;
  text-align: left;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trading-pairs td {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

.trading-pairs tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.price-up {
  color: var(--primary-color);
}

.price-down {
  color: #ff4757;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 120px 0;
  background: var(--bg-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 40px 24px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--btn-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 20px;
}

.step-card h3 {
  color: var(--text-dark);
  margin-bottom: 12px;
}

.step-card p {
  margin-bottom: 0;
}

/* ===== FAQ Section ===== */
.faq {
  padding: 120px 0;
  background: white;
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-light);
  border-radius: var(--border-radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.faq-question .faq-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 1.2rem;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 24px;
}

.faq-answer-inner p {
  margin-bottom: 0;
}

/* ===== CTA Section ===== */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--secondary-color) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(0, 214, 143, 0.15) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  color: var(--text-light);
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* ===== Footer ===== */
.site-footer {
  background: #0a0e14;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-about .brand {
  margin-bottom: 20px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 24px;
}

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

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

.footer-col ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Page Header (for inner pages) ===== */
.page-header {
  padding: 180px 0 100px;
  background: var(--bg-gradient);
  color: var(--text-light);
  text-align: center;
}

.page-header h1 {
  color: var(--text-light);
  margin-bottom: 16px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

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

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb .current {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== About Page ===== */
.about-content {
  padding: 100px 0;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.about-intro-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.about-intro-text h2 {
  color: var(--text-dark);
  margin-bottom: 20px;
}

.about-intro-text p {
  margin-bottom: 16px;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.mission-card {
  padding: 48px 40px;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.mission-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.mission-card h3 {
  color: var(--text-dark);
  margin-bottom: 12px;
}

/* ===== Products Page ===== */
.products-grid {
  padding: 100px 0;
  background: var(--bg-light);
}

.product-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 32px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

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

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

.product-card-content {
  padding: 32px;
}

.product-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 214, 143, 0.1);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-card-content h3 {
  color: var(--text-dark);
  margin-bottom: 12px;
}

.product-card-content p {
  margin-bottom: 16px;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.product-features span {
  padding: 4px 12px;
  background: var(--bg-light);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* ===== News Page ===== */
.news-section {
  padding: 100px 0;
}

.news-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 32px;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-card-image {
  height: 200px;
  overflow: hidden;
}

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

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-content {
  padding: 28px;
}

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

.news-category {
  padding: 3px 10px;
  background: rgba(0, 214, 143, 0.1);
  color: var(--primary-dark);
  border-radius: 4px;
  font-weight: 600;
}

.news-card-content h3 {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  transition: var(--transition);
}

.news-card:hover .news-card-content h3 {
  color: var(--primary-color);
}

.news-card-content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more::after {
  content: '→';
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translateX(5px);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

/* ===== News Detail ===== */
.news-detail {
  padding: 100px 0;
}

.news-detail-content {
  max-width: 800px;
  margin: 0 auto;
}

.news-detail-header {
  margin-bottom: 40px;
}

.news-detail-header h1 {
  color: var(--text-dark);
  margin-bottom: 20px;
}

.news-detail-image {
  margin-bottom: 40px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.news-detail-body {
  font-size: 1.05rem;
  line-height: 2;
}

.news-detail-body h2 {
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 16px;
}

.news-detail-body h3 {
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 12px;
}

.news-detail-body p {
  margin-bottom: 20px;
  color: var(--text-dark);
}

.news-detail-body ul {
  margin-bottom: 20px;
  padding-left: 24px;
}

.news-detail-body ul li {
  list-style: disc;
  margin-bottom: 8px;
  color: var(--text-gray);
}

/* ===== Contact Page ===== */
.contact-section {
  padding: 100px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-card {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--border-radius);
  margin-bottom: 24px;
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-info-card p {
  margin-bottom: 0;
}

.contact-info-card .info-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-form-wrapper {
  background: white;
  padding: 48px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
  color: var(--text-dark);
  margin-bottom: 32px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 214, 143, 0.1);
}

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

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .hero-content,
  .services-wrapper,
  .about-intro,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .services-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta .btn-secondary {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    padding: 30px;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .floating-card {
    display: none;
  }

  .features,
  .services,
  .market-section,
  .how-it-works,
  .faq,
  .cta {
    padding: 80px 0;
  }

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

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 140px 0 60px;
  }

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

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .btn-large {
    padding: 14px 30px;
  }
}
