/* Top bar dynamic spacing and layout */
:root{
    --topbar-gap: clamp(16px, 4vw, 80px);
    --auth-gap: clamp(8px, 1.5vw, 20px);
    --topbar-height: 72px; /* used to offset hero under the fixed bars */
}
.static-top-bar .container,
.top-bar .container{
    display: flex;
    align-items: center;
    gap: var(--topbar-gap);
    position: relative; /* allow absolute positioning for edge anchoring */
}
.static-top-bar .site-logo,
.top-bar .site-logo{ flex: 0 0 auto; }
.static-top-bar .auth-buttons,
.top-bar .auth-buttons{
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: var(--auth-gap);
}

/* Anchor logo to top-left and auth buttons to top-right */
.top-bar .site-logo,
.static-top-bar .site-logo {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.top-bar .auth-buttons.top-auth,
.static-top-bar .auth-buttons.top-auth {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0; /* override auto margin when absolutely positioned */
}

/* When scrolled top bar is visible, slightly tighten the gap for compactness */
.top-bar.visible .container{ gap: clamp(12px, 3vw, 56px); }

@media (max-width: 992px){
    .static-top-bar .container,
    .top-bar .container{ gap: clamp(12px, 3vw, 40px); }
    .static-top-bar .auth-buttons,
    .top-bar .auth-buttons{ gap: clamp(6px, 2.5vw, 16px); }
}
/* --- FOOTER ANIMATIONS --- */
.footer {
  position: relative;
  overflow: hidden;
  animation: fadeInFooter 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
}
.footer-newsletter-section, .footer-content {
  opacity: 0;
  transform: translateY(40px);
  animation: footerSectionFadeIn 1s cubic-bezier(0.23, 1, 0.32, 1) 0.6s forwards;
}
.footer-content {
  animation-delay: 1s;
}
.footer-logo img, .footer-links, .footer-services, .footer-contact {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  animation: footerItemFadeIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) 1.2s forwards;
}
.footer-links { animation-delay: 1.3s; }
.footer-services { animation-delay: 1.4s; }
.footer-contact { animation-delay: 1.5s; }
.footer-logo img { animation-delay: 1.2s; }

@keyframes fadeInFooter {
  from { opacity: 0; transform: translateY(60px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes footerSectionFadeIn {
  to { opacity: 1; transform: none; }
}
@keyframes footerItemFadeIn {
  to { opacity: 1; transform: none; }
}

/* Subtle floating animation for social icons */
.footer .social-icon {
  animation: socialFloat 2.8s ease-in-out infinite alternate;
}
.footer .social-icon:nth-child(2) { animation-delay: 0.2s; }
.footer .social-icon:nth-child(3) { animation-delay: 0.4s; }
.footer .social-icon:nth-child(4) { animation-delay: 0.6s; }
@keyframes socialFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-8px) scale(1.08); }
}
/* --- WHY US (NEW) --- */
.new-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 40px;
  margin-top: 30px;
}
.new-why-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 2px solid #ff3c00;
  border-radius: 18px;
  padding: 32px 28px 28px 28px;
  box-shadow: 0 2px 16px rgba(255,60,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 0;
  min-height: 180px;
}
.new-why-item > div:last-child {
  flex: 1 1 0%;
}
.new-why-item:hover {
  box-shadow: 0 8px 32px rgba(255,60,0,0.10);
  transform: translateY(-6px) scale(1.03);
}
.new-why-icon {
  font-size: 2.4rem;
  color: #ff3c00;
  flex-shrink: 0;
  margin-top: 4px;
}
.new-why-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}
.new-why-item p {
  color: #444;
  font-size: 1rem;
  margin: 0;
}
@media (max-width: 900px) {
  .new-why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .new-why-item {
    padding: 24px 16px 20px 16px;
  }
}

/* --- FOOTER RESPONSIVE STYLES --- */
@media (max-width: 1200px) {
  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 24px;
  }
  .footer-logo { max-width: 260px; }
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .footer-logo { max-width: 100%; }
}

@media (max-width: 700px) {
  .footer {
    padding: 36px 0 100px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }
  .footer-logo, .footer-links, .footer-services, .footer-contact {
    margin-bottom: 28px;
    max-width: 100%;
  }
  .footer-newsletter-section {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 10px;
    gap: 18px;
  }
  .footer-newsletter-section .newsletter-form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .footer-newsletter-section .newsletter-form input {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 36px 0 85px;
  }
  .footer-newsletter-section {
    padding: 16px 4px;
  }
  .footer-content {
    margin-bottom: 18px;
  }
  .footer-divider {
    margin: 18px 0;
  }
}

/* Responsive for contact grid */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 10px;
  }
}
/* --- BOTTOM FLOATING FOOTER BAR --- */
.bottom-footer-bar {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    background: #ff2d2d;
    color: #fff;
    border-radius: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 28px;
    height: 56px;
    z-index: 15000;
    min-width: 340px;
    max-width: 98vw;
    font-family: 'Poppins', 'Montserrat', Arial, sans-serif;
}
.bottom-footer-bar .footer-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0 10px;
    border-radius: 30px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    height: 40px;
    line-height: 40px;
}
.bottom-footer-bar .footer-nav-item.active,
.bottom-footer-bar .footer-nav-item:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
    transform: translateY(-2px) scale(1.06);
}
.bottom-footer-bar .footer-nav-item i {
    font-size: 1.25rem;
    margin-right: 4px;
    vertical-align: middle;
}
@media (max-width: 600px) {
    .bottom-footer-bar {
        min-width: 0;
        padding: 0 8px;
        height: 48px;
        font-size: 0.95rem;
    }
    .bottom-footer-bar .footer-nav-item {
        font-size: 0.93rem;
        padding: 0 6px;
        height: 36px;
    }
    .bottom-footer-bar .footer-nav-item i {
        font-size: 1.1rem;
    }
}
/* --- GLOBAL RESETS & TYPOGRAPHY --- */
:root {
    --primary-color: #FF3528;
    --primary-dark: #eb2c2c;
    --secondary-color: #07102C;
    --accent-color: #FF3528;
    --dark-color: #07102C;
    --light-color: #FFFFFF;
    --gray-color: #000000;
    --danger-color: #FF3528;
    --success-color: #07102C;
    --warning-color: #EC4119;
    --info-color: #FF3528;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --white: #FFFFFF;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.25);
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
a { 
    text-decoration: none; 
    color: var(--primary-color); 
    transition: all 0.3s ease;
}
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.bg-light { background-color: #f8f9fa; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-primary {
    background: var(--light-color);
    color: var(--dark-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 70%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    background: var(--primary-color);
    color: var(--light-color);
    box-shadow: 
        0 10px 30px rgba(255, 53, 40, 0.4),
        0 0 25px rgba(255, 53, 40, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    filter: brightness(1.1);
}
.btn-primary:hover::before {
    transform: translateX(0%) translateY(0%) rotate(45deg);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    transition: left 0.5s ease;
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 8px rgba(255, 102, 0, 0.3);
}
.btn-secondary:hover::before {
    left: 100%;
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-outline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    border-radius: 50%;
    z-index: -1;
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 30px rgba(255, 255, 255, 0.4),
        0 0 25px rgba(255, 255, 255, 0.3);
    border-color: var(--white);
}
.btn-outline:hover::before {
    width: 300px;
    height: 300px;
}
.btn-lg { padding: 15px 35px; font-size: 1.1rem; }

/* --- HEADER & NAVBAR (PILL) --- */
.header {
    position: fixed;
    left: 50%;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
    top: auto;
    transform: translateX(-50%);
    width: clamp(720px, 90vw, 1200px);
    height: 56px;
    z-index: 1300;
    background: var(--primary-color);
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 8px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideUpHeader 0.8s cubic-bezier(.68,-0.55,.27,1.55);
    transition: box-shadow 0.3s, border-radius 0.3s, width 0.3s, transform 0.3s;
}
.header .container {
    width: 100%;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0;
    width: 100%;
}
.header .site-logo.home-icon {
    color: var(--white);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: all 0.3s;
    text-decoration: none;
    margin-right: 8px;
}
.header .site-logo.home-icon:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.05);
    color: var(--white);
}
/* Center the nav block within the middle grid column */
.nav-links {
    justify-self: center;
    display: flex;
    width: max-content; /* shrink to content so true center aligns visually */
}

/* Header nav links: black by default, white and illuminated on hover */
.header .nav-links a {
    color: #000 !important;
    background: transparent;
    transition: color 0.3s, background 0.3s, box-shadow 0.3s;
}
.header .nav-links a:focus-visible,
.nav-links .drop-trigger:focus-visible {
    outline: 3px solid rgba(255,255,255,0.85);
    outline-offset: 2px;
    border-radius: 10px;
}
.header .nav-links a:hover,
.header .nav-links a.active {
    color: #fff !important;
    background: rgba(255,255,255,0.18);
    box-shadow: 0 2px 12px 0 rgba(255,255,255,0.25);
    border-radius: 8px;
}

.nav-links ul {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
        align-items: center;
        justify-content: center; /* center items inside the middle column */
}
.nav-links a {
    color: #fff;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 16px;
    transition: background 0.2s, color 0.2s;
    position: relative;
    white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

    /* Hamburger button styling (kept minimal and symmetric with home icon) */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 1.15rem;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255,255,255,0.15);
        cursor: pointer;
        transition: background .2s, transform .2s;
        margin-left: 8px; /* balance the 8px margin-right on the home icon */
    }
    .mobile-menu-btn:hover { background: rgba(255,255,255,0.25); transform: scale(1.05); }

/* Hamburger button styling (kept minimal and symmetric with home icon) */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: background .2s, transform .2s;
    margin-left: 8px; /* balance the 8px margin-right on the home icon */
}
.mobile-menu-btn:hover { background: rgba(255,255,255,0.25); transform: scale(1.05); }
/* --- NAVBAR DROPDOWN (PRODUCTS) --- */
.nav-links .dropdown {
    position: relative;
}
/* Fix for dropdown menu showing by default */
.nav-links .dropdown .dropdown-content,
.nav-links .dropdown .mega-dropdown {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
.nav-links .dropdown > a,
.nav-links .dropdown > .drop-trigger {
    color: #222;
    background: transparent;
    border-radius: 16px;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
    font-weight: 600;
}
.nav-links .dropdown > a:hover,
.nav-links .dropdown:hover > a,
.nav-links .dropdown > a:focus {
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0 4px 24px rgba(255,53,40,0.12), 0 1.5px 8px rgba(0,0,0,0.08);
}

/* Drop-up panel that opens above the pill header on hover (desktop) */
.nav-links .dropup-menu {
    position: absolute;
    left: 50%;
    bottom: 56px; /* sit above the 56px pill header */
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
    pointer-events: none;
    background: var(--primary-color);
    color: #fff;
    border-radius: 26px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.22);
    padding: 24px 28px;
    min-width: clamp(300px, 55vw, 640px);
    transition: opacity .24s ease, transform .24s ease;
    z-index: 1200; /* above header */
}
.nav-links .dropup-menu .dropup-header {
    font-size: 1.15rem;
    font-weight: 700;
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 18px;
}
.nav-links .dropup-menu .dropup-header:not(:first-child) { margin-top: 12px; }
.nav-links .dropup-menu .dropup-header + a { margin-top: 6px; }
.nav-links .dropup-menu .dropup-header i { font-size: 1.2rem; }

.nav-links .dropup-menu a {
    display: block;
    padding: 12px 8px;
    color: #fff;
    border-radius: 12px;
    font-weight: 500;
}
.nav-links .dropup-menu a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nav-links .dropup-menu a:hover,
.nav-links .dropup-menu a.active {
    background: rgba(255,255,255,0.16);
    color: #fff;
}
.nav-links .dropdown:hover .dropup-menu,
.nav-links .dropdown:focus-within .dropup-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Optional: support click-to-open by toggling a class on the dropdown */
.nav-links .dropdown.open > .drop-trigger {
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0 4px 24px rgba(255,53,40,0.12), 0 1.5px 8px rgba(0,0,0,0.08);
}
.nav-links .dropdown.open .dropup-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Caret rotation on hover/open */
.nav-links .dropdown .drop-trigger i {
    transition: transform .2s ease;
}
.nav-links .dropdown:hover .drop-trigger i,
.nav-links .dropdown.open .drop-trigger i {
    transform: rotate(180deg);
}

/* Ensure page content never hides behind the fixed bottom header */
main, .dashboard-main, body {
    scroll-padding-bottom: 100px;
}
.dashboard-main { padding-bottom: 120px; }

/* Typographic scale for headings */
.dashboard-title { font-size: clamp(2rem, 3.2vw, 2.8rem); }
h3, .panel h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }

/* Responsive tweaks for the pill header */
@media (max-width: 768px) {
    .header { width: clamp(320px, 94vw, 700px); height: 54px; }
    .nav-links a { font-size: 0.9rem; padding: 6px 10px; }
}
@media (max-width: 480px) {
    .header { width: 94vw; bottom: 16px; }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

.mega-dropdown {
  display: flex;
  gap: 40px;
  opacity: 0;
  visibility: hidden; /* Add explicit visibility hidden */
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: auto;
  bottom: 60px; /* adjust to sit above the pill header */
  transform: translateX(-50%) translateY(20px) scale(0.98);
  min-width: 700px;
  background: var(--primary-color);
  border-radius: 36px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  padding: 40px 48px 40px 48px;
  transition: opacity 0.32s cubic-bezier(.4,0,.2,1), transform 0.32s cubic-bezier(.4,0,.2,1), visibility 0.32s cubic-bezier(.4,0,.2,1);
  z-index: 1002;
  color: #fff;
}
.nav-links .dropdown:hover .mega-dropdown,
.nav-links .dropdown:focus-within .mega-dropdown {
  opacity: 1;
  visibility: visible; /* Show when hovering */
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.mega-col {
  display: flex;
  flex-direction: column;
  min-width: 180px;
}
.mega-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mega-col .mega-title + a { margin-top: 6px; }
.mega-col a {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 8px 0;
  border-radius: 10px;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  background: transparent;
  display: block;
}
.mega-col a:hover {
  background: #fff;
  color: var(--primary-color);
  box-shadow: 0 2px 12px rgba(255,53,40,0.10);
}

/* Optional: Add an image or icon column */
.mega-img-col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
}
.mega-img-col img {
  max-width: 180px;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: left;
    overflow: hidden;
    /* ensure content starts below top bars; --header-offset set by JS fallback to --topbar-height */
    padding-top: max(var(--header-offset, var(--topbar-height)), 80px);
    padding-bottom: 60px;
}
.video-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: -2;
}
.video-background video {
    min-width: 100%; min-height: 100%; width: auto; height: auto;
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); object-fit: cover;
}
.video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)); z-index: -1;
}
.hero-content {
    position: relative; z-index: 1; max-width: 700px; text-align: left; width: 100%; padding-bottom: 40px;
}
.hero-title {
    font-size: 4.5rem; font-weight: 700; margin-bottom: 20px; color: var(--white); text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 1.5rem; margin-bottom: 40px; color: rgba(255,255,255,0.9);
}
.hero-cta { display: flex; gap: 20px; margin-bottom: 50px; }
.hero-title {
    font-size: clamp(1.9rem, 6.2vw, 4.5rem);
    font-weight: 700;
    margin-bottom: clamp(12px, 3vw, 20px);
    color: var(--white);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: clamp(1rem, 2.4vw, 1.5rem);
    margin-bottom: clamp(18px, 4vw, 40px);
    color: rgba(255,255,255,0.9);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: clamp(12px, 2.5vw, 20px); margin-bottom: clamp(24px, 5vw, 50px); }
.hero-stats {
    display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 4vw, 40px); margin-top: clamp(24px, 5vw, 50px);
    background-color: rgba(255,255,255,0.15); padding: clamp(14px, 3vw, 25px) clamp(18px, 4vw, 40px); border-radius: 10px;
    backdrop-filter: blur(5px); box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.stat-number { font-size: clamp(1.6rem, 3.8vw, 2.8rem); font-weight: 700; color: var(--accent-color); display: block; margin-bottom: 5px; }
.stat-text { font-size: clamp(0.85rem, 1.6vw, 1rem); color: rgba(255,255,255,0.8); margin: 0; }

/* underline accent for section titles */
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}
.section-subtitle {
    font-size: 1.2rem; color: var(--gray-color); max-width: 700px; margin: 0 auto 60px auto;
}

/* --- WHY US --- */
.why-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px;
}
.why-item {
    background-color: var(--white); padding: 30px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex; flex-direction: column; align-items: flex-start; transition: transform 0.3s, box-shadow 0.3s;
}
.why-item:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.why-icon {
    font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; background: var(--gradient-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.why-item h3 { font-size: 1.7rem; margin-bottom: 15px; color: var(--dark-color); }
.why-item p { color: var(--gray-color); }

/* --- PRODUCTS --- */
.product-tabs { display: flex; justify-content: center; margin-bottom: 50px; gap: 15px; flex-wrap: wrap; }
.tab-button {
    background-color: var(--white); border: 2px solid #eee; padding: 12px 25px; border-radius: 30px;
    font-size: 1rem; font-weight: 600; color: var(--dark-color); cursor: pointer; transition: all 0.3s;
    outline: none; position: relative; overflow: hidden;
    /* Touch-friendly improvements */
    min-height: 44px; /* Minimum touch target size */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.tab-button:hover { 
    border-color: var(--primary-color); 
    color: var(--primary-color); 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.tab-button:focus {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
    outline: none;
}
.tab-button:active {
    transform: translateY(0);
    transition: transform 0.1s;
}
.tab-button.active {
    background: var(--gradient-primary); color: var(--white); border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}
.tab-button.active:focus {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2), 0 0 0 3px rgba(255, 255, 255, 0.5);
}
.product-content { display: none; animation-duration: 0.6s; animation-fill-mode: forwards; }
.product-content.active { display: block; }
.product-item {
    display: flex; align-items: center; gap: 50px; margin-bottom: 80px; background-color: var(--white);
    padding: 40px; border-radius: 15px; box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.product-item:last-child { margin-bottom: 0; }
.product-item.reverse-order { flex-direction: row-reverse; }
.product-image { flex: 1; text-align: center; }
.product-image img { max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.product-text { flex: 1.2; }
.product-text h3 { font-size: 2.5rem; margin-bottom: 20px; color: var(--dark-color); }
.product-text p { font-size: 1.1rem; color: var(--gray-color); margin-bottom: 25px; }
.product-text ul { margin-bottom: 30px; }
.product-text ul li { display: flex; align-items: center; margin-bottom: 10px; font-size: 1.05rem; color: var(--dark-color); }
.product-text ul li i { color: var(--success-color); margin-right: 10px; font-size: 1.2rem; }

/* --- PRICING --- */
.pricing {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    font-size: 1.1rem;
    font-weight: 500;
}

.toggle-label {
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.pricing-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.pricing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 30px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .switch-slider {
    background-color: #FF3C00;
}

input:checked + .switch-slider:before {
    transform: translateX(30px);
}

.discount-badge {
    background: linear-gradient(135deg, #FF3C00, #FF6B00);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 8px;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    width: 300px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    background: #FF3C00;
    color: white;
    transform: scale(1.05);
    border: none;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.plan-name {
    background: #e8e8e8;
    color: #333;
    text-align: center;
    padding: 20px;
    margin: 20px 20px 0 20px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card.featured .plan-name {
    background: white;
    color: #FF3C00;
}

.plan-description {
    text-align: center;
    padding: 20px;
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.pricing-card.featured .plan-description {
    color: rgba(255, 255, 255, 0.9);
}

.plan-price {
    text-align: center;
    padding: 10px 20px 20px;
    font-size: 3rem;
    font-weight: 700;
    color: #FF3C00;
    line-height: 1;
}

.pricing-card.featured .plan-price {
    color: white;
}

.currency {
    font-size: 2rem;
    vertical-align: top;
}

.period {
    font-size: 1.2rem;
    font-weight: 500;
    vertical-align: bottom;
}

.features-list {
    list-style: none;
    padding: 0 30px;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 1rem;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.features-list li:last-child {
    border-bottom: none;
}

.pricing-card.featured .features-list li {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.features-list li i {
    margin-right: 15px;
    width: 20px;
    font-size: 1.1rem;
}

.features-list li .fa-check {
    color: #28a745;
}

.features-list li .fa-times {
    color: #dc3545;
}

.pricing-card.featured .features-list li .fa-check {
    color: #90EE90;
}

.pricing-card.featured .features-list li .fa-times {
    color: rgba(255, 255, 255, 0.5);
}

.choose-plan-btn {
    width: calc(100% - 40px);
    margin: 30px 20px 30px 20px;
    padding: 15px;
    background: white;
    border: 2px solid #FF3C00;
    color: #FF3C00;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.choose-plan-btn:hover {
    background: #FF3C00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 60, 0, 0.3);
}

.pricing-card.featured .choose-plan-btn {
    background: white;
    color: #FF3C00;
    border: 2px solid white;
}

.pricing-card.featured .choose-plan-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pricing-cards {
        gap: 20px;
    }
    
    .pricing-card {
        width: 280px;
    }
    
    .pricing-card.featured {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 350px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .pricing-toggle {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .plan-price {
        font-size: 2.5rem;
    }
}

/* --- TESTIMONIALS --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.testimonial-item {
    background-color: var(--white); padding: 30px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); position: relative; text-align: center; display: flex; flex-direction: column; align-items: center;
}
.quote-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.testimonial-text { font-size: 1.1rem; color: var(--gray-color); margin-bottom: 25px; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; gap: 15px; margin-top: auto; }
.author-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary-color); }
.author-info h4 { margin: 0; font-size: 1.1rem; color: var(--dark-color); }
.author-info p { margin: 0; font-size: 0.9rem; color: var(--gray-color); }

/* --- FAQ --- */
.faq-accordion { max-width: 800px; margin: 50px auto 0 auto; }
.accordion-item { background-color: var(--white); border-radius: 10px; margin-bottom: 15px; box-shadow: 0 3px 15px rgba(0,0,0,0.05); overflow: hidden; }
.accordion-header { width: 100%; background-color: var(--white); border: none; padding: 20px 25px; font-size: 1.2rem; font-weight: 600; color: var(--dark-color); text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s; }
.accordion-header:hover { color: var(--primary-color); }
.accordion-header.active { background-color: #f8f9fa; color: var(--primary-color); }
.accordion-header i { transition: transform 0.3s; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s; padding: 0 25px; }
.accordion-content p { padding-bottom: 20px; color: var(--gray-color); line-height: 1.8; }

/* --- CONTACT --- */
.social-icons { margin-top: 30px; display: flex; gap: 20px; }
.social-icon { font-size: 1.8rem; color: var(--gray-color); transition: all 0.3s; }
.social-icon:hover { color: var(--primary-color); transform: translateY(-3px); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--dark-color); }
.form-group input, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #eee; border-radius: 8px; font-family: var(--font-primary); font-size: 1rem; color: var(--dark-color); transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); }
.form-group textarea { resize: vertical; }
.contact-form .btn-primary { width: auto; padding: 12px 30px; font-size: 1.1rem; }

/* --- FOOTER STYLES CONSOLIDATED BELOW --- */
.social-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; color: var(--dark-color); transition: all 0.3s; text-decoration: none; }
.social-icon:hover {
    background: rgba(255,60,0,0.15); /* subtle orange glow */
    box-shadow: 0 4px 16px rgba(255,60,0,0.18);
    transform: translateY(-3px) scale(1.08);
    color: var(--primary-color);
}
.footer-links h3, .footer-services h3, .footer-contact h3 { color: var(--dark-color); font-size: 1.3rem; margin-bottom: 25px; font-weight: 600; }
.footer-links ul, .footer-services ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li, .footer-services ul li { margin-bottom: 12px; }
.footer-links a, .footer-services a { color: rgba(0,0,0,0.6); text-decoration: none; transition: color 0.3s; font-size: 0.95rem; }
.footer-links a:hover, .footer-services a:hover { color: var(--primary-color); }
.contact-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.contact-icon { width: 45px; height: 45px; border-radius: 50%; background: var(--primary-color); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; }
.contact-info { display: flex; flex-direction: column; }
.contact-label { color: var(--primary-color); font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; }
.contact-value { color: var(--dark-color); font-size: 1rem; font-weight: 500; }

/* --- FOOTER DIVIDER --- */
.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 20%,
    rgba(0, 0, 0, 0.3) 80%,
    transparent 100%
  );
  margin: 40px 0 0 0;
  position: relative;
  z-index: 12;
}

/* Enhanced text contrast for footer */
.footer-links h3, 
.footer-services h3, 
.footer-contact h3 { 
  color: var(--dark-color) !important; 
  font-size: 1.3rem; 
  margin-bottom: 25px; 
  font-weight: 700 !important; 
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.footer-links a, 
.footer-services a { 
  color: rgba(0, 0, 0, 0.8) !important; 
  text-decoration: none; 
  transition: color 0.3s; 
  font-size: 0.95rem; 
  font-weight: 500 !important;
}

.footer-logo p { 
  color: rgba(0, 0, 0, 0.8) !important; 
  line-height: 1.6; 
  margin-bottom: 25px; 
  font-size: 0.95rem; 
  font-weight: 500 !important;
}

.contact-label { 
  color: var(--primary-color) !important; 
  font-size: 0.85rem; 
  font-weight: 700 !important; 
  margin-bottom: 2px; 
}

.contact-value { 
  color: var(--dark-color) !important; 
  font-size: 1rem; 
  font-weight: 600 !important; 
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    /* Products section - Large screens to tablets */
    .product-item {
        gap: 30px;
        padding: 30px;
        margin-bottom: 60px;
    }
    .product-text h3 {
        font-size: 2.2rem;
    }
    .product-text p {
        font-size: 1.05rem;
    }
}

@media (max-width: 1000px) {
    .header { width: 95vw; min-width: 320px; }
    .navbar { gap: 15px; }
    .nav-links a { font-size: 0.85rem; padding: 5px 10px; }
    .dropdown-content { min-width: 320px; left: -20px; }
    
    /* Products section - Tablet optimization */
    .product-tabs {
        gap: 10px;
        margin-bottom: 40px;
    }
    .tab-button {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-width: auto;
        flex: 1;
        max-width: 200px;
    }
    .product-item {
        flex-direction: column;
        gap: 25px;
        padding: 25px;
        margin-bottom: 50px;
        text-align: center;
    }
    .product-item.reverse-order {
        flex-direction: column;
    }
    .product-image,
    .product-text {
        flex: none;
        width: 100%;
    }
    .product-text h3 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .product-text p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .product-text ul {
        margin-bottom: 25px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .product-text ul li {
        margin-bottom: 8px;
        font-size: 1rem;
        flex: 1;
        min-width: 200px;
        justify-content: center;
    }
    
    /* Pricing section - Tablet optimization */
    .pricing-cards {
        gap: 20px;
    }
    
    .pricing-card {
        width: 280px;
    }
    
    .pricing-card.featured {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .header { height: 48px; border-radius: 24px; padding: 6px 0px; }
    .header .site-logo.home-icon { width: 32px; height: 32px; font-size: 1.1rem; }
    .nav-links a { font-size: 0.8rem; padding: 4px 8px; border-radius: 14px; }
    .dropdown-content { height: 40px; border-radius: 0 0 20px 20px; }
    .dropdown-content a { height: 40px; border-radius: 20px; font-size: 0.8rem; padding: 0 16px; }
    
    /* Products section - Mobile optimization */
    .product-tabs {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 30px;
    }
    .tab-button {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.9rem;
        font-weight: 700;
        text-align: center;
    }
    .product-item {
        padding: 20px;
        margin-bottom: 40px;
        border-radius: 12px;
    }
    .product-text h3 {
        font-size: 1.8rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    .product-text p {
        font-size: 0.95rem;
        margin-bottom: 18px;
        line-height: 1.5;
    }
    .product-text ul {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }
    .product-text ul li {
        min-width: auto;
        width: 100%;
        justify-content: flex-start;
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    .product-image img {
        max-width: 90%;
        height: auto;
    }
    
    /* Pricing section - Mobile optimization */
    .pricing-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 350px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .pricing-toggle {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .plan-price {
        font-size: 2.5rem;
    }
    
    /* Footer adjustments for mobile */
    .footer::before {
        background-attachment: scroll; /* Better performance on mobile */
        background-position: center center;
        opacity: 0.05;
        transform: scale(1.02);
    }
    
    .footer .container {
        background: rgba(255, 255, 255, 0.98);
        padding: 15px;
    }
}

@media (max-width: 480px) {
    /* Products section - Small mobile devices */
    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    .section-title::after {
        width: 60px;
        height: 3px;
        bottom: -8px;
    }
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
        line-height: 1.4;
    }
    .product-tabs {
        margin-bottom: 25px;
    }
    .tab-button {
        max-width: 100%;
        padding: 10px 16px;
        font-size: 0.85rem;
        min-height: 40px;
        border-radius: 25px;
    }
    .product-item {
        padding: 15px;
        margin-bottom: 30px;
    }
    .product-text h3 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    .product-text p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
}

/* --- ANIMATION CLASSES, ETC. --- */
/* Keyframes for header slide-up animation */
@keyframes slideUpHeader {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Fade in animation for sections */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scale up animation for buttons */
@keyframes scaleUp {
    0% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Slide in animation for testimonials and cards */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- COMPONENT SPECIFIC STYLES --- */
/* Hero section specific styles */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: left;
    /* top padding driven by header offset; keep bottom spacing */
    padding: max(var(--header-offset, var(--topbar-height)), 120px) 0 80px 0;
    min-height: 100vh;
}
.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
}
.hero-title {
    font-size: clamp(1.8rem, 6vw + 0.2rem, 4.25rem);
    line-height: 1.12;
    margin-bottom: clamp(12px, 3vw, 24px);
    text-wrap: balance;
    overflow-wrap: anywhere;
    hyphens: auto;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}
.hero-subtitle {
    font-size: clamp(1rem, 2.2vw + 0.2rem, 1.5rem);
    margin-bottom: clamp(16px, 3vw, 30px);
    color: rgba(255, 255, 255, 0.9);
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(12px, 2.5vw, 20px);
    margin-bottom: clamp(24px, 5vw, 50px);
}
.hero-cta .btn {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    padding: clamp(10px, 1.6vw, 14px) clamp(16px, 2.2vw, 24px);
}
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(16px, 4vw, 40px);
    margin-top: clamp(24px, 5vw, 50px);
    background-color: rgba(255, 255, 255, 0.15);
    padding: clamp(14px, 3vw, 25px) clamp(18px, 4vw, 40px);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: clamp(1.6rem, 3.8vw, 2.8rem);
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 5px;
}
.stat-text {
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Why Us section specific styles */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.why-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s, box-shadow 0.3s;
}
.why-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.why-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.why-item h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}
.why-item p {
    color: var(--gray-color);
}

/* Products section specific styles */
.product-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    gap: 15px;
    flex-wrap: wrap;
}
.tab-button {
    background-color: var(--white);
    border: 2px solid #eee;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
    position: relative;
    overflow: hidden;
    /* Touch-friendly improvements */
    min-height: 44px; /* Minimum touch target size */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.tab-button:hover { 
    border-color: var(--primary-color); 
    color: var(--primary-color); 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.tab-button:focus {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
    outline: none;
}
.tab-button:active {
    transform: translateY(0);
    transition: transform 0.1s;
}
.tab-button.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}
.tab-button.active:focus {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2), 0 0 0 3px rgba(255, 255, 255, 0.5);
}
.product-content {
    display: none;
    animation-duration: 0.6s;
    animation-fill-mode: forwards;
}
.product-content.active {
    display: block;
}
.product-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.product-item:last-child {
    margin-bottom: 0;
}
.product-item.reverse-order {
    flex-direction: row-reverse;
}
.product-image {
    flex: 1;
    text-align: center;
}
.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.product-text {
    flex: 1.2;
}
.product-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}
.product-text p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 25px;
}
.product-text ul {
    margin-bottom: 30px;
}
.product-text ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: var(--dark-color);
}
.product-text ul li i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* --- PRICING --- */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
    font-weight: 600;
    color: var(--dark-color);
}
.pricing-toggle .badge {
    background: var(--gradient-primary);
    font-size: 0.75rem;
    padding: 3px 8px;
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #eee;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--white);
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background: var(--gradient-primary);
}
input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}
input:checked + .slider:before {
    transform: translateX(26px);
}


/* --- TESTIMONIALS --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.testimonial-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.testimonial-text {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 25px;
    flex-grow: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}
.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}
.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-color);
}
.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* --- FAQ --- */
.faq-accordion {
    max-width: 800px;
    margin: 50px auto 0 auto;
}
.accordion-item {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.accordion-header {
    width: 100%;
    background-color: var(--white);
    border: none;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}
.accordion-header:hover {
    color: var(--primary-color);
}
.accordion-header.active {
    background-color: #f8f9fa;
    color: var(--primary-color);
}
.accordion-header i {
    transition: transform 0.3s;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    padding: 0 25px;
}
.accordion-content p {
    padding-bottom: 20px;
    color: var(--gray-color);
    line-height: 1.8;
}

/* --- CONTACT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
}
.contact-info h3,
.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--dark-color);
}
.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--gray-color);
    font-size: 1.05rem;
}
.contact-info p i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.3rem;
}
.social-icons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}
.social-icon {
    font-size: 1.8rem;
    color: var(--gray-color);
    transition: all 0.3s;
}
.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--dark-color);
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form-group textarea {
    resize: vertical;
}
.contact-form .btn-primary {
    width: auto;
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--white);
    color: var(--dark-color);
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-newsletter-section {
    background: var(--white);
    border-radius: 0;
    padding: 50px 0;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.newsletter-content h2 {
    color: var(--dark-color);
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.newsletter-content p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.footer-newsletter-section .newsletter-form {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-newsletter-section .newsletter-form input {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 250px;
    outline: none;
    background: #f8f9fa;
}

.footer-newsletter-section .newsletter-form input:focus {
    border-color: var(--primary-color);
    background: #fff;
}

.footer-newsletter-section .newsletter-form button {
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.footer-newsletter-section .newsletter-form button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 0;
    padding-top: 0;
}

.footer-logo {
    max-width: 350px;
}

.footer-logo img {
    height: 70px;
    width: auto;
    margin-bottom: 25px;
}

.footer-logo p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    gap: 18px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(255,60,0,0.3);
}
.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    color: var(--dark-color);
    font-size: 1.4rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 15px;
}

.footer-links a,
.footer-services a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
    font-weight: 500;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.contact-value {
    color: var(--dark-color);
    font-size: 1rem;
    font-weight: 500;
}

/* --- CUSTOM CURSOR --- */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    background: #fff;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, transform 0.1s ease;
    will-change: transform, opacity;
    opacity: 0;
}

@keyframes cursorPulse {
  0% { transform: scale(1); box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10), 0 0 0 2px rgba(0,0,0,0.08); }
  100% { transform: scale(1.15); box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18), 0 0 0 4px rgba(0,0,0,0.10); }
}

body {
    cursor: none !important;
    padding-top: 0 !important;
}

/* --- ANIMATIONS (CONSOLIDATED) --- */
/* Keyframes already defined earlier in file */

/* --- TOP BAR --- */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.85); /* translucent white */
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    z-index: 1100;
    transition: transform 0.3s, opacity 0.3s;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    height: 72px;
    display: flex;
    align-items: center;
}
.top-bar.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 72px;
}
.top-bar .site-logo img {
    width: 198.8px;
    height: 49.02px;
    object-fit: contain;
    display: block;
}
.auth-buttons.top-auth {
    display: flex;
    gap: 16px;
}
.auth-buttons.top-auth .btn {
    border-radius: 999px;
    padding: 8px 28px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: none;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: #222;
    transition: background 0.2s, color 0.2s, border 0.2s;
    backdrop-filter: blur(2px);
}
.auth-buttons.top-auth .btn.btn-secondary {
    color: #222;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(0,0,0,0.08);
}
.auth-buttons.top-auth .btn.btn-primary {
    color: #fff;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.auth-buttons.top-auth .btn.btn-primary:hover {
    background: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    color: #fff;
}
.static-top-bar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: 72px;
    background: transparent;
    z-index: 1099;
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}
.static-top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 72px;
}
.static-top-bar .site-logo img {
    width: 198.8px;
    height: 49.02px;
    object-fit: contain;
    display: block;
}
.static-top-bar .auth-buttons.top-auth {
    display: flex;
    gap: 16px;
}
.static-top-bar .btn {
    border-radius: 999px;
    padding: 8px 28px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: none;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    transition: background 0.2s, color 0.2s, border 0.2s;
    backdrop-filter: blur(2px);
}
.static-top-bar .btn.btn-secondary {
    color: #fff;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.5);
}
.static-top-bar .btn.btn-secondary:hover {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.static-top-bar .btn.btn-primary {
    color: var(--primary-color);
    background: #fff;
    border: 2px solid #fff;
}
.static-top-bar .btn.btn-primary:hover {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: #fff;
}

/* Hide static bar when animated bar is visible */
.static-top-bar.hide {
    opacity: 0;
    pointer-events: none;
}

.top-bar .site-logo img,
.static-top-bar .site-logo img {
    transition: opacity 0.3s;
    opacity: 1;
}
.logo-fade {
    opacity: 0;
}

/* Performance utility: avoid layout/paint for offscreen sections until scrolled into view */
.cv-auto {
    content-visibility: auto;
    contain-intrinsic-size: 1000px 800px;
}

/* Mobile-safe hero typography to avoid overlap */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        line-height: 1.15;
        overflow-wrap: anywhere;
        word-break: normal;
        hyphens: auto;
    }
    .hero-subtitle {
        font-size: clamp(1rem, 3.2vw, 1.2rem);
    }
}
