/* ==========================================================================
   Ashnet Cloud Landing Page - Ultra Modern Light Theme Design System
   Theme: Pure White Minimal Tech & Asymmetrical Layout with Non-Overlapping Floating Widgets
   Domain: ashnet.cyou
   ========================================================================== */

:root {
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-accent: rgba(37, 99, 235, 0.3);
  
  --primary-blue: #2563eb;
  --primary-cyan: #0284c7;
  --primary-indigo: #4f46e5;
  
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  --gradient-btn: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  --gradient-text: linear-gradient(135deg, #0f172a 0%, #1e40af 60%, #0284c7 100%);
  --gradient-badge: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(2, 132, 199, 0.08) 100%);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  
  --success-green: #10b981;
  --warning-amber: #f59e0b;
  --accent-pink: #ec4899;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.09);
  --shadow-hover: 0 20px 45px rgba(37, 99, 235, 0.14);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-width: 1240px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Light Micro Background Pattern & Ambient Glowing Orbs */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(2, 132, 199, 0.06) 0%, transparent 45%),
    linear-gradient(rgba(226, 232, 240, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Global Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

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

.highlight-cyan {
  color: var(--primary-blue);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 50px;
  background: var(--gradient-badge);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.dot-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--primary-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Floating Micro Widgets (Positioned in Outer Empty Gutter Space - No Overlapping) */
.floating-element {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Adjusted positions to guarantee NO collision with text */
.float-badge-1 {
  top: -50px;
  left: -130px;
  animation: floatSlow 6s ease-in-out infinite;
  border-left: 4px solid var(--primary-blue);
}

.float-badge-2 {
  bottom: -45px;
  left: -120px;
  animation: floatSlow 7s ease-in-out infinite 1s;
  border-left: 4px solid var(--success-green);
}

.float-badge-3 {
  top: -45px;
  right: -85px;
  animation: floatSlow 8s ease-in-out infinite 0.5s;
  border-left: 4px solid var(--primary-cyan);
}

.float-badge-4 {
  bottom: -45px;
  right: -85px;
  animation: floatSlow 6.5s ease-in-out infinite 1.5s;
  border-left: 4px solid var(--accent-pink);
}

.float-icon {
  font-size: 1.1rem;
}

.float-value {
  color: var(--primary-blue);
  font-weight: 700;
}

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* Protocol Pills Bar below buttons */
.protocol-pills-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.protocol-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
}

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

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

/* Modern Asymmetrical Split Hero Section */
.hero-split {
  padding: 160px 0 90px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
}

.hero-left {
  text-align: left;
  position: relative;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.hero-title .title-accent {
  display: block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 580px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.feature-pill i {
  color: var(--primary-blue);
  font-style: normal;
  font-weight: 700;
}

/* Right Hero Visual Card Widget */
.hero-right-widget {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.widget-title {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-badge {
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-green);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
}

.widget-node-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widget-node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
}

.widget-node-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.widget-ping {
  color: var(--success-green);
  font-weight: 700;
  font-size: 0.82rem;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

/* Section Common */
.section {
  padding: 90px 0;
}

.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 14px;
}

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

/* Node Cards (White Light Theme) */
.nodes-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

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

.node-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s ease;
}

.node-item:hover {
  border-color: var(--primary-blue);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

.node-name {
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.node-flag {
  font-size: 1.1rem;
}

.node-ping {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--success-green);
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 10px;
  border-radius: 20px;
}

.node-details {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.node-progress-bg {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.node-progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
}

/* Core Advantage Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.adv-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.adv-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.adv-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-badge);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-blue);
  margin-bottom: 22px;
}

.adv-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.adv-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Pricing Section (White Light Theme) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.price-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 38px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.price-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.price-card.popular {
  border: 2px solid var(--primary-blue);
  box-shadow: var(--shadow-hover);
  transform: scale(1.02);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-btn);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.price-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.price-val {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
}

.price-val span {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-features li {
  color: var(--text-muted);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li i {
  color: var(--primary-blue);
  font-weight: bold;
  font-style: normal;
}

/* Articles Section */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

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

.article-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-blue);
  background: var(--gradient-badge);
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 4px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 14px;
}

.article-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.45;
}

.article-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s;
}

.article-title a:hover {
  color: var(--primary-blue);
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

/* User Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #f59e0b;
  font-size: 0.95rem;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  font-style: italic;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.user-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.user-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* FAQ Accordion (White Light Theme) */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.faq-item.active {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 22px 26px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  transition: transform 0.3s ease;
  font-size: 1.1rem;
  color: var(--primary-blue);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 26px 22px 26px;
}

/* Footer & PBN Links Section */
.footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-subtle);
  padding: 60px 0 36px 0;
  text-align: center;
  margin-top: 80px;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 24px;
}

/* Low-key Aesthetic PBN Links Section */
.pbn-footer-links {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pbn-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.pbn-footer-links a:hover {
  color: var(--primary-blue);
}

.pbn-separator {
  color: var(--border-color);
}

/* Responsive Mobile Navigation & Floating Badges Hide on Smaller Viewports */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 1460px) {
  .floating-element {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }
}
