/* ==========================================================================
   WgetCloud Official Redirect Portal - Pure White / Light Theme Design System
   ========================================================================== */

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;

  /* Pure White / Light Theme Colors */
  --bg-white: #ffffff;
  --bg-page: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f8fafc;
  --bg-surface-hover: #f1f5f9;
  
  --border-light: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: #3b82f6;

  /* Typography Colors */
  --text-primary: #0f172a;      /* Deep Slate / Near Black */
  --text-secondary: #475569;    /* Balanced Slate */
  --text-muted: #64748b;        /* Soft Slate */
  --text-accent: #0284c7;       /* Sky Blue */

  /* Brand Accents */
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.18);
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-emerald-dark: #059669;
  --accent-amber: #d97706;
  --accent-amber-light: #fef3c7;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  --grad-primary-hover: linear-gradient(135deg, #1d4ed8 0%, #0369a1 100%);
  --grad-card-header: linear-gradient(90deg, #2563eb 0%, #06b6d4 100%);
  --grad-soft-banner: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);

  /* Soft Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 18px -3px rgba(15, 23, 42, 0.07), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.09), 0 0 0 1px rgba(226, 232, 240, 0.8);
  --shadow-button: 0 8px 20px rgba(37, 99, 235, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere - Light & Airy */
.bg-glow-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb-1 {
  position: absolute;
  top: -120px;
  left: 20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: pulseOrb 14s ease-in-out infinite alternate;
}

.glow-orb-2 {
  position: absolute;
  top: 380px;
  right: 8%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: pulseOrb 12s ease-in-out 2s infinite alternate-reverse;
}

.glow-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, transparent 80%);
}

@keyframes pulseOrb {
  0% { transform: scale(1) translateY(0); opacity: 0.8; }
  100% { transform: scale(1.1) translateY(30px); opacity: 1; }
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  height: 85px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 50;
  background: transparent;
  transition: var(--transition);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #007bfc;
  color: #007bfc;
  background: transparent;
  padding: 7px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.header-btn-login:hover {
  background: rgba(0, 123, 252, 0.08);
}

.header-btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #007bfc;
  color: #ffffff;
  background: #007bfc;
  padding: 7px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 123, 252, 0.25);
  transition: var(--transition);
}

.header-btn-register:hover {
  background: #006fe0;
  border-color: #006fe0;
  box-shadow: 0 6px 18px rgba(0, 123, 252, 0.35);
}

/* ==========================================================================
   Hero Showcase Section (Exact 1:1 Match to Image 2)
   ========================================================================== */
.hero-showcase-section {
  position: relative;
  min-height: 640px;
  padding: 30px 0 90px;
  overflow: hidden;
  background: #ffffff;
}

.hero-bg-layer {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  max-width: 1050px;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-curve {
  width: 100%;
  height: auto;
  display: block;
}

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

.hero-content-col {
  padding-top: 24px;
  max-width: 640px;
}

.hero-brand-name {
  font-size: clamp(42px, 5.2vw, 70px);
  font-weight: 700;
  color: #007bfc;
  line-height: 1.15;
  margin-bottom: 8px;
  font-family: var(--font-main);
  letter-spacing: -0.5px;
}

.hero-tagline {
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 700;
  color: #142149;
  line-height: 1.2;
  margin-bottom: 26px;
  font-family: var(--font-main);
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 19px;
  color: #5e7290;
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-action-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #007bfc;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  padding: 13px 44px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 123, 252, 0.28);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.hero-primary-btn:hover {
  background-color: #006fe0;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 123, 252, 0.4);
}

.hero-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-stage {
  position: relative;
  width: 100%;
  max-width: 614px;
}

.hero-3d-main-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-chip {
  position: absolute;
  pointer-events: none;
}

.chip-1 {
  width: 105px;
  top: 10%;
  right: 5%;
  animation: floatY 4s ease-in-out infinite alternate;
}

.chip-2 {
  width: 90px;
  bottom: 12%;
  left: 8%;
  animation: floatY 5s ease-in-out 1s infinite alternate-reverse;
}

.chip-3 {
  width: 82px;
  bottom: 22%;
  right: -2%;
  animation: floatX 6s ease-in-out infinite alternate;
}

@keyframes floatY {
  0% { transform: translateY(0); }
  100% { transform: translateY(-14px); }
}

@keyframes floatX {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-10px) translateX(8px); }
}

/* ==========================================================================
   Multi-Line Speed Test / Routing Section
   ========================================================================== */
.section-title-wrap {
  text-align: center;
  margin-bottom: 32px;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--primary-dark);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-heading {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 64px;
}

.node-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.node-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  background: var(--bg-surface);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.node-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.node-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-dark);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.node-ping-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-emerald-dark);
}

.node-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.node-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.5;
}

.node-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.node-card:hover .node-btn {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   Features Showcase
   ========================================================================== */
.features-section {
  padding: 40px 0 70px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Media Banner */
.media-banner {
  background: var(--grad-soft-banner);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 64px;
  box-shadow: var(--shadow-sm);
}

.media-banner-content {
  max-width: 500px;
}

.media-banner-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.3;
  color: var(--text-primary);
}

.media-banner-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.media-banner-img {
  max-width: 440px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
}

/* Client Ecosystem */
.clients-section {
  text-align: center;
  margin-bottom: 70px;
}

.clients-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.client-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.client-chip:hover {
  background: var(--bg-surface-subtle);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
  color: var(--primary);
}


/* Footer */
.site-footer {
  border-top: 1px solid var(--border-light);
  background: var(--bg-surface-subtle);
  padding: 36px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

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

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #ffffff;
  border: 1px solid #93c5fd;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content-col {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-action-row {
    justify-content: center;
  }
  .hero-bg-layer {
    width: 100%;
    opacity: 0.35;
  }
  .nodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px;
  }
  .media-banner-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }
  .hero-showcase-section {
    padding: 20px 0 60px;
  }
  .hero-brand-name {
    font-size: 38px;
  }
  .hero-tagline {
    font-size: 32px;
    margin-bottom: 18px;
  }
  .hero-description {
    font-size: 16px;
    margin-bottom: 28px;
  }
  .nodes-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
