/* CoreLinks.info - Light Professional Theme (System Green) */
:root {
  --white: #FFFFFF;
  --light-bg: #F8F9FA;
  --lighter-bg: #F1F3F5;
  --dark-forest: #064E3B;
  --emerald: #10B981;
  --emerald-dark: #059669;
  --mint: #34D399;
  --text-dark: #1F2937;
  --text-gray: #6B7280;
  --border-light: #E5E7EB;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #f0fdf4 100%);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Animated Gradient Background Layer */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(6, 78, 59, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(52, 211, 153, 0.04) 0%, transparent 70%);
  animation: gradientShift 15s ease infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes gradientShift {
  0%, 100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05) rotate(1deg);
  }
}

/* Enhanced Grid Overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  background-image: 
    linear-gradient(rgba(16, 185, 129, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.2) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Elegant Floating Orbs */
.floating-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  animation: float 20s ease-in-out infinite;
}

.orb:nth-child(1) {
  width: 400px;
  height: 400px;
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.orb:nth-child(2) {
  width: 300px;
  height: 300px;
  bottom: -150px;
  right: -150px;
  animation-delay: 5s;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.12) 0%, transparent 70%);
}

.orb:nth-child(3) {
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
  background: radial-gradient(circle, rgba(6, 78, 59, 0.08) 0%, transparent 70%);
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 50px) scale(0.9);
  }
}

/* Network Nodes */
.network-nodes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.node {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--emerald);
  animation: nodePulse 4s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.3;
  }
  50% { 
    transform: scale(1.5);
    opacity: 0.6;
  }
}

/* Header */
header {
  position: relative;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  box-shadow: 0 2px 10px var(--shadow);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--emerald);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--emerald), var(--mint));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
  color: white;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
  position: relative;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald);
  transition: width 0.3s;
}

nav a:hover::before {
  width: 100%;
}

nav a:hover {
  color: var(--emerald);
}

.nav-cta {
  background: linear-gradient(135deg, var(--emerald), var(--mint));
  color: white !important;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.nav-cta::before {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

/* Main Content */
main {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section */
/* Universal Section Spacing */
.section {
  padding: 120px 40px;
  position: relative;
}

.section + .section {
  border-top: 1px solid rgba(6, 78, 59, 0.05);
}

.hero {
  text-align: center;
  padding: 120px 40px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--dark-forest), var(--emerald), var(--mint));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  animation: gradientMove 5s ease infinite;
}

@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--mint));
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

.btn-secondary {
  background: white;
  color: var(--emerald);
  border: 2px solid var(--emerald);
  box-shadow: 0 2px 10px var(--shadow);
}

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

/* Feature Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 60px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--mint));
  transform: scaleX(0);
  transition: transform 0.4s;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--emerald);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--emerald), var(--mint));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-forest);
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 60px;
}

.pricing-card {
  background: white;
  border: 2px solid var(--border-light);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s;
  position: relative;
  box-shadow: 0 4px 15px var(--shadow);
}

.pricing-card.featured {
  border-color: var(--emerald);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.2);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: -12px;
  right: 2rem;
  background: linear-gradient(135deg, var(--emerald), var(--mint));
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  z-index: 10;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--emerald);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.25);
}

.pricing-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--dark-forest);
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--emerald);
  margin: 1.5rem 0;
}

.pricing-card .price span {
  font-size: 1.2rem;
  color: var(--text-gray);
  font-weight: 400;
}

.pricing-card ul {
  list-style: none;
  margin: 2rem 0;
}

.pricing-card li {
  padding: 0.75rem 0;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-card li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin: 0 auto 80px;
  max-width: 800px;
}

.section-title h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--dark-forest), var(--emerald), var(--mint));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 5s ease infinite;
}

.section-title p {
  font-size: 1.3rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Footer */
footer {
  position: relative;
  z-index: 10;
  background: white;
  border-top: 1px solid var(--border-light);
  margin-top: 6rem;
  padding: 3rem 2rem 1rem;
  box-shadow: 0 -2px 10px var(--shadow);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--emerald);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--text-gray);
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  transition: all 0.3s;
}

.footer-section a:hover {
  color: var(--emerald);
  transform: translateX(5px);
}

.footer-section p {
  color: var(--text-gray);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-gray);
}

/* Status Badge */
.status-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: white;
  color: var(--emerald);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--emerald);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
  margin-bottom: 2rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .section {
    padding: 80px 24px;
  }
  
  .hero {
    padding: 100px 24px 80px;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .section-title {
    margin-bottom: 60px;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  nav ul {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .features {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .orb {
    display: none;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
}
