/* =========================================
   Variables & Reset
   ========================================= */
:root {
  --primary: #00d2ff;
  --primary-dark: #004b5c;
  --bg-dark: #051014;
  --bg-darker: #020709;
  --text-light: #f0f4f8;
  --text-muted: #9ba3af;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --gradient: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================================
   Typography & Buttons
   ========================================= */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

.btn-outline, .btn-primary, .btn-submit {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

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

.btn-outline:hover {
  background: var(--glass-bg);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

/* =========================================
   Header
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 16, 20, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  transition: var(--transition);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
  width: auto;
  /* CSS Trick to remove white background: 
     Invert white to black -> mix-blend-mode screen makes black transparent 
     Invert colors back using hue-rotate(180deg) */
  filter: contrast(1.2) invert(1) hue-rotate(180deg) brightness(1.5);
  mix-blend-mode: screen;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:not([class*="btn"]) {
  font-weight: 500;
  position: relative;
}

.nav-links a:not([class*="btn"])::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:not([class*="btn"]):hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Space for navbar */
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  z-index: 0;
  animation: pulse 8s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 1; }
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  width: 100%;
  gap: 2rem;
}

/* Form Styling (Glassmorphism) */
.hero-form-wrapper {
  flex: 1;
  max-width: 500px;
}

.glass-form-container {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: var(--transition);
}

.glass-form-container:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 210, 255, 0.3);
}

.form-badge {
  display: inline-block;
  background: rgba(0, 210, 255, 0.1);
  color: var(--primary);
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.form-body h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.form-body p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lead-form input {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.lead-form input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.lead-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.coupon-input {
  background: rgba(0, 210, 255, 0.1) !important;
  color: var(--primary) !important;
  font-weight: 600;
  text-align: center;
  border-color: rgba(0, 210, 255, 0.2) !important;
}

.btn-submit {
  background: var(--gradient);
  color: #fff;
  padding: 1.2rem;
  font-size: 1.1rem;
  margin-top: 1rem;
  box-shadow: 0 5px 15px rgba(0, 75, 92, 0.4);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.4);
}

/* Image Wrapper */
.hero-image-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glow-effect {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--primary-dark);
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.5;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.hero-image-crop {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.hero-image {
  width: 142%; /* Scales up the image so the blue circle reaches the edges of the crop */
  max-width: none;
  height: auto;
  position: relative;
}

/* =========================================
   Benefits Section
   ========================================= */
.benefits-section {
  padding: 6rem 0;
  background-color: var(--bg-darker);
  position: relative;
}

.section-heading {
  text-align: center;
  margin-bottom: 4rem;
}

.eyebrow {
  display: block;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.section-heading h2 {
  font-size: 2.5rem;
}

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

.benefit-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 210, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4), 0 0 20px rgba(0, 210, 255, 0.1) inset;
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(0, 210, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.benefit-card:hover .icon-wrapper {
  background: var(--gradient);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

.icon-wrapper svg {
  width: 30px;
  height: 30px;
}

.benefit-card h3 {
  font-size: 1.25rem;
  color: #fff;
}

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

/* =========================================
   Footer (New Layout)
   ========================================= */
.site-footer {
  background-color: #062f37;
  padding: 4rem 0 0 0;
  border-top: 1px solid var(--glass-border);
  color: #fff;
}

.new-footer-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: center;
}

.footer-mec-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-main-logo {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
  /* Reset previous filters to let natural logo colors shine if preferred, 
     or keep screen trick if background allows */
  filter: contrast(1.2) invert(1) hue-rotate(180deg) brightness(1.5);
  mix-blend-mode: screen;
}

.nota-mec {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
}

.stars {
  display: flex;
  gap: 5px;
  margin-bottom: 0.5rem;
}

.stars svg {
  width: 24px;
  height: 24px;
}

.mec-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #00d2ff;
  color: #062f37;
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 210, 255, 0.4);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

/* e-MEC Section */
.footer-emec-section {
  display: flex;
  justify-content: center;
}

.emec-card {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  width: 100%;
  max-width: 400px;
}

.emec-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Location Section */
.footer-location-section h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.footer-location-section p {
  color: #e0e0e0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Bottom Bar */
.new-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-flex p {
  font-size: 0.85rem;
  color: #b0bec5;
  margin: 0;
}

.payment-icons img {
  height: 25px;
  width: auto;
}

@media (max-width: 992px) {
  .new-footer-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-mec-section {
    align-items: center;
  }
  
  .footer-bottom-flex {
    justify-content: center;
  }
}
