/* ================================
   电子媒人 Landing Page
   Neo-Traditional Elegance
   ================================ */

:root {
  /* Color Palette - Warm & Romantic */
  --coral: #FF6B6B;
  --coral-dark: #E85555;
  --coral-light: #FF8E8E;
  --salmon: #FA8072;
  --crimson: #C41E3A;
  --gold: #DAA520;
  --gold-light: #F4A460;
  --cream: #FFF8F0;
  --cream-dark: #FFF0E0;
  --blush: #FFE4E1;
  --warm-gray: #4A4A4A;
  --warm-gray-light: #8A8A8A;
  --white: #FFFFFF;

  /* Typography */
  --font-cn: 'Noto Serif SC', serif;
  --font-en: 'Outfit', sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-width: 1200px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(196, 30, 58, 0.08);
  --shadow-md: 0 4px 16px rgba(196, 30, 58, 0.12);
  --shadow-lg: 0 8px 32px rgba(196, 30, 58, 0.16);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-en);
  color: var(--warm-gray);
  background: linear-gradient(135deg, var(--cream) 0%, var(--blush) 50%, var(--cream) 100%);
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ================================
   Decorative Background Elements
   ================================ */

.bg-ornament {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}

.ornament-1 {
  background: radial-gradient(circle, var(--coral-light), transparent);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.ornament-2 {
  background: radial-gradient(circle, var(--gold-light), transparent);
  bottom: -200px;
  left: -200px;
  animation-delay: 7s;
}

.ornament-3 {
  background: radial-gradient(circle, var(--salmon), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

/* ================================
   Navigation
   ================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196, 30, 58, 0.1);
  padding: 20px 0;
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-cn {
  font-family: var(--font-cn);
  font-size: 24px;
  font-weight: 700;
  color: var(--crimson);
  letter-spacing: 2px;
}

.logo-divider {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, transparent, var(--coral), transparent);
}

.logo-en {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: var(--warm-gray-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--warm-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--coral);
}

/* ================================
   Buttons
   ================================ */

.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--crimson) 100%);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 32px;
  background: transparent;
  color: var(--crimson);
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--coral);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--coral);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 48px;
  font-size: 16px;
}

/* ================================
   Hero Section
   ================================ */

.hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
}

.hero-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-title {
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.title-cn {
  display: block;
  font-family: var(--font-cn);
  font-size: 72px;
  font-weight: 700;
  color: var(--crimson);
  line-height: 1.1;
  letter-spacing: 4px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--crimson), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-subtitle {
  display: block;
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 400;
  color: var(--warm-gray);
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: var(--warm-gray);
  margin-bottom: 40px;
  max-width: 540px;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.hero-stats {
  display: flex;
  gap: 48px;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.stat {
  flex: 1;
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--warm-gray-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Visual */

.hero-visual {
  position: relative;
  height: 500px;
  animation: fadeInRight 1s ease-out 0.4s backwards;
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.visual-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(196, 30, 58, 0.1);
}

.visual-card:hover {
  transform: translateY(-8px) scale(1.05);
}

.card-icon {
  font-size: 32px;
}

.card-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--warm-gray);
}

.card-1 {
  top: 50px;
  left: 0;
  animation: cardFloat 4s ease-in-out infinite;
}

.card-2 {
  top: 200px;
  right: 50px;
  animation: cardFloat 4s ease-in-out infinite 1.3s;
}

.card-3 {
  bottom: 80px;
  left: 60px;
  animation: cardFloat 4s ease-in-out infinite 2.6s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.connection-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), transparent);
  opacity: 0.3;
}

.line-1 {
  width: 200px;
  top: 120px;
  left: 140px;
  transform: rotate(25deg);
  animation: lineGrow 2s ease-out 1s backwards;
}

.line-2 {
  width: 180px;
  bottom: 150px;
  right: 100px;
  transform: rotate(-35deg);
  animation: lineGrow 2s ease-out 1.5s backwards;
}

@keyframes lineGrow {
  from { width: 0; opacity: 0; }
  to { width: 100%; opacity: 0.3; }
}

/* ================================
   Notice Section (TNC)
   ================================ */

.notice-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.notice-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.notice-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.notice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--coral), var(--crimson));
}

.notice-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.notice-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.notice-title {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  color: var(--crimson);
  margin: 0;
}

.notice-intro {
  font-size: 18px;
  color: var(--warm-gray);
  margin-bottom: 32px;
  line-height: 1.7;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.notice-item {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(196, 30, 58, 0.1);
  transition: all 0.3s ease;
}

.notice-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.notice-item-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.notice-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--crimson);
  margin-bottom: 12px;
}

.notice-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--warm-gray);
}

.notice-footer {
  background: var(--blush);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  border-left: 4px solid var(--coral);
}

.notice-footer p {
  font-size: 16px;
  color: var(--warm-gray);
  margin: 0;
}

/* ================================
   Sections Common Styles
   ================================ */

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  color: var(--crimson);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 20px;
  color: var(--warm-gray-light);
  font-weight: 400;
}

/* ================================
   How It Works Section
   ================================ */

.how-section {
  position: relative;
  padding: var(--section-padding) 0;
}

.how-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(196, 30, 58, 0.1);
  transition: all 0.4s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.step-card:hover .step-accent {
  width: 100%;
}

.step-number {
  font-family: var(--font-en);
  font-size: 80px;
  font-weight: 700;
  color: var(--cream-dark);
  position: absolute;
  top: 20px;
  right: 20px;
  line-height: 1;
  z-index: 1;
}

.step-icon {
  font-size: 48px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.step-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--crimson);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.step-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--warm-gray);
  position: relative;
  z-index: 2;
}

.step-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--crimson));
  transition: width 0.4s ease;
}

/* ================================
   Features Section
   ================================ */

.features-section {
  position: relative;
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.features-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(196, 30, 58, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover .feature-glow {
  opacity: 1;
}

.feature-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--coral-light), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-icon {
  font-size: 56px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--crimson);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--warm-gray);
  position: relative;
  z-index: 2;
}

/* ================================
   CTA Section
   ================================ */

.cta-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, var(--crimson), var(--coral));
  overflow: hidden;
}

.cta-ornament {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 50%;
  top: -200px;
  right: -200px;
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.cta-description {
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.btn-cta {
  background: var(--white);
  color: var(--crimson);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
  background: var(--cream);
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}

.cta-note {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ================================
   Footer
   ================================ */

.footer {
  background: var(--warm-gray);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 0;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px 60px;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
}

.footer-brand {

}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo .logo-cn {
  display: block;
  color: var(--white);
  font-size: 28px;
  margin-bottom: 8px;
}

.footer-logo .logo-en {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.footer-tagline {
  font-size: 15px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--coral-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 40px;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 968px) {
  :root {
    --section-padding: 80px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-visual {
    height: 400px;
  }

  .title-cn {
    font-size: 56px;
  }

  .title-subtitle {
    font-size: 24px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .notice-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .nav-container {
    padding: 0 20px;
  }

  .logo-cn {
    font-size: 20px;
  }

  .logo-en {
    display: none;
  }

  .nav-link {
    display: none;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .hero-container {
    padding: 0 20px;
  }

  .title-cn {
    font-size: 42px;
  }

  .title-subtitle {
    font-size: 20px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .hero-visual {
    display: none;
  }

  .section-title {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .notice-card {
    padding: 32px 24px;
  }

  .notice-title {
    font-size: 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-title {
    font-size: 36px;
  }

  .cta-description {
    font-size: 18px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .btn-large {
    width: 100%;
  }
}
