/* Emerald VPS - Shared Stylesheet */
:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --dark-bg: #0a0e0c;
  --dark-card: #111815;
  --dark-border: #1f2a25;
  --text-primary: #f0fdf4;
  --text-secondary: #a7f3d0;
  --text-muted: #6b7d74;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background gradient effect */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  background: radial-gradient(ellipse at top, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 12, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
  padding: 1rem 0;
}

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

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

.logo-icon {
  width: 36px;
  height: 36px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
}

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

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--emerald-400);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s;
  font-family: inherit;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--emerald-400);
  border: 1px solid var(--emerald-700);
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--emerald-500);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* Layout */
main {
  flex: 1;
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4rem 0;
}

/* Hero */
.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--emerald-700);
  border-radius: 20px;
  color: var(--emerald-300);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f0fdf4, var(--emerald-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--emerald-700);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--emerald-400);
}

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

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

.pricing-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: var(--emerald-500);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), var(--dark-card));
}

.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
}

.plan-name {
  font-size: 1.1rem;
  color: var(--emerald-400);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.plan-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-features {
  list-style: none;
  margin: 1.5rem 0;
}

.plan-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.plan-features li::before {
  content: "✓";
  color: var(--emerald-400);
  font-weight: 700;
}

/* Page header */
.page-header {
  padding: 5rem 2rem 3rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* Content */
.content-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.content-section p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.content-section h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--emerald-300);
}

/* Footer */
footer {
  background: #060908;
  border-top: 1px solid var(--dark-border);
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

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

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--emerald-400);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid var(--dark-border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--dark-bg);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--emerald-500);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Checkout specific */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.checkout-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  padding: 2rem;
}

.payment-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: var(--dark-bg);
  padding: 0.4rem;
  border-radius: 10px;
  border: 1px solid var(--dark-border);
}

.payment-tab {
  flex: 1;
  padding: 0.75rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  transition: all 0.2s;
}

.payment-tab.active {
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-800));
  color: white;
}

.payment-panel {
  display: none;
}

.payment-panel.active {
  display: block;
}

.crypto-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.crypto-option {
  padding: 1rem;
  background: var(--dark-bg);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.crypto-option:hover {
  border-color: var(--emerald-700);
}

.crypto-option.selected {
  border-color: var(--emerald-500);
  background: rgba(16, 185, 129, 0.08);
}

.crypto-option .crypto-symbol {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--emerald-400);
}

.crypto-option .crypto-name {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.summary-row.total {
  border-top: 1px solid var(--dark-border);
  margin-top: 0.5rem;
  padding-top: 1rem;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.15rem;
}

.merchant-note {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--emerald-800);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.paypal-button {
  width: 100%;
  padding: 0.9rem;
  background: #ffc439;
  color: #003087;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  margin-top: 0.5rem;
}

.paypal-button:hover {
  background: #ffb000;
}

/* Contact / forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info-item {
  margin-bottom: 1.5rem;
}

.contact-info-item h4 {
  color: var(--emerald-400);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.contact-info-item p {
  color: var(--text-secondary);
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--dark-card);
  border: 1px solid var(--emerald-700);
  border-radius: 14px;
  padding: 2.5rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2rem;
  color: var(--emerald-400);
}

.modal h3 {
  margin-bottom: 0.75rem;
}

.modal p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* FAQ */
.faq-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-secondary);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-question::after {
  content: "+";
  color: var(--emerald-400);
  font-size: 1.5rem;
  transition: transform 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.85rem;
  }
  .nav-links a {
    font-size: 0.85rem;
  }
  .checkout-grid,
  .contact-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
