:root {
  --primary: #0081c9;
  --primary-hover: #005a8f;
  --accent: #FF871C;
  --accent-hover: #e07010;
  --dark-bg: #0d1117;
  --dark-surface: rgba(22, 27, 34, 0.7);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-main: #e6edf3;
  --text-muted: #8b949e;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--dark-bg);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Gradients for Glass Effect Depth */
body::before {
  content: ''; position: fixed; top: -20%; left: -10%; width: 50%; height: 50%;
  background: radial-gradient(circle, rgba(0,129,201,0.15) 0%, transparent 70%);
  z-index: -1; pointer-events: none;
}
body::after {
  content: ''; position: fixed; bottom: -20%; right: -10%; width: 50%; height: 50%;
  background: radial-gradient(circle, rgba(255,135,28,0.1) 0%, transparent 70%);
  z-index: -1; pointer-events: none;
}

/* Typography */
h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; color: #fff; }
h2 { font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; color: #fff; margin-bottom: 0.8rem; }
p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* Navbar */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(13, 17, 23, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center;
}
.nav-brand { font-size: 1.2rem; font-weight: 700; color: #fff; letter-spacing: 1px; }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-link { color: var(--text-main); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-link:hover { color: var(--accent); }
.btn-primary {
  background: var(--primary); color: #fff; padding: 0.6rem 1.5rem; border-radius: 8px;
  text-decoration: none; font-weight: 600; border: none; cursor: pointer; transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,129,201,0.3);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,129,201,0.4); }
.btn-accent {
  background: var(--accent); color: #fff; padding: 0.6rem 1.5rem; border-radius: 8px;
  text-decoration: none; font-weight: 600; border: none; cursor: pointer; transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255,135,28,0.2);
}
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,135,28,0.3); }

/* Glass Card */
.glass-card {
  background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border); border-radius: 16px; padding: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2); transition: transform 0.3s ease, border-color 0.3s ease;
}
.glass-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }

/* Hero Section */
.hero { padding: 9rem 5% 5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-content { max-width: 600px; }
.hero-search { margin-top: 2rem; position: relative; }
.hero-search input {
  width: 100%; padding: 1.2rem 1.5rem 1.2rem 3rem; font-size: 1.1rem;
  background: var(--dark-surface); border: 2px solid var(--glass-border); border-radius: 12px;
  color: #fff; outline: none; transition: border-color 0.3s, box-shadow 0.3s;
}
.hero-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,129,201,0.15); }
.hero-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1.2rem; }
.hero-search button {
  position: absolute; right: 0.5rem; top: 0.5rem; bottom: 0.5rem;
  padding: 0 1.5rem; border-radius: 8px;
}

.hero-image { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.hero-image img { width: 100%; height: auto; display: block; filter: brightness(0.85); transition: filter 0.5s ease; }
.hero-image:hover img { filter: brightness(1); }
.hero-badges { position: absolute; bottom: 2rem; left: 2rem; right: 2rem; display: flex; gap: 1rem; justify-content: space-between;}

/* Grid Sections */
.section-padding { padding: 5rem 5%; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.feature-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 1.2rem; display: inline-block; padding: 1rem; background: rgba(255,135,28,0.1); border-radius: 12px; }

/* Modals */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  display: flex; justify-content: center; align-items: center; z-index: 1000;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
  background: #161b22; border: 1px solid var(--glass-border); border-radius: 16px;
  padding: 2.5rem; max-width: 500px; width: 90%; transform: scale(0.9); transition: transform 0.3s ease;
  position: relative; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); text-align: center;
}
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; background: transparent; border: none;
  color: var(--text-muted); font-size: 1.5rem; cursor: pointer; transition: color 0.2s;
}
.modal-close:hover { color: #fff; }

/* Footer */
footer {
  background: #090c10; padding: 4rem 5% 2rem; border-top: 1px solid var(--glass-border);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem;
}
.footer-logo img { max-width: 150px; margin-bottom: 1rem; filter: brightness(0) invert(1) opacity(0.8); }
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-links a {
  display: flex; justify-content: center; align-items: center; width: 40px; height: 40px;
  background: var(--glass-bg); border-radius: 50%; color: #fff; text-decoration: none;
  transition: all 0.3s ease;
}
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 7rem; }
  .hero-content { margin: 0 auto; }
  h1 { font-size: 2.2rem; }
  .navbar { flex-direction: column; padding: 1rem; gap: 1rem; }
  .nav-links { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .hero-badges { flex-direction: column; position: static; margin-top: 2rem; }
}
