:root {
  --ctrl-color: #F7A41D;
  --sketch-color: #000000;
  --pro-color: #E84C88;
  --primary-bg: #151a21;
  --secondary-bg: #1e2630;
  --light-text: #f5f5f7;
  --accent: #3a7bec;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--primary-bg);
  color: var(--light-text);
  line-height: 1.6;
}

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

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--secondary-bg), var(--primary-bg));
  padding: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  text-decoration: none;
}

.logo span.ctrl {
  color: var(--ctrl-color);
}

.logo span.sketch {
  color: var(--light-text);
}

.logo span.pro {
  color: var(--pro-color);
  font-size: 1.4rem;
  vertical-align: super;
  font-weight: 700;
}

/* Main Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--ctrl-color);
}

.btn-cta {
  background: linear-gradient(135deg, var(--accent), var(--pro-color));
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(232, 76, 136, 0.3);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(232, 76, 136, 0.4);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Main Content */
main {
  margin-top: 90px; /* Account for fixed header */
  min-height: calc(100vh - 400px); /* Ensure footer stays at bottom */
}

/* Footer Styles */
footer {
  background-color: var(--primary-bg);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--light-text);
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(245, 245, 247, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--ctrl-color);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(245, 245, 247, 0.6);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.social-link:hover {
  background-color: var(--ctrl-color);
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .main-nav {
    width: 100%;
    margin-top: 1rem;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-toggle {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }
  
  .main-nav {
    display: none;
  }
  
  .main-nav.active {
    display: block;
  }
  
  /* Adjust main content margin for mobile */
  main {
    margin-top: 140px;
  }
}