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

:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-glow: rgba(59, 130, 246, 0.5);
  
  --gradient-main: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  --gradient-text: linear-gradient(to right, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
  --gradient-bg: linear-gradient(120deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  font-family: 'Inter', sans-serif;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

ul {
  list-style: none;
}

.text-gradient {
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.title-glow {
  text-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Sections */
section {
  padding: 8rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

/* Advanced Glassmorphism */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.glass-panel:hover::before {
  left: 150%;
}

.glass-panel:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 92, 246, 0.1);
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition-normal);
}

header.scrolled {
  padding: 1rem 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

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

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

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: var(--transition-normal);
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--accent-blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
  z-index: -1;
  transition: opacity 0.4s;
  opacity: 0;
}

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

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-blue);
  color: white;
}

.btn-outline:hover {
  background: rgba(59, 130, 246, 0.15);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3) inset;
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: 
    radial-gradient(circle at 15% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 40%);
  animation: bgPulse 10s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

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

.hero .badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  margin-bottom: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  animation: float 4s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  padding: 0 10%;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Floating Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

.floating-delay {
  animation: float 6s ease-in-out infinite 3s;
}

/* Stats Section */
.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 4rem 2rem;
  background: rgba(255,255,255,0.02);
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number span {
  font-size: 2rem;
  margin-left: 5px;
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Enhanced Grid Layouts */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: var(--glass-bg);
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Workflow Section */
.workflow-step {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.workflow-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  font-size: 5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.05);
  line-height: 1;
}

.step-content h3 {
  font-size: 2rem;
}

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

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active, .reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Footer */
footer {
  background: var(--bg-secondary);
  padding: 6rem 0 2rem;
  border-top: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

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

.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

/* Responsive */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 3rem;
  }
  .workflow-step, .workflow-step:nth-child(even) {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: all 0.4s ease-in-out;
  }
  
  .nav-links.show {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .menu-toggle {
    display: block;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  }
  
  .hero-btns {
    flex-direction: column;
  }
}
