/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-cyan: #00f2fe;
  --primary-pink: #fe0979;
  --accent-purple: #8e2de2;
  --grad-cyan-pink: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-pink) 100%);
  --grad-text: linear-gradient(to right, var(--primary-cyan), var(--primary-pink));
  
  /* Light Theme Defaults */
  --bg-color: #f8fafc;
  --bg-color-alt: #f1f5f9;
  --text-main: #0b0b0f;
  --text-muted: #64748b;
  --card-bg: rgba(255, 255, 255, 0.6);
  --card-border: rgba(0, 0, 0, 0.05);
  --nav-bg: rgba(248, 250, 252, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  --btn-text: #ffffff;
  --border-color: #e2e8f0;
}

[data-theme="dark"] {
  /* Dark Theme Overrides */
  --bg-color: #0b0b0f;
  --bg-color-alt: #13131a;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(11, 11, 15, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --btn-text: #ffffff;
  --border-color: #1e293b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--grad-cyan-pink);
  color: var(--btn-text);
  box-shadow: 0 4px 15px rgba(254, 9, 121, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 9, 121, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 1rem 0;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--grad-cyan-pink);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle, .lang-toggle {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover, .lang-toggle:hover {
  color: var(--primary-cyan);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 10px 40px rgba(0, 242, 254, 0.1);
}

/* Sections */
.section {
  padding: 6rem 0;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0,242,254,0.15) 0%, rgba(254,9,121,0.05) 50%, rgba(0,0,0,0) 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  padding: 0 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-desc {
  color: var(--text-muted);
}

/* Call to Action Section */
.cta-section {
  background: var(--grad-cyan-pink);
  padding: 5rem 0;
  text-align: center;
  color: white;
  position: relative;
  border-radius: 2rem;
  margin: 4rem 2rem;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-section .btn {
  background: white;
  color: var(--primary-pink);
}

.cta-section .btn:hover {
  background: var(--bg-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
  background: var(--bg-color-alt);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 300px;
}

.footer-title {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    transition: left 0.3s ease;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
    padding: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section {
    margin: 2rem 1rem;
    padding: 3rem 1rem;
  }
}

/* Language Popup */
.lang-popup {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--glass-shadow);
  z-index: 2000;
  max-width: 320px;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.5, 0, 0, 1);
}

.lang-popup.show {
  transform: translateY(0);
}

.lang-popup p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.lang-popup-btns {
  display: flex;
  gap: 0.5rem;
}

.lang-popup .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  flex: 1;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: center;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card.popular {
  transform: scale(1.05);
  border-color: var(--primary-pink);
  box-shadow: 0 0 30px rgba(254, 9, 121, 0.15);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--grad-cyan-pink);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--card-border);
}

.pricing-title {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 4rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.pricing-features i {
  color: var(--primary-cyan);
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  background: var(--card-bg);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.125rem;
  font-family: 'Outfit', sans-serif;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.faq-question i {
  color: var(--primary-cyan);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

/* --- Minecraft Hosting Cards --- */
.mc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; margin-bottom: 5rem; }

.mc-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1050px) {
  .mc-grid.three-col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .mc-grid.three-col { grid-template-columns: 1fr; }
}

.mc-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 1rem; overflow: hidden; position: relative; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
[data-theme="light"] .mc-card { background: #ffffff; border: none; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.mc-card.pro { background: #6a28d9; color: #ffffff; border: none; }
.mc-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.mc-card.pro:hover { box-shadow: 0 20px 40px rgba(106, 40, 217, 0.4); }
.mc-header { height: 140px; background-size: cover; background-position: center; position: relative; border-bottom: 6px solid #8b4513; }
.mc-card.pro .mc-header { border-bottom: 6px solid #d97706; }
.mc-badge { position: absolute; top: 10px; left: 10px; padding: 0.25rem 0.6rem; border-radius: 1rem; font-size: 0.70rem; font-weight: 700; display: flex; align-items: center; gap: 0.25rem; color: white; }
.mc-badge.yellow { background: #f59e0b; }
.mc-badge.red { background: #ef4444; }
.mc-ribbon { position: absolute; right: -10px; top: 110px; background: #7c3aed; color: white; padding: 0.35rem 1rem; border-radius: 1rem; font-weight: 700; font-size: 0.8rem; box-shadow: 0 4px 6px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 0.3rem; z-index: 10; }
.mc-ribbon i { font-size: 0.9rem; margin-right: 0.2rem; }
.mc-body { padding: 2rem 1.5rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.mc-plan-name { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--primary-cyan); margin-bottom: 0.25rem; letter-spacing: 0.5px; }
.mc-card.pro .mc-plan-name { color: #fdf4ff; }
.mc-price-old { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; margin-bottom: 0.25rem; }
.mc-card.pro .mc-price-old { color: rgba(255,255,255,0.6); }
.mc-price-new { font-size: 2rem; font-weight: 800; margin-bottom: 1.5rem; display: flex; align-items: baseline; gap: 0.25rem; }
.mc-price-new span { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
.mc-card.pro .mc-price-new span { color: rgba(255,255,255,0.8); }
.mc-features { list-style: none; padding: 0; margin: 0 0 1.5rem 0; flex: 1; }
.mc-features li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--text-main); line-height: 1.4; }
.mc-card.pro .mc-features li { color: rgba(255,255,255,0.9); }
.mc-features i.fa-circle-check { color: #8b5cf6; font-size: 1.1rem; margin-top: 0.1rem; }
.mc-card.pro .mc-features i.fa-circle-check { color: #ffffff; }
.mc-features i.fa-circle-info { color: var(--text-muted); font-size: 0.8rem; cursor: help; margin-left: auto; margin-top: 0.2rem; }
.mc-card.pro .mc-features i.fa-circle-info { color: rgba(255,255,255,0.5); }
.mc-btn { width: 100%; padding: 0.75rem; border-radius: 0.5rem; font-weight: 700; text-align: center; cursor: pointer; transition: all 0.2s ease; border: none; font-size: 0.95rem; font-family: 'Inter', sans-serif; display: block; text-decoration: none; }
.mc-btn.light { background: #f3e8ff; color: #6b21a8; }
.mc-btn.light:hover { background: #e9d5ff; }
[data-theme="dark"] .mc-btn.light { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; }
[data-theme="dark"] .mc-btn.light:hover { background: rgba(139, 92, 246, 0.3); }
.mc-btn.orange { background: #f59e0b; color: #ffffff; box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4); }
.mc-btn.orange:hover { background: #d97706; box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6); }
.mc-footer-info { padding: 1rem; text-align: center; font-size: 0.8rem; color: var(--text-muted); border-top: 1px solid var(--card-border); display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 500;}
.mc-card.pro .mc-footer-info { color: rgba(255,255,255,0.8); border-top: 1px solid rgba(255,255,255,0.1); }
[data-theme="light"] .mc-footer-info { border-top: 1px solid #f3f4f6; }
@media (max-width: 1200px) { .mc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .mc-grid { grid-template-columns: 1fr; gap: 2rem; } }
