/* ============================================
   海科融通4G大机 - 深墨蓝绿便惠风格
   ============================================ */

/* CSS Variables */
:root {
  --hkt-teal: #1F4E5F;
  --hkt-teal-light: #2A5F6F;
  --port-cyan: #06B6D4;
  --disc-gold: #F59E0B;
  --bg-page: #F0FDFA;
  --text-dark: #0C2A33;
  --text-body: #334155;
  --text-light: #64748B;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(31, 78, 95, 0.05);
  --shadow-md: 0 4px 6px rgba(31, 78, 95, 0.1);
  --shadow-lg: 0 10px 15px rgba(31, 78, 95, 0.15);
  --shadow-xl: 0 20px 25px rgba(31, 78, 95, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

.font-dm {
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

a {
  color: var(--port-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--hkt-teal);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hkt-teal);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--hkt-teal), var(--hkt-teal-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-body);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--port-cyan);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--hkt-teal);
}

.nav-cta {
  background: linear-gradient(135deg, var(--port-cyan), #0891B2);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--hkt-teal);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--hkt-teal), var(--hkt-teal-light));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 20px;
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.hero-badge span {
  color: var(--port-cyan);
  font-weight: 600;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--port-cyan), #0891B2);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--hkt-teal);
}

.btn-gold {
  background: linear-gradient(135deg, var(--disc-gold), #D97706);
  color: var(--white);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-teal {
  background: linear-gradient(135deg, var(--hkt-teal), var(--hkt-teal-light));
  color: var(--white);
}

.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-cyan {
  border-top: 4px solid var(--port-cyan);
}

.card-gold {
  border-top: 4px solid var(--disc-gold);
}

.card-teal {
  border-top: 4px solid var(--hkt-teal);
}

/* ============================================
   Feature Grid
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-item {
  text-align: center;
  padding: 24px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(6, 182, 212, 0.2));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.feature-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--hkt-teal);
  margin-bottom: 8px;
}

.feature-number span {
  font-size: 1.25rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Split Layout
   ============================================ */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.split-image img {
  width: 100%;
  height: auto;
  display: block;
}

.split-content h2 {
  margin-bottom: 16px;
}

.split-content p {
  margin-bottom: 24px;
  color: var(--text-body);
}

.highlight {
  color: var(--port-cyan);
  font-weight: 700;
}

.highlight-gold {
  color: var(--disc-gold);
  font-weight: 700;
}

@media (max-width: 768px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .split-layout.reverse {
    direction: ltr;
  }
}

/* ============================================
   Asymmetric Cards
   ============================================ */
.asymmetric-cards {
  display: grid;
  grid-template-columns: 55% 43%;
  gap: 24px;
}

.asymmetric-cards .card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
}

@media (max-width: 768px) {
  .asymmetric-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Comparison Table
   ============================================ */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-table th {
  background: var(--hkt-teal);
  color: var(--white);
  font-weight: 600;
}

.comparison-table th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(6, 182, 212, 0.05);
}

.comparison-table .check {
  color: #10B981;
  font-size: 1.25rem;
}

.comparison-table .cross {
  color: #EF4444;
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.875rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
  }
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question:hover {
  color: var(--port-cyan);
}

.faq-icon {
  transition: var(--transition);
  font-size: 1.25rem;
  color: var(--port-cyan);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-body);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--hkt-teal), var(--hkt-teal-light));
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: linear-gradient(135deg, var(--hkt-teal), var(--hkt-teal-light));
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand p {
  opacity: 0.8;
  margin-top: 16px;
  max-width: 400px;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--port-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  opacity: 0.7;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================
   Page Hero (Inner Pages)
   ============================================ */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero.cyan-bg {
  background: linear-gradient(135deg, var(--port-cyan), #0891B2);
}

.page-hero.gold-bg {
  background: linear-gradient(135deg, var(--disc-gold), #D97706);
}

.page-hero.teal-bg {
  background: linear-gradient(135deg, var(--hkt-teal), var(--hkt-teal-light));
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 60px;
  }
}

/* ============================================
   Advantage Cards
   ============================================ */
.advantage-cards {
  display: grid;
  gap: 24px;
}

.advantage-cards .card:nth-child(1) {
  width: 60%;
}

.advantage-cards .card:nth-child(2) {
  width: 100%;
}

.advantage-cards .card:nth-child(3) {
  width: 80%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(6, 182, 212, 0.2);
}

@media (max-width: 768px) {
  .advantage-cards .card:nth-child(1),
  .advantage-cards .card:nth-child(2),
  .advantage-cards .card:nth-child(3) {
    width: 100%;
  }
}

/* ============================================
   Discount Section
   ============================================ */
.discount-list {
  display: grid;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.discount-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.discount-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--disc-gold);
  min-width: 100px;
}

.discount-content h3 {
  margin-bottom: 8px;
}

.discount-content p {
  color: var(--text-light);
}

/* ============================================
   Discount Box
   ============================================ */
.discount-box {
  background: var(--white);
  border: 2px dashed var(--disc-gold);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.discount-box h3 {
  margin-bottom: 24px;
  color: var(--hkt-teal);
}

.discount-box ul {
  list-style: none;
  text-align: left;
  max-width: 500px;
  margin: 0 auto 32px;
}

.discount-box li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.discount-box li:last-child {
  border-bottom: none;
}

.discount-box .icon {
  color: var(--disc-gold);
  font-size: 1.25rem;
}

/* ============================================
   Compare Page
   ============================================ */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-table th {
  background: linear-gradient(135deg, var(--hkt-teal), var(--hkt-teal-light));
  color: var(--white);
  padding: 24px 20px;
  font-size: 1.125rem;
  font-weight: 600;
}

.compare-table th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}

.compare-table th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
  background: linear-gradient(135deg, var(--hkt-teal), var(--hkt-teal-light));
}

.compare-table td {
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  vertical-align: top;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:hover td {
  background: rgba(6, 182, 212, 0.03);
}

@media (max-width: 768px) {
  .compare-table {
    font-size: 0.875rem;
  }
  
  .compare-table th,
  .compare-table td {
    padding: 12px 8px;
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
