:root {
  --bg-color: #030305;
  --surface: rgba(25, 25, 35, 0.4);
  --surface-hover: rgba(40, 40, 55, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --primary: #4f46e5;
  --primary-glow: rgba(79, 70, 229, 0.4);
  --secondary: #06b6d4;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.3);
  --font-family: 'Cairo', sans-serif;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); background-color: var(--bg-color); color: var(--text-main); min-height: 100vh; overflow-x: hidden; position: relative; line-height: 1.6; }

body::before { content: ''; position: fixed; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 50px 50px; z-index: -2; pointer-events: none; }
body::after { content: ''; position: fixed; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.15), transparent 40%), radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1), transparent 30%); z-index: -3; animation: rotateGlow 30s linear infinite; pointer-events: none; }
@keyframes rotateGlow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Header & Nav */
header { position: fixed; top: 0; width: 100%; padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; background: rgba(3, 3, 5, 0.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); z-index: 1000; transition: var(--transition); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon { width: 45px; height: 45px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 0 20px var(--primary-glow); }
.logo-title { font-weight: 900; font-size: 1.1rem; color: var(--text-main); line-height: 1.2; display: block;}
.logo-subtitle { font-size: 0.8rem; color: var(--secondary); font-weight: 700; display: block;}

.nav-menu { display: flex; gap: 1rem; align-items: center; }
.nav-menu a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 600; padding: 8px 14px; border-radius: 8px; transition: var(--transition); }
.nav-menu a:hover, .nav-menu a.active { color: var(--text-main); background: var(--surface); border: 1px solid var(--border); }

/* Buttons */
.btn { position: relative; padding: 16px 32px; border-radius: 12px; font-family: inherit; font-size: 1.1rem; font-weight: 700; text-decoration: none; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: var(--transition); z-index: 1; border: none; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; box-shadow: 0 10px 25px var(--primary-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px var(--primary-glow); }
.btn-outline { background: var(--surface); border: 1px solid var(--border); color: var(--text-main); }
.btn-outline:hover { background: var(--surface-hover); border-color: var(--text-muted); transform: translateY(-3px); }

/* Typography */
.gradient-text { background: linear-gradient(to right, #60a5fa, #c084fc, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.hero { padding: 180px 5% 80px; text-align: center; max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 900; line-height: 1.3; margin-bottom: 1.5rem; }
.hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-muted); margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* SEO Article Section */
.seo-section { max-width: 900px; margin: 2rem auto; padding: 40px 5%; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; }
.seo-section h2 { color: var(--text-main); font-size: 1.8rem; font-weight: 800; margin-bottom: 1.5rem; }
.seo-section h3 { color: var(--secondary); font-size: 1.3rem; font-weight: 700; margin: 2rem 0 1rem; }
.seo-section p { color: var(--text-muted); margin-bottom: 1rem; text-align: justify; font-size: 1.05rem; line-height: 2; }
.internal-links { margin-top: 2rem; padding: 1.5rem; background: rgba(0,0,0,0.3); border-radius: 12px; border-right: 4px solid var(--primary); }
.internal-links h4 { margin-bottom: 1rem; color: var(--text-main); }
.internal-links ul { list-style: none; padding-right: 10px; }
.internal-links li { margin-bottom: 10px; }
.internal-links a { color: var(--secondary); text-decoration: none; font-weight: 600; transition: var(--transition); }
.internal-links a:hover { color: #fff; margin-right: 5px; }

/* Servers Grid */
.section-container { padding: 60px 5%; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2.2rem; font-weight: 800; margin-bottom: 2rem; text-align: center; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.glass-card { background: var(--surface); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 24px; padding: 30px; transition: var(--transition); display: flex; flex-direction: column; }
.glass-card:hover { transform: translateY(-8px); border-color: var(--secondary); box-shadow: 0 15px 40px rgba(0,0,0,0.4); background: var(--surface-hover); }
.proxy-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem;}
.proxy-flag { font-size: 2rem; }
.proxy-ip { font-family: monospace; color: var(--secondary); font-size: 1.1rem; background: rgba(0,0,0,0.3); padding: 10px; border-radius: 8px; text-align: center; margin: 15px 0; }
.card-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.card-desc { color: var(--text-muted); margin-bottom: 1rem; flex-grow: 1; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1rem 1.5rem; cursor: pointer; }
summary { font-size: 1.1rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--secondary); font-size: 1.5rem; }
details[open] summary::after { content: '-'; }
.faq-answer { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--text-muted); line-height: 1.8; }

footer { text-align: center; padding: 40px; border-top: 1px solid var(--border); margin-top: 40px; background: rgba(0,0,0,0.5); color: var(--text-muted); }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Mobile Menu */
@media (max-width: 768px) {
  .nav-menu { display: none; /* Can be enhanced with JS for mobile toggle */ }
  .hero h1 { font-size: 2rem; }
  .btn { width: 100%; }
}
