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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a0f1a, #000000);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(20, 0, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #8a2be2;
    box-shadow: 0 0 30px #8a2be2;
    z-index: 1000;
}

.logo img {
    height: 60px;
    filter: drop-shadow(0 0 15px #8a2be2);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    text-shadow: 0 0 15px #8a2be2;
}

nav a:hover {
    color: #8a2be2;
    text-shadow: 0 0 25px #8a2be2;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    animation: intro 2s ease-out;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 30px #8a2be2;
}

.hero p {
    font-size: 1.5rem;
    margin: 0 auto 40px;
    max-width: 800px;
    line-height: 1.6;
}

.cta-button {
    background: #000000;
    border: 2px solid #8a2be2;
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 20px #8a2be2;
    text-decoration: none;
}

.cta-button:hover {
    background: #8a2be2;
    box-shadow: 0 0 40px #8a2be2;
}

section {
    padding: 100px 50px;
    min-height: 100vh;
}

.box {
    background: rgba(74, 14, 78, 0.1);
    border: 1px solid #8a2be2;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.5);
    backdrop-filter: blur(10px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

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

.box h2 {
    color: #8a2be2;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px #8a2be2;
}

.box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.box h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.box p, .box li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.box ol {
    list-style: none;
    text-align: center;
    margin-left: 0;
}

.box ol li, .box ul li {
    border: 1px solid rgba(138, 43, 226, 0.5);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    display: inline-block;
    width: 80%;
    text-align: center;
}

.box ul {
    list-style: none;
    text-align: center;
}

.team-member {
    display: inline-block;
    margin: 20px;
    text-align: center;
}

.team-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid #8a2be2;
    box-shadow: 0 0 20px #8a2be2;
}

.founder-image {
    width: 250px;
    height: 250px;
}

.founder-description {
    border: 2px solid #ba55d3;
    padding: 20px;
    border-radius: 10px;
    background: rgba(186, 85, 211, 0.1);
    box-shadow: 0 0 20px rgba(186, 85, 211, 0.5);
    margin-top: 20px;
}

/* .founder-text-item: no default desktop rules (styles applied in mobile media query) */

.team-card {
    background-color: transparent;
    perspective: 1000px;
    margin: 0 auto;
    cursor: pointer;
}

.team-card.founder-card {
    width: 250px;
    height: 250px;
}

.team-card:not(.founder-card) {
    width: 200px;
    height: 200px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-back {
    transform: rotateY(180deg);
    background: rgba(74, 14, 78, 0.8);
}

.vault-text {
    color: #8a2be2;
    font-size: 1.5rem;
    text-shadow: 0 0 20px #8a2be2;
    margin: 0;
    font-weight: bold;
}

.flipped .card-inner {
    transform: rotateY(180deg);
}

.signup-form {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.signup-form input {
    padding: 15px;
    border: 1px solid #8a2be2;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    border-radius: 10px 0 0 10px;
    backdrop-filter: blur(10px);
}

.signup-form button {
    padding: 15px 20px;
    background: #8a2be2;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 0 10px 10px 0;
    font-size: 1rem;
    transition: all 0.3s;
}

.signup-form button:hover {
    background: #9932cc;
    box-shadow: 0 0 20px #8a2be2;
}

/* Thank You Messages (purple theme + drop/pulse animation) */
.thank-you-message {
    margin-top: 20px;
    padding: 15px 20px;
    background: rgba(186, 85, 211, 0.08); /* light purple */
    border: 1px solid rgba(186, 85, 211, 0.6);
    border-radius: 12px;
    color: #f8f0ff; /* very light purple/white for contrast */
    font-weight: 700;
    text-align: center;
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 30px rgba(138, 43, 226, 0.18), 0 0 18px rgba(186,85,211,0.15) inset;
    animation: successDrop 0.6s cubic-bezier(.2,.9,.2,1) both, purplePulse 2.2s ease-in-out 0.6s 1;
    transform-origin: top center;
}

/* Override for early access form - use absolute positioning */
.signup-form .thank-you-message {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    z-index: 10;
}

@keyframes successDrop {
    0% { opacity: 0; transform: translateY(-18px) scale(0.98); }
    60% { opacity: 1; transform: translateY(6px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes purplePulse {
    0% { box-shadow: 0 6px 30px rgba(138, 43, 226, 0.18), 0 0 0 rgba(186,85,211,0); }
    50% { box-shadow: 0 10px 40px rgba(138, 43, 226, 0.28), 0 0 40px rgba(186,85,211,0.12); }
    100% { box-shadow: 0 6px 30px rgba(138, 43, 226, 0.18), 0 0 0 rgba(186,85,211,0); }
}

/* Make sure hidden state doesn't animate until shown */
.thank-you-message[style*="display: none"] {
    animation: none !important;
}

/* Contact */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s;
    text-shadow: 0 0 10px #8a2be2;
}

.contact-link:hover {
    color: #8a2be2;
    text-shadow: 0 0 20px #8a2be2;
}

.contact-link i {
    margin-right: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    border: 1px solid #8a2be2;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 15px;
    background: #8a2be2;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form button:hover {
    background: #9932cc;
    box-shadow: 0 0 20px #8a2be2;
}

/* Particles */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: #8a2be2;
    border-radius: 50%;
    animation: float 10s infinite linear;
}

.particle:nth-child(odd) {
    animation-duration: 12s;
}

.particle:nth-child(even) {
    animation-duration: 15s;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

@keyframes intro {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes clarify {
    0% { opacity: 0; filter: blur(10px); }
    100% { opacity: 1; filter: blur(0); }
}

@keyframes skate {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes blur-in {
    0% { filter: blur(10px); opacity: 0; }
    100% { filter: blur(0); opacity: 1; }
}

.glow-clarify {
    text-shadow: 0 0 10px #ff1493, 0 0 20px #ff1493, 0 0 30px #ff1493;
    animation: clarify 2s ease-out 2s both;
}

.skate {
    animation: skate 1.5s ease-out 3s both;
}

.blur-anim {
    animation: blur-in 2s ease-out 4s both;
}



/* Triangle Words */
.triangle-words {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.word {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ba55d3;
    border: 1px solid rgba(138, 43, 226, 0.5);
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 10px;
    text-shadow: 0 0 10px #ba55d3;
    backdrop-filter: blur(5px);
}

.word:nth-child(1) { margin-left: 0; }
.word:nth-child(2) { margin-left: -20px; }
.word:nth-child(3) { margin-left: -40px; }
.word:nth-child(4) { margin-left: -20px; }

/* Moving Triangle */
.moving-triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid #8a2be2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateTriangle 4s linear infinite;
    filter: drop-shadow(0 0 10px #8a2be2);
}

@keyframes rotateTriangle {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(74, 14, 78, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid #8a2be2;
    box-shadow: 0 -5px 20px #8a2be2;
}

.copyright {
    text-align: center;
}

footer a {
    text-decoration: none;
    color: #fff;
    margin: 10px 0;
    transition: color 0.3s;
}

footer a:hover {
    color: #8a2be2;
}

.footer-links.about {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px 0;
}

.footer-links.about a {
    margin: 0 10px;
}

.footer-links.resources {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
}

.hamburger {
    display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    header {
        padding: 20px 20px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(74, 14, 78, 0.9);
        backdrop-filter: blur(10px);
        padding: 20px;
        gap: 20px;
        box-shadow: 0 5px 20px #8a2be2;
    }

    nav ul.active {
        display: flex;
    }

    .hamburger {
        display: block;
        visibility: visible;
        cursor: pointer;
        font-size: 1.5rem;
        color: #dda0dd;
        border-radius: 3px;
        padding: 5px;
    }

    .hamburger i {
        transition: all 0.3s;
    }

    section {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .box {
        padding: 20px;
    }

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

    .signup-form input {
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .signup-form button {
        border-radius: 10px;
    }

    .founder-image {
        width: 200px;
        height: 200px;
    }

    .founder-description {
        border: none;
        padding: 0;
        background: none;
        box-shadow: none;
        margin-top: 0;
    }

    .founder-text-item {
        border: 2px solid #ba55d3;
        padding: 10px;
        border-radius: 10px;
        background: rgba(186, 85, 211, 0.1);
        box-shadow: 0 0 20px rgba(186, 85, 211, 0.5);
        margin-top: 10px;
    }

    .triangle-words {
        align-items: center;
    }

    .word {
        margin-left: 0 !important;
    }

    footer {
        text-align: left;
    }

    .footer-links.about {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links.resources {
        align-items: flex-start;
    }

    .footer-links.about a {
        margin: 10px 0;
    }
}



/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(74, 14, 78, 0.9);
    color: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 -5px 20px #8a2be2;
    z-index: 2000;
    display: none;
}

.cookie-banner p {
    margin: 0 0 10px 0;
}

.cookie-banner button {
    margin: 0 10px;
    padding: 10px 20px;
    background: #8a2be2;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.cookie-banner button:hover {
    background: #9932cc;
}

.cookie-banner.hidden {
    display: none;
}
