/* ----------------------------------------------------
   SEO & Ad Software - Premium Dark Theme
   ---------------------------------------------------- */

:root {
  /* Color Palette - Cyberpunk/Deep Dark Tech Theme */
  --bg-dark: #0a0f1a;
  --bg-glass: rgba(20, 25, 40, 0.6);
  --bg-glass-hover: rgba(30, 35, 55, 0.8);
  
  --primary-color: #6366f1; /* Vibrant Indigo */
  --primary-hover: #4f46e5;
  --secondary-color: #8b5cf6; /* Vibrant Purple */
  --accent-color: #06b6d4; /* Cyan */
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  
  --border-glass: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-family: 'Outfit', sans-serif;
  
  /* Utilities */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius-md: 12px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.w-full {
  width: 100%;
}

/* Typography Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* UI Components */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

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

.btn-outline:hover {
  background: var(--bg-glass);
  border-color: var(--accent-color);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

/* Header & Nav */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}

.main-header.scrolled {
  padding: 15px 0;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-glass);
}

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.desktop-nav .nav-links a:not(.btn) {
  font-weight: 500;
  color: var(--text-muted);
}

.desktop-nav .nav-links a:not(.btn):hover {
  color: var(--text-main);
}

/* Mobile Nav Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
}

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

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

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

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-nav-links a {
  font-size: 1.5rem;
  font-weight: 600;
}

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

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: float 10s infinite ease-in-out alternate;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-color);
  top: -100px;
  right: -100px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-color);
  bottom: -50px;
  left: -100px;
  animation-delay: -5s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

@keyframes float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(30px, 50px); }
}

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

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

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Hero Visual Mockup */
.visual-card {
  padding: 1.5rem;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
}

.visual-header {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.code-line {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  margin-bottom: 10px;
}

.w-80 { width: 80%; }
.w-60 { width: 60%; }
.w-90 { width: 90%; }

.chart-mockup {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  height: 100px;
  margin-top: auto;
  padding-top: 20px;
  border-bottom: 1px solid var(--border-glass);
}

.bar {
  flex: 1;
  background: var(--bg-glass-hover);
  border-radius: 4px 4px 0 0;
  animation: growUp 1.5s ease-out forwards;
  transform-origin: bottom;
}

.bar.highlight {
  background: linear-gradient(to top, var(--primary-color), var(--accent-color));
}

.h-40 { height: 40%; }
.h-60 { height: 60%; }
.h-90 { height: 90%; }
.h-70 { height: 70%; }
.h-100 { height: 100%; }

@keyframes growUp {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

/* Sections General */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

/* Services */
.services-section {
  position: relative;
}

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

.service-card {
  padding: 2.5rem 2rem;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  background: var(--bg-glass-hover);
  border-color: rgba(99, 102, 241, 0.3);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
}

/* About / Stats */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-list {
  margin-top: 2rem;
}

.feature-list li {
  margin-bottom: 0.8rem;
  font-weight: 500;
  color: var(--text-main);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  overflow: hidden;
}

.contact-info {
  padding: 4rem;
  background: rgba(0,0,0,0.2);
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-form-container {
  padding: 4rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
}

/* Footer */
.main-footer {
  border-top: 1px solid var(--border-glass);
  padding-top: 60px;
  margin-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 40px;
}

.footer-description {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 400px;
}

.footer-links-group h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

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

.footer-links-group ul li a {
  color: var(--text-muted);
}

.footer-links-group ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding: 20px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations (Intersection Observer) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .hero-container, .about-grid, .contact-wrapper, .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .hero-title { font-size: 2.5rem; }
  .contact-info, .contact-form-container { padding: 2rem; }
}
