:root {
  --bg: #070709;
  --muted: #94a3b8;
  --card: #0f1015;
  --text: #f8fafc;
  --accent1: #2441fb; 
  --accent2: #00d26a; 
  --glow: rgba(36, 65, 251, 0.25);
  --glass: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --maxw: 1100px;
  --ff-sans: "Inter", sans-serif;
  --ff-display: "Syne", sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  color: var(--text);
  background: var(--bg);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(36, 65, 251, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(0, 210, 106, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header & Glass Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  backdrop-filter: blur(12px);
  background: rgba(7, 7, 9, 0.95);
  border-bottom: 1px solid var(--border);
  overflow: visible !important;
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  position: relative;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}
.brand-logo { height: 36px; width: auto; display: block; }
.brand-text {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.8px;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #fff, var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.main-nav { display: flex; gap: 8px; }
.main-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
}
.main-nav a:hover {
  background: var(--glass);
  color: #fff;
  box-shadow: 0 0 12px var(--glow);
}

.nav-toggle { 
  display: none; 
  background: none; 
  border: 0; 
  font-size: 24px; 
  color: white; 
  cursor: pointer;
  padding: 4px 8px;
  z-index: 10001;
}

/* Dynamic Hero Section */
.hero {
  width: 100vw; 
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, #111738, #052213);
  color: white;
  border-bottom: 1px solid var(--border);
  box-shadow: inset 0 -20px 40px rgba(0,0,0,0.6);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.hero-logo {
  width: 42%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-sub {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 10px 0 18px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
}

/* Fluid Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent1), #152bbd);
  color: white;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--glow);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(36, 65, 251, 0.4);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* Layout & Grid Cards */
.container { max-width: var(--maxw); margin: 0 auto; padding: 48px 20px; }
.section-title {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #fff, var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead { color: var(--muted); font-size: 1.05rem; max-width: 800px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 65, 251, 0.4);
  box-shadow: 0 14px 35px rgba(36, 65, 251, 0.15);
}
.card:hover::before { opacity: 1; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; color: #fff; font-family: var(--ff-display); }
.card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* Pricing Modern Block */
.pricing {
  margin-top: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(36, 65, 251, 0.1), rgba(0, 210, 106, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
}
.pricing p { margin: 0; font-size: 1rem; }

/* Team Section Styling */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.team-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.team-card .avatar {
  position: relative;
  overflow: hidden;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  flex-shrink: 0;
  box-shadow: 0 6px 16px var(--glow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card .avatar svg {
  width: 100%;
  height: 100%;
  padding: 12px;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.7);
}
.team-card h4 { margin: 0 0 4px; font-size: 1.05rem; color: #fff; font-family: var(--ff-display); }
.team-card p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.team-card:hover { transform: translateY(-4px); border-color: var(--accent2); }

/* Contact Row */
.contact-row { display: flex; gap: 12px; margin-top: 16px; }
.social-link {
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--card);
  color: white;
  font-weight: 600;
  transition: all 0.2s ease;
}
.social-link:hover { background: var(--glass); border-color: #fff; transform: translateY(-2px); }

/* Footer */
.site-footer { padding: 32px 0; border-top: 1px solid var(--border); margin-top: 40px; }
.site-footer p { margin: 0; color: var(--muted); text-align: center; font-size: 0.9rem; }

/* Responsiveness */
@media (max-width: 980px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  
  /* Mobile Overlay Menu Drawer */
  .main-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: #070709;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 20px;
    z-index: 9999;
    border-top: 1px solid var(--border);
  }

  .main-nav.active,
  .main-nav.open {
    display: flex !important;
  }

  .main-nav a {
    font-size: 1.2rem;
    width: 80%;
    text-align: center;
    padding: 12px;
  }

  .cards-grid, .team-grid { grid-template-columns: 1fr; }
  .hero-logo { width: 70%; }
}