:root {
  --primary: #9c27b0;
  --secondary: #3f51b5;
  --accent: #00bcd4;
  --background: #121212;
  --card-bg: #1e1e1e;
  --text-primary: #e0e0e0;
  --text-secondary: #9e9e9e;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(156, 39, 176, 0.2), rgba(0, 0, 0, 0) 70%),
             radial-gradient(circle at bottom left, rgba(63, 81, 181, 0.2), rgba(0, 0, 0, 0) 70%);
  z-index: -1;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
}

h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  border: none;
  box-shadow: 0 5px 15px rgba(156, 39, 176, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(156, 39, 176, 0.6);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--secondary);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--secondary);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Header */
header {
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-svg {
  height: 40px;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav ul li a {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

nav ul li a:hover:after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 25px;
  position: relative;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 3px;
  transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
}

.menu-toggle span:nth-child(3) {
  top: 20px;
}

.menu-toggle.active span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

/* Hero Section */
.hero {
  padding: 150px 0 80px;
  overflow: hidden;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  z-index: 2;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-svg {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 0 10px rgba(156, 39, 176, 0.3));
}

/* Discover Section */
.discover {
  padding: 80px 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}

/* Top Sites Section */
.top-sites {
  padding: 80px 0;
  background-color: rgba(30, 30, 30, 0.5);
}

.site-rankings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.site-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}

.site-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.rank {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
}

.rating {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.star {
  color: gold;
  font-size: 1.2rem;
  margin-right: 2px;
}

.star.half {
  position: relative;
  overflow: hidden;
  color: rgba(255, 215, 0, 0.5);
}

.star.half:before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: gold;
}

.star.empty {
  color: rgba(255, 215, 0, 0.2);
}

.rating-text {
  margin-left: 8px;
  font-weight: 600;
}

/* Create Section */
.create-section {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23121212"/><path d="M0 50 L50 0 L100 50 L50 100 Z" fill="%23222"/></svg>');
  background-size: cover;
  text-align: center;
}

.create-content {
  max-width: 700px;
  margin: 0 auto;
}

.features-list {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
}

.features-list li {
  background-color: var(--card-bg);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 500;
  border: 1px solid var(--primary);
}

/* Footer */
footer {
  background-color: rgba(18, 18, 18, 0.95);
  padding: 60px 0 30px;
  margin-top: 50px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-logo-svg {
  width: 180px;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-nav-column h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-nav-column h4:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient);
}

.footer-nav-column ul {
  list-style: none;
}

.footer-nav-column ul li {
  margin-bottom: 0.7rem;
}

.footer-nav-column ul li a {
  color: var(--text-secondary);
}

.footer-nav-column ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 0;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--card-bg);
    padding: 80px 20px 20px;
    transition: var(--transition);
    box-shadow: var(--shadow);
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .site-rankings {
    grid-template-columns: 1fr;
  }
  
  .site-card.featured {
    transform: none;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .features-list {
    flex-direction: column;
    gap: 0.7rem;
  }
}
