/* ==============================
   HomixVPN - Stile Premium e Moderno
=============================== */

:root {
  --primary: #00d2ff;
  --secondary: #3a7bd5;
  --bg-dark: #07090E;
  --text-main: #ffffff;
  --text-muted: #a0aec0;
  --card-bg: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Outfit', sans-serif;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================= Navbar ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-glass);
  transition: padding 0.3s;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links li a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ================= Buttons ================= */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.btn i {
  margin-right: 8px;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 210, 255, 0.4);
}

.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);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 210, 255, 0.2);
}

/* ================= Hero / Header ================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 5%;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50vh;
  height: 50vh;
  background: var(--secondary);
  filter: blur(150px);
  border-radius: 50%;
  opacity: 0.5;
  z-index: -1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.small-text {
  font-size: 0.85rem !important;
  color: #777 !important;
}

/* Glass UI Mockup for Hero */
.hero-graphic {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.gradient-sphere {
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  animation: pulse 6s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 0.8; }
}

.glass-mockup {
  position: relative;
  z-index: 1;
  width: 350px;
  height: 450px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mockup-header {
  background: rgba(0,0,0,0.2);
  padding: 15px;
  display: flex;
  gap: 8px;
}

.text-red { color: #ff5f56; font-size: 0.8rem; }
.text-yellow { color: #ffbd2e; font-size: 0.8rem; }
.text-green { color: #27c93f; font-size: 0.8rem; }

.mockup-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ================= Features ================= */
.features {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.01);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(0, 210, 255, 0.1);
}

.icon-box {
  width: 80px;
  height: 80px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--primary);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* ================= Download Section ================= */
.download-section {
  padding: 100px 0;
  position: relative;
}

.text-center { text-align: center; }

.download-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.download-card {
  background: var(--card-bg);
  border: 1px solid var(--border-glass);
  padding: 50px;
  border-radius: 20px;
  width: 350px;
  text-align: center;
}

.dl-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #fff;
}

.download-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.download-card p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* ================= Contact Section ================= */
.contact-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-glass);
}

.contact-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: center;
}

.contact-text {
  flex: 1;
}

.contact-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.2rem;
}

.contact-info i {
  color: var(--primary);
  font-size: 1.5rem;
}

.contact-form-box {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--border-glass);
  padding: 40px;
  border-radius: 20px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group input, 
.input-group textarea {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border-glass);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.input-group input:focus, 
.input-group textarea:focus {
  border-color: var(--primary);
}

/* ================= Privacy Page Specifics ================= */
.privacy-section {
  padding-bottom: 100px;
}
.page-title {
  font-size: 3rem;
  margin-bottom: 10px;
}
.subtitle {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 40px;
}
.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  color: #fff;
}
.legal-content p {
  color: var(--text-muted);
  margin-bottom: 15px;
}
.legal-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 10px;
}
.legal-content strong {
  color: #fff;
}

/* ================= Footer ================= */
footer {
  padding: 50px 0 20px;
  border-top: 1px solid var(--border-glass);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo p {
  color: var(--text-muted);
  margin-top: 10px;
}

.footer-links h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links li a:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  color: #555;
  font-size: 0.9rem;
}

/* ================= Animations ================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= Responsive ================= */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }
  
  .hero-graphic { margin-top: 50px; }
  
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .grid-3 { grid-template-columns: 1fr; }
  
  .contact-wrapper {
    flex-direction: column;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(7, 9, 14, 0.95);
    padding: 20px 0;
    text-align: center;
  }

  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
}
