@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-color: #050505;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.05);
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --accent-color: #8b5cf6;
  --glass-bg: rgba(5, 5, 5, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --nav-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Navbar */
.navbar {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: var(--nav-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: 0.3s ease;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.navbar .logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

.navbar ul li a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: #fff;
}

.navbar ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 180px 20px 120px;
  background: radial-gradient(circle before at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(to right, #fff, #9ca3af);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  background: var(--primary-gradient);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 35px -10px rgba(99, 102, 241, 0.5);
}

/* Shared Sections */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 100px auto;
}

.about,
.services {
  text-align: center;
}

.about h1,
.services h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.about p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
}

/* Service Cards */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.service-card h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
  text-align: left;
}

/* Apps Section */
.apps {
  text-align: center;
  padding: 120px 20px;
  background: #000;
  position: relative;
}

.apps h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.app-button {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-button:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px;
  background-color: var(--bg-color);
  color: #555;
  font-size: 0.9rem;
  border-top: 1px solid var(--card-border);
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }

  .navbar ul {
    display: none;
    /* Mobile menu implementation usually requires JS, keeping simple for now */
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}