:root {
    --primary: #9333ea;
    /* Vibrant Purple */
    --primary-light: #a855f7;
    --secondary: #c084fc;
    --bg-main: #ffffff;
    --bg-subtle: #f9fafb;
    --text-main: #111827;
    --text-muted: #4b5563;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
    --accent-gradient: linear-gradient(135deg, #9333ea 0%, #c084fc 100%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Background System (Matching React App) --- */
.fixed-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: #ffffff;
    pointer-events: none;
}

.wave-container {
    position: absolute;
    width: 130%;
    left: -15%;
}

.wave-top {
    top: 7%;
    height: 55vh;
    opacity: 0.45;
    transform: translate(var(--wave-x, 0px), var(--wave-y, 0px));
}

.wave-mid {
    top: 46%;
    height: 42vh;
    opacity: 0.35;
    transform: translateY(var(--wave-y-slow, 0px));
}

.wave-container svg {
    width: 100%;
    height: 100%;
}

/* Path opacity animations matching React pathLength/opacity animate */
.wave-path {
    animation: pathPulse 9s ease-in-out infinite;
}

.wave-path.path-1 {
    animation-duration: 9s;
    animation-delay: 0s;
}

.wave-path.path-2 {
    animation-duration: 10s;
    animation-delay: 0.45s;
}

.wave-path.path-3 {
    animation-duration: 11s;
    animation-delay: 0.9s;
}

.wave-path.path-4 {
    animation-duration: 12s;
    animation-delay: 1.35s;
}

.wave-path.path-5 {
    animation-duration: 13s;
    animation-delay: 1.8s;
}

.wave-path.path-6 {
    animation-duration: 14s;
    animation-delay: 2.25s;
}

.violet-path {
    animation: violetPathShift 10s ease-in-out infinite;
}

.violet-path.path-1 {
    animation-duration: 10s;
}

.violet-path.path-2 {
    animation-duration: 11.4s;
}

.violet-path.path-3 {
    animation-duration: 12.8s;
}

.violet-path.path-4 {
    animation-duration: 14.2s;
}

@keyframes pathPulse {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 0.55;
    }
}

@keyframes violetPathShift {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.2;
    }

    50% {
        transform: translateX(24px);
        opacity: 0.35;
    }
}

/* Background circles */
.bg-circle {
    position: absolute;
    border-radius: 50%;
}

.circle-left {
    left: -6%;
    bottom: 4%;
    width: 420px;
    height: 420px;
    border: 1px dashed rgba(229, 231, 235, 0.7);
    opacity: 0.4;
    margin-top: var(--wave-y-slow, 0px);
    animation: circleFloat 18s ease-in-out infinite alternate;
}

.circle-right {
    right: -10%;
    top: 22%;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(243, 232, 255, 0.5);
    opacity: 0.4;
    margin-top: var(--wave-y, 0px);
    animation: circleFloat 22s ease-in-out infinite alternate;
}

@keyframes circleFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(10px);
    }
}

/* Glowing dots */
.glow-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.35);
    animation: dotPulse 4.5s ease-in-out infinite;
}

.glow-dot.dot-1 {
    left: 8%;
    top: 37%;
    width: 7px;
    height: 7px;
    margin-top: var(--wave-y-slow, 0px);
    animation-delay: 0s;
}

.glow-dot.dot-2 {
    left: 28%;
    top: 72%;
    width: 6px;
    height: 6px;
    margin-top: var(--wave-y, 0px);
    animation-delay: 0.8s;
}

.glow-dot.dot-3 {
    left: 52%;
    top: 22%;
    width: 8px;
    height: 8px;
    margin-top: var(--wave-y-slow, 0px);
    animation-delay: 1.4s;
}

.glow-dot.dot-4 {
    left: 78%;
    top: 34%;
    width: 6px;
    height: 6px;
    margin-top: var(--wave-y, 0px);
    animation-delay: 2.1s;
}

.glow-dot.dot-5 {
    left: 88%;
    top: 68%;
    width: 7px;
    height: 7px;
    margin-top: var(--wave-y-slow, 0px);
    animation-delay: 2.8s;
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.25;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.55;
    }
}

/* Radial Glows */
.radial-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(168, 85, 247, 0.05), transparent 28%),
        radial-gradient(circle at 70% 55%, rgba(124, 58, 237, 0.04), transparent 32%);
}

/* Navigation - Matching Home Page */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.7s ease;
    border-bottom: 1px solid rgba(243, 244, 246, 1);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(48px);
    -webkit-backdrop-filter: blur(48px);
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

#navbar.scrolled .nav-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 3rem;
    /* Matching App.jsx py-5 lg:px-12 */
    transition: all 0.7s ease;
}

@media (max-width: 1024px) {
    .nav-inner {
        padding: 1.25rem 1.5rem;
        /* px-6 */
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    text-decoration: none;
    flex-shrink: 0;
}

.logo span {
    font-weight: 900;
    font-size: 2.1rem;
    /* text-2xl md:text-3xl in App.jsx (1.75rem and 2.1rem) */
    color: #111827;
    letter-spacing: -0.025em;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .logo span {
        font-size: 2.1rem;
    }
}

#site-logo {
    height: 64px;
    /* w-16 */
    width: 64px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    #site-logo {
        height: 80px;
        /* w-20 */
        width: 80px;
    }
}

#site-logo:hover {
    transform: scale(1.05);
}

/* Center Navigation */
.nav-center {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    position: relative;
}

.nav-indicator {
    position: absolute;
    bottom: -0.5rem;
    height: 3px;
    background: #a855f7;
    border-radius: 999px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 10;
}

.nav-link {
    font-size: 22px;
    /* text-[22px] in App.jsx */
    font-weight: 700;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover {
    color: #000;
}

.nav-link.active {
    color: #000;
}

/* Join Now Button */
.nav-right {
    flex-shrink: 0;
}

.join-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    /* py-3.5 px-8 */
    background: #121212;
    color: white;
    border-radius: 999px;
    font-size: 1rem;
    /* text-sm */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* tracking-widest */
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.join-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.join-button:active {
    transform: scale(0.95);
}

.join-button svg {
    transition: transform 0.3s ease;
}

.join-button:hover svg {
    transform: translateX(4px);
}

/* Hero Section */
.hero-section {
    padding: clamp(8rem, 15vw, 12rem) 0 4rem;
    text-align: center;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    background: linear-gradient(to right, #b158ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
    line-height: 1;
}

.effective-date {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 1rem;
}

.hero-line {
    width: 100px;
    height: 6px;
    background: var(--accent-gradient);
    margin: 2.5rem auto 0;
    border-radius: 3px;
}

/* Content Card */
.policy-content {
    padding-bottom: 10rem;
}

.content-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem;
    box-shadow: 0 40px 100px -20px rgba(147, 51, 234, 0.1);
    animation: pageReveal 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes pageReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-text {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    border-left: 5px solid var(--primary);
    padding-left: 2rem;
    font-weight: 500;
}

.policy-section {
    margin-top: 5rem;
    scroll-margin-top: 140px;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
    border-bottom: 2px solid #f3e8ff;
    padding-bottom: 0.5rem;
    display: inline-block;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    color: var(--text-main);
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

ul {
    list-style: none;
    margin-bottom: 2rem;
}

ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

ul li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.8rem;
    top: 0.2rem;
}

.highlight-note {
    background: #fdf4ff;
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid #d946ef;
    color: #701a75;
    font-weight: 500;
}

.contact-box {
    background: linear-gradient(135deg, #f5f3ff 0%, #fdf4ff 100%);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    margin-top: 6rem;
}

.contact-details p {
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: 1.15rem;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.contact-details a:hover {
    border-bottom-color: var(--primary);
}

/* Social Contact Buttons */
.social-contact-buttons {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.social-circle-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #17152b;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(23, 21, 43, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-circle-btn:hover {
    background: #28234a;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.35);
    color: #ffffff;
    border-color: rgba(168, 85, 247, 0.4);
}

.social-circle-btn:active {
    transform: translateY(-1px) scale(0.97);
}

/* Footer Pill Styles */
.footer-pill-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding: 2rem 0;
    margin-bottom: 4rem;
}

.footer-tagline {
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #5c6891;
    text-align: center;
    margin-bottom: 0 !important;
}

.footer-pill {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 8px 30px rgba(59, 130, 246, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-glow-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, white, transparent);
}

.footer-glow-line.top {
    top: 0;
    opacity: 0.8;
}

.footer-glow-line.bottom {
    bottom: 0;
    opacity: 0.5;
}

.footer-pill-copyright {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #5c6891;
    text-align: center;
}

.footer-pill-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #5c6891;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-pill-content a {
    color: #5c6891;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-pill-content a:hover {
    color: #000;
}

.footer-pill .divider {
    opacity: 0.3;
    padding: 0 0.5rem;
}

.show-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 1.5rem;
        border-radius: 24px;
        font-size: 14px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        color: #5c6891;
    }

    .footer-pill-links {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
    }

    .footer-pill-links a {
        color: #5c6891;
        text-decoration: none;
    }

    .footer-tagline {
        font-size: 13px;
    }
}