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

:root {
  /* Colors */
  --bg-dark: #f5f7fa;
  /* Light background */
  --bg-card: rgba(255, 255, 255, 0.9);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.1);

  --primary: #1a6bc4;
  /* Slightly deeper blue for contrast on light */
  --primary-glow: rgba(26, 107, 196, 0.25);
  --secondary: #e69500;
  /* Warm accent */

  --text-main: #1a1a2e;
  --text-muted: #5a6275;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing & Sizes */
  --fluid-container: px;
  /* Wait, using basic rem */
  --max-width: 1200px;
  --border-radius: 16px;
  --nav-height: 80px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

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

a:hover {
  text-shadow: 0 0 10px var(--primary-glow);
}

/* Utilities */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary), #2d3a4a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-padding {
  padding: 100px 0;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  background: #1558a3;
  color: #ffffff;
  box-shadow: 0 6px 25px var(--primary-glow);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
  display: flex;
  align-items: center;
  background: #ffffff;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  position: relative;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-main);
  flex-shrink: 0;
}

.navbar .logo {
  color: #000000;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  margin: 0 auto;
}

.nav-links a {
  color: #000000;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

.navbar .btn-outline {
  color: #000000;
  border-color: #000000;
}

.navbar .btn-outline:hover {
  background: #000000;
  color: #ffffff;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: #000000;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(7, 16, 19, 0.9) 0%, rgba(7, 16, 19, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.2s forwards;
}

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

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Features Grid */
.features-section {
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: rgba(43, 130, 217, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrapper svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Image Split Section */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.split-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.split-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.split-image-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.split-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  display: block;
  transition: transform 0.5s ease;
}

.split-image-wrapper:hover img {
  transform: scale(1.05);
}

.split-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  max-width: 250px;
  z-index: 10;
}

/* Footer */
footer {
  background: #1a1a2e;
  padding: 4rem 0 2rem;
  border-top: 1px solid #2a2a4a;
  color: #ffffff;
}

footer .logo {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about p {
  color: #a0a8b8;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

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

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul a {
  color: #a0a8b8;
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #2a2a4a;
  color: #a0a8b8;
  font-size: 0.85rem;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }
}

@media (max-width: 992px) {
  .split-section {
    grid-template-columns: 1fr;
  }

  .split-section.reverse .split-content {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    gap: 0;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-links li:last-child {
    border-bottom: none;
    padding-top: 1rem;
  }

  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-floating-card {
    display: none;
  }

  .page-header {
    padding: 120px 0 60px;
  }
}