/* Premium SaaS / AI Agency style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;700;800&display=swap');

:root {
  /* Using a deep dark theme for ultimate premium tech feel */
  --bg-color: #050814;
  --bg-secondary: #0A0F24;
  --bg-glass: rgba(15, 23, 42, 0.6);
  --border-glass: rgba(255, 255, 255, 0.08);
  
  --primary: #3b82f6;
  --primary-light: #60a5fa;
  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  
  --text-main: #f1f5f9;
  --text-light: #94a3b8;
  --text-muted: #64748b;
  
  --gradient-text: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  --gradient-bg: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
  --gradient-glow: linear-gradient(135deg, rgba(59,130,246,0.5), rgba(139,92,246,0.5));
  
  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.2);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --radius: 16px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrollbar formatting */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.7;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 50% -20%, rgba(59, 130, 246, 0.15), transparent 60%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary-light); }
.text-light { color: var(--text-light); }
.mt-4 { margin-top: 1.5rem; }
.mt-2 { margin-top: 0.75rem; }
.mb-4 { margin-bottom: 1.5rem; }
.py-section { padding: 6rem 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  border-radius: 30px;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--gradient-bg);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid var(--border-glass);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-light);
  transform: translateY(-3px);
}

/* Navbar */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background-color: transparent;
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
}

.header.scrolled {
  background-color: rgba(5, 8, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.5rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
}

.logo-icon { color: var(--primary-light); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 2rem;
  border-radius: 40px;
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.nav-links a {
  font-weight: 500;
  color: var(--text-light);
  font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
  color: white;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

/* Background Effects */
.bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--gradient-glow);
  filter: blur(120px);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
}

/* Glass Card */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5), 0 0 20px rgba(96, 165, 250, 0.1);
  background: rgba(30, 41, 59, 0.6);
}

/* Core Layouts */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Grids */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.icon-wrapper-glass {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  color: white;
}

.glass-card:hover .icon-wrapper-glass {
  background: var(--gradient-bg);
  border-color: transparent;
  transform: scale(1.1) rotate(5deg);
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Page Headers */
.page-header {
  padding: 8rem 0 4rem;
  position: relative;
  border-bottom: 1px solid var(--border-glass);
}

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-light);
}
.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: white;
  font-family: inherit;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}
textarea.form-control { resize: vertical; min-height: 150px; }

/* Legal Content */
.legal-content {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 4rem;
  max-width: 900px;
  margin: 0 auto;
}
.legal-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.75rem; color: white;}
.legal-content p { color: var(--text-light); margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; color: var(--text-light); margin-bottom: 1.5rem; }
.legal-content ul li { margin-bottom: 0.5rem; list-style-type: disc; }

/* Footer */
.footer {
  border-top: 1px solid var(--border-glass);
  padding: 6rem 0 2rem;
  position: relative;
  background: var(--bg-secondary);
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
}
.footer-links h4, .footer-legal h4 { color: white; margin-bottom: 1.5rem; font-size: 1.25rem;}
.footer-links ul li, .footer-legal ul li { margin-bottom: 1rem; }
.footer-links a, .footer-legal a { color: var(--text-muted); }
.footer-links a:hover, .footer-legal a:hover { color: var(--primary-light); }

.border-top { border-top: 1px solid var(--border-glass); padding-top: 2rem; }

/* Scroll Reveals */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Mobile Menu */
.mobile-active {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 70px; left: 1rem; right: 1rem;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

@media (max-width: 992px) {
  .hero-content h1 { font-size: 3.5rem; }
  .two-col-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-content h1 { font-size: 2.75rem; }
  .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .legal-content { padding: 2rem; }
}
