@import url('https://api.fontshare.com/v2/css?f[]=general-sans@500,600,400,700,300,200&display=swap');

:root {
    --black: #000000;
    --white: #ffffff;
    --white-10: rgba(255, 255, 255, 0.1);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-60: rgba(255, 255, 255, 0.6);
    --white-70: rgba(255, 255, 255, 0.8);
    --font-main: 'General Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: var(--black);
    font-family: var(--font-main);
    color: var(--white);
    overflow-x: hidden;
}

/* ── Hidden SVG filter container ── */
.liquid-glass-svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ── Navbar ── */
.navbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 120px;
    width: 100%;
}

.nav-right {
    /* no absolute positioning — normal flow */
}

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

/* ══════════════════════════════════════════
   LIQUID GLASS BUTTON
══════════════════════════════════════════ */
.liquid-glass-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 13px 32px;
    border-radius: 9999px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.01em;
    outline: none;
    transform: scale(1);
    transition: transform 300ms cubic-bezier(0.1, 0.4, 0.2, 1);
    /* Outer glass shadow — mirrors the React component's box-shadow */
    box-shadow:
        0 0 6px rgba(0,0,0,0.03),
        0 2px 6px rgba(0,0,0,0.08),
        inset 3px 3px 0.5px -3px rgba(255,255,255,0.09),
        inset -3px -3px 0.5px -3.5px rgba(255,255,255,0.85),
        inset 1px 1px 1px -0.5px rgba(255,255,255,0.6),
        inset -1px -1px 1px -0.5px rgba(255,255,255,0.6),
        inset 0 0 6px 6px rgba(255,255,255,0.12),
        inset 0 0 2px 2px rgba(255,255,255,0.06),
        0 0 12px rgba(0,0,0,0.15);
}

.liquid-glass-btn:hover {
    transform: scale(1.05);
}

.liquid-glass-btn:active {
    transform: scale(0.97);
}

/* The distorting backdrop — the SVG filter is applied here */
.liquid-glass-backdrop {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    overflow: hidden;
    z-index: -1;
    isolation: isolate;
    -webkit-backdrop-filter: url("#liquid-glass-filter");
    backdrop-filter: url("#liquid-glass-filter");
}

/* Thin specular highlight streak at the top edge */
.liquid-glass-shine {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.55) 30%,
        rgba(255, 255, 255, 0.75) 50%,
        rgba(255, 255, 255, 0.55) 70%,
        transparent 100%
    );
    border-radius: 1px;
    pointer-events: none;
    z-index: 1;
}

/* An additional soft glow bloom at the very top */
.liquid-glass-shine::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 10px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.18) 0%, transparent 70%);
    filter: blur(4px);
}

/* Text sits above backdrop effects */
.liquid-glass-label {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

/* ── Hero-size variant (slightly larger) ── */
.liquid-glass-btn--hero {
    padding: 15px 40px;
    font-size: 15px;
}

/* ── Hero Content ── */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    padding: 40px 24px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 9999px;
    padding: 6px 16px;
    background: transparent;
    box-shadow:
        0 0 6px rgba(0,0,0,0.03),
        0 2px 6px rgba(0,0,0,0.08),
        inset 3px 3px 0.5px -3px rgba(255,255,255,0.09),
        inset -3px -3px 0.5px -3.5px rgba(255,255,255,0.85),
        inset 1px 1px 1px -0.5px rgba(255,255,255,0.6),
        inset -1px -1px 1px -0.5px rgba(255,255,255,0.6),
        inset 0 0 6px 6px rgba(255,255,255,0.12),
        inset 0 0 2px 2px rgba(255,255,255,0.06),
        0 0 12px rgba(0,0,0,0.15);
    overflow: hidden;
}

.dot {
    position: relative;
    z-index: 2;
    width: 4px;
    height: 4px;
    background-color: var(--white);
    border-radius: 50%;
}

.badge-text {
    position: relative;
    z-index: 2;
    font-size: 13px;
    font-weight: 500;
    color: var(--white-60);
}

.badge-text span {
    color: var(--white);
}

.hero-heading {
    font-size: 56px;
    font-weight: 500;
    line-height: 1.28;
    max-width: 650px;
    background: linear-gradient(144.5deg, #ffffff 28%, rgba(0, 0, 0, 0) 115%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--white-70);
    max-width: 721px;
    margin-top: -16px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .navbar {
        padding: 20px 40px;
    }
    .nav-right {
        /* normal flow on tablet */
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px;
        gap: 12px;
    }
    .logo img {
        height: 28px !important;
    }
    .liquid-glass-btn {
        padding: 8px 18px;
        font-size: 11px;
    }
    .hero-heading {
        font-size: 36px;
        padding: 0 20px;
    }
    .hero-subtitle {
        padding: 0 16px;
    }
    .liquid-glass-btn--hero {
        padding: 16px 36px;
        font-size: 16px;
    }
}
