@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Montserrat:wght@400;600;700&display=swap');

:root {
  /* Brand Colors */
  --primary: #7c5cff;
  --secondary: #4a9bff;
  --bg-dark: #0f1117;
  --text-muted: #a1a6b3;
  --text-light: #f5f6fa;
  
  /* Additional UI Colors */
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-light: rgba(255, 255, 255, 0.08);
  --glow-primary: rgba(124, 92, 255, 0.4);
  --glow-secondary: rgba(74, 155, 255, 0.4);

  /* Typography */
  --font-main: 'Montserrat', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --container-width: 1200px;
  --section-padding: 100px 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.font-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  font-size: 0.9em;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-main);
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  box-shadow: 0 4px 15px var(--glow-primary);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--glow-primary);
}

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

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Background Effects */
.bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-primary) 0%, rgba(15,17,23,0) 70%);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.bg-glow-top { top: -200px; left: -100px; }
.bg-glow-right { bottom: 10%; right: -200px; background: radial-gradient(circle, var(--glow-secondary) 0%, rgba(15,17,23,0) 70%); }

/* Navbar */
nav {
  position: fixed;
  top: 0; width: 100%;
  padding: 20px 0;
  z-index: 100;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 15px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}

.logo svg, .logo img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s ease;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--text-light);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
}

.hero-subtitle {
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* Services Section */
.services {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px 30px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(124, 92, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: rgba(124, 92, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.service-icon svg {
  width: 24px; height: 24px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Pricing Section */
.pricing {
  padding: var(--section-padding);
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(124, 92, 255, 0.15);
}

.pricing-card.popular::after {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-header {
  margin-bottom: 30px;
  text-align: center;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.pricing-card.popular .pricing-header h3 {
  color: var(--text-light);
}

.price {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.price span {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-light);
}

.pricing-features li svg {
  width: 20px;
  height: 20px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 20px;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.secret-link {
  color: rgba(161, 166, 179, 0.2);
  text-decoration: none;
  transition: all 0.3s;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.secret-link:hover {
  color: var(--secondary);
  text-shadow: 0 0 8px var(--glow-secondary);
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 3.5rem; }
  .pricing-card.popular { transform: none; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .nav-links { display: none; } /* Add hamburger menu later if needed */
  .footer-content { flex-direction: column; gap: 30px; }
  .hero-actions { flex-direction: column; }
}
