:root {
  --bg: #0b1220;
  --bg2: #0f1a2f;
  --card: rgba(255, 255, 255, .06);
  --card2: rgba(255, 255, 255, .08);
  --border: rgba(255, 255, 255, .10);
  --text: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .65);

  --primary: #6ee7ff;
  --primary2: #a78bfa;
  --danger: #ff6b6b;
  --ok: #34d399;

  --shadow: 0 20px 50px rgba(0, 0, 0, .35);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 20% 10%, rgba(110, 231, 255, .20), transparent 60%),
    radial-gradient(900px 650px at 90% 20%, rgba(167, 139, 250, .18), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  background-attachment: fixed;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(11, 18, 32, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  box-shadow: 0 0 20px rgba(110, 231, 255, .5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.brand .logo-text {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.brand .logo-text span {
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .05);
}

.nav a.active {
  color: var(--text);
  background: linear-gradient(90deg, rgba(110, 231, 255, .18), rgba(167, 139, 250, .18));
  border-color: rgba(255, 255, 255, .12);
}

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

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(110, 231, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 .gradient {
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 15px;
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

.btn.primary {
  border-color: rgba(110, 231, 255, .30);
  background: linear-gradient(90deg, rgba(110, 231, 255, .20), rgba(167, 139, 250, .20));
}

.btn.primary:hover {
  background: linear-gradient(90deg, rgba(110, 231, 255, .30), rgba(167, 139, 250, .30));
  box-shadow: 0 10px 40px rgba(110, 231, 255, .2);
}

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

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

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

.section-title p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, .03));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 231, 255, .25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.card .icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 28px;
  background: linear-gradient(135deg, rgba(110, 231, 255, .15), rgba(167, 139, 250, .15));
  border: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
}

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* About Section */
.about-section {
  background: linear-gradient(180deg, transparent, rgba(110, 231, 255, .03), transparent);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 860px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  text-align: center;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
}

.stat-card .number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-card .label {
  color: var(--muted);
  font-size: 14px;
}

/* Services Page Specific */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.1rem;
}

/* Service Detail Card */
.service-detail {
  padding: 48px;
  margin-bottom: 40px;
}

.service-detail .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(110, 231, 255, .25);
  background: rgba(110, 231, 255, .10);
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.service-detail h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-detail > p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 700px;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 640px) {
  .features-list {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(0, 0, 0, .2);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .06);
}

.feature-item .check {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 211, 153, .15);
  border-radius: 8px;
  color: var(--ok);
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.feature-item p {
  color: var(--muted);
  font-size: 13px;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, .2);
}

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

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

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

@media (max-width: 768px) {
  .footer-brand {
    max-width: none;
    margin: 0 auto;
  }
}

.footer-brand .brand {
  margin-bottom: 16px;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .footer-brand .brand {
    justify-content: center;
  }
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--muted);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 18, 32, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px;
    flex-direction: column;
    border-bottom: 1px solid var(--border);
  }
  
  .nav.active {
    display: flex;
  }
  
  .nav a {
    padding: 14px 20px;
    border-radius: 12px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

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