/* VPS Page Styles */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --primary: #4E4FEA;
  --primary-light: #4E4FEB;
  --primary-dark: #213979;
  --gradient: linear-gradient(135deg, #4E4FEA 0%, #4E4FEB 50%, #213979 100%);
  --gradient-light: linear-gradient(135deg, rgba(78, 79, 234, 0.1) 0%, rgba(33, 57, 121, 0.1) 100%);
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --text: #1e293b;
  --text-secondary: #475569;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --text: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-light: #94a3b8;
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --border: #334155;
  --card-bg: #1e293b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* Top Bar */
.top-bar {
  background: var(--gradient);
  padding: 0.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.top-bar-left { display: flex; align-items: center; gap: 0.5rem; color: #fff; font-weight: 600; }
.top-bar-text-short { display: none; }
.top-bar-right { display: flex; gap: 2rem; }
.top-bar-right a { color: #fff; text-decoration: none; font-weight: 500; transition: opacity 0.3s; }
.top-bar-right a:hover { opacity: 0.85; }

/* Header */
header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img { height: 42px; }
[data-theme="dark"] .logo img { filter: brightness(0) invert(1); }
.nav-menu { display: flex; gap: 0; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s;
}
.nav-menu > li > a:hover { color: var(--primary); }
.nav-menu > li > a svg { width: 12px; height: 12px; transition: transform 0.3s; }
.nav-menu > li:hover > a svg { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-primary);
  min-width: 220px;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  padding: 0.5rem 0;
  z-index: 1000;
}
.nav-menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}
.dropdown a:hover { background: var(--gradient-light); color: var(--primary); padding-left: 1.5rem; }
.header-cta { display: flex; align-items: center; gap: 1.5rem; }
.header-phone { display: flex; align-items: center; gap: 0.5rem; color: var(--text-secondary); font-weight: 600; font-size: 0.95rem; }
.header-phone svg { color: var(--primary); }
.theme-toggle { background: var(--bg-alt); border: 1px solid var(--border); padding: 8px 12px; border-radius: 8px; cursor: pointer; font-size: 16px; transition: all 0.3s; }
.theme-toggle:hover { background: var(--border); }

/* Mobile Menu */
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; z-index: 1001; }
.mobile-menu-btn span { width: 25px; height: 3px; background: var(--text); border-radius: 3px; transition: all 0.3s; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
.mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg-primary); z-index: 999; padding: 100px 2rem 2rem; overflow-y: auto; }
.mobile-menu.active { display: block; }
.mobile-menu-nav { list-style: none; }
.mobile-menu-nav > li { border-bottom: 1px solid var(--border); }
.mobile-menu-nav > li > a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.mobile-menu-nav > li > a svg { width: 16px; height: 16px; transition: transform 0.3s; }
.mobile-menu-nav > li.open > a svg { transform: rotate(180deg); }
.mobile-dropdown { display: none; padding-bottom: 1rem; }
.mobile-menu-nav > li.open .mobile-dropdown { display: block; }
.mobile-dropdown a { display: block; padding: 0.75rem 1rem; color: var(--text-secondary); text-decoration: none; font-size: 1rem; border-left: 2px solid var(--border); margin-left: 0.5rem; }
.mobile-dropdown a:hover { color: var(--primary); border-left-color: var(--primary); }
.mobile-menu-cta { margin-top: 2rem; text-align: center; }
.mobile-menu-cta .btn { width: 100%; }

/* Hero Section */
.hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%); padding: 80px 0; position: relative; overflow: hidden; min-height: 600px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.floating-cube { position: absolute; width: 60px; height: 60px; border: 2px solid rgba(6, 182, 212, 0.3); border-radius: 12px; animation: float 6s ease-in-out infinite; }
.cube-1 { top: 20%; left: 10%; animation-delay: 0s; }
.cube-2 { top: 60%; right: 15%; animation-delay: 2s; width: 40px; height: 40px; }
.cube-3 { bottom: 20%; left: 30%; animation-delay: 4s; width: 80px; height: 80px; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(10deg); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px); background-size: 50px 50px; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-text { color: #fff; }
.badge { display: inline-block; background: linear-gradient(135deg, var(--primary), var(--accent)); padding: 8px 20px; border-radius: 30px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.2; margin-bottom: 25px; }
.gradient-text { background: linear-gradient(135deg, var(--accent), #22c55e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-features { list-style: none; margin-bottom: 30px; }
.hero-features li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; font-size: 16px; opacity: 0.9; }
.hero-features svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 14px rgba(78, 79, 234, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(78, 79, 234, 0.5); }
.btn-secondary { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--gradient-light); }

/* Server Rack Visual */
.hero-visual { position: relative; }
.server-rack { background: linear-gradient(180deg, #1e293b, #0f172a); border-radius: 16px; padding: 20px; border: 1px solid rgba(6, 182, 212, 0.3); box-shadow: 0 25px 50px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1); }
.server-unit { background: linear-gradient(90deg, #334155, #1e293b); border-radius: 8px; padding: 15px 20px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #475569; transition: all 0.3s; }
.server-unit:last-child { margin-bottom: 0; }
.server-unit.active { border-color: var(--accent); box-shadow: 0 0 20px rgba(6, 182, 212, 0.3); }
.server-lights { display: flex; gap: 8px; }
.light { width: 8px; height: 8px; border-radius: 50%; }
.light.green { background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.light.blue { background: #3b82f6; box-shadow: 0 0 10px #3b82f6; }
.light.orange { background: #f59e0b; box-shadow: 0 0 10px #f59e0b; }
.light.blink { animation: blink 1s infinite; }
.light.blink-slow { animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.server-slots { display: flex; gap: 4px; }
.server-slots span { width: 40px; height: 6px; background: #475569; border-radius: 2px; }
.server-label { font-size: 12px; color: var(--accent); font-family: monospace; font-weight: 600; }
.power-badge { position: absolute; top: 20px; right: -30px; background: linear-gradient(135deg, var(--primary), #7c3aed); padding: 20px; border-radius: 50%; width: 100px; height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; animation: pulse-badge 2s infinite; box-shadow: 0 10px 40px rgba(37, 99, 235, 0.5); }
@keyframes pulse-badge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.power-icon { font-size: 24px; }
.power-text { color: #fff; font-size: 12px; font-weight: 700; text-align: center; line-height: 1.2; }
.stats-floating { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--success), #059669); padding: 15px 30px; border-radius: 12px; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4); }
.stat-value { font-size: 24px; font-weight: 800; color: #fff; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.8); }

/* Packages Section */
.packages { padding: 80px 0; background: var(--bg-alt); }
.packages-turkey { background: var(--bg); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 36px; font-weight: 800; margin-bottom: 15px; color: var(--text); }
.section-header p { color: var(--text-light); font-size: 18px; }
.location-badge { display: inline-block; background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; padding: 8px 20px; border-radius: 30px; font-size: 14px; font-weight: 600; margin-bottom: 15px; }
.packages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

/* Package Card */
.package-card { background: var(--card-bg); border-radius: 16px; padding: 30px; border: 1px solid var(--border); transition: all 0.3s; position: relative; overflow: hidden; }
.package-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.package-card.out-of-stock { opacity: 0.6; }
.package-card.limited { border-color: var(--warning); }
.package-card.limited::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--warning), #fbbf24); }
.package-card.premium { border-color: var(--primary); }
.package-card.premium::before { background: linear-gradient(90deg, var(--primary), #7c3aed); }
.stock-badge { position: absolute; top: 15px; right: -35px; background: var(--warning); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 40px; transform: rotate(45deg); }
.package-header { margin-bottom: 25px; }
.price { font-size: 32px; font-weight: 800; color: var(--text); }
.price .decimal { font-size: 20px; }
.price .period { font-size: 14px; font-weight: 500; color: var(--text-light); }
.package-features { list-style: none; margin-bottom: 25px; }
.package-features li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); }
.package-features li:last-child { border-bottom: none; }
.package-features svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }
.btn-stock-out { width: 100%; padding: 14px; background: var(--bg-alt); color: var(--text-light); border: 1px solid var(--border); border-radius: 10px; font-weight: 600; cursor: not-allowed; }
.btn-buy { display: block; width: 100%; padding: 14px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; border-radius: 10px; font-weight: 600; text-align: center; transition: all 0.3s; }
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4); }
.limited-btn { background: linear-gradient(135deg, var(--warning), #f59e0b); }
.limited-btn:hover { box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4); }

/* Managed VPS Section */
.managed-vps { padding: 100px 0; background: linear-gradient(135deg, #f0f9ff, #e0f2fe); }
[data-theme="dark"] .managed-vps { background: linear-gradient(135deg, #0f172a, #1e293b); }
.managed-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.managed-text h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; color: var(--text); }
.managed-text p { color: var(--text-light); font-size: 16px; line-height: 1.8; }

/* Code Window */
.code-window { background: #1e293b; border-radius: 16px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.3); }
.window-header { background: #334155; padding: 12px 20px; display: flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }
.window-header .title { margin-left: 15px; color: #94a3b8; font-size: 13px; font-family: monospace; }
.window-body { padding: 20px; font-family: 'Fira Code', monospace; font-size: 14px; }
.code-line { margin-bottom: 8px; color: #e2e8f0; }
.prompt { color: #22c55e; }
.cmd { color: #60a5fa; }
.path { color: #f59e0b; }
.cursor { animation: cursor-blink 1s infinite; }
@keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.code-line.success { color: #22c55e; }
.htop-visual { margin-top: 15px; padding: 15px; background: #0f172a; border-radius: 8px; }
.htop-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.htop-bar:last-child { margin-bottom: 0; }
.htop-bar .label { width: 35px; color: #94a3b8; font-size: 12px; }
.htop-bar .bar { flex: 1; height: 12px; background: #334155; border-radius: 6px; overflow: hidden; }
.htop-bar .fill { height: 100%; border-radius: 6px; transition: width 1s ease; }
.cpu-anim { width: 25%; background: linear-gradient(90deg, #22c55e, #84cc16); animation: cpu-usage 3s infinite; }
.ram-anim { width: 40%; background: linear-gradient(90deg, #3b82f6, #8b5cf6); animation: ram-usage 4s infinite; }
.ssd-anim { width: 36%; background: linear-gradient(90deg, #f59e0b, #ef4444); }
@keyframes cpu-usage { 0%, 100% { width: 25%; } 50% { width: 35%; } }
@keyframes ram-usage { 0%, 100% { width: 40%; } 50% { width: 55%; } }
.htop-bar .value { width: 60px; color: #e2e8f0; font-size: 11px; text-align: right; }

/* Features Grid */
.features-section { padding: 80px 0; background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: var(--card-bg); border-radius: 16px; padding: 30px; border: 1px solid var(--border); transition: all 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: var(--primary); }
.feature-icon { width: 60px; height: 60px; background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1)); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-icon svg { width: 28px; height: 28px; color: var(--primary); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.feature-card p { color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* FAQ Section */
.faq-section { padding: 80px 0; background: var(--bg-alt); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--card-bg); border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.faq-question { width: 100%; padding: 20px; display: flex; justify-content: space-between; align-items: center; background: none; border: none; cursor: pointer; text-align: left; font-size: 15px; font-weight: 600; color: var(--text); transition: all 0.3s; }
.faq-question:hover { background: var(--bg-alt); }
.faq-question svg { width: 20px; height: 20px; color: var(--primary); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.active .faq-question svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 20px 20px; color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* CTA Section */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, var(--primary), #7c3aed); }
.cta-content { text-align: center; color: #fff; }
.cta-content h2 { font-size: 36px; font-weight: 800; margin-bottom: 15px; }
.cta-content p { opacity: 0.9; margin-bottom: 30px; font-size: 18px; }
.btn-cta { background: #fff; color: var(--primary); padding: 16px 40px; font-size: 16px; }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0,0,0,0.3); }

/* Footer */
footer {
  background: var(--text);
  color: #fff;
  padding: 4rem 2rem 2rem;
}
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 40px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 1rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--primary); }
.footer-column h4 { font-weight: 700; margin-bottom: 1.25rem; font-size: 1rem; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 0.75rem; }
.footer-column ul a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-column ul a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer-bottom-links { display: flex; gap: 2rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; }
.footer-bottom-links a:hover { color: #fff; }

/* WhatsApp Button */
.whatsapp-btn { position: fixed; bottom: 25px; left: 25px; width: 60px; height: 60px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); z-index: 1000; transition: all 0.3s; }
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6); }
.whatsapp-btn svg { width: 30px; height: 30px; color: #fff; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-content, .managed-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .nav-menu, .header-cta { display: none; }
  .mobile-menu-btn { display: flex; }
}

@media (max-width: 768px) {
  .top-bar { padding: 0.5rem 1rem; justify-content: center; }
  .top-bar-right { display: none; }
  .hero h1 { font-size: 32px; }
  .packages-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
  .power-badge { right: 10px; width: 80px; height: 80px; }
}

