@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--page-bg);
  color: var(--text-primary);
}

/* CSS Variables */
:root {
  --primary: #3b82f6;
  --secondary: #8b5cf6;
  --highlight: #6366f1		;
  --gradient: linear-gradient(to right, #3b82f6, #8b5cf6);
  --glass-bg: rgba(31, 41, 55, 0.9);
  --page-bg: linear-gradient(135deg, #0f0f1c 0%, #1a1a2e 100%);
  --text-primary: #e5e7eb;
  --text-secondary: #d1d5db;
  --text-tertiary: #a1a1aa;
  --card-gradient: linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(59, 130, 246, 0.1));
  --card-border: rgba(139, 92, 246, 0.3);
  --card-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Navigation */
nav {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  box-shadow: var(--card-shadow);
  transition: all 0.4s ease;
  animation: smoothDrop 0.7s ease-out forwards;
}

@keyframes smoothDrop {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.6rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a,
.mobile-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after,
.mobile-menu a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--highlight);
  bottom: -4px;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus,
.mobile-menu a:hover,
.mobile-menu a:focus {
  color: var(--highlight);
}

.nav-links a:hover::after,
.nav-links a:focus::after,
.mobile-menu a:hover::after,
.mobile-menu a:focus::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.nav-cta:hover,
.nav-cta:focus {
  background: var(--highlight);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.nav-cta .fa-phone {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--glass-bg);
  padding: 1.5rem 2rem;
  backdrop-filter: blur(15px);
  border-top: 1px solid var(--card-border);
}

.mobile-menu.show {
  display: flex;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-call {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.mobile-call:hover,
.mobile-call:focus {
  background: var(--highlight);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.mobile-call .fa-phone {
  color: #ffffff;
}

/* Hero Section */
.hero {
  margin: 5% auto;
  padding: 4rem 6.5rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--page-bg);
  overflow: visible;
}

.hero-content {
  flex: 1;
  max-width: 540px;
  z-index: 10;
}

.hero-headline {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-headline .main-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(59, 130, 246, 0.3);
  animation: popIn 1.2s ease-out forwards;
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.9) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-headline .highlight {
  position: relative;
  display: inline-block;
  color: var(--highlight);
}

.hero-headline .highlight::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 10px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10" preserveAspectRatio="none"><path d="M0,5 Q25,0 50,5 T100,5" stroke="#facc15" stroke-width="3" fill="none"/></svg>') no-repeat;
  background-size: 100% 100%;
  animation: waveUnderline 2s ease-in-out forwards;
}

@keyframes waveUnderline {
  0% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); }
}

  
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }}

    /* Fallback for older browsers */
    @supports not (backdrop-filter: blur(15px)) {
      nav, .mobile-menu {
        background: rgba(31, 41, 55, 1);
      }
    }


    @media (min-width: 999px) {
      .nav-container{
        max-width: 88%;
      }
    }