:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;

  --primary: #3974ff;
  --primary-hover: #2b5fe8;
  --primary-light: rgba(57, 116, 255, 0.15);

  --success: #16a34a;
  --success-light: rgba(22, 163, 74, 0.15);

  --danger: #ef4444;
  --danger-hover: #dc2626;

  --warning: #f59e0b;
  --warning-light: rgba(245, 158, 11, 0.15);

  --violet: #8b5cf6;
  --violet-light: rgba(139, 92, 246, 0.15);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;

  --border: rgba(255, 255, 255, 0.05);

  --font-family: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography & Utility Classes */
.text-primary {
  color: var(--primary);
}

.text-success {
  color: var(--success);
}

.text-danger {
  color: var(--danger);
}

.text-muted {
  color: var(--text-muted);
}

.bg-primary-light {
  background: var(--primary-light);
  color: var(--primary);
}

.bg-success-light {
  background: var(--success-light);
  color: var(--success);
}

.bg-warning-light {
  background: var(--warning-light);
  color: var(--warning);
}

.bg-violet-light {
  background: var(--violet-light);
  color: var(--violet);
}

.text-gradient {
  background: linear-gradient(90deg, #3974ff, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Background Elements */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.15;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -100px;
  left: -100px;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: var(--violet);
  bottom: 20%;
  right: -200px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: white;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  background: var(--danger-hover);
}

.btn-glow {
  box-shadow: 0 0 20px rgba(57, 116, 255, 0.4);
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(57, 116, 255, 0.6);
}

.btn-block {
  width: 100%;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.85);
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.stats-row {
  display: flex;
  gap: 30px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Mockup UI */
.mockup-container {
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
  animation: float 6s ease-in-out infinite;
}

.mockup-container:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  height: 35px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  padding: 0 15px;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.control {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.close {
  background: #ff5f56;
}

.min {
  background: #ffbd2e;
}

.max {
  background: #27c93f;
}

.mockup-title {
  margin-left: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
}

.mockup-body {
  display: flex;
  height: 380px;
}

.mockup-sidebar {
  width: 140px;
  background: rgba(15, 23, 42, 0.5);
  padding: 15px 10px;
  border-right: 1px solid var(--border);
}

.mockup-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.avatar {
  width: 30px;
  height: 30px;
  background: var(--primary);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-info .name {
  font-size: 0.75rem;
  font-weight: bold;
}

.user-info .role {
  font-size: 0.6rem;
  color: var(--primary);
}

.menu-item {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-item.active {
  background: var(--primary);
  color: white;
}

.mockup-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  background: var(--bg-tertiary);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
}

.logs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  height: 100%;
}

.log-card {
  background: var(--bg-tertiary);
  border-radius: 8px;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.log-card h4 {
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.log-live h4 {
  color: var(--success);
}

.log-dead h4 {
  color: var(--danger);
}

.log-entries {
  background: var(--bg-primary);
  border-radius: 6px;
  flex: 1;
  padding: 10px;
  font-family: monospace;
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.entry.success {
  color: var(--success);
}

.entry.error {
  color: var(--danger);
}

.entry.typing {
  color: var(--text-muted);
  animation: blink 1.5s infinite;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Features */
.features {
  padding: 100px 0;
  position: relative;
}

/* Gates Section */
.gates {
  padding: 100px 0;
  background: rgba(30, 41, 59, 0.3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.gates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gate-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 30px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.gate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.gate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.gate-violet::before {
  background: var(--violet);
}

.gate-red::before {
  background: var(--danger);
}

.gate-blue::before {
  background: var(--primary);
}

.gate-violet:hover {
  border-color: rgba(139, 92, 246, 0.4);
}

.gate-red:hover {
  border-color: rgba(239, 68, 68, 0.4);
}

.gate-blue:hover {
  border-color: rgba(57, 116, 255, 0.4);
}

.gate-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.gate-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.gate-violet .gate-icon {
  background: var(--violet-light);
  color: var(--violet);
}

.gate-red .gate-icon {
  background: var(--danger-light, rgba(239, 68, 68, 0.15));
  color: var(--danger);
}

.gate-blue .gate-icon {
  background: var(--primary-light);
  color: var(--primary);
}

.gate-header h3 {
  font-size: 1.4rem;
}

.gate-content p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

.gate-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gate-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.text-violet {
  color: var(--violet);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(57, 116, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Tools Section */
.tools {
  padding: 100px 0;
}

.tools-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.glass-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 20px;
}

.tool-preview h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.cleaner-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cleaner-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-primary);
  padding: 15px;
  border-radius: 8px;
  font-weight: 500;
}

.mt-4 {
  margin-top: 25px;
}

.tools-content h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.tools-content>p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.tool-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.tool-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.tool-details h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.tool-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(30, 41, 59, 0.3) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.price-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 30px;
  position: relative;
  transition: all 0.3s ease;
}

.price-card:hover {
  transform: translateY(-5px);
}

.popular {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(57, 116, 255, 0.15);
  transform: scale(1.05);
}

.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.price-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.price-header h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.price {
  font-size: 1rem;
  color: var(--text-muted);
}

.price span {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.price-features {
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.price-features i.fa-check {
  color: var(--success);
}

.redeem-box {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  border: 1px solid var(--primary-light);
}

.redeem-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.redeem-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.input-group {
  position: relative;
  display: flex;
  gap: 15px;
}

.input-group .icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.input-group input {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  padding: 15px 20px 15px 50px;
  border-radius: 8px;
  color: var(--text-main);
  font-family: monospace;
  font-size: 1.1rem;
  outline: none;
}

/* Footer */
footer {
  background: var(--bg-secondary);
  padding: 80px 0 20px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  margin: 15px 0 25px;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.link-column h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.link-column a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.link-column a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

@keyframes float {
  0% {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(0px);
  }

  50% {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(-20px);
  }

  100% {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(0px);
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    margin: 0 auto 35px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .stats-row {
    justify-content: center;
  }

  .tools-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .gates-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .tool-item {
    text-align: left;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 60px;
  }

  .popular {
    transform: scale(1);
  }

  .popular:hover {
    transform: translateY(-5px);
  }

  .redeem-box {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 15px auto 25px;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .stats-row {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .mockup-container {
    transform: none;
    animation: none;
    margin-top: 30px;
  }

  .mockup-container:hover {
    transform: none;
  }

  .mockup-body {
    flex-direction: column;
    height: auto;
  }

  .mockup-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
  }

  .mockup-user {
    margin-bottom: 0;
  }

  .mockup-menu {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .menu-item {
    margin-bottom: 0;
    white-space: nowrap;
  }

  .logs-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .features,
  .gates,
  .tools,
  .pricing {
    padding: 60px 0;
  }

  .glass-card {
    padding: 25px 20px;
  }

  .tools-wrapper {
    gap: 40px;
  }

  .tools-content h2 {
    font-size: 1.8rem;
  }

  .redeem-box {
    padding: 25px 20px;
  }

  .input-group {
    flex-direction: column;
  }

  .input-group input {
    padding: 15px;
    text-align: center;
  }

  .input-group .icon {
    display: none;
  }

  .input-group .btn {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .badge-new {
    font-size: 0.75rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .price span {
    font-size: 2rem;
  }
}