/*
Theme Name: KOAXON VPN
Theme URI: https://vpn.koaxon.com
Author: KOAXON
Author URI: https://koaxon.com
Description: Official KOAXON VPN Website Theme - Dark & Gold
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: koaxon-vpn
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;
  --gold: #FFD700;
  --gold-dim: rgba(255, 215, 0, 0.15);
  --gold-border: rgba(255, 215, 0, 0.3);
  --white: #ffffff;
  --white-70: rgba(255,255,255,0.7);
  --white-40: rgba(255,255,255,0.4);
  --white-10: rgba(255,255,255,0.1);
  --green: #00ff88;
  --font-main: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 14px;
  --transition: all 0.3s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-primary);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: #fff; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

p { color: var(--white-70); margin-bottom: 1rem; }

/* =============================================
   GOOGLE FONTS IMPORT
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 40px 0; }

/* =============================================
   HEADER / NAV
   ============================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--white-10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}

.site-logo span { color: var(--white-40); font-size: 11px; display: block; letter-spacing: 3px; font-weight: 400; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  color: var(--white-70);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.nav-menu a:hover { color: var(--gold); }

.nav-download-btn {
  background: var(--gold) !important;
  color: #000 !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 1px;
}

.nav-download-btn:hover { background: #fff !important; color: #000 !important; }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,215,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,215,0,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,215,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title .gold { color: var(--gold); }

.hero-desc {
  font-size: 18px;
  color: var(--white-70);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #000;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.btn-primary:hover { background: #fff; color: #000; transform: translateY(-2px); box-shadow: 0 20px 40px rgba(255,215,0,0.25); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--white-10);
  transition: var(--transition);
}

.btn-secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat { display: flex; flex-direction: column; }
.hero-stat .number { font-size: 28px; font-weight: 700; color: var(--gold); font-family: var(--font-mono); }
.hero-stat .label { font-size: 12px; color: var(--white-40); letter-spacing: 1px; text-transform: uppercase; }

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
  padding: 20px 0;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--white-70);
  font-weight: 500;
}

.trust-item .icon { color: var(--gold); font-size: 18px; }

/* =============================================
   FEATURES SECTION
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--gold-border);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--white); }
.feature-card p { font-size: 14px; color: var(--white-70); line-height: 1.6; margin: 0; }

/* =============================================
   SECTION TITLES
   ============================================= */
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-title .gold { color: var(--gold); }

.section-subtitle {
  font-size: 16px;
  color: var(--white-70);
  max-width: 560px;
}

.section-header { margin-bottom: 12px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.step-card:hover { border-color: var(--gold-border); transform: translateY(-4px); }

.step-number {
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 20px;
  font-family: var(--font-mono);
}

.step-card h3 { font-size: 16px; margin-bottom: 10px; }
.step-card p { font-size: 13px; color: var(--white-40); margin: 0; }

/* =============================================
   DOWNLOAD CTA SECTION
   ============================================= */
.cta-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
  text-align: center;
  padding: 80px 0;
}

.cta-section .section-title { margin-bottom: 16px; }
.cta-section .section-subtitle { margin: 0 auto 40px; }

.cta-badge {
  display: inline-block;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-list { margin-top: 48px; max-width: 800px; margin-left: auto; margin-right: auto; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open { border-color: var(--gold-border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
}

.faq-question:hover { color: var(--gold); }

.faq-toggle {
  width: 28px;
  height: 28px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--gold); color: #000; }

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--white-70);
  line-height: 1.7;
}

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

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--white-10);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--white-40); max-width: 280px; }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-40);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--white-70); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--white-10);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 13px; color: var(--white-40); margin: 0; }

/* =============================================
   BLOG / POSTS
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.post-card:hover { border-color: var(--gold-border); transform: translateY(-4px); }

.post-card-body { padding: 24px; }
.post-card-cat { font-size: 11px; color: var(--gold); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.post-card-title { font-size: 18px; margin-bottom: 12px; line-height: 1.3; }
.post-card-title a { color: var(--white); }
.post-card-title a:hover { color: var(--gold); }
.post-card-excerpt { font-size: 14px; color: var(--white-40); line-height: 1.6; margin-bottom: 20px; }
.post-card-meta { font-size: 12px; color: var(--white-40); display: flex; gap: 16px; }

/* =============================================
   SINGLE POST / PAGE
   ============================================= */
.page-hero {
  padding: 120px 0 60px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--white-10);
}

.page-hero .page-cat {
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.page-hero h1 { font-size: clamp(28px, 5vw, 52px); max-width: 800px; }
.page-hero p { font-size: 18px; color: var(--white-70); max-width: 640px; margin-top: 16px; }

.content-area {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.content-area h2 { font-size: 24px; color: var(--gold); margin: 40px 0 16px; }
.content-area h3 { font-size: 18px; color: var(--white); margin: 28px 0 12px; }
.content-area p { font-size: 16px; color: var(--white-70); line-height: 1.8; margin-bottom: 20px; }
.content-area ul, .content-area ol { padding-left: 24px; margin-bottom: 20px; }
.content-area li { color: var(--white-70); font-size: 16px; line-height: 1.8; margin-bottom: 8px; }
.content-area a { color: var(--gold); border-bottom: 1px solid var(--gold-border); }
.content-area a:hover { color: #fff; }
.content-area strong { color: var(--white); }

/* =============================================
   DOWNLOAD BANNER (inline)
   ============================================= */
.download-banner {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.download-banner p { color: var(--white); font-weight: 600; margin: 0; font-size: 16px; }
.download-banner span { font-size: 13px; color: var(--white-40); display: block; font-weight: 400; }

/* =============================================
   SIDEBAR DOWNLOAD WIDGET
   ============================================= */
.sidebar-download {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  position: sticky;
  top: 90px;
}

.sidebar-download h3 { font-size: 16px; margin-bottom: 8px; }
.sidebar-download p { font-size: 13px; color: var(--white-40); margin-bottom: 20px; }
.sidebar-download .btn-primary { width: 100%; justify-content: center; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-menu-toggle { display: flex; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: rgba(0,0,0,0.97); padding: 24px; border-bottom: 1px solid var(--white-10); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-buttons { flex-direction: column; }
  .hero-stats { gap: 24px; }
  .trust-items { gap: 24px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
