:root {
    --bg-color: #030305;
    --text-color: #ffffff;
    --text-muted: #a0a0b0;
    --primary: #9d00ff;
    --secondary: #00e5ff;
    --accent: #ff0055;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

.bg-gradient-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
    animation: floatBlob 25s infinite alternate ease-in-out;
}

#blob1 {
    top: -10%;
    left: -10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 60%);
}

#blob2 {
    bottom: -15%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 60%);
    animation-delay: -12s;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(150px, 150px) scale(1.1) rotate(10deg);
    }
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 800;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shineText 6s linear infinite;
}

@keyframes shineText {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 4px 15px rgba(157, 0, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(157, 0, 255, 0.6);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 1.1rem 2.2rem;
    font-size: 1.1rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(3, 3, 5, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.navbar nav a:not(.btn) {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.navbar nav a:not(.btn):hover {
    color: var(--secondary);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 4rem;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1.2;
    max-width: 650px;
}

.hero-title {
    font-size: clamp(3.5rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.social-integrations {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-bubble {
    padding: 0.6rem 1.2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    cursor: default;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.map-mockup {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 9/16;
    background: #0f1015;
    border: 6px solid #2a2b30;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    transform: rotateY(-12deg) rotateX(8deg);
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Click Hint */
.map-click-hint {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(157, 0, 255, 0.85);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 800;
    z-index: 2100;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(157, 0, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: floatingHint 2s infinite ease-in-out;
    transition: opacity 0.5s ease;
}

@keyframes floatingHint {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, -35%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

/* iPhone UI Overlays */
.dynamic-island {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 32px;
    background: #000;
    border-radius: 20px;
    z-index: 2000;
}

.home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 5px;
    background: #fff;
    border-radius: 10px;
    z-index: 2000;
    opacity: 0.8;
}

.map-filters {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2000;
    background: rgba(15, 16, 21, 0.7);
    padding: 0.4rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #fff;
    color: #000;
}

.app-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    display: flex;
    justify-content: space-around;
    z-index: 2000;
    background: rgba(15, 16, 21, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.nav-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.nav-item.active {
    color: #fff;
}

.leaflet-layer,
.leaflet-control-zoom-in,
.leaflet-control-zoom-out,
.leaflet-control-attribution {
    filter: invert(100%) hue-rotate(180deg) brightness(85%) contrast(90%);
}

.leaflet-container {
    background: #111;
    font-family: var(--font-main);
}

.custom-leaflet-icon {
    background: transparent;
    border: none;
}

.leaflet-marker-icon {
    transition: transform 0.5s ease-out, margin 0.5s ease-out;
}

.map-pin {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.map-pin:hover {
    transform: scale(1.15);
}

.friend-pin img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--secondary);
    box-shadow: 0 0 0 2px var(--bg-color), 0 0 15px rgba(0, 229, 255, 0.8);
    object-fit: cover;
    animation: gentlePulse 3s infinite;
}

@keyframes gentlePulse {
    0% {
        box-shadow: 0 0 0 2px var(--bg-color), 0 0 10px rgba(0, 229, 255, 0.5);
    }

    50% {
        box-shadow: 0 0 0 2px var(--bg-color), 0 0 20px rgba(0, 229, 255, 0.9);
    }

    100% {
        box-shadow: 0 0 0 2px var(--bg-color), 0 0 10px rgba(0, 229, 255, 0.5);
    }
}

.event-pin {
    background: linear-gradient(45deg, var(--accent), #ff4a8d);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.5);
    color: #fff;
    white-space: nowrap;
    position: relative;
}

.event-pin-avatars {
    position: absolute;
    top: -15px;
    right: -15px;
    display: flex;
    background: rgba(0, 0, 0, 0.6);
    padding: 2px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.event-pin-avatars img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid #000;
    margin-left: -10px;
}

.event-pin-avatars img:first-child {
    margin-left: 0;
}

.event-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.event-pin .pulse {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: relative;
}

.event-pin .pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 50%;
    animation: pulseAnim 1.5s infinite ease-out;
}

@keyframes pulseAnim {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    100% {
        width: 400%;
        height: 400%;
        opacity: 0;
    }
}

.map-popup {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: rgba(15, 16, 21, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.2rem;
    z-index: 2500;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.map-popup.visible {
    bottom: 95px;
    opacity: 1;
    pointer-events: auto;
}

.map-popup .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.map-popup .close-btn:hover {
    color: #fff;
}

.popup-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: #fff;
    padding-right: 20px;
}

.popup-subtitle {
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.popup-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.friends-going {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.friends-going img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #1a1b20;
    margin-left: -12px;
}

.friends-going img:first-child {
    margin-left: 0;
}

.popup-btn {
    width: 100%;
    padding: 0.6rem;
    border-radius: 12px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.popup-btn:hover {
    transform: scale(1.03);
}

.feature-sections {
    padding: 8rem 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    text-align: center;
}

.section-badge {
    background: rgba(157, 0, 255, 0.1);
    color: var(--secondary);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(157, 0, 255, 0.3);
    display: inline-block;
    margin: 0 auto 1rem;
    text-align: center;
    width: 100%;
    max-width: max-content;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 10rem;
}

.feature-row.row-reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    max-width: 500px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.05);
}

.feature-title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.feature-visual {
    flex: 1;
    min-height: 400px;
    border-radius: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
}

.box-glow::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(157, 0, 255, 0.15) 0%, transparent 60%);
    filter: blur(40px);
}

.secondary-glow::before {
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 60%);
}

.radar-anim-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rc-1 {
    width: 100px;
    height: 100px;
}

.rc-2 {
    width: 200px;
    height: 200px;
}

.rc-3 {
    width: 300px;
    height: 300px;
}

.radar-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: conic-gradient(from 0deg, transparent 70%, rgba(0, 229, 255, 0.4) 100%);
    border-radius: 100% 0 0 0;
    transform-origin: bottom right;
    animation: scan 4s linear infinite;
}

@keyframes scan {
    100% {
        transform: rotate(360deg);
    }
}

.float-av {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    animation: floatAv 3s ease-in-out infinite alternate;
}

.av-1 {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.av-2 {
    top: 60%;
    right: 20%;
    animation-delay: -1s;
}

.av-3 {
    bottom: 20%;
    left: 40%;
    animation-delay: -2s;
}

@keyframes floatAv {
    100% {
        transform: translateY(-10px);
    }
}

.invite-card-anim {
    position: relative;
    width: 260px;
    height: 340px;
    perspective: 1000px;
}

.fake-invite {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid var(--glass-border);
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-invite {
    background: linear-gradient(145deg, rgba(20, 21, 26, 0.95), rgba(10, 11, 15, 0.95));
    backdrop-filter: blur(10px);
    z-index: 2;
    transform: translateY(0) scale(1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.back-invite {
    background: rgba(255, 255, 255, 0.03);
    z-index: 1;
    transform: translateY(30px) scale(0.9) rotate(5deg);
    opacity: 0.6;
}

.invite-card-anim:hover .back-invite {
    transform: translateY(-30px) scale(0.95) rotate(-5deg);
    opacity: 0.8;
}

.invite-card-anim:hover .main-invite {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.7);
}

.fi-title {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.fi-tag {
    font-size: 0.7rem;
    background: rgba(255, 0, 85, 0.2);
    color: var(--accent);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    display: inline-block;
    font-weight: 800;
    letter-spacing: 1px;
}

.fi-avatars {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.fi-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #14151a;
    margin-left: -12px;
}

.fi-avatars img:first-child {
    margin-left: 0;
}

.fi-avatars span {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.fi-btn {
    background: #fff;
    color: #000;
    padding: 0.8rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    cursor: pointer;
}

.chat-anim {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-bubble {
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    max-width: 85%;
    opacity: 0;
    transform: translateY(20px);
    animation: chatPop 0.5s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-bubble.left {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid var(--glass-border);
}

.chat-bubble.right {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.feature-row.visible .cb-1 {
    animation-delay: 0.2s;
}

.feature-row.visible .cb-2 {
    animation-delay: 1.2s;
}

.feature-row.visible .cb-3 {
    animation-delay: 2.2s;
}

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

.social-mesh {
    position: relative;
    width: 300px;
    height: 300px;
}

.mesh-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.center-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    color: #000;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.orbit-node {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(15, 16, 21, 0.9);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 5;
}

@keyframes orbitNode1 {
    0% {
        transform: rotate(0deg) translateY(-90px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateY(-90px) rotate(-360deg);
    }
}

@keyframes orbitNode2 {
    0% {
        transform: rotate(120deg) translateY(-90px) rotate(-120deg);
    }

    100% {
        transform: rotate(480deg) translateY(-90px) rotate(-480deg);
    }
}

@keyframes orbitNode3 {
    0% {
        transform: rotate(240deg) translateY(-90px) rotate(-240deg);
    }

    100% {
        transform: rotate(600deg) translateY(-90px) rotate(-600deg);
    }
}

.orbit-node.snap {
    top: 50%;
    left: 50%;
    margin: -25px;
    animation: orbitNode1 8s linear infinite;
}

.orbit-node.ttk {
    top: 50%;
    left: 50%;
    margin: -25px;
    animation: orbitNode2 8s linear infinite;
}

.orbit-node.ig {
    top: 50%;
    left: 50%;
    margin: -25px;
    animation: orbitNode3 8s linear infinite;
}

.cta-section {
    padding: 6rem 5% 8rem;
    display: flex;
    justify-content: center;
}

.glass-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 5rem 3rem;
    max-width: 800px;
    width: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.glass-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(157, 0, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.glass-container>* {
    position: relative;
    z-index: 1;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.waitlist-form {
    display: flex;
    gap: 1rem;
    max-width: 550px;
    margin: 0 auto;
}

.glass-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    padding: 1.1rem 1.8rem;
    border-radius: 50px;
    color: #fff;
    font-size: 1.05rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

.glass-input::placeholder {
    color: #666;
}

.glass-input:focus {
    border-color: var(--secondary);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 229, 255, 0.2);
}

footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 5%;
    background: rgba(0, 0, 0, 0.4);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-delay-1 {
    transition-delay: 0.15s;
}

@media (max-width: 990px) {
    .navbar {
        padding: 1rem 5%;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
        min-height: auto;
    }

    .hero-content {
        flex: none;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-visual {
        flex: none;
        width: 100%;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .social-integrations {
        align-items: center;
    }

    .social-icons {
        justify-content: center;
    }

    .map-mockup {
        max-width: 320px;
        transform: rotateY(0deg) rotateX(0deg);
        aspect-ratio: 9/19;
        /* Closer to modern phone ratio */
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .navbar nav {
        display: none;
    }

    .map-click-hint {
        top: 25%;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .feature-row,
    .feature-row.row-reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        margin-bottom: 6rem;
    }

    .feature-icon {
        margin: 0 auto 1.5rem;
    }

    .feature-visual {
        width: 100%;
        min-height: 300px;
        padding: 2rem 0;
    }

    .chat-anim {
        max-width: 100%;
        align-items: center;
    }

    .radar-anim-wrapper {
        transform: scale(0.75);
    }

    .social-mesh {
        transform: scale(0.75);
    }

    .dynamic-island {
        width: 90px;
        height: 25px;
        top: 8px;
    }

    .app-nav {
        width: 90%;
        padding: 0.8rem;
        bottom: 20px;
    }

    .filter-btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .nav-item {
        font-size: 0.75rem;
    }

    .waitlist-form {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .feature-sections {
        padding: 4rem 5%;
    }

    .cta-section {
        padding: 4rem 5% 6rem;
    }

    .glass-container {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .feature-title {
        font-size: 2rem;
    }

    .feature-desc {
        font-size: 1rem;
    }

    .btn-large {
        width: 100%;
        text-align: center;
    }

    .radar-anim-wrapper {
        transform: scale(0.65);
    }

    .social-mesh {
        transform: scale(0.65);
    }

    .invite-card-anim {
        transform: scale(0.85);
        margin-top: -30px;
    }

    .map-popup {
        width: 95%;
        padding: 1rem;
    }
}