/* Tailwind is loaded via CDN */
:root {
  --gradient-dark: linear-gradient(135deg, #000000 0%, #0a0f0d 100%);
  --emerald: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --card-bg: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(0,0,0,0.35));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: #e5e7eb;
  overflow-x: hidden;
}

/* Navbar */
.navbar { 
  position: fixed; 
  top:0; 
  width:100%; 
  z-index:1000; 
  background: rgba(0,0,0,0.75); 
  backdrop-filter: blur(10px); 
  border-bottom:1px solid rgba(16,185,129,0.15); 
  transition: all .3s ease; 
}
.navbar.scrolled { 
  background: rgba(0,0,0,0.9); 
  box-shadow: 0 4px 24px rgba(16,185,129,0.15); 
}

/* CTA Buttons */
.glow-cta { 
  background: radial-gradient(120% 120% at 50% 0%, #10b981 0%, #0ea5e9 50%, #10b981 100%); 
  color:#000; 
  padding:.5rem 1.25rem; 
  border-radius:9999px; 
  font-weight:600; 
  transition: all .3s ease; 
  box-shadow: 0 0 0 rgba(16,185,129,0.5); 
}
.glow-cta:hover { 
  transform: translateY(-1px) scale(1.02); 
  box-shadow: 0 0 24px rgba(16,185,129,0.35); 
}
.glow-cta-invert { 
  background:#fff; 
  color:#000; 
  padding:1rem 2rem; 
  border-radius:9999px; 
  font-weight:700; 
  transition: all .3s ease; 
}
.glow-cta-invert:hover { 
  background: var(--emerald); 
  color:#000; 
}

/* Hero Section */
.hero-section.dark-tech { 
  min-height: 70vh; 
  background: var(--gradient-dark); 
  position: relative; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  text-align:center; 
  overflow:hidden; 
}
.hero-section.dark-tech::before { 
  content:""; 
  position:absolute; 
  inset:0; 
  background-image: radial-gradient(circle at 20% 20%, rgba(16,185,129,0.2), transparent 40%), 
                    radial-gradient(circle at 80% 30%, rgba(16,185,129,0.15), transparent 35%), 
                    radial-gradient(circle at 50% 80%, rgba(16,185,129,0.25), transparent 45%); 
  filter: blur(40px); 
}
.hero-content { 
  position:relative; 
  z-index:3; 
  color:#e5e7eb; 
  max-width: 1200px; 
  padding: 0 2rem; 
}
.hero-title { 
  font-size:3rem; 
  font-weight:800; 
  margin-bottom:1.25rem; 
  background: linear-gradient(135deg, #ffffff, #d1fae5); 
  -webkit-background-clip:text; 
  -webkit-text-fill-color:transparent; 
  text-shadow: 0 8px 30px rgba(16,185,129,0.2); 
}
.hero-subtitle { 
  font-size:1.15rem; 
  max-width: 680px; 
  margin: 0 auto 2rem; 
  color: #a7f3d0; 
}

/* Account Comparison Table */
.comparison-table-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 12px;
  overflow: hidden;
}
.comparison-table thead {
  background: linear-gradient(135deg, rgba(16,185,129,0.25), rgba(16,185,129,0.15));
  position: sticky;
  top: 64px;
  z-index: 10;
}
.comparison-table th {
  padding: 1.25rem 1rem;
  text-align: left;
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  border-bottom: 2px solid rgba(16,185,129,0.4);
}
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(16,185,129,0.1);
  color: #d1fae5;
}
.comparison-table tbody tr {
  transition: all .3s ease;
}
.comparison-table tbody tr:hover {
  background: rgba(16,185,129,0.08);
  box-shadow: 0 4px 12px rgba(16,185,129,0.15);
}
.recommended-badge {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.5rem;
}
.highlight-cell {
  background: rgba(16,185,129,0.12);
  font-weight: 600;
  color: #6ee7b7;
}

/* Feature Cards */
.features-section { 
  padding:4rem 0; 
  background: transparent; 
  position:relative; 
}
.features-grid { 
  display:grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); 
  gap:1.5rem; 
  max-width:1200px; 
  margin:0 auto; 
  padding:0 1rem; 
}
.feature-card { 
  background: var(--card-bg); 
  border:1px solid rgba(16,185,129,0.2); 
  border-radius:18px; 
  padding:2rem; 
  text-align:center; 
  transition: all .3s ease; 
  position:relative; 
  overflow:hidden; 
}
.feature-card::after { 
  content:""; 
  position:absolute; 
  inset:auto -30% -30% auto; 
  width:160px; 
  height:160px; 
  background: radial-gradient(circle, rgba(16,185,129,0.25), transparent 60%); 
  filter: blur(14px); 
  transform: rotate(25deg); 
}
.feature-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 24px 56px rgba(16,185,129,0.15); 
  border-color: rgba(16,185,129,0.4); 
}
.feature-icon { 
  width:72px; 
  height:72px; 
  margin:0 auto 1rem; 
  background: linear-gradient(135deg,#10b981,#34d399); 
  border-radius:18px; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  color:#00110b; 
  font-size:2rem; 
}
.feature-title { 
  font-size:1.25rem; 
  font-weight:700; 
  color:#e5e7eb; 
  margin-bottom:.5rem; 
}
.feature-description { 
  color:#a7f3d0; 
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  max-width: 1000px;
  margin: 0 auto;
}
.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(16,185,129,0.15);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all .3s ease;
}
.faq-item:hover {
  border-color: rgba(16,185,129,0.3);
}
.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: #e5e7eb;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all .3s ease;
}
.faq-question:hover {
  background: rgba(16,185,129,0.05);
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #10b981;
  transition: transform .3s ease;
}
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 1.5rem;
  color: #a7f3d0;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

/* Activity Modal */
.activity-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity .3s ease;
}
.activity-modal.show {
  display: flex;
  opacity: 1;
}
.activity-modal-content {
  background: linear-gradient(135deg, #0a0f0d, #000);
  border: 2px solid rgba(16,185,129,0.3);
  border-radius: 20px;
  max-width: 880px;
  width: 90%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 24px 64px rgba(16,185,129,0.2);
  animation: modalSlideIn .4s ease-out;
}
.activity-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(16,185,129,0.15);
  border: none;
  color: #10b981;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: all .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.activity-modal-close:hover {
  background: #10b981;
  color: #000;
  transform: rotate(90deg);
}
.activity-modal-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: transform .3s ease;
}
.activity-modal-image:hover {
  transform: scale(1.02);
}
.activity-modal-text {
  color: #d1fae5;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.activity-modal-button {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #000;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all .3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.activity-modal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(16,185,129,0.35);
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Articles Section */
.articles-section { 
  padding:4rem 0; 
  background: transparent; 
}
.articles-grid { 
  display:grid; 
  grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); 
  gap:1.2rem; 
  max-width:1200px; 
  margin:0 auto; 
  padding:0 1rem; 
}
.article-card { 
  background: #0b0f0e; 
  border:1px solid rgba(16,185,129,0.18); 
  border-radius:14px; 
  overflow:hidden; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.35); 
  transition: all .3s ease; 
}
.article-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 18px 44px rgba(16,185,129,0.18); 
}
.article-image { 
  height:200px; 
  overflow:hidden; 
  position:relative; 
}
.article-image img { 
  width:100%; 
  height:100%; 
  object-fit:cover; 
  transition: transform .3s ease; 
}
.article-card:hover .article-image img { 
  transform: scale(1.05); 
}
.article-content { 
  padding:1.25rem; 
}
.article-title { 
  font-size:1.1rem; 
  font-weight:600; 
  margin-bottom:.5rem; 
  color:#e5e7eb; 
  text-decoration:none; 
  display:block; 
}
.article-title:hover { 
  color: var(--emerald-300); 
}

/* Footer */
footer {
  background: #000;
  border-top: 1px solid rgba(16,185,129,0.15);
  padding: 3rem 0 1.5rem;
  color: #a7f3d0;
}
.footer-link {
  color: #a7f3d0;
  text-decoration: none;
  transition: color .3s ease;
}
.footer-link:hover {
  color: #10b981;
}

/* Animations */
@keyframes slideInUp { 
  from { opacity:0; transform: translateY(24px);} 
  to { opacity:1; transform: translateY(0);} 
}
@keyframes fadeInLeft { 
  from { opacity:0; transform: translateX(-24px);} 
  to { opacity:1; transform: translateX(0);} 
}
@keyframes fadeInRight { 
  from { opacity:0; transform: translateX(24px);} 
  to { opacity:1; transform: translateX(0);} 
}
.animate-slide-up { animation: slideInUp .65s ease-out both; }
.animate-fade-in-left { animation: fadeInLeft .65s ease-out both; }
.animate-fade-in-right { animation: fadeInRight .65s ease-out both; }

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .comparison-table { font-size: 0.875rem; }
  .comparison-table th, .comparison-table td { padding: 0.75rem 0.5rem; }
  .comparison-table thead { top: 56px; }
  .activity-modal-content { padding: 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { 
    animation-duration: 0.01ms !important; 
    animation-iteration-count: 1 !important; 
    transition-duration: 0.01ms !important; 
  }
}

