/* ==========================================================
   LensBros — Shared Design System
   Consistent across all pages
   ========================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- Root Variables ---------- */
:root {
    --offwhite: #f6efe6;
    --black: #020203;
    --accent: #ff2b00;
    --accent-glow: rgba(255, 43, 0, 0.35);
    --muted: #9a9a9a;
    --glass: rgba(255, 255, 255, 0.78);
    --glass-dark: rgba(0, 0, 0, 0.85);
    --container: 1200px;
    --orange: #ff6b35;
    --radius: 12px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; height: 100%; }

body {
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--black);
    color: #fff;
}

img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Container ---------- */
.container {
    width: 92%;
    max-width: var(--container);
    margin: 0 auto;
}

/* ---------- NAVIGATION (Desktop Floating) ---------- */
.site-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 94%;
    max-width: 1100px;
    z-index: 9999;
    pointer-events: none;
}

.site-nav .nav-inner {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 28px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-nav .nav-logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    flex-shrink: 0;
}

.site-nav .nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-nav .nav-logo-text {
    font-weight: 900;
    font-size: 15px;
    color: #fff;
    letter-spacing: 2px;
}

.site-nav .nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.site-nav .nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    transition: color var(--transition);
    padding: 4px 0;
}

.site-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
    border-radius: 2px;
}

.site-nav .nav-links a:hover,
.site-nav .nav-links a.active {
    color: #fff;
}

.site-nav .nav-links a:hover::after,
.site-nav .nav-links a.active::after {
    width: 100%;
}

.site-nav .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 18px;
    transition: transform var(--transition), box-shadow var(--transition);
    flex-shrink: 0;
}

.site-nav .nav-cta:hover {
    transform: scale(1.12);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Hamburger (mobile) */
.site-nav .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.site-nav .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.site-nav .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.site-nav .hamburger.open span:nth-child(2) { opacity: 0; }
.site-nav .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 4px;
    transition: color var(--transition), transform var(--transition);
}

.mobile-menu a:hover {
    color: var(--accent);
    transform: translateX(8px);
}

/* Bottom Mobile Navbar */
.bottom-nav {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 92%;
    max-width: 420px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 10px 16px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition);
}

.bottom-nav a svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.bottom-nav a:hover,
.bottom-nav a.active {
    color: var(--accent);
}

.bottom-nav a .indicator {
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition);
}

.bottom-nav a.active .indicator,
.bottom-nav a:hover .indicator {
    opacity: 1;
}

/* ---------- SECTION BLOCKS ---------- */
.section {
    width: 100%;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section.dark {
    background: var(--black);
    color: #fff;
}

.section.light {
    background: var(--offwhite);
    color: #111;
}

.section.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* ---------- Typography ---------- */
.big-title {
    font-weight: 900;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 3px;
    font-size: clamp(32px, 8vw, 84px);
    line-height: 0.92;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    color: var(--accent);
}

.section-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.body-text {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    max-width: 640px;
}

.body-text.dark-text {
    color: rgba(17, 17, 17, 0.78);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-ghost.dark-ghost {
    color: #111;
    border-color: rgba(17, 17, 17, 0.2);
}

.btn-ghost.dark-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ---------- Cards ---------- */
.glass-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 43, 0, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.glass-card.light-card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.06);
    color: #111;
}

.glass-card.light-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* ---------- Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.floating { animation: float 4s ease-in-out infinite; }

/* Pulse glow */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
    50% { box-shadow: 0 0 40px var(--accent-glow), 0 0 60px rgba(255, 43, 0, 0.15); }
}

.pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }

/* Infinite scroll text */
@keyframes scroll-text {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.scroll-track {
    display: flex;
    white-space: nowrap;
    animation: scroll-text 30s linear infinite;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), #ff6b35, #ff2b00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow text */
.glow-text {
    text-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(255, 43, 0, 0.1);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--black);
    color: #fff;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-brand h3 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--muted);
    padding: 6px 0;
    transition: color var(--transition), transform var(--transition);
}

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

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

.footer-bottom p {
    font-size: 13px;
    color: var(--muted);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all var(--transition);
}

.footer-socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb {
    background: rgba(255, 43, 0, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------- Page transition ---------- */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--black);
    transform: scaleY(0);
    transform-origin: bottom;
    pointer-events: none;
}

/* ---------- Decorative blobs ---------- */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.blob-accent {
    background: radial-gradient(circle, rgba(255, 43, 0, 0.12), transparent 70%);
}

.blob-blue {
    background: radial-gradient(circle, rgba(60, 100, 255, 0.08), transparent 70%);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-nav .nav-links { display: none; }
    .site-nav .nav-cta { display: none; }
    .site-nav .hamburger { display: flex; }
    .bottom-nav { display: flex; }

    .section { padding: 60px 0; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .big-title {
        font-size: clamp(28px, 10vw, 48px);
    }

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }
}
