/*
Theme Name: Taper-Lok
Theme URI: https://taper-lok.com/
Author: Antigravity
Description: A custom premium theme for Taper-Lok.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: taperlock
*/

:root {
    --navy: #1C459B;
    --navy-titanium: #0a0f1d;
    --teal: #00bfb8;
    --teal-dark: #009b95;
    --teal-light: #33d1cc;
    --white: #fff;
    --grey-bg: #f8f9fb;
    --grey-light: #f4f5f6;
    --grey-border: #e5e7eb;
    --text: #0f172a;
    --text-light: #64748b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* === HEADER === */
.header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1400px;
    background: rgba(8, 14, 27, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.header.header-scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    transform: translateX(-50%);
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 9, 18, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 32px;
    padding-left: 0; /* Logo background will fill this space */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.4s ease;
}

.header.header-scrolled .header-content {
    padding: 8px 24px;
    padding-left: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo a {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 32px;
    /* Round left side to match floating header */
    border-radius: 100px 0 0 100px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    height: 100%;
}

/* Match the sticky header's sharp rectangular edges */
.header.header-scrolled .logo a {
    border-radius: 0;
    padding: 8px 24px;
}

.logo a:hover {
    background: #ffffff;
}

.logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: height 0.4s ease;
}

.header.header-scrolled .logo img {
    height: 34px;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width 0.3s;
}

/* Don't show underline animation on submenu links */
.nav-menu .sub-menu a::before {
    display: none;
}

.nav-menu a:hover {
    color: var(--teal);
}

.nav-menu a:hover::before {
    width: 100%;
}

/* Submenu Chevron indicators */
.nav-menu .menu-item-has-children > a::after {
    content: '';
    width: 5px;
    height: 5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
    margin-top: -3px;
}

.nav-menu .menu-item-has-children:hover > a::after,
.nav-menu .menu-item-has-children > a.submenu-active::after {
    transform: rotate(225deg);
    margin-top: 2px;
}

/* Sub-submenu indicator should point right */
.nav-menu .sub-menu .menu-item-has-children > a::after {
    content: '';
    width: 5px;
    height: 5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-left: auto;
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-menu .sub-menu .menu-item-has-children:hover > a::after,
.nav-menu .sub-menu .menu-item-has-children > a.submenu-active::after {
    transform: rotate(45deg);
}

/* Submenu Dropdown Container */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #080e1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
    border-radius: 12px;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    padding: 0;
    width: 100%;
}

.nav-menu .sub-menu a {
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: none;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.3s, color 0.3s;
    letter-spacing: 0;
}

.nav-menu .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--teal);
}

/* Sub-Submenu Dropdown Container */
.nav-menu .sub-menu .sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 1px;
    background: #0a1122; /* Darker navy for layered visual depth */
}

/* Header Button */
.btn-header {
    background: var(--teal);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-header:hover {
    background: var(--navy);
    transform: translateY(-2px);
}

.header.header-scrolled .btn-header {
    background: var(--teal);
}

.header.header-scrolled .btn-header:hover {
    background: var(--teal-dark);
}
.mobile-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 8px 12px;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s, transform 0.3s;
    line-height: 1;
}

.mobile-toggle:focus {
    outline: none;
}

.header.header-scrolled .mobile-toggle {
    color: var(--white);
}

.mobile-toggle .menu-label {
    display: none !important;
}

.mobile-toggle .hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
    height: 14px;
    justify-content: center;
}

.mobile-toggle .hamburger-lines span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === SCROLL PROGRESS BAR === */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--navy) 100%);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(0,191,184,0.5);
}

/* === CONTAINER UTILITIES === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === SECTION SPACING === */
section {
    padding: 100px 0;
    position: relative;
}

.spacer {
    padding-top: 82px;
}

/* === TYPOGRAPHY === */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,191,184,0.25);
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    line-height: 1.15;
    text-align: center;
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1c50 0%, #1C459B 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(135deg,
            rgba(28, 69, 155, 0.85) 0%,
            rgba(0, 191, 184, 0.2) 100%),
        url('https://img1.wsimg.com/isteam/ip/f50eb7ce-820e-46ed-916b-d09748311129/blob-b25aa2d.png/:/rs=w:1920,m');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenburns 30s ease-in-out infinite alternate;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

#hero-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 220px 40px 120px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -1px;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-title sup {
    font-size: 0.45em;
    vertical-align: super;
}

.hero-sub {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 700px;
    font-weight: 400;
}

.hero-sub strong {
    color: var(--teal-light);
    font-weight: 600;
    display: block;
    margin-top: 16px;
}

.hero-quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 16px;
    box-shadow: 0 8px 25px rgba(0,191,184,0.35);
    position: relative;
    overflow: hidden;
}

.hero-quote-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-quote-btn:hover::before {
    left: 100%;
}

.hero-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,191,184,0.45);
}

.hero-quote-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.hero-quote-btn:hover svg {
    transform: translateX(4px);
}

/* === STATS SECTION === */
.stats-section {
    background: linear-gradient(135deg, var(--navy) 0%, #0a1c50 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === INTRO SECTION === */
.intro-section {
    background: var(--white);
    padding: 120px 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 28px;
    line-height: 1.2;
}

.intro-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.intro-text strong {
    color: var(--teal);
    font-weight: 700;
}

.intro-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

/* === KEY FEATURES SECTION === */
.features-section {
    background: var(--grey-bg);
    padding: 120px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: var(--white);
    padding: 48px 36px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--navy) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--teal);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(0,191,184,0.25);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

.feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

/* === PRODUCTS SECTION === */
.products-section {
    background: var(--white);
    padding: 120px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--grey-border);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--teal);
}

.product-img {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
    background: var(--grey-light);
    overflow: hidden;
}

.product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 16px;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal);
    font-weight: 700;
    font-size: 14px;
    margin-top: auto;
    transition: gap 0.3s;
}

.product-card:hover .product-cta {
    gap: 12px;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, #0a1c50 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-content p {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 20px 48px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 12px 30px rgba(0,191,184,0.35);
}

.cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,191,184,0.45);
}

/* === FOOTER === */
.site-footer {
    background: var(--navy-titanium);
    color: rgba(255, 255, 255, 0.7);
    padding: 90px 0 40px;
    font-size: 15px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--teal) 50%, var(--navy) 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-desc {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    margin: 0;
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    margin: 0 0 10px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--teal);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--teal);
    transform: translateX(4px);
}

.contact-col {
    gap: 16px;
}

.contact-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    line-height: 1.6;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--teal);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-credits a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-credits a:hover {
    color: var(--teal);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 60px 0 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* === PRODUCT PAGES === */
.product-hero {
    height: 60vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,16,40,0.6), rgba(10,16,40,0.9));
}

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

.product-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.product-intro {
    padding: 100px 0;
    background: var(--white);
}

.section-title-wrapper {
    margin-bottom: 60px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: var(--teal);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 16px;
}

/* Feature Grid */
.feature-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: #f8f9fb;
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.feature-card:hover i {
    transform: translateX(4px);
}

.feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--navy);
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
}

/* FAQ Accordion */
.faq-section {
    padding: 100px 0;
    background: #f8f9fb;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--navy);
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(0,191,184,0.03);
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--teal);
}

.faq-item.active .faq-question {
    color: var(--teal);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding-bottom: 30px;
    max-height: 1000px; /* Large enough for long text */
}

@media (max-width: 768px) {
    .feature-card-grid {
        grid-template-columns: 1fr;
    }
}

/* Gutenberg Compatibility */
.wp-block-group.product-hero,
.wp-block-group.product-intro,
.wp-block-group.faq-section {
    padding: 0;
    margin: 0;
    max-width: none;
}

.wp-block-group.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === UTILITY CLASSES FOR ELEMENTOR === */
.section-padding { padding: 100px 0; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.text-center { text-align: center; }

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
}

#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,191,184,0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,191,184,0.45);
}

#back-to-top svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

/* === REVEAL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: #080e1a;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 24px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        font-size: 18px;
        color: var(--white) !important;
        padding: 8px 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Override Desktop Hover dropdowns on mobile */
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 0 16px;
        display: none; /* Toggled by JS */
        min-width: 0;
        gap: 8px;
    }

    .nav-menu li:hover > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-menu .sub-menu a {
        font-size: 15px;
        padding: 8px 0;
        color: rgba(255, 255, 255, 0.75) !important;
        text-transform: none;
    }

    .nav-menu .sub-menu .sub-menu {
        position: static;
        margin-left: 0;
        padding-left: 16px;
        background: transparent;
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1002;
    }

    .mobile-toggle.active .hamburger-lines span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
        background: var(--white);
    }
    .mobile-toggle.active .hamburger-lines span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active .hamburger-lines span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
        background: var(--white);
    }

    section {
        padding: 80px 0;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .header {
        top: 12px;
        width: calc(100% - 24px);
        border-radius: 24px;
    }

    .header.header-scrolled {
        top: 0;
        width: 100%;
        border-radius: 0;
    }

    .header-content {
        padding: 8px 16px;
        padding-left: 0;
    }
    
    .logo a {
        border-radius: 24px 0 0 24px;
        padding: 8px 20px;
    }
    
    .logo img {
        height: 26px;
    }
    
    .header.header-scrolled .logo img {
        height: 24px;
    }

    section {
        padding: 60px 0;
    }

    .container, .container-narrow {
        padding: 0 20px;
    }

    .hero-content {
        padding: 140px 20px 80px;
    }

    .stats-grid {
        gap: 40px;
    }

    .features-grid, .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    #back-to-top {
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }

    .hero-title {
        font-size: 32px;
    }

    .feature-card {
        padding: 32px 24px;
    }
}
