
    /* --- TYPOGRAPHY UPGRADE --- */
body, .glass-nav {
    font-family: 'Inter', 'Poppins', system-ui, sans-serif;
    color: #111;
}

@font-face {
    font-family: "Firlest";
    src: url("/fonts/Firlest.woff2") format("woff2"),
         url("/fonts/Firlest.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.brand { font-family: 'Poppins', 'Inter', sans-serif; font-weight: 600; font-size: 1rem; /* slightly bigger and premium */ letter-spacing: 0.5px; /* subtle spacing */ color: #111; text-transform: capitalize; }


/* Nav links */
.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.25px;
    color: #222;
    transition: color 0.28s ease, transform 0.28s ease;
}

/* Nav link hover typography */
.nav-link:hover {
    color: #111;
    font-weight: 600;         /* slightly bolder on hover */
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Icons spacing */
.nav-link .icon {
    width: 20px;
    height: 20px;
    margin-right: 0.35rem;
}

/* Sign-in button */
.signin {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #111;
    padding: 0.55rem 1.7rem;
    border-radius: 999px;
    transition: all 0.32s cubic-bezier(.4,0,.2,1);
}

/* Smaller devices adjustments */
@media(max-width:880px){
    .brand { font-size: 1rem; }
    .nav-link { font-size: 0.95rem; }
    .signin { font-size: 0.95rem; padding: 0.45rem 1.3rem; }
}

:root{
  --glass-bg: rgba(255,255,255,0.18);
  --glass-border: rgba(255,255,255,0.3);
  --glass-shadow: rgba(0,0,0,0.08);
  --hover-gray: rgba(220,220,220,0.25);
  --hover-blue: rgba(59,130,246,0.15);
  --hover-outline: rgba(59,130,246,0.6);
}

/* BASE NAV */
.glass-nav{
  position: absolute;
  top:0;
  left:0;
  right:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:1rem 2.2rem;
  font-family: 'Inter', system-ui, sans-serif;
  transition: all .5s cubic-bezier(.25,.8,.25,1);
  z-index:1000;
}

/* TOP STATIC */
.glass-nav.top{
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-radius:0;
  border:none;
}



/* LEFT: brand + buttons */
.nav-left{ 
  display:flex; 
  align-items:center; 
  gap:1rem; 
}
.brand-logo{ height:38px; width:auto; }
.brand{ font-weight:600; color:#111; font-size:1.08rem; }

/* Buttons immediately after brand */
.nav-links{ display:flex; gap:1.2rem; margin-left:1.2rem; }

/* Nav link */
.nav-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.55rem 1.1rem;
  border-radius:14px;
  font-weight:500;
  color:#222;
  text-decoration:none;
  overflow:hidden;
  transition: all .4s ease;
  border:1px solid transparent;
}

/* hover background & outline animation */
.nav-link::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:14px;
  background: var(--hover-gray);
  opacity:0;
  transform: scale(0.9);
  transition: opacity .35s ease, transform .35s ease;
  z-index:0;
}
.nav-link::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:14px;
  border:2px solid var(--hover-outline);
  opacity:0;
  transform: scale(0.8);
  transition: opacity .35s ease, transform .35s ease;
  z-index:0;
}

.nav-link:hover::before{
  opacity:1;
  transform: scale(1);
}
.nav-link:hover::after{
  opacity:1;
  transform: scale(1.05);
}
.nav-link:hover{
  color:#111;
  transform: translateY(-2px) scale(1.02);
  box-shadow:0 6px 16px rgba(0,0,0,.08);
}
.nav-link > *{ position:relative; z-index:2; }

/* subtle icon animation */
.nav-link:hover .icon{
  transform: rotate(12deg) scale(1.1);
}

/* Sign-in button */
.signin{
  padding:.5rem 1.25rem;
  font-weight:600;
  border-radius:999px;
  border:2px solid transparent;
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
  color:#111;
  cursor:pointer;
  transition: all .35s ease;
  box-shadow:0 2px 12px rgba(0,0,0,.08);
  position:relative;
  overflow:hidden;
}
.signin::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:999px;
  border:2px solid var(--hover-outline);
  opacity:0;
  transform: scale(0.8);
  transition: all .35s ease;
}
.signin:hover{
  transform: translateY(-2px) scale(1.03);
  box-shadow:0 8px 28px rgba(0,0,0,.12);
  background: linear-gradient(135deg, #e5e5e5, #d1d1d1);
}
.signin:hover::after{
  opacity:1;
  transform: scale(1.05);
}

/* RESPONSIVE */
@media(max-width:880px){
  .nav-links{ gap:.6rem; }
  .nav-link span{ display:none; }
  .brand{ font-size:1rem; }
  .signin{ padding:.45rem 1rem; font-size:.95rem; }
}





/* --- SMOOTH NAV HOVER OVERRIDE --- */
.nav-link, .signin {
  will-change: transform, opacity, box-shadow;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 0.28s cubic-bezier(.4,0,.2,1), 
              box-shadow 0.28s cubic-bezier(.4,0,.2,1),
              color 0.28s cubic-bezier(.4,0,.2,1);
}

/* SIMPLE GRAY HOVER WITH SUBTLE BLUE BORDER */
.nav-link:hover {
  transform: translateY(-2px) scale(1.02);
  color: #111;
  box-shadow: 0 5px 15px rgba(0,0,0,0.07);
  border: 1px solid rgba(59,130,246,0.3);
  background-color: rgba(220,220,220,0.2);
}

/* REMOVE MULTIPLE LAYERS AND USE SINGLE BACKGROUND */
.nav-link::before, .nav-link::after {
  display: none; /* remove previous heavy hover layers */
}

/* ICON ANIMATION (GPU-FRIENDLY) */
.nav-link .icon {
  transition: transform 0.28s cubic-bezier(.4,0,.2,1);
}
.nav-link:hover .icon {
  transform: rotate(10deg) scale(1.08);
}

/* SIGN-IN BUTTON HOVER */
.signin:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
  border: 2px solid rgba(59,130,246,0.35);
  background-color: rgba(210,210,210,0.3);
  color: #111;
}

/* RESPONSIVE */
@media(max-width:880px){
  .nav-link:hover { transform: translateY(-1px) scale(1.01); }
  .signin:hover { transform: translateY(-1px) scale(1.02); }
}


    /* --- ICON & LINK FIXES --- */
.nav-link .icon {
  width: 20px;       /* fixed width */
  height: 20px;      /* fixed height */
  object-fit: contain;
}

/* Adjust spacing between icon and text */
.nav-link span {
  margin-left: 0.4rem;
  font-size: 0.95rem;
}

/* Reduce padding on nav links for smaller icons */
.nav-link {
  padding: 0.45rem 0.9rem;
}

/* Brand logo tweak */
.brand-logo {
  height: 40px;       /* slightly bigger */
  width: auto;
}

/* Mobile responsive fixes */
@media(max-width:880px){
  .nav-link .icon {
    width: 18px;
    height: 18px;
  }
  .nav-link span {
    display: none;    /* keep text hidden */
  }
  .nav-left {
    gap: 0.8rem;
  }
  .brand {
    font-size: 1rem;
  }
  .signin {
    padding: 0.4rem 0.9rem;
    font-size: 0.9rem;
  }
}

/* Optional: uniform hover for icons and links */
.nav-link:hover .icon {
  transform: rotate(8deg) scale(1.05);
}
/* --- ICON SPACING FIX --- */
.nav-link span {
  margin-left: 0.25rem;  /* reduced from 0.4rem */
  font-size: 0.95rem;
}

/* Reduce gap between nav links */
.nav-links {
  gap: 0.9rem;  /* slightly tighter */
}

/* Mobile adjustments */
@media(max-width:880px){
  .nav-links {
    gap: 0.5rem;
  }
  .nav-link .icon {
    width: 18px;
    height: 18px;
  }
}


/* --- SIGN-IN BUTTON ULTRA PREMIUM SMOOTH --- */
.signin {
  position: relative;
  border-radius: 999px;                /* perfect pill */
  padding: 0.55rem 1.6rem;
  font-weight: 600;
  font-size: 1rem;
  color: #111;
  background: linear-gradient(145deg, #f9f9f9, #e8e8e8);
  border: 2px solid rgba(200,200,200,0.25);
  box-shadow: 0 5px 14px rgba(0,0,0,0.07);
  cursor: pointer;
  overflow: hidden;                    /* clip shimmer */
  transition: transform 0.32s cubic-bezier(.4,0,.2,1),
              box-shadow 0.32s cubic-bezier(.4,0,.2,1),
              background 0.32s cubic-bezier(.4,0,.2,1),
              border 0.32s cubic-bezier(.4,0,.2,1);
  will-change: transform, box-shadow, background, border;
  backface-visibility: hidden;
}

/* Hover: soft lift + smooth shadow + subtle blue border */
.signin:hover {
  transform: translateY(-2px) scale(1.04);
  border: 2px solid rgba(59,130,246,0.3);
  background: linear-gradient(145deg, #eaeaea, #dcdcdc);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

/* Subtle diagonal shimmer overlay */
.signin::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 60%);
  transform: rotate(25deg) translateX(-100%);
  transition: transform 0.7s ease, opacity 0.7s ease;
  opacity: 0.5;
  pointer-events: none;
}

/* Shimmer sweep on hover */
.signin:hover::after {
  transform: rotate(25deg) translateX(100%);
  opacity: 1;
}

/* Active press feedback */
.signin:active {
  transform: scale(0.975);
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
  border: 2px solid rgba(59,130,246,0.25);
}

/* Responsive adjustments */
@media(max-width:880px){
  .signin {
    padding: 0.45rem 1.3rem;
    font-size: 0.95rem;
  }
}

    /* --- PREMIUM CIRCULAR LOGO & HEADING --- */
.brand-logo {
  height: 50px;             /* perfect size */
  width: 50px;               /* make square for perfect circle */
  border-radius: 50%;        /* circular */
  object-fit: cover;         /* keep proportions */
  transition: transform 0.45s cubic-bezier(.4,0,.2,1), 
              box-shadow 0.45s cubic-bezier(.4,0,.2,1),
              filter 0.45s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  will-change: transform, box-shadow, filter;
  border: 2px solid rgba(59,130,246,0.25);
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Logo hover: float, subtle rotate, shimmer glow */
.brand-logo:hover {
  transform: translateY(-4px) rotate(-5deg) scale(1.15);
  filter: drop-shadow(0 6px 18px rgba(59,130,246,0.45));
  box-shadow: 0 8px 24px rgba(59,130,246,0.25);
  border-color: rgba(59,130,246,0.5);
}

/* Optional continuous micro animation for subtle life */
@keyframes logo-breath {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.02) rotate(1deg); }
}
.brand-logo {
  animation: logo-breath 6s ease-in-out infinite;
}

/* Brand heading text */
.brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 1.2px;
  position: relative;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), 
              color 0.35s ease, text-shadow 0.35s ease;
  cursor: default;
}

/* Heading hover: subtle lift + gradient shimmer */
.brand:hover {
  transform: translateY(-3px) scale(1.05);
  color: #3b82f6;
  text-shadow: 0 4px 12px rgba(59,130,246,0.35);
}

/* Animated gradient underline */
.brand::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd);
  border-radius: 3px;
  transition: width 0.45s cubic-bezier(.4,0,.2,1);
}

.brand:hover::after {
  width: 100%;
}


  /* ===============================
   EXTREME MOTION UPGRADE (ADD-ON)
   =============================== */

/* Global motion tuning */
:root{
  --spring: cubic-bezier(.16,1,.3,1);
  --elastic: cubic-bezier(.34,1.56,.64,1);
}


@keyframes nav-reveal {
  0% {
    opacity: 0;
    transform: translateY(-22px) scale(0.96);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ---------- NAV LINK ADVANCED HOVER ---------- */
.nav-link{
  isolation: isolate;
}

/* magnetic glow layer */
.nav-link::before{
  content:'';
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(120px 40px at var(--mx,50%) var(--my,50%),
      rgba(59,130,246,0.35),
      transparent 60%);
  opacity:0;
  transition: opacity .35s ease;
  z-index:-1;
}

.nav-link:hover::before{
  opacity:1;
}

/* text kinetic feel */
.nav-link span{
  display:inline-block;
  transition: transform .45s var(--spring),
              letter-spacing .45s ease;
}

.nav-link:hover span{
  transform: translateY(-1px);
  letter-spacing: 0.6px;
}

/* icon snap + recoil */
.nav-link .icon{
  transition: transform .5s var(--elastic),
              filter .4s ease;
}

.nav-link:hover .icon{
  transform: rotate(18deg) scale(1.2);
  filter: drop-shadow(0 4px 8px rgba(59,130,246,.45));
}

/* ---------- CLICK FEEDBACK (MICRO INTERACTION) ---------- */
.nav-link:active{
  transform: translateY(0) scale(0.97);
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
}

/* ---------- SIGN-IN BUTTON (NEXT LEVEL) ---------- */
.signin{
  isolation: isolate;
}

/* pulse aura */
.signin::before{
  content:'';
  position:absolute;
  inset:-6px;
  border-radius:999px;
  background:
    radial-gradient(circle,
      rgba(59,130,246,.35),
      transparent 65%);
  opacity:0;
  transform: scale(.85);
  transition: opacity .4s ease, transform .4s var(--spring);
  z-index:-1;
}

.signin:hover::before{
  opacity:1;
  transform: scale(1);
}

/* breathing idle animation */
@keyframes btn-breath {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.015); }
}
.signin{
  animation: btn-breath 5s ease-in-out infinite;
}

/* ---------- LOGO: FLOATING ORBIT EFFECT ---------- */
.brand-logo{
  position: relative;
}

/* rotating glow ring */
.brand-logo::after{
  content:'';
  position:absolute;
  inset:-6px;
  border-radius:50%;
  background:
    conic-gradient(
      from 0deg,
      transparent,
      rgba(59,130,246,.45),
      transparent
    );
  opacity:.55;
  animation: logo-orbit 6s linear infinite;
  pointer-events:none;
}

@keyframes logo-orbit{
  to{ transform: rotate(360deg); }
}

/* hover boost */
.brand-logo:hover{
  transform: translateY(-6px) rotate(-6deg) scale(1.2);
}

/* ---------- BRAND TEXT: LUXURY WAVE ---------- */
.brand{
  background: linear-gradient(
    90deg,
    #111,
    #3b82f6,
    #111
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brand-wave 6s ease-in-out infinite;
}

@keyframes brand-wave{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}





/* ---------- REDUCED MOTION SAFETY ---------- */
@media (prefers-reduced-motion: reduce){
  *{
    animation:none !important;
    transition:none !important;
  }
}
/* =================================================
   NAV-ONLY FINAL POLISH + STARTUP ANIMATIONS
   (NO GLOBAL / NO OVERFLOW)
   ================================================= */

/* ---------- NAV CONTAINER REFINEMENT ---------- */
.glass-nav{
  padding: 0.9rem 2.1rem;
  border-radius: 22px;
  backdrop-filter: blur(20px) saturate(185%);
  -webkit-backdrop-filter: blur(20px) saturate(185%);
}





/* ---------- LINK POLISH ---------- */
.glass-nav .nav-link{
  border-radius: 16px;
  padding: 0.5rem 1rem;
}

/* hover depth refinement */
.glass-nav .nav-link:hover{
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

/* ---------- ICON ALIGNMENT ---------- */
.glass-nav .nav-link .icon{
  margin-right: 0.35rem;
  transform-origin: center;
}

/* ---------- BRAND BALANCE ---------- */
.glass-nav .brand{
  padding-bottom: 2px;
}

/* ---------- MOBILE SAFE ---------- */
@media (max-width:880px){
  .glass-nav{
    padding: 0.7rem 1.2rem;
    border-radius: 18px;
  }
  .glass-nav.sticky{
    padding: 0.65rem 1.1rem;
  }
  .brand {
    font-size: 1.1rem;
  }
}
/* ---------- MOBILE HAMBURGER ---------- */
.glass-nav .nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1),
              box-shadow 0.35s ease;
}

.glass-nav .nav-toggle img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.glass-nav .nav-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

/* ---------- MOBILE SHUTTER MENU ---------- */


.mobile-nav.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav .menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  transform: scale(0.9);
  transition: transform 0.45s cubic-bezier(.16,1,.3,1);
  width: 90%;
  max-width: 320px;
}

.mobile-nav.active .menu {
  transform: scale(1);
}

/* Menu links inside shutter menu */
.mobile-nav .menu a,
.mobile-nav .menu .signin {
  text-decoration: none;
  color: #111;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1),
              box-shadow 0.35s ease, background 0.35s ease;
}

.mobile-nav .menu a:hover,
.mobile-nav .menu .signin:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  background: rgba(255,255,255,0.8);
}

/* Style mobile Sign-In separately */
.mobile-nav .menu .signin {
  background: linear-gradient(145deg, #f9f9f9, #e8e8e8);
  border: 2px solid rgba(200,200,200,0.25);
  box-shadow: 0 5px 14px rgba(0,0,0,0.07);
  font-weight: 700;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:880px) {
  /* Hide desktop links and desktop Sign-In */
  .glass-nav .nav-links,
  .glass-nav .signin {
    display: none;
  }
  /* Show hamburger on mobile */
  .glass-nav .nav-toggle {
    display: flex;
  }
}
/* Hamburger button - only visible on mobile */
.glass-nav .nav-toggle {
  display: none; /* hide on desktop by default */
}

@media (max-width:880px){
  /* Show hamburger only on mobile */
  .glass-nav .nav-toggle {
    display: flex;
  }

  /* Hide desktop nav links and desktop Sign-In on mobile */
  .glass-nav .nav-links,
  .glass-nav .signin {
    display: none;
  }
}


  /* Mobile menu container (no overlay) */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 99999;
  padding: 1rem 0; /* margin top and bottom */
}

/* Active state */
.mobile-nav.active {
  opacity: 1;
  pointer-events: auto;
}

/* Slide-in panel */
.mobile-nav .menu {
  width: 280px;
  height: calc(100% - 2rem); /* account for top/bottom padding */
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px 0 0 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.5rem;
  padding: 4rem 1rem 1rem 1rem; /* top padding for cross */
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.16,1,.3,1);
  box-sizing: border-box;
  position: relative;
}

/* Slide in animation */
.mobile-nav.active .menu {
  transform: translateX(0);
}

/* Close button via CSS */
.mobile-nav .menu::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 25px;
  height: 24px;
  background: url('cross.png') no-repeat center center;
  background-size: contain;
  cursor: pointer;
  z-index: 2100;
}

/* Top buttons container adjustment */
.mobile-nav .menu .top-buttons {
  display: flex;
  flex-direction: column; /* vertical stack */
  margin-top: 0;
  padding-left: 3.5rem; /* space for CSS cross */
  gap: 0.8rem;
}

/* Menu links */
.mobile-nav .menu a,
.mobile-nav .menu .signin {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  color: #111;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

/* Hover effect */
.mobile-nav .menu a:hover,
.mobile-nav .menu .signin:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.35);
}

/* Icon inside menu */
.mobile-nav .menu a .icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Responsive adjustments */
@media (max-width:880px){
  .glass-nav .nav-links,
  .glass-nav .signin {
    display: none;
  }
  .glass-nav .nav-toggle {
    display: flex;
  }
}
/* Close button via CSS (smaller size + more padding) */
.mobile-nav .menu::before {
  content: '';
  position: absolute;
  top: 1.25rem;      /* distance from top of bar */
  left: 1.5rem;     /* distance from left of bar */
  bottom: 1.5rem;
  width: 6px;    /* smaller cross */
  height: 6px;   /* smaller cross */
  background: url('cross.png') no-repeat center center;
  background-size: contain;
  cursor: pointer;
  z-index: 2100;
  padding: 8px;   /* extra clickable area around cross */
}


  @media (prefers-color-scheme: dark) {
  /* -----------------------
     GLOBAL BODY & ROOT
  ----------------------- */
  body {
    background-color: #000;
    color: #fff;
  }

  :root {
    --dark-bg: rgba(25,25,25,0.85);
    --dark-glass-border: rgba(255,255,255,0.12);
    --dark-glass-shadow: rgba(0,0,0,0.7);
    --dark-hover-gray: rgba(255,255,255,0.08);
    --dark-hover-blue: rgba(59,130,246,0.35);
    --dark-hover-outline: rgba(59,130,246,0.55);
    --dark-text: #fff;
    --dark-subtext: rgba(255,255,255,0.85);
  }

  /* -----------------------
     NAV CONTAINER
  ----------------------- */


  /* -----------------------
     BRAND & LOGO
  ----------------------- */
  .brand {
    color: var(--dark-text);
  }
  .brand:hover {
    color: #60a5fa;
    text-shadow: 0 4px 12px rgba(96,165,250,0.45);
  }

  .brand-logo {
    background: linear-gradient(145deg, #111, #222);
    border: 2px solid rgba(96,165,250,0.3);
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
    filter: drop-shadow(0 4px 12px rgba(96,165,250,0.55));
  }
  .brand-logo:hover {
    transform: translateY(-6px) rotate(-6deg) scale(1.2);
    box-shadow: 0 10px 28px rgba(96,165,250,0.35);
    filter: drop-shadow(0 6px 18px rgba(96,165,250,0.6));
  }

  /* -----------------------
     NAV LINKS
  ----------------------- */
  .nav-link {
    color: var(--dark-text);
    background: rgba(255,255,255,0.05);
    border: 1px solid transparent;
  }
  .nav-link:hover {
    color: #fff;
    background: rgba(59,130,246,0.08);
    border: 1px solid var(--dark-hover-blue);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  }
  .nav-link .icon {
    filter: brightness(0) invert(1);
  }

  /* -----------------------
     SIGN-IN BUTTON
  ----------------------- */
  .signin {
    color: #fff;
    background: linear-gradient(145deg, #1c1c1c, #2c2c2c);
    border: 2px solid rgba(255,255,255,0.12);
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
  }
  .signin:hover {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 2px solid var(--dark-hover-blue);
    box-shadow: 0 12px 30px rgba(0,0,0,0.55);
  }
  .signin::after {
    background: linear-gradient(120deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 60%);
  }

  /* -----------------------
     MOBILE MENU
  ----------------------- */
  .mobile-nav .menu {
    background: var(--dark-bg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.7);
  }
  .mobile-nav .menu a,
  .mobile-nav .menu .signin {
    color: var(--dark-text);
    background: rgba(255,255,255,0.05);
  }
  .mobile-nav .menu a:hover,
  .mobile-nav .menu .signin:hover {
    background: rgba(59,130,246,0.08);
    box-shadow: 0 10px 28px rgba(0,0,0,0.55);
  }
  .mobile-nav .menu a .icon {
    filter: brightness(0) invert(1);
  }

  /* -----------------------
     CLOSE BUTTON
  ----------------------- */
  .mobile-nav .menu::before {
    filter: brightness(0) invert(1);
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --dark-bg: rgba(25,25,25,0.85);
    --dark-glass-border: rgba(255,255,255,0.12);
    --dark-glass-shadow: rgba(0,0,0,0.7);
    --dark-hover-gray: rgba(255,255,255,0.08);
    --dark-hover-blue: rgba(59,130,246,0.35);
    --dark-text: #fff;
  }

  /* -----------------------
     BODY
  ----------------------- */
  body {
    background-color: #000;
    color: #fff;
  }

  /* -----------------------
     NAV CONTAINER
  ----------------------- */


  /* -----------------------
     BRAND & LOGO
  ----------------------- */
  .brand {
    color: var(--dark-text);
    transition: transform 0.35s cubic-bezier(.4,0,.2,1),
                color 0.35s ease, text-shadow 0.35s ease;
  }
  .brand:hover {
    color: #60a5fa;
    text-shadow: 0 4px 12px rgba(96,165,250,0.45);
    transform: translateY(-3px) scale(1.05);
  }

  .brand-logo {
    background: linear-gradient(145deg, #111, #222);
    border: 2px solid rgba(96,165,250,0.3);
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
    filter: drop-shadow(0 4px 12px rgba(96,165,250,0.55));
    transition: transform 0.45s cubic-bezier(.4,0,.2,1),
                box-shadow 0.45s cubic-bezier(.4,0,.2,1),
                filter 0.45s cubic-bezier(.4,0,.2,1);
  }
  .brand-logo:hover {
    transform: translateY(-6px) rotate(-6deg) scale(1.2);
    box-shadow: 0 10px 28px rgba(96,165,250,0.35);
    filter: drop-shadow(0 6px 18px rgba(96,165,250,0.6));
  }

  /* -----------------------
     NAV LINKS
  ----------------------- */
  .nav-link {
    color: var(--dark-text);
    background: rgba(255,255,255,0.05);
    border: 1px solid transparent;
    transition: transform 0.28s cubic-bezier(.4,0,.2,1),
                box-shadow 0.28s cubic-bezier(.4,0,.2,1),
                color 0.28s cubic-bezier(.4,0,.2,1);
  }

  .nav-link:hover {
    color: #fff;
    background: rgba(59,130,246,0.08);
    border: 1px solid var(--dark-hover-blue);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  }

  /* Icons stay white and animated */
  .nav-link .icon {
    filter: brightness(0) invert(1);
    transition: transform 0.5s cubic-bezier(.34,1.56,.64,1);
  }
  .nav-link:hover .icon {
    transform: rotate(18deg) scale(1.2);
    filter: brightness(0) invert(1);
  }

  .nav-link:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 3px 10px rgba(0,0,0,.5);
  }

  /* -----------------------
     SIGN-IN BUTTON
  ----------------------- */
  .signin {
    color: #fff;
    background: linear-gradient(145deg, #1c1c1c, #2c2c2c);
    border: 2px solid rgba(255,255,255,0.12);
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
    transition: transform 0.32s cubic-bezier(.4,0,.2,1),
                box-shadow 0.32s cubic-bezier(.4,0,.2,1),
                background 0.32s cubic-bezier(.4,0,.2,1),
                border 0.32s cubic-bezier(.4,0,.2,1);
  }
  .signin:hover {
    transform: translateY(-2px) scale(1.04);
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 2px solid var(--dark-hover-blue);
    box-shadow: 0 12px 30px rgba(0,0,0,0.55);
    color: #fff; /* text stays white */
  }
  .signin::after {
    background: linear-gradient(120deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 60%);
  }
  .signin:active {
    transform: scale(0.975);
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  }

  /* -----------------------
     MOBILE MENU
  ----------------------- */
  .mobile-nav .menu {
    background: var(--dark-bg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.7);
    transition: transform 0.35s cubic-bezier(.16,1,.3,1), opacity 0.35s ease;
  }
  .mobile-nav .menu a,
  .mobile-nav .menu .signin {
    color: #fff;
    background: rgba(255,255,255,0.05);
    transition: transform 0.28s cubic-bezier(.4,0,.2,1),
                box-shadow 0.28s cubic-bezier(.4,0,.2,1),
                background 0.28s cubic-bezier(.4,0,.2,1);
  }
  .mobile-nav .menu a:hover,
  .mobile-nav .menu .signin:hover {
    background: rgba(59,130,246,0.08);
    box-shadow: 0 10px 28px rgba(0,0,0,0.55);
    transform: translateY(-2px) scale(1.03);
    color: #fff;
  }
  .mobile-nav .menu a .icon {
    filter: brightness(0) invert(1);
    transition: transform 0.5s cubic-bezier(.34,1.56,.64,1);
  }
  .mobile-nav .menu a:hover .icon {
    transform: rotate(18deg) scale(1.2);
    filter: brightness(0) invert(1);
  }

  /* -----------------------
     CLOSE BUTTON
  ----------------------- */
  .mobile-nav .menu::before {
    filter: brightness(0) invert(1);
  }
}


  /* ===============================
   BUTTON & ICON BLUR FIX
   =============================== */

/* Apply to nav-links & signin to prevent inner blurring */
.nav-link,
.signin {
  isolation: isolate;                /* isolate from backdrop blur */
  backface-visibility: hidden;       /* helps GPU render crisp */
  transform-style: preserve-3d;
  will-change: transform, opacity, box-shadow;
}

/* Fix icon blurring when tilting */
.nav-link .icon,
.signin .icon {
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform, filter;
  /* Optional: force GPU layer */
  transform: translateZ(0);
}

/* Optional: reduce blur artifacts for inner content */
.nav-link > * ,
.signin > * {
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}


  /* ==========================
   SCROLL STICKY NAV: EXTRA MARGINS
   ========================== */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0.55rem 1.2rem; /* initial compressed padding */
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(.25,.8,.25,1);
}

/* SCROLLED STATE */
.glass-nav.scrolled {
  margin: 1.2rem 3.6rem 0 3.6rem; /* much more left/right margin + top margin */
  border-radius: 50px;         /* fully rounded */
  padding: 0.45rem 1rem;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
  transform: translateY(-2px) scale(1.02);
}

/* Nav links closer together */
.glass-nav.scrolled .nav-links {
  gap: 0.6rem; /* tight spacing */
}

/* Hover effect inside scrolled nav */
.glass-nav.scrolled .nav-link:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  background-color: rgba(220,220,220,0.18);
}

.glass-nav.scrolled .signin:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  background: linear-gradient(145deg, #eaeaea, #dcdcdc);
}

/* Mobile adjustments */
@media (max-width:880px){
  .glass-nav.scrolled {
    margin: 0.5rem 1.5rem 0 1.5rem; /* extra side spacing for mobile */
    padding: 0.4rem 0.8rem;
  }
  .glass-nav.scrolled .nav-links {
    gap: 0.4rem;
  }
}
/* ==========================
   SMOOTH, LAG-FREE NAV
   ========================== */
.glass-nav.scrolled {
  margin: .9rem 3.8rem 0 3.8rem;
  border-radius: 100px;
  padding: 0.45rem 1rem;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform: translateY(0) scale(1);
  transition: all 0.35s cubic-bezier(.22,.61,.36,1);
  position: fixed;
  z-index: 9999;
  overflow: hidden;
}

/* ==========================
   CURSOR-FOLLOW SHINE (CSS ONLY)
   ========================== */
.glass-nav.scrolled::before {
  content: '';
  position: absolute;
  top: 0; left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-100%) skewX(-20deg);
  pointer-events: none;
  border-radius: inherit;
  transition: transform 0.6s ease-out; /* smooth, low-cost animation */
}

.glass-nav.scrolled:hover::before {
  transform: translateX(0) skewX(-20deg); /* shine slides in on hover only */
}

/* ==========================
   LINKS + BUTTONS MICRO-MOTION
   ========================== */
.glass-nav.scrolled .nav-link {
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  border-radius: 50px;
}
.glass-nav.scrolled .nav-link:hover {
  transform: translateY(-2px) scale(1.06);
  background: rgba(255,255,255,0.12);
}

.glass-nav.scrolled .signin {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.glass-nav.scrolled .signin:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ==========================
   MOBILE OPTIMIZATION
   ========================== */
@media(max-width:880px){
  .glass-nav.scrolled {
    margin: 0.6rem 1rem 0 1rem;
    padding: 0.4rem 0.8rem;
  }
  .glass-nav.scrolled::before {
    display: none; /* remove shine on mobile for smoothness */
  }
  .glass-nav.scrolled .nav-link:hover,
  .glass-nav.scrolled .signin:hover {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }
}








  :root{
  --blue: #2563eb;
  --text-main: #0f172a;
  --text-muted: #475569;
}

/* HERO BASE */
.hero{
  padding: 8rem 2rem;
}

.hero-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: 6rem;
}

/* LEFT */
.hero-visual{
  display: flex;
  justify-content: center;
}

.hero-visual img{
  width: 360px;
  max-width: 100%;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,.15));
}

/* RIGHT */
.hero-content h1{
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-content p{
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2.8rem;
}

/* PRICING – CLEAN INLINE */
.hero-price{
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin-bottom: 3rem;
  font-weight: 600;
}

.main-price{
  font-size: 2.2rem;
  color: var(--blue);
}

.period{
  font-size: .9rem;
  color: var(--text-muted);
}

.divider{
  margin: 0 .6rem;
  font-size: .9rem;
  opacity: .6;
}

.year-price{
  font-size: 1rem;
  color: var(--text-muted);
}

/* CTA */
.hero-btn{
  padding: 1rem 3rem;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(37,99,235,.4);
  transition: transform .25s ease, box-shadow .25s ease;
}

.hero-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 28px 65px rgba(37,99,235,.55);
}

/* RESPONSIVE */
@media (max-width: 900px){
  .hero-inner{
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }

  .hero-content p{
    margin-left: auto;
    margin-right: auto;
  }

  .hero-price{
    justify-content: center;
    flex-wrap: wrap;
  }
}
/* ===============================
   HERO CLEAN + SHINE (ADD-ON)
   Premium • Minimal • Controlled
   =============================== */

:root{
  --blue: #2563eb;
  --blue-glow: rgba(37,99,235,.35);
  --text-muted: #475569;
}

/* Balanced hero spacing */
.hero{
  padding-top: 8.5rem;
  padding-bottom: 8.5rem;
}

/* Calm logo presence */
.hero-visual img{
  filter: drop-shadow(0 18px 42px rgba(0,0,0,.14));
}

/* Title: confident but not aggressive */
.hero-content h1{
  letter-spacing: -0.03em;
  margin-bottom: 1.3rem;
}

/* Description: clean rhythm */
.hero-content p{
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 2.6rem;
}

/* Pricing stays simple */
.hero-price{
  gap: .55rem;
  margin-bottom: 2.8rem;
}

.main-price{
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--blue);
}

/* CTA — refined shine */
.hero-btn{
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(37,99,235,.35);
}

/* Shine layer */
.hero-btn::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255,255,255,.22),
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform .65s ease;
}

/* Hover behavior */
.hero-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 50px var(--blue-glow);
}

.hero-btn:hover::after{
  transform: translateX(120%);
}

/* Desktop balance */
@media (min-width: 1200px){
  .hero-inner{
    gap: 6.5rem;
  }
}
/* ===============================
   HERO PREMIUM POLISH – SUBTLE SHADOWS
   =============================== */

/* Logo – very subtle depth */
.hero-visual img{
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.08));
  transform: none;
}

/* Title – strong, clean */
.hero-content h1{
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.028em;
  text-shadow: none;
}

/* Description – calm muted tone */
.hero-content p{
  color: #4b5563;
  line-height: 1.78;
  margin-bottom: 2.8rem;
}

/* Pricing – subtle pop effect */
.main-price{
  color: #2563eb;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(37,99,235,.1);
}

.year-price{
  color: #6b7280;
  font-weight: 500;
}

/* CTA – subtle elevation with shine */
.hero-btn{
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(37,99,235,.15);
  transition:
    transform .22s ease,
    box-shadow .22s ease;
}

.hero-btn::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 38%,
    rgba(255,255,255,.18),
    transparent 62%
  );
  transform: translateX(-120%);
  transition: transform .65s ease;
}

.hero-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37,99,235,.22);
}

.hero-btn:hover::after{
  transform: translateX(120%);
}

/* Desktop refinement */
@media (min-width: 1400px){
  .hero-inner{
    gap: 6.5rem;
  }

  .hero-content p{
    max-width: 540px;
  }
}



  .hero-btn .btn-icon {
  filter: invert(1);
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  vertical-align: middle; /* centers the icon with text */
  display: inline-block;   /* ensures vertical-align works consistently */
  transition: transform 0.3s ease;
}

.hero-btn:hover .btn-icon {
  transform: translateY(-2px);
}


















/* ===============================
   HERO TYPOGRAPHY REFINED ONLY
   =============================== */

/* Global font setup */
body, .hero-content, .hero-price, .hero-btn {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  line-height: 1.75;
}

/* Hero title: bold, modern */
.hero-content h1{
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 4rem; /* preserve original spacing */
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

/* Optional subtle gradient on hover */
.hero-content h1:hover{
  background: linear-gradient(90deg, #2563eb, #1e40af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero description: clean, readable */
.hero-content p{
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.1rem; /* preserve original */
  line-height: 1.78;
  color: var(--text-muted);
  margin-bottom: 2.8rem;
}

/* Hero pricing text: refined */
.hero-price{
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.main-price{
  font-size: 2.25rem;
  color: var(--blue);
  font-weight: 700;
}

.period{
  font-size: 0.9rem;
  color: var(--text-muted);
}

.year-price{
  font-size: 1rem;
  color: #6b7280;
  font-weight: 500;
}

/* Hero button: text stays white, clean font */
.hero-btn{
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff !important;
}

/* Hero button icon */
.hero-btn .btn-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  vertical-align: middle;
  display: inline-block;
  filter: invert(1);
  transition: transform 0.3s ease;
}

.hero-btn:hover .btn-icon {
  transform: translateY(-2px);
}

/* Responsive typography – keep spacing intact */
@media (max-width: 900px){
  .hero-content h1{
    font-size: clamp(2rem, 6vw, 3.5rem);
  }
  .hero-content p{
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  }
}


/* ===============================
   HERO PADDING REFINED ONLY
   =============================== */

/* Overall hero padding */
.hero {
  padding-top: 9rem;
  padding-bottom: 9rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

/* Hero inner spacing (grid gap) */
.hero-inner {
  gap: 6.5rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero {
    padding-top: 7rem;
    padding-bottom: 7rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-inner {
    gap: 4rem;
  }
}

@media (min-width: 1200px) {
  .hero-inner {
    gap: 7rem;
  }
}

@media (min-width: 1400px) {
  .hero-inner {
    gap: 7.5rem;
  }
}


/* ===============================
   HERO ANIMATIONS ONLY
   =============================== */

/* Fade-in + slide for hero content */
.hero-content {
  opacity: 0;
  transform: translateY(25px);
  animation: heroContentFade 1s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: 0.3s;
}

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

/* Fade-in + scale for hero image */
.hero-visual img {
  opacity: 0;
  transform: scale(0.95);
  animation: heroImageFade 1s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: 0.5s;
}

@keyframes heroImageFade {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Button hover: smooth shine + scale */
.hero-btn {
  transition: transform 0.25s cubic-bezier(.16,1,.3,1), 
              box-shadow 0.25s cubic-bezier(.16,1,.3,1);
}

.hero-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 45px rgba(37,99,235,0.35);
}

/* Button shine animation already exists, ensure smooth */
.hero-btn::after {
  transition: transform 0.65s cubic-bezier(.16,1,.3,1);
}

/* Pricing: subtle pop-in from bottom */
.hero-price {
  opacity: 0;
  transform: translateY(15px);
  animation: heroPriceFade 0.8s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: 0.7s;
}

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

/* Optional: hover effect on hero image for subtle lift */
.hero-visual img:hover {
  transform: scale(1.02);
  transition: transform 0.4s cubic-bezier(.16,1,.3,1);
}

  /* ===============================
   HERO IMAGE WRAPPER ANIMATION
   =============================== */

/* 1. Wrap the animation on a container */
.hero-visual {
  display: flex;
  justify-content: center;
  animation: floatSway 6s ease-in-out infinite;
}

/* 2. Image itself handles hover */
.hero-visual img {
  opacity: 0;
  transform: scale(0.95);
  animation: heroImageFade 1s cubic-bezier(.16,1,.3,1) forwards;
  transition: transform 0.5s cubic-bezier(.16,1,.3,1);
}

/* Fade-in keyframe */
@keyframes heroImageFade {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Floating + gentle sway on wrapper */
@keyframes floatSway {
  0%   { transform: translateY(0) translateX(0); }
  25%  { transform: translateY(-6px) translateX(3px); }
  50%  { transform: translateY(-12px) translateX(0); }
  75%  { transform: translateY(-6px) translateX(-3px); }
  100% { transform: translateY(0) translateX(0); }
}

/* Hover lift + rotate on image */
.hero-visual img:hover {
  transform: scale(1.05) translateY(-8px) rotate(-2deg);
}
/* ===============================
   HERO HEADING PURE HOVER
   =============================== */

.hero-content h1 {
  color: var(--text-main);
  transition: background 0.4s ease, -webkit-background-clip 0.4s ease, -webkit-text-fill-color 0.4s ease;
  background: none;
  display: inline; /* ensures no block spacing changes */
}

/* Hover: smooth gradient text change only */
.hero-content h1:hover {
  background: linear-gradient(90deg, #2563eb, #1e40af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* ===============================
   HERO BUTTON IMPROVED ANIMATIONS
   =============================== */

.hero-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.16,1,.3,1),
              box-shadow 0.3s cubic-bezier(.16,1,.3,1),
              background 0.3s ease;
  box-shadow: 0 6px 15px rgba(37,99,235,0.15);
}

/* Hover: lift + scale + shadow pulse */
.hero-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 45px rgba(37,99,235,0.3);
}

/* Shine sweep */
.hero-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255,255,255,0.2) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.65s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}

.hero-btn:hover::after {
  transform: translateX(120%);
}

/* Icon lift inside button */
.hero-btn .btn-icon {
  transition: transform 0.3s cubic-bezier(.16,1,.3,1);
}

.hero-btn:hover .btn-icon {
  transform: translateY(-2px);
}


  /* ===============================
   HERO DARK THEME (No Background)
   =============================== */
@media (prefers-color-scheme: dark) {

  :root {
    --blue: #3b82f6;
    --blue-glow: rgba(59,130,246,0.35);
    --text-main: #f1f5f9;
    --text-muted: #cbd5e1;
    --shadow-dark: rgba(0,0,0,0.5);
  }

  /* Hero heading */
  .hero-content h1 {
    color: var(--text-main);
    text-shadow: 0 2px 6px var(--shadow-dark);
  }

  .hero-content h1:hover {
    background: linear-gradient(90deg, #3b82f6, #1e3a8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* Hero paragraph */
  .hero-content p {
    color: var(--text-muted);
  }

  /* Pricing */
  .main-price {
    color: var(--blue);
    text-shadow: 0 1px 4px var(--shadow-dark);
  }

  .year-price,
  .period,
  .divider {
    color: var(--text-muted);
  }

  /* Button */
  .hero-btn {
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(59,130,246,0.25);
  }

  .hero-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 45px rgba(59,130,246,0.45);
  }

  .hero-btn::after {
    background: linear-gradient(
      120deg,
      transparent 35%,
      rgba(255,255,255,0.18) 50%,
      transparent 65%
    );
  }

  /* Hero image */
  .hero-visual img {
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.7));
  }

  .hero-visual img:hover {
    transform: scale(1.05) translateY(-6px) rotate(-2deg);
  }
}


  /* ===============================
   SILENT AURORA BLOBS (NO JUMPS)
   =============================== */

:root{
  --c1:#2563eb;
  --c2:#3b82f6;
  --c3:#93c5fd;
}

/* base */
body{
  margin:0;
  min-height:100vh;
  overflow-x:hidden;
  position:relative;
  background:#ffffff;
}

/* shared blob */
body::before,
body::after,
.bg-blob{
  content:"";
  position:fixed;
  width:440px;
  height:440px;
  border-radius:50%;
  filter:blur(90px);
  opacity:.42;
  z-index:-1;
  will-change:transform, filter;
  animation:
    blobMove 60s linear infinite,
    blobColor 120s linear infinite;
}

/* top-left */
body::before{
  top:-170px;
  left:-170px;
  background:radial-gradient(circle,var(--c1),transparent 65%);
}

/* bottom-right */
body::after{
  bottom:-190px;
  right:-190px;
  background:radial-gradient(circle,var(--c2),transparent 65%);
  animation-duration:75s,160s;
}

/* center blob */
.bg-blob{
  top:38%;
  left:55%;
  background:radial-gradient(circle,var(--c3),transparent 65%);
  animation-duration:90s,200s;
}

/* extremely gentle movement */
@keyframes blobMove{
  0%   { transform:translate3d(0,0,0) scale(1); }
  50%  { transform:translate3d(26px,-24px,0) scale(1.05); }
  100% { transform:translate3d(0,0,0) scale(1); }
}

/* invisible color morphing */
@keyframes blobColor{
  0%{
    --c1:#2563eb;
    --c2:#3b82f6;
    --c3:#93c5fd;
  }
  33%{
    --c1:#6366f1;
    --c2:#8b5cf6;
    --c3:#c7d2fe;
  }
  66%{
    --c1:#0ea5e9;
    --c2:#38bdf8;
    --c3:#7dd3fc;
  }
  100%{
    --c1:#2563eb;
    --c2:#3b82f6;
    --c3:#93c5fd;
  }
}

/* dark mode tuning */
@media(prefers-color-scheme:dark){
  body{
    background:#020617;
  }
  body::before,
  body::after,
  .bg-blob{
    opacity:.5;
  }
}








/* ===============================
   ABOUT SECTION – FINAL
================================ */

.about-section{
  padding: 6rem 2rem;
  margin-top: -6.5rem;
}

/* ---------- TOP HEADING ---------- */
.about-head{
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.about-head h2{
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.about-head h2 img{
  width: 34px;
  height: 34px;
}

.about-head p{
  margin-top: 0.9rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.about-head p img{
  width: 18px;
  height: 18px;
  opacity: .85;
}

/* ---------- MAIN LAYOUT ---------- */
.about-content{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

/* ---------- IMAGE ---------- */
.about-image{
  display: flex;
  justify-content: center;
}

.about-image img{
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 25px 70px rgba(0,0,0,.14);
}

/* ---------- RIGHT CONTENT ---------- */
.about-info h3{
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.about-info h3 img{
  width: 26px;
  height: 26px;
}

.about-info p{
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ---------- FEATURES ---------- */
.about-features{
  margin-top: 2.2rem;
  display: column;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature{
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.feature img{
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.feature span{
  font-weight: 500;
  color: var(--text-main);
}

/* ---------- CONTACT ---------- */
.about-contact{
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(0,0,0,.08);
  max-width: 420px;
}

.about-contact p{
  margin: 0.45rem 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.about-contact img{
  width: 18px;
  height: 18px;
  opacity: .9;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px){
  .about-content{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-info{
    margin-top: 2.2rem;
  }

  .about-info p{
    margin-inline: auto;
  }

  .about-info h3{
    justify-content: center;
  }

  .feature{
    justify-content: center;
  }

  .about-contact{
    margin-inline: auto;
  }
}


  /* ===============================
   ABOUT SECTION – CLEAN ENHANCEMENTS
================================ */

/* subtle section depth */
.about-section{
  position: relative;
}

.about-section::after{
  content:"";
  position:absolute;
  inset:auto 10% 0 10%;
  height:1px;
  background:linear-gradient(to right, transparent, rgba(0,0,0,.08), transparent);
}

/* smoother heading presence */
.about-head h2{
  letter-spacing: -0.02em;
}

.about-head p{
  opacity: .95;
}

/* image refinement */
.about-image img{
  transition: transform .6s ease, box-shadow .6s ease;
}

.about-image img:hover{
  transform: scale(1.04);
  box-shadow: 0 35px 90px rgba(0,0,0,.18);
}

/* right content polish */
.about-info h3{
  letter-spacing: -0.01em;
}

.about-info p{
  font-size: 1.03rem;
}

/* features visual upgrade */
.about-features{
  padding-left: .2rem;
}

.feature{
  position: relative;
  transition: transform .35s ease, opacity .35s ease;
}

.feature::before{
  content:"";
  position:absolute;
  left:-12px;
  top:50%;
  width:6px;
  height:6px;
  border-radius:50%;
  background: var(--blue);
  transform: translateY(-50%) scale(0);
  transition: transform .35s ease;
}

.feature:hover{
  transform: translateX(6px);
}

.feature:hover::before{
  transform: translateY(-50%) scale(1);
}

.feature img{
  transition: transform .35s ease;
}

.feature:hover img{
  transform: rotate(-6deg) scale(1.08);
}

/* contact refinement – no background, just hover */
.about-contact p{
  transition: transform .3s ease, color .3s ease;
}

.about-contact p:hover{
  transform: translateX(6px);
  color: var(--text-main);
}

/* mobile fine tuning */
@media (max-width: 900px){
  .feature::before{
    display:none;
  }

  .about-image img:hover{
    transform:none;
  }
}
/* ===============================
   ABOUT SECTION – MICRO ANIMATIONS FIXED
================================ */

/* Smooth transitions without hiding content */
.about-head, .about-content{
  opacity: 1; /* visible by default */
  transform: translateY(0);
  transition: transform .6s ease, opacity .6s ease;
}

/* Image floating and hover tilt */
.about-image img{
  transition: transform .7s ease, box-shadow .7s ease;
}

.about-image img:hover{
  transform: scale(1.06) rotateZ(-2deg);
  box-shadow: 0 40px 100px rgba(0,0,0,.18);
}

/* Right heading icon subtle hover */
.about-info h3 img{
  transition: transform .5s ease;
}

.about-info h3:hover img{
  transform: rotate(12deg) scale(1.1);
}

/* Feature animations – slide & glow dot */
.feature{
  position: relative;
  transition: transform .35s ease, opacity .35s ease;
}

.feature:hover{
  transform: translateX(8px);
}

.feature::before{
  content:"";
  position:absolute;
  left:-14px;
  top:50%;
  width:6px;
  height:6px;
  border-radius:50%;
  background: var(--blue);
  transform: translateY(-50%) scale(0);
  transition: transform .35s ease, background .35s ease;
}

.feature:hover::before{
  transform: translateY(-50%) scale(1);
  background: linear-gradient(45deg, var(--blue), #1da1f2);
}

.feature img{
  transition: transform .35s ease, filter .35s ease;
}

.feature:hover img{
  transform: rotate(-8deg) scale(1.12);
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.15));
}

/* Contact hover micro movement */
.about-contact p{
  transition: transform .35s ease, color .35s ease;
}

.about-contact p:hover{
  transform: translateX(6px) scale(1.02);
  color: var(--blue);
}

/* Headings subtle scale on hover */
.about-head h2:hover{
  transform: scale(1.03);
}

.about-head p:hover{
  transform: scale(1.02);
}

/* Mobile fine tuning */
@media(max-width:900px){
  .feature::before{
    display:none;
  }
  .about-image img:hover{
    transform: scale(1.03);
  }
  .about-info h3:hover img{
    transform: rotate(8deg) scale(1.08);
  }
}
/* ===============================
   ABOUT SECTION – SUBTLE HEADING HOVER
================================ */

/* Main heading hover */
.about-head h2{
  transition: transform .4s ease, color .4s ease;
}

.about-head h2:hover{
  transform: scale(1.04);
  color: var(--blue);
}

/* Subheading hover */
.about-head p{
  transition: transform .4s ease, color .4s ease;
}

.about-head p:hover{
  transform: scale(1.02);
  color: var(--text-main);
}

/* Keep icons static for subtlety */
.about-head h2 img,
.about-head p img{
  transition: none;
}
/* ===============================
   ABOUT SECTION – FONT STYLING
================================ */

/* Main heading – bold & modern */
.about-head h2{
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
}

/* Subheading – readable & subtle */
.about-head p{
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* Right content heading (Hi, I’m...) */
.about-info h3{
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

/* Right content paragraph */
.about-info p{
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

/* Features text */
.feature span{
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

/* Contact info text */
.about-contact p{
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* Optional: icon consistency with font size scaling */
.feature img, .about-contact img{
  vertical-align: middle;
}
/* ===============================
   ABOUT SECTION – SCROLL & ENHANCED ANIMATIONS
================================ */

/* Initial hidden state for scroll reveal */
.about-head,
.about-content,
.about-image,
.about-info,
.feature,
.about-contact{
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.7s ease, opacity 0.7s ease;
}

/* Reveal class applied via JS */
.about-reveal{
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Staggered feature animation */
.feature{
  transition: transform .4s ease, opacity .4s ease;
}

/* Extra hover pop for features */
.feature:hover{
  transform: translateX(10px) scale(1.03);
}

/* Image hover refinement */
.about-image img:hover{
  transform: scale(1.08) rotateZ(-3deg);
  box-shadow: 0 45px 110px rgba(0,0,0,.2);
}

/* Heading & subheading subtle hover pop */
.about-head h2:hover{
  transform: scale(1.05);
  color: var(--blue);
}
.about-head p:hover{
  transform: scale(1.03);
  color: var(--text-main);
}

/* Right content heading icon hover */
.about-info h3:hover img{
  transform: rotate(14deg) scale(1.12);
}

/* Contact hover micro movement */
.about-contact p:hover{
  transform: translateX(8px) scale(1.03);
  color: var(--blue);
}

/* Responsive fine-tuning */
@media(max-width:900px){
  .about-image img:hover{
    transform: scale(1.05);
  }
  .about-info h3:hover img{
    transform: rotate(10deg) scale(1.1);
  }
}
/* ===============================
   ABOUT SECTION – CLEAN & SUBTLE ANIMATIONS
================================ */

/* Initial hidden state for scroll reveal */
.about-head,
.about-content,
.about-image,
.about-info,
.feature,
.about-contact{
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* Reveal class via JS */
.about-reveal{
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Image hover – subtle scale */
.about-image img{
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.about-image img:hover{
  transform: scale(1.05);
  box-shadow: 0 35px 90px rgba(0,0,0,.15);
}

/* Headings hover – subtle scale */
.about-head h2,
.about-head p{
  transition: transform 0.4s ease, color 0.4s ease;
}

.about-head h2:hover,
.about-head p:hover{
  transform: scale(1.03);
}

/* Right content H3 – subtle icon scale */
.about-info h3 img{
  transition: transform 0.5s ease;
}

.about-info h3:hover img{
  transform: scale(1.08);
}

/* Features – smooth slide */
.feature{
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.feature:hover{
  transform: translateX(5px) scale(1.02);
}

/* Contact – micro movement */
.about-contact p{
  transition: transform 0.35s ease, color 0.35s ease;
}

.about-contact p:hover{
  transform: translateX(4px);
  color: var(--blue);
}

/* Mobile fine-tuning */
@media(max-width:900px){
  .about-image img:hover{
    transform: scale(1.03);
  }
  .about-info h3:hover img{
    transform: scale(1.05);
  }
  .feature:hover{
    transform: translateX(0) scale(1.01);
  }
}
/* ===============================
   ABOUT SECTION – IMPROVED DIVIDER
================================ */

.about-section::after {
  content: "";
  position: absolute;
  left: 10%;  /* keeps it nicely inset */
  right: 10%;
  bottom: 0;
  height: 1px;
  background-color: rgba(0,0,0,.08);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

/* Trigger reveal when section is scrolled */
.about-section.about-reveal::after {
  opacity: 1;
  transform: scaleX(1);
}


  /* ===============================
   ABOUT SECTION – RESPONSIVE FIXES
================================ */
@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: left; /* left align content */
    gap: 2.5rem;
  }

  .about-info {
    margin-top: 1.8rem;
  }

  .about-info h3 {
    justify-content: flex-start;
    text-align: left;
    flex-wrap: wrap; /* allow wrapping */
  }

  .about-info p {
    margin-inline: 0;
    text-align: left;
  }

  .about-features {
    grid-template-columns: 1fr;
    justify-items: start; /* left align features */
    padding-left: 0;
  }

  .feature {
    justify-content: flex-start;
    text-align: left;
  }

  .feature img {
    margin-top: 2px; /* slight vertical alignment fix with text */
  }

  .about-contact {
    margin-inline: 0;
    text-align: left;
  }

  .about-head {
    text-align: center; /* headings stay centered */
  }

  .about-head h2 {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
  }

  .about-head p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .about-image {
    justify-content: center; /* keep image centered */
  }

  .about-image img:hover {
    transform: scale(1.04); /* reduce hover scale on mobile */
  }

  .about-info h3:hover img {
    transform: rotate(8deg) scale(1.08); /* mobile friendly hover */
  }

  .feature:hover {
    transform: translateX(2px) scale(1.01); /* subtle hover on mobile */
  }
}
@media (max-width: 900px) {
  .about-info h3 {
    display: flex;
    flex-wrap: nowrap;       /* keep icon and text in one row */
    align-items: center;     /* vertically center icon with text */
    gap: 0.5rem;
    font-size: 1.1rem;
  }

  .about-info h3 img {
    flex-shrink: 0;          /* icon never shrinks */
    width: 26px;
    height: 26px;
    margin-top: 0;           /* remove extra top margin */
    
  }
}


/* ===============================
   ABOUT SECTION – DARK THEME
   Scoped & optimized
================================ */
@media (prefers-color-scheme: dark) {
  /* Section background */

  /* Headings */
  .about-head h2,
  .about-info h3,
  .feature span {
    color: #f0f0f0;
  }

  /* Paragraphs / subtext */
  .about-head p,
  .about-info p,
  .about-contact p {
    color: #c0c0c0;
  }

  /* Divider line */
  .about-section::after {
    background-color: rgba(255, 255, 255, 0.08);
  }

  /* Image shadows for dark mode */
  .about-image img {
    box-shadow: 0 25px 70px rgba(255,255,255,0.08);
  }

  .about-image img:hover {
    box-shadow: 0 40px 100px rgba(255,255,255,0.12);
  }

  /* Features dot & hover */
  .feature::before {
    background: #1e90ff;
  }

  .feature:hover::before {
    background: linear-gradient(45deg, #1e90ff, #3aa0ff);
  }

  /* Hover colors */
  .about-head h2:hover,
  .about-head p:hover,
  .about-info h3:hover img,
  .feature:hover,
  .about-contact p:hover {
    color: #1e90ff;
  }

  /* Icons brightness */
  .about-contact img,
  .feature img,
  .about-head h2 img,
  .about-head p img,
  .about-info h3 img {
    filter: brightness(0.9);
  }

  /* Subtle hover glow for features */
  .feature:hover img {
    filter: drop-shadow(0 3px 6px rgba(30,144,255,0.3));
  }

  /* Mobile text colors */
  @media(max-width:900px){
    .about-head h2,
    .about-head p,
    .about-info h3,
    .feature span,
    .about-info p,
    .about-contact p{
      color: inherit;
    }
  }
}


/* ===============================
   ABOUT SECTION – DARK MODE ICONS + DIVIDER
================================ */
@media (prefers-color-scheme: dark) {

  /* Existing icons only */
  .about-head h2 img,
  .about-head p img,
  .about-info h3 img,
  .about-contact img {
    filter: brightness(1) invert(1); /* turn to white */
    transition: transform 0.5s ease, filter 0.5s ease;
  }

  /* Hover effect for icons (subtle pop) */
  .about-head h2 img:hover,
  .about-head p img:hover,
  .about-info h3 img:hover,
  .about-contact img:hover {
    transform: scale(1.08);
    filter: brightness(1) invert(1);
  }

  /* Divider line */
  .about-section::after {
    background-color: rgba(255,255,255,0.12);
  }
}










.latest-software{
  padding: 5rem 2.5rem;
  text-align: center;
  margin-top: -3rem;
}

/* ---------- Header ---------- */
.section-header{
  margin-bottom: 3.5rem;
}

.latest-software h2{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #0f172a;
  letter-spacing: -0.5px;
  transition: color .3s ease;
}

.heading-icon{
  width: 34px;
  height: 34px;
  transition: filter .3s ease;
}

.section-desc{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  transition: color .3s ease;
}

.desc-icon{
  width: 18px;
  height: 18px;
  opacity: .8;
}

/* ---------- Grid ---------- */
.software-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 2.2rem;
  max-width: 1100px;
  margin: auto;
}

/* ---------- Card ---------- */
.software-card{
  position: relative;
  background: transparent;
  border-radius: 22px;
  padding: 2.6rem 2rem;
  border: 1px solid rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.software-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  background: radial-gradient(500px circle at top, rgba(37,99,235,.12), transparent 60%);
  opacity:0;
  pointer-events:none;
  transition: opacity .3s ease;
}

.software-card:hover{
  transform: translateY(-8px);
  border-color: rgba(37,99,235,.45);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.software-card:hover::before{
  opacity:1;
}

/* ---------- App Icon ---------- */
.icon-wrap{
  margin-bottom: 1.4rem;
}

.software-icon{
  width: 82px;
  height: 82px;
  border-radius: 50%;
  padding: 14px;
  background: transparent;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 12px 20px rgba(37,99,235,.18);
  transition: transform .3s ease, box-shadow .3s ease;
}

.software-card:hover .software-icon{
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 16px 28px rgba(37,99,235,.28);
}

/* ---------- Text ---------- */
.software-card h3{
  font-size: 1.35rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: .6rem;
  transition: color .3s ease;
}

.software-card p{
  font-size: .96rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.8rem;
  transition: color .3s ease;
}

/* ---------- Button ---------- */
.learn-more{
  margin-top: auto;
  padding: .65rem 1.6rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  letter-spacing: .3px;
  background: linear-gradient(135deg,#2563eb,#3b82f6);
  color:#fff;
  cursor:pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  position: relative;
  overflow:hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn-icon{
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.learn-more::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45), transparent 70%);
  transform: translateX(-100%);
  transition: transform .5s ease;
}

.learn-more:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(37,99,235,.35);
}

.learn-more:hover::after{
  transform: translateX(100%);
}

/* ---------- Responsive ---------- */
@media (max-width: 650px){
  .latest-software{
    padding: 4rem 1.5rem;
  }

  .latest-software h2{
    font-size: 2rem;
  }

  .software-card h3{
    font-size: 1.15rem;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Playfair+Display:wght@400;500&display=swap');

/* ===============================
   FONT ENHANCEMENTS & TYPOGRAPHY
================================ */

/* Section heading → Poppins */
.latest-software h2{
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
  transition: color .3s ease;
}

/* Heading icon alignment */
.latest-software h2 .heading-icon{
  transform: translateY(-1px);
  transition: filter .3s ease;
}

/* Section description → Playfair */
.section-desc,
.software-card p{
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: .15px;
  line-height: 1.65;
  transition: color .3s ease;
}

/* Product / software name → Cinzel Bold */
.software-card h3{
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: .9px;
  text-transform: uppercase;
  line-height: 1.25;
  transition: color .3s ease;
}

/* Button text → Inter / Poppins */
.learn-more{
  font-family: 'Inter', 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .6px;
  text-transform: uppercase;
  transition: color .3s ease;
}

/* Button icon spacing */
.learn-more .btn-icon{
  transform: translateY(-.5px);
}

/* Mobile polish */
@media (max-width: 650px){
  .latest-software h2{
    letter-spacing: -0.6px;
  }
  .software-card h3{
    font-size: 1.15rem;
    letter-spacing: .7px;
  }
}

/* ===============================
   DARK MODE TYPOGRAPHY
================================ */
@media (prefers-color-scheme: dark){
  .latest-software h2{
    color: #f1f5f9;
  }
  .section-desc,
  .software-card p{
    color: #cbd5e1;
  }
  .software-card h3{
    color: #f8fafc;
  }
  .learn-more{
    color: #fff;
  }
  .latest-software h2 .heading-icon,
  .desc-icon{
    filter: brightness(0) invert(1);
  }
}


@media (prefers-color-scheme: dark) {

  /* Section background & text */

  .latest-software h2 {
    color: #f1f5f9;
  }

  .section-desc {
    color: #cbd5e1;
  }

  /* Card adjustments */
  .software-card {
    border-color: rgba(255,255,255,.12);
    background-color: rgba(15,23,42,.05);
  }

  .software-card h3 {
    color: #f8fafc;
  }

  .software-card p {
    color: #cbd5e1;
  }

  /* Hover glow adjusted for dark */
  .software-card::before {
    background: radial-gradient(
      500px circle at top,
      rgba(37,99,235,.25),
      transparent 60%
    );
  }

  .software-card:hover {
    border-color: rgba(37,99,235,.55);
    box-shadow: 0 30px 60px rgba(0,0,0,.25);
  }

  .software-card:hover .software-icon {
    box-shadow: 0 18px 35px rgba(37,99,235,.45);
  }

  /* Learn more button */
  .learn-more {
    background: linear-gradient(135deg,#2563eb,#3b82f6);
    color: #fff;
  }

  /* Heading icon → white */
  .latest-software h2 .heading-icon {
    filter: brightness(0) invert(1);
  }

  /* Description icon (if any added later) */
  .desc-icon {
    filter: brightness(0) invert(1);
  }

  /* Optional subtle dark mode animations tweaks */
  .software-card:hover::before,
  .learn-more:hover::after {
    transition: transform .5s ease, opacity .5s ease;
  }
}

.latest-software{
  --reveal-offset: 24px;
}

.latest-software.reveal-init .section-header,
.latest-software.reveal-init .software-card{
  opacity: 0;
}

.latest-software.reveal-active .section-header,
.latest-software.reveal-active .software-card{
  opacity: 1;
  animation: softReveal .7s ease forwards;
}

/* stagger only via animation-delay */
.latest-software.reveal-active .software-card:nth-child(1){ animation-delay: .12s; }
.latest-software.reveal-active .software-card:nth-child(2){ animation-delay: .24s; }
.latest-software.reveal-active .software-card:nth-child(3){ animation-delay: .36s; }
.latest-software.reveal-active .software-card:nth-child(4){ animation-delay: .48s; }

@keyframes softReveal{
  from{
    opacity: 0;
    transform: translateY(var(--reveal-offset));
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}



  /* =========================
   FOOTER BASE
========================= */
.footer {
  color: #1a1a1a;
  font-family: 'Poppins', sans-serif;
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 10;
  border-top: 1px solid #e5e5e5; /* subtle top divider */
}

/* CONTAINER */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
}

/* ----------------------
   LEFT SECTION
------------------------ */
.footer-left {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* LOGO */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.footer-logo h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
}

/* DESCRIPTION & PAGES */
.footer-desc-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
  max-width: 380px;
}
.footer-pages h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}
.footer-pages a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #555555;
  font-size: 0.95rem;
  text-decoration: none;
  margin-bottom: 0.4rem;
  transition: color 0.3s;
}
.footer-pages a:hover {
  color: #4f9aff;
}
.footer-pages img {
  width: 18px;
  height: 18px;
}

/* SOCIALS */
.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-socials a img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s;
}
.footer-socials a:hover img {
  transform: scale(1.1);
}

/* ----------------------
   RIGHT SECTION
------------------------ */
.footer-right {
  flex: 1 1 350px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* NEWSLETTER */
.footer-right h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
}
.footer-right h3 img {
  width: 24px;
  height: 24px;
}

/* FORM */
.footer-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  transition: background 0.3s;
}
.input-wrap:hover {
  background: #e0e0e0;
}
.input-wrap img {
  width: 20px;
  height: 20px;
  margin-right: 0.7rem;
}
.input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #1a1a1a;
  font-size: 0.95rem;
}

/* SUBMIT BUTTON */
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #4f9aff;
  border: none;
  border-radius: 10px;
  padding: 0.7rem;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.submit-btn img {
  width: 20px;
  height: 20px;
}
.submit-btn:hover {
  background: #1d6fe0;
  transform: scale(1.03);
}

/* ----------------------
   BOTTOM SECTION
------------------------ */
.footer-bottom {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.footer-divider {
  width: 90%;
  height: 1px;
  background: #e0e0e0;
  margin: auto;
  border-radius: 1px;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #888888;
}
.footer-copyright img {
  width: 14px;
  height: 14px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-left, .footer-right {
    flex: unset;
  }
  .footer-desc-row {
    align-items: center;
  }
  .footer-pages a {
    justify-content: center;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-right .footer-form input {
    text-align: center;
  }
}


/* =========================
   FOOTER PREMIUM SPACING — CONTROLLED MARGINS
========================= */

/* FOOTER BASE */
.footer {
  padding: 6rem 3rem 4rem; /* plenty of inner breathing space */
}

/* CONTAINER */
.footer-container {
  gap: 3rem; /* tighter than before for cohesion */
}

/* LEFT SECTION */
.footer-left {
  gap: 2rem; /* less than before, still spacious */
}
.footer-logo {
  gap: 1.2rem;
}
.footer-logo h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* DESCRIPTION & PAGES */
.footer-desc-row {
  gap: 1.8rem;
}
.footer-desc {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 450px;
}
.footer-pages h4 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}
.footer-pages a {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* SOCIALS */
.footer-socials {
  gap: 1.2rem; /* slightly tighter */
}
.footer-socials a img {
  width: 32px;
  height: 32px;
}

/* RIGHT SECTION */
.footer-right {
  gap: 1.8rem; /* reduced gap for cohesion */
}

/* NEWSLETTER */
.footer-right h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}
.footer-right h3 img {
  width: 28px;
  height: 28px;
}

/* FORM */
.footer-form {
  gap: 1rem; /* less margin between input & button */
}
.input-wrap {
  padding: 1rem 1.5rem;
  border-radius: 14px;
}
.input-wrap img {
  margin-right: 1rem;
}
.input-wrap input {
  font-size: 1.05rem;
}

/* SUBMIT BUTTON */
.submit-btn {
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  border-radius: 14px;
  gap: 0.5rem;
}

/* BOTTOM SECTION */
.footer-bottom {
  margin-top: 3.5rem; /* reduced margin so it stays connected */
  gap: 2rem;
}
.footer-divider {
  width: 100%;
  height: 1px;
  border-radius: 2px;
}
.footer-copyright {
  gap: 0.7rem;
  font-size: 0.95rem;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
  .footer-left, .footer-right {
    margin-bottom: 2rem;
  }
  .footer-desc-row {
    gap: 1.5rem;
  }
  .footer-form input {
    font-size: 1rem;
    padding: 0.9rem 1.2rem;
  }
  .submit-btn {
    padding: 0.9rem 1.2rem;
  }
}

/* =========================
   FONT IMPORTS
========================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Montserrat:wght@400;500;600&family=Roboto:wght@400;500;700&display=swap');

/* =========================
   FOOTER TYPOGRAPHY
========================= */
.footer {
  font-family: 'Roboto', sans-serif; /* base body text */
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

/* LEFT SECTION */
.footer-logo h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #111111;
}

.footer-desc {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #555555;
  letter-spacing: 0.01em;
}

.footer-pages h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

.footer-pages a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #555555;
  letter-spacing: 0.01em;
  transition: color 0.3s, letter-spacing 0.3s;
}
.footer-pages a:hover {
  color: #4f9aff;
  letter-spacing: 0.02em;
}

/* SOCIALS */
.footer-socials a img {
  transition: transform 0.3s, filter 0.3s;
}
.footer-socials a:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* RIGHT SECTION */
.footer-right h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

.footer-form input {
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #1a1a1a;
}

.submit-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
}

/* BOTTOM SECTION */
.footer-copyright {
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  color: #888888;
  letter-spacing: 0.01em;
}

/* =========================
   FOOTER ANIMATIONS FIXED
========================= */

/* Apply initial hidden state only to child sections */
.footer-left,
.footer-right,
.footer-bottom {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.6, 0.05, 0.28, 0.91);
}

/* Reveal class */
.footer-left.visible,
.footer-right.visible,
.footer-bottom.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.footer-left.visible { transition-delay: 0.1s; }
.footer-right.visible { transition-delay: 0.3s; }
.footer-bottom.visible { transition-delay: 0.5s; }

/* Hover/floating effects for socials and buttons */
.footer-socials a img {
  transition: transform 0.4s, filter 0.4s;
}
.footer-socials a:hover img {
  transform: translateY(-3px) scale(1.1);
  filter: brightness(1.2);
}

.submit-btn {
  transition: all 0.3s ease-in-out, transform 0.3s ease;
}
.submit-btn:hover {
  transform: translateY(-2px) scale(1.03);
  background: #1d6fe0;
}

/* Subtle floating for footer logo */
.footer-logo img {
  animation: float 6s ease-in-out infinite;
}

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

  /* =========================
   CLEAN FOOTER HOVER & ANIMATIONS
========================= */

/* =========================
   INPUT FOCUS & HOVER
========================= */
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 14px;
  padding: 1rem 1.5rem;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.input-wrap:hover {
  background: #e8f0ff;
}

/* animated outline using pseudo-element */
.input-wrap::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 16px;
  border: 2px solid transparent;
  pointer-events: none;
  transition: all 0.4s ease;
}

.input-wrap input:focus + .input-wrap::after,
.input-wrap:focus-within::after {
  border-color: #4f9aff;
  transform: scale(1.03);
}

/* input text stays clean */
.input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #1a1a1a;
  font-size: 1.05rem;
  border-radius: 14px; /* keeps the corners rounded */
}

/* =========================
   SUBMIT BUTTON FIX
========================= */
.submit-btn {
  position: relative;
  overflow: hidden;
  background: #4f9aff;
  border-radius: 14px;
  padding: 1rem 1.5rem;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s ease;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #4f9aff, #1d6fe0);
  transform: translateY(-2px) scale(1.04);
}

/* Remove any white glitches: force backface-visibility */
.submit-btn, .submit-btn * {
  backface-visibility: hidden;
}

/* =========================
   SOCIAL MEDIA ICONS
========================= */
.footer-socials a img {
  transition: transform 0.35s ease, filter 0.35s ease;
  box-shadow: none !important; /* remove any shadows */
}

.footer-socials a:hover img {
  transform: translateY(-4px) scale(1.15);
  filter: brightness(1.2);
}

/* =========================
   FOOTER LINKS
========================= */
.footer-pages a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.25s ease, color 0.25s ease, letter-spacing 0.25s ease;
}

.footer-pages a:hover {
  transform: translateX(3px);
  color: #4f9aff;
  letter-spacing: 0.02em;
  text-shadow: none; /* no laggy shadows */
}

/* =========================
   LOGO FLOAT SMOOTH
========================= */
.footer-logo img {
  animation: floatSmooth 6s ease-in-out infinite;
}

@keyframes floatSmooth {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-3px); }
  50% { transform: translateY(-5px); }
  75% { transform: translateY(-3px); }
}

/* =========================
   SECTION VISIBILITY
========================= */
.footer-left.visible,
.footer-right.visible,
.footer-bottom.visible {
  transition: all 0.85s cubic-bezier(0.6, 0.05, 0.28, 0.91);
}
/* =========================
   INPUT & SUBMIT BUTTON PREMIUM
========================= */

/* -------- INPUT WRAP -------- */
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff; /* keep white */
  border: 1px solid #d1d5db; /* subtle gray border */
  border-radius: 50px; /* fully rounded */
  padding: 0.9rem 1.5rem;
  transition: all 0.35s ease;
  overflow: hidden;
}

/* Hover effect */
.input-wrap:hover {
  border-color: #a5b4fc; /* subtle hover accent */
  background: #f9faff;
}

/* Focus effect with smooth blue outline */
.input-wrap:focus-within {
  border-color: #4f9aff; /* border turns blue */
  box-shadow: 0 0 0 3px rgba(79, 154, 255, 0.25); /* soft blue glow */
}

/* -------- INPUT FIELD -------- */
.input-wrap input {
  flex: 1;
  background: transparent;
  border: none; /* no inner line */
  outline: none; /* remove default focus */
  font-size: 1.05rem;
  color: #1a1a1a;
  border-radius: 50px; /* keeps fully rounded inside */
  padding: 0; /* handled by wrap */
  caret-color: #4f9aff; /* blue cursor */
  min-width: 0; /* fix cursor overshoot issue */
}

/* Placeholder */
.input-wrap input::placeholder {
  color: #9ca3af; /* gray placeholder */
  opacity: 1;
}

/* -------- SUBMIT BUTTON -------- */
.submit-btn {
  position: relative;
  overflow: hidden;
  background: #4f9aff;
  border-radius: 50px; /* fully rounded */
  padding: 1rem 2rem;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s ease;
  backface-visibility: hidden; /* remove white glitch */
}

/* Hover effect smooth */
.submit-btn:hover {
  background: linear-gradient(135deg, #4f9aff, #1d6fe0);
  transform: translateY(-2px) scale(1.04);
}

/* Remove any flicker */
.submit-btn * {
  backface-visibility: hidden;
}
/* =========================
   GLITCH-FREE SUBMIT BUTTON WITH ICON
========================= */
.submit-btn {
  position: relative;
  overflow: hidden;
  background: #4f9aff; /* solid base to prevent white flash */
  border-radius: 50px;
  padding: 1rem 2rem;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* space between icon and text */

  transition: transform 0.35s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Gradient hover via pseudo-element */
.submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: linear-gradient(135deg, #4f9aff, #1d6fe0);
  opacity: 0; /* hidden by default */
  transition: opacity 0.35s ease;
  z-index: 0; /* gradient behind content */
}

/* Content layer (text + icon) */
.submit-btn * {
  position: relative;
  z-index: 1; /* always above gradient */
}

/* Hover effect */
.submit-btn:hover::before {
  opacity: 1; /* fade-in gradient */
}

.submit-btn:hover {
  transform: translateY(-2px) scale(1.04);
}


.input-wrap input {
  padding: 0.5rem 0.5rem;   /* adjust for space inside input */
  font-size: 1rem;
  line-height: 1.2rem;      /* important for vertical alignment */
  font-family: Arial, sans-serif; /* use consistent font */
  box-sizing: border-box;   /* include padding in width calculation */
}


  /* =========================
   FOOTER FINAL RESPONSIVE TWEAKS
========================= */

/* Small tablets and below */
@media (max-width: 768px) {
  .footer {
    padding: 4rem 2rem 3rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .footer-left,
  .footer-right {
    flex: unset;
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer-desc {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .footer-pages h4 {
    font-size: 1.1rem;
  }

  .footer-pages a {
    justify-content: center;
    font-size: 0.95rem;
  }

  .footer-socials {
    justify-content: center;
    gap: 0.8rem;
  }

  .footer-right h3 {
    font-size: 1.3rem;
  }

  .footer-form {
    width: 100%;
    gap: 0.8rem;
  }

  .input-wrap {
    padding: 0.8rem 1rem;
  }

  .input-wrap input {
    font-size: 1rem;
    text-align: center;
  }

  .submit-btn {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }

  .footer-bottom {
    gap: 1.2rem;
  }

  .footer-copyright {
    font-size: 0.85rem;
  }
}

/* Mobile devices */
@media (max-width: 480px) {
  .footer {
    padding: 3rem 1.5rem 2rem;
  }

  .footer-logo h2 {
    font-size: 1.4rem;
    
  }

  .footer-logo {
    align-items: center;
  }

  .footer-desc {
    font-size: 0.9rem;
  }

  .footer-pages h4 {
    font-size: 1rem;
  }

  .footer-pages a {
    font-size: 0.9rem;
  }

  .footer-socials a img {
    width: 26px;
    height: 26px;
  }

  .footer-right h3 {
    font-size: 1.2rem;
  }

  .input-wrap {
    padding: 0.7rem 0.9rem;
  }

  .input-wrap input {
    font-size: 0.95rem;
  }

  .submit-btn {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }

  .footer-bottom {
    gap: 1rem;
  }
}

/* Ultra-small screens / tiny devices */
@media (max-width: 360px) {
  .footer-logo h2 {
    font-size: 1.4rem;
  }

  .footer-desc {
    font-size: 0.85rem;
  }

  .footer-pages h4 {
    font-size: 0.95rem;
  }

  .footer-pages a {
    font-size: 0.85rem;
  }

  .footer-right h3 {
    font-size: 1.1rem;
  }

  .input-wrap input,
  .submit-btn {
    font-size: 0.9rem;
  }

  .footer-socials a img {
    width: 24px;
    height: 24px;
  }
}


/* =========================
   FOOTER DARK MODE — NO BG CHANGE
========================= */
@media (prefers-color-scheme: dark) {
  /* TEXT COLORS */
  .footer {
    color: #e0e0e0;
    border-top: 1px solid #2a2a2a; /* subtle divider darker */
  }

  /* LEFT SECTION */
  .footer-logo h2 {
    color: #ffffff;
  }

  .footer-desc {
    color: #cccccc;
  }

  .footer-pages h4 {
    color: #f0f0f0;
  }

  .footer-pages a {
    color: #bbbbbb;
  }
  .footer-pages a:hover {
    color: #4f9aff;
  }

  /* SOCIAL ICONS */
  .footer-socials a img {
    filter: brightness(0.9);
  }
  .footer-socials a:hover img {
    filter: brightness(1.3);
  }

  /* RIGHT SECTION */
  .footer-right h3 {
    color: #ffffff;
  }

  /* INPUTS */
  .input-wrap {
    border: 1px solid #555555; /* subtle border in dark mode */
  }
  .input-wrap:hover {
    border-color: #4f9aff; /* accent on hover */
  }
  .input-wrap:focus-within {
    border-color: #4f9aff;
    box-shadow: 0 0 0 3px rgba(79, 154, 255, 0.25);
  }
  .input-wrap input {
    color: #ffffff;
    caret-color: #4f9aff;
    ::placeholder {
      color: #aaa;
    }
  }

  /* SUBMIT BUTTON */
  .submit-btn {
    color: #ffffff;
  }
  .submit-btn:hover {
    background: linear-gradient(135deg, #4f9aff, #1d6fe0);
  }

  /* BOTTOM SECTION */
  .footer-copyright {
    color: #aaaaaa;
  }
  .footer-divider {
    background: #444444;
  }
}


  /* =========================
   FOOTER BASE
========================= */
.footer {

  color: #1a1a1a;
  font-family: 'Roboto', sans-serif;
  padding: 6rem 3rem 4rem;
  position: relative;
  z-index: 10;
  border-top: 1px solid #e5e5e5;
  letter-spacing: 0.02em;
}

/* CONTAINER */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
}

/* ----------------------
   LEFT SECTION
------------------------ */
.footer-left {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* LOGO */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.footer-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  animation: floatSmooth 6s ease-in-out infinite;
}
.footer-logo h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #111111;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

/* DESCRIPTION & PAGES */
.footer-desc-row {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.footer-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  max-width: 450px;
  letter-spacing: 0.01em;
}
.footer-pages h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.7rem;
  letter-spacing: 0.02em;
}
.footer-pages a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #555555;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: transform 0.25s ease, color 0.25s ease, letter-spacing 0.25s ease;
}
.footer-pages a:hover {
  transform: translateX(3px);
  color: #4f9aff;
  letter-spacing: 0.02em;
}

/* SOCIALS */
.footer-socials {
  display: flex;
  gap: 1.2rem;
}
.footer-socials a img {
  width: 32px;
  height: 32px;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.footer-socials a:hover img {
  transform: translateY(-4px) scale(1.15);
  filter: brightness(1.2);
}

/* ----------------------
   RIGHT SECTION
------------------------ */
.footer-right {
  flex: 1 1 350px;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

/* NEWSLETTER */
.footer-right h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}
.footer-right h3 img {
  width: 28px;
  height: 28px;
}

/* FORM */
.footer-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 50px;
  padding: 0.9rem 1.5rem;
  transition: all 0.35s ease;
  overflow: hidden;
}
.input-wrap:hover {
  background: #f9faff;
  border-color: #a5b4fc;
}
.input-wrap:focus-within {
  border-color: #4f9aff;
  box-shadow: 0 0 0 3px rgba(79, 154, 255, 0.25);
}
.input-wrap img {
  width: 20px;
  height: 20px;
  margin-right: 1rem;
}


/* SUBMIT BUTTON */
.submit-btn {
  position: relative;
  overflow: hidden;
  background: #4f9aff;
  border-radius: 50px;
  padding: 1rem 2rem;
  color: #fff;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.35s ease;
  backface-visibility: hidden;
}
.submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: linear-gradient(135deg, #4f9aff, #1d6fe0);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}
.submit-btn * {
  position: relative;
  z-index: 1;
}
.submit-btn:hover::before {
  opacity: 1;
}
.submit-btn:hover {
  transform: translateY(-2px) scale(1.04);
}

/* ----------------------
   BOTTOM SECTION
------------------------ */
.footer-bottom {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
.footer-divider {
  width: 100%;
  height: 1px;
  background: #e0e0e0;
  border-radius: 2px;
}
.footer-copyright {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: #888888;
}
.footer-copyright img {
  width: 14px;
  height: 14px;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes floatSmooth {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-3px); }
  50% { transform: translateY(-5px); }
  75% { transform: translateY(-3px); }
}

.footer-left,
.footer-right,
.footer-bottom {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.85s cubic-bezier(0.6, 0.05, 0.28, 0.91);
}
.footer-left.visible { transition-delay: 0.1s; opacity:1; transform:translateY(0);}
.footer-right.visible { transition-delay: 0.3s; opacity:1; transform:translateY(0);}
.footer-bottom.visible { transition-delay: 0.5s; opacity:1; transform:translateY(0);}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .footer-container { flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
  .footer-left, .footer-right { flex: unset; margin-bottom: 2rem; }
  .footer-desc-row { gap: 1.5rem; align-items: center; }
  .footer-pages a { justify-content: center; }
  .footer-socials { justify-content: center; }
  .footer-form input { text-align: center; }
}

@media (max-width: 768px) {
  .footer { padding: 4rem 2rem 3rem; }
  .footer-left, .footer-right { width: 100%; text-align: center; }
  .footer-desc { max-width: 100%; font-size: 0.95rem; line-height: 1.6; }
  .footer-pages h4 { font-size: 1.1rem; }
  .footer-pages a { font-size: 0.95rem; }
  .footer-socials { gap: 0.8rem; }
  .footer-right h3 { font-size: 1.3rem; }
  .input-wrap { padding: 0.8rem 1rem; }
  .input-wrap input { font-size: 1rem; text-align: center; }
  .submit-btn { width: 100%; padding: 0.9rem 1rem; font-size: 1rem; }
  .footer-bottom { gap: 1.2rem; }
  .footer-copyright { font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .footer { padding: 3rem 1.5rem 2rem; }
  .footer-logo h2 { font-size: 1.4rem; }
  .footer-desc { font-size: 0.9rem; }
  .footer-pages h4 { font-size: 1rem; }
  .footer-pages a { font-size: 0.9rem; }
  .footer-socials a img { width: 26px; height: 26px; }
  .footer-right h3 { font-size: 1.2rem; }
  .input-wrap { padding: 0.7rem 0.9rem; }
  .input-wrap input { font-size: 0.95rem; }
  .submit-btn { padding: 0.8rem 1rem; font-size: 0.95rem; }
  .footer-bottom { gap: 1rem; }
}

@media (max-width: 360px) {
  .footer-desc { font-size: 0.85rem; }
  .footer-pages h4 { font-size: 0.95rem; }
  .footer-pages a { font-size: 0.85rem; }
  .footer-right h3 { font-size: 1.1rem; }
  .input-wrap input,
  .submit-btn { font-size: 0.9rem; }
  .footer-socials a img { width: 24px; height: 24px; }
}

/* =========================
   DARK MODE
========================= */
@media (prefers-color-scheme: dark) {
  .footer { color: #e0e0e0; border-top: 1px solid #2a2a2a; }
  .footer-logo h2 { color: #ffffff; }
  .footer-desc { color: #cccccc; }
  .footer-pages h4 { color: #f0f0f0; }
  .footer-pages a { color: #bbbbbb; }
  .footer-pages a:hover { color: #4f9aff; }
  .footer-socials a img { filter: brightness(0.9); }
  .footer-socials a:hover img { filter: brightness(1.3); }
  .footer-right h3 { color: #ffffff; }
  .input-wrap { border: 1px solid #555555; }
  .input-wrap:hover { border-color: #4f9aff; }
  .input-wrap:focus-within { border-color: #4f9aff; box-shadow: 0 0 0 3px rgba(79, 154, 255, 0.25); }
  .input-wrap input { color: #ffffff; caret-color: #4f9aff; }
  .input-wrap input::placeholder { color: #aaa; }
  .submit-btn { color: #ffffff; }
  .submit-btn:hover { background: linear-gradient(135deg, #4f9aff, #1d6fe0); }
  .footer-divider { background: #444444; }
  .footer-copyright { color: #aaaaaa; }
}
/* =========================
   DARK THEME ICON + INPUT FIX
   (ADD AFTER ALL CSS)
========================= */
/* =========================
   FOOTER DARK MODE — ICON & INPUT FIX (SAFE)
   ONLY AFFECTS .footer
========================= */
@media (prefers-color-scheme: dark) {

  /* ---------- FOOTER BASE ---------- */
  .footer {
    color: #e5e5e5;
  }

  /* ---------- ICONS IN FOOTER (EXCEPT LOGO & SOCIALS) ---------- */
  .footer img {
    filter: invert(1) brightness(1.15);
  }

  /* Keep logo normal */
  .footer-logo img {
    filter: none !important;
  }

  /* Keep social icons normal */
  .footer-socials img {
    filter: none !important;
  }

  /* ---------- INPUT BACKGROUND ---------- */
  .footer .input-wrap {
    background: #0f0f0f !important;
    border-color: #2a2a2a !important;
  }

  .footer .input-wrap:hover {
    background: #141414 !important;
    border-color: #4f9aff !important;
  }

  .footer .input-wrap:focus-within {
    background: #0f0f0f !important;
    border-color: #4f9aff !important;
    box-shadow: 0 0 0 3px rgba(79,154,255,0.3);
  }

  /* ---------- INPUT TEXT ---------- */
  .footer .input-wrap input {
    color: #ffffff !important;
    caret-color: #4f9aff;
  }

  .footer .input-wrap input::placeholder {
    color: #9ca3af !important;
  }

  /* ---------- ICONS INSIDE INPUT ---------- */
  .footer .input-wrap img {
    filter: invert(1) brightness(1.15);
  }

  /* ---------- SUBMIT BUTTON ICON ---------- */
  
}
.footer .submit-btn img {
    filter: invert(1) brightness(1.15);
  }
