/* === VGARDE HOSTING — STYLESHEET === */

/* 1. Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* 2. Variables */
:root {
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --bg-alt2: #f3f4f6;
  --text: #111827;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --accent: #3b82f6;
  --accent-dark: #1d4ed8;
  --accent-bg: #eff6ff;
  --border: #e5e7eb;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --r: 8px;
  --r-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max: 1200px;
  --nav-h: 64px;
}

/* Dark theme */
[data-theme="dark"] {
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --bg-alt2: #334155;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --accent: #60a5fa;
  --accent-dark: #3b82f6;
  --accent-bg: rgba(96, 165, 250, 0.15);
  --border: #334155;
  --shadow: 0 1px 3px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,.3);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.35);
}

/* 3. Base */
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h3 { font-size: 1.25rem; }
p { color: var(--text-muted); }

/* 4. Layout */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* 5. Navigation */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
[data-theme="dark"] .nav {
  background: rgba(15, 23, 42, .96);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px;
}
.nav-logo { font-size: 1.375rem; font-weight: 800; color: var(--accent); letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }
.nav-extra { display: flex; align-items: center; gap: 8px; }
.btn-lang {
  padding: 4px 10px; border: 1.5px solid var(--border); border-radius: var(--r);
  font-size: 0.8rem; font-weight: 700; color: var(--text-muted); letter-spacing: .04em;
  background: transparent; cursor: pointer; transition: border-color .15s, color .15s;
}
.btn-lang:hover { border-color: var(--accent); color: var(--accent); }

/* 6. Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--r);
  font-size: 0.875rem; font-weight: 600; transition: all .15s; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent-bg); }
.btn-ghost { color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 12px 28px; font-size: 1rem; border-radius: var(--r-lg); }
.btn-sm { padding: 6px 14px; font-size: 0.8125rem; }
.btn-full { width: 100%; text-align: center; }

/* 7. Hero */
.hero {
  padding: 100px 0 80px; text-align: center;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: var(--accent-bg); color: var(--accent);
  font-size: 0.8125rem; font-weight: 600; border-radius: 999px; margin-bottom: 24px;
}
.hero-title { margin-bottom: 20px; letter-spacing: -1px; }
.hero-title .accent { color: var(--accent); }
.hero-sub { font-size: 1.125rem; color: var(--text-muted); max-width: 560px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex; gap: 48px; justify-content: center; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-value { display: block; font-size: 1.5rem; font-weight: 800; color: var(--text); }
.stat-label { font-size: 0.8125rem; color: var(--text-muted); font-weight: 500; }

/* 8. Section headers */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 520px; margin: 0 auto; }
.section-alt { background: var(--bg-alt); }

/* 9. Feature cards */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
}
.feature-icon {
  width: 44px; height: 44px; background: var(--accent-bg); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 16px;
}
.feature-card h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.875rem; }

/* 10. Product cards */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.product-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 32px;
  transition: border-color .2s, box-shadow .2s;
}
.product-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.product-card .icon { font-size: 2.25rem; margin-bottom: 16px; }
.product-card h3 { margin-bottom: 8px; }
.product-card > p { font-size: 0.9rem; margin-bottom: 20px; }
.product-card .from { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 4px; }
.product-card .price { font-size: 1.875rem; font-weight: 800; color: var(--text); margin-bottom: 20px; }
.product-card .price span { font-size: 0.875rem; font-weight: 400; color: var(--text-muted); }

/* 11. Game cards */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.game-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .2s;
}
.game-card:hover { box-shadow: var(--shadow-md); }
.game-header {
  padding: 20px 24px; background: var(--bg-alt);
  border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 14px;
}
.game-icon { font-size: 2rem; line-height: 1; }
.game-header-info h3 { margin: 0; font-size: 1rem; line-height: 1.3; }
.game-header-info small { color: var(--text-muted); font-size: 0.8rem; }
.game-plans { padding: 8px 24px; }
.game-plan {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.game-plan:last-child { border-bottom: none; }
.plan-name { font-size: 0.875rem; font-weight: 600; }
.plan-specs { font-size: 0.78rem; color: var(--text-muted); display: block; }
.plan-price { font-weight: 700; color: var(--accent); font-size: 0.9375rem; white-space: nowrap; }
.game-footer { padding: 14px 24px; border-top: 1px solid var(--border); }

/* 12. Pricing cards */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.pricing-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 28px; position: relative;
  transition: border-color .2s, box-shadow .2s;
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card.featured { border-color: var(--accent); }
.pricing-card .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.pricing-card .plan-title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 4px; }
.pricing-card .plan-price { font-size: 2.25rem; font-weight: 800; color: var(--text); margin: 14px 0 4px; }
.pricing-card .plan-price span { font-size: 0.875rem; font-weight: 400; color: var(--text-muted); }
.pricing-card .plan-desc { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.plan-features { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { font-size: 0.875rem; display: flex; align-items: center; gap: 8px; }
.plan-features li::before { content: '✓'; color: var(--success); font-weight: 800; flex-shrink: 0; }

/* 13. Showcase carousel — 3 front + faded depth sides */
.carousel-wrapper { position: relative; padding: 0 52px; }
.carousel-viewport {
  overflow: hidden;
  margin: 0 -40px;
  padding: 12px 40px 20px;
}
.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .5s, filter .35s;
  transform: scale(.86);
  opacity: .3;
  filter: blur(1px);
  pointer-events: none;
}
.carousel-slide.active {
  transform: scale(1);
  opacity: 1;
  filter: none;
  pointer-events: auto;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--bg);
  color: var(--text); font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); z-index: 2;
  transition: background .2s, border-color .2s, opacity .2s;
}
.carousel-btn:hover { border-color: var(--accent); background: var(--bg-alt); }
.carousel-btn:disabled { opacity: .25; cursor: default; }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }
@media (max-width: 900px) {
  .carousel-wrapper { padding: 0 42px; }
  .carousel-viewport { margin: 0 -30px; padding: 12px 30px 20px; }
  .carousel-slide { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 580px) {
  .carousel-wrapper { padding: 0 36px; }
  .carousel-viewport { margin: 0 -20px; padding: 8px 20px 16px; }
  .carousel-slide { flex: 0 0 85%; }
  .carousel-btn { width: 34px; height: 34px; font-size: 1.1rem; }
}

/* 14. Addons */
.addons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.addon-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r);
  padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.addon-info h4 { font-size: 0.9375rem; margin-bottom: 3px; }
.addon-info p { font-size: 0.8rem; }
.addon-price { font-weight: 800; color: var(--accent); font-size: 1.0625rem; white-space: nowrap; }

/* 14. Status page */
.status-overall {
  display: inline-flex; align-items: center; gap: 10px;
  background: #f0fdf4; border: 1.5px solid #86efac; color: #166534;
  padding: 12px 24px; border-radius: var(--r-lg); font-weight: 600;
}
[data-theme="dark"] .status-overall { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.3); color: #6ee7b7; }
[data-theme="dark"] .status-badge.ok { background: rgba(16, 185, 129, 0.1); color: #6ee7b7; }
[data-theme="dark"] .status-badge.warn { background: rgba(245, 158, 11, 0.1); color: #fbbf24; }
[data-theme="dark"] .status-badge.down { background: rgba(239, 68, 68, 0.1); color: #fca5a5; }
.status-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--success);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.status-grid { display: flex; flex-direction: column; gap: 10px; }
.status-group { margin-bottom: 32px; }
.status-group-title { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 12px; }
.status-item {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r);
  padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.status-item-info h4 { font-size: 0.9375rem; margin-bottom: 2px; }
.status-item-info p { font-size: 0.8125rem; }
.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8125rem; font-weight: 600; padding: 5px 12px; border-radius: 999px;
}
.status-badge.ok { background: #f0fdf4; color: #166534; }
.status-badge.warn { background: #fffbeb; color: #92400e; }
.status-badge.down { background: #fef2f2; color: #991b1b; }
.status-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.uptime-bar { height: 6px; background: var(--bg-alt2); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.uptime-fill { height: 100%; background: var(--success); border-radius: 999px; }

/* 15. Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { margin-bottom: 32px; }
.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.channel { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--bg-alt); border-radius: var(--r); border: 1px solid var(--border); }
.channel-icon { font-size: 1.375rem; flex-shrink: 0; }
.channel-label { font-size: 0.78rem; color: var(--text-muted); }
.channel-value { font-weight: 600; font-size: 0.9375rem; color: var(--text); }
.contact-form { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px; }
.contact-form h3 { margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--r); font: inherit; font-size: 0.9rem;
  color: var(--text); background: var(--bg); transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { resize: vertical; min-height: 120px; }

/* 16. Footer */
.footer { background: #111827; color: #9ca3af; padding: 60px 0 32px; }
[data-theme="dark"] .footer { background: #020617; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand > p { font-size: 0.875rem; margin-top: 12px; max-width: 260px; line-height: 1.6; }
.footer-logo { font-size: 1.5rem; font-weight: 800; color: #fff; }
.footer-col h4 { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #e5e7eb; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.875rem; color: #9ca3af; transition: color .15s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1f2937; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
[data-theme="dark"] .footer-bottom { border-top-color: #1e293b; }
.footer-bottom p { font-size: 0.8125rem; }
.footer-bottom a { color: #6b7280; transition: color .15s; }
.footer-bottom a:hover { color: #fff; }

/* 17. Page hero (inner pages) */
.page-hero { padding: 56px 0 48px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 12px; }
.page-hero p { font-size: 1.0625rem; max-width: 560px; }

/* 18. CTA section */
.cta-section { background: var(--accent); padding: 72px 0; text-align: center; }
.cta-section h2 { color: #fff; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,.8); font-size: 1.0625rem; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { background: #f0f9ff; }
.btn-white-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-white-outline:hover { background: rgba(255,255,255,.1); }

/* 19. Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th { text-align: left; padding: 12px 18px; font-size: 0.8125rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; background: var(--bg-alt); }
th:first-child { border-radius: var(--r-lg) 0 0 0; }
th:last-child { border-radius: 0 var(--r-lg) 0 0; }
td { padding: 12px 18px; border-top: 1px solid var(--border); }
tr:last-child td:first-child { border-radius: 0 0 0 var(--r-lg); }
tr:last-child td:last-child { border-radius: 0 0 var(--r-lg) 0; }
tr:hover td { background: var(--bg-alt); }
.price-cell { font-weight: 700; color: var(--accent); }

/* 20. Utilities */
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.tag-blue { background: var(--accent-bg); color: var(--accent); }
.tag-green { background: #f0fdf4; color: #166534; }
[data-theme="dark"] .tag-green { background: rgba(16, 185, 129, 0.1); color: #6ee7b7; }

/* Theme toggle */
.btn-theme {
  padding: 4px 8px; border: 1.5px solid var(--border); border-radius: var(--r);
  font-size: 1rem; background: transparent; cursor: pointer;
  transition: border-color .15s; line-height: 1;
}
.btn-theme:hover { border-color: var(--accent); }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

/* 21. Responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .nav-links, .nav-actions { display: none; }
  .nav-extra .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 16px 24px; gap: 16px; box-shadow: var(--shadow-md);
  }
  .nav-actions.open {
    display: flex; flex-direction: column;
    position: absolute; top: calc(var(--nav-h) + 200px); left: 0; right: 0;
    background: var(--bg); padding: 0 24px 20px; gap: 8px;
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: flex; }
  [data-theme="dark"] .nav-toggle span { background: var(--text); }
  .nav { position: relative; }
  .hero { padding: 64px 0 48px; }
  .hero-stats { gap: 24px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .games-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .addons-grid { grid-template-columns: 1fr; }
}

/* Legal pages */
.hero-sm { padding: 100px 0 40px; text-align: center; }
.hero-sm h1 { font-size: 2rem; margin-bottom: 8px; }
.hero-sm p { color: var(--text-muted); font-size: .9375rem; }
.legal-content { padding: 40px 0 80px; }
.legal-content h2 { font-size: 1.25rem; margin: 32px 0 12px; color: var(--text); }
.legal-content p { color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }
.legal-content ul { margin: 8px 0 16px 24px; list-style: disc; }
.legal-content li { color: var(--text-muted); line-height: 1.75; margin-bottom: 4px; }
.legal-content a { color: var(--accent); }
.legal-content a:hover { text-decoration: underline; }
.sla-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; }
.sla-table th, .sla-table td { padding: 10px 16px; text-align: left; border: 1px solid var(--border); }
.sla-table th { background: var(--bg-alt); font-weight: 600; color: var(--text); font-size: .875rem; }
.sla-table td { color: var(--text-muted); font-size: .875rem; }
@media (max-width: 580px) {
  .hero-sm { padding: 80px 0 30px; }
  .hero-sm h1 { font-size: 1.5rem; }
  .sla-table { font-size: .8125rem; }
  .sla-table th, .sla-table td { padding: 8px 10px; }
}
