/* Page container to organize flow */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 49px); /* Adjust based on banner height */
    width: 100%;
}

/* ANNOUNCEMENT BANNER STYLES - REMOVE WHEN BANNER IS NO LONGER NEEDED */
.announcement-banner {
    width: 100%;
    background-color: #3b82f6; /* Blue color */
    color: white;
    padding: 0.75rem 1rem;
    text-align: center;
    position: relative;
    z-index: 1000;
    display: block;
    margin: 0;
}

.announcement-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.announcement-content p {
    margin: 0;
    font-size: 0.95rem;
}

.waitlist-btn {
    background-color: white;
    color: #3b82f6;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.waitlist-btn:hover {
    background-color: #f0f4ff;
}

@media (max-width: 768px) {
    .announcement-content {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* WAITLIST MODAL STYLES - REMOVE WHEN BANNER IS NO LONGER NEEDED */
.waitlist-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.waitlist-modal-content {
    background-color: var(--background, #0A0A0B);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
}

.close-modal:hover {
    color: white;
}

.waitlist-modal h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.waitlist-modal p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

#waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.form-row input {
    flex: 1;
    min-width: 0; /* Prevents flex items from overflowing */
}

#waitlist-form input {
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
}

#waitlist-form input:focus {
    outline: none;
    border-color: #3b82f6;
}

#waitlist-form input:invalid {
    border-color: #ef4444;
}

#waitlist-form button {
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    background-color: #3b82f6;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

#waitlist-form button:hover {
    background-color: #2563eb;
}

#waitlist-form button:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
}

#waitlist-message {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.success-message {
    color: #10b981;
}

.error-message {
    color: #ef4444;
}

/* Mobile responsiveness for the form */
@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
}
/* END WAITLIST MODAL STYLES */

:root {
    --background: #0A0A0B;
    --surface: #1A1A1C;
    --primary: #2DD4BF;
    --text: #FFFFFF;
    --text-secondary: #94A3B8;
    --accent: #1E293B;
    --card-bg: rgba(30, 41, 59, 0.5);
    --glow: rgba(45, 212, 191, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Ensure all direct children of body are in the normal flow */
nav, main, footer {
    width: 100%;
}

/* Main content adjustments */
main {
    position: relative;
    z-index: 1;
    /* Remove any top padding/margin that was compensating for a fixed navbar */
    padding-top: 0;
    margin-top: 0;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    width: 100%;
    z-index: 100;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo {
    height: 2rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.nav-logo span {
    font-weight: 600;
    font-size: 1.2rem;
    background: linear-gradient(to right, var(--text) 20%, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-links a:hover {
    color: var(--text);
}

.sign-up-btn {
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: 9999px;
    background: rgba(20, 20, 20, 0.7);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease-out;
    isolation: isolate;
}

.sign-up-btn::before {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: 9999px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.9) 50%,
        transparent 60%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: moveGradient 3s linear infinite;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.sign-up-btn::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.sign-up-btn:hover {
    transform: scale(1.02);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--bg-color);
    padding-bottom: 10rem; /* Increase bottom padding to prevent overlap with partners section */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(99, 179, 237, 0.05),
        rgba(99, 179, 237, 0.2),
        rgba(255, 255, 255, 0.8),
        rgba(99, 179, 237, 0.2),
        rgba(99, 179, 237, 0.05),
        transparent
    );
    transform-origin: top;
    animation: lightBeam 8s ease-in-out infinite;
    filter: blur(4px);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(99, 179, 237, 0.1) 0%,
        transparent 60%
    );
    opacity: 0.5;
    animation: pulseGlow 8s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

@keyframes subtle-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.gradient-text {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--text) 20%, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin: 0 auto 2rem;
    max-width: 800px;
    line-height: 1.6;
    padding: 0 1rem;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 auto 3rem;
    max-width: 1000px;
    padding: 0 1rem;
}

.hero-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 1px 2px rgba(255, 255, 255, 0.05);
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y),
        var(--glow),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-card:hover::before {
    opacity: 1;
}

.hero-card h3 {
    color: var(--text);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-arrow {
    color: var(--text-secondary);
    font-size: 1.25rem;
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.hero-card:hover .card-arrow {
    transform: translateX(5px);
    color: var(--primary);
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.gradient-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle at center,
        var(--glow) 0%,
        transparent 70%
    );
    opacity: 0.5;
    filter: blur(100px);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--surface);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--accent);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--surface);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--text);
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--accent);
    color: var(--text-secondary);
}

/* Additional floating orbs for depth */
.floating-orb {
    position: absolute;
    width: min(300px, 50vw);
    height: min(300px, 50vw);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: floatOrb 15s ease-in-out infinite;
}

.orb-1 {
    top: 30%;
    left: 20%;
    background: radial-gradient(circle at center, var(--primary) 0%, transparent 70%);
    animation-delay: -7s;
}

.orb-2 {
    bottom: 30%;
    right: 20%;
    background: radial-gradient(circle at center, #FF9500 0%, transparent 70%);
    animation-delay: -4s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(30px, 30px) scale(1.1) rotate(120deg);
    }
    66% {
        transform: translate(-30px, 15px) scale(0.9) rotate(240deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .section-content {
        padding: 5rem 2rem;
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .hero-content {
        max-width: 1000px;
    }
    
    .subtitle {
        max-width: 700px;
    }
}

@media (max-width: 1024px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .roles-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 2rem;
        min-height: auto;
    }

    .hero-content {
        padding: 2rem 1rem 8rem;
        margin: 0 1rem;
        width: auto;
    }

    .hero-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .gradient-text {
        font-size: clamp(2rem, 6vw, 2.8rem);
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }

    .subtitle {
        font-size: 1rem;
        margin: 0 auto 2rem;
        padding: 0 0.5rem;
    }

    .cta-container {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .raycast-button {
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }

    .partners-section {
        position: relative;
        bottom: auto;
        padding: 2rem 1rem;
        margin-top: 2rem;
    }

    .partners-section h2 {
        font-size: 1rem;
    }

    .partners-section .logo-scroll {
        padding: 0.5rem;
    }

    .partners-section .logo-container {
        gap: 2rem;
    }

    .partners-section .partner-logo img {
        height: 1.2rem;
        filter: brightness(0) invert(1);
    }

    .roles-grid,
    .benefits-grid,
    .use-cases-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-content {
        padding: 4rem 1rem;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-container {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .partners-section {
        padding: 2rem 0;
    }
    
    .partners-section h2 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .partners-section .partner-logo img {
        height: 1.2rem;
        filter: brightness(0) invert(1);
    }
    
    .hero-content {
        padding-bottom: 6rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        position: relative;
        z-index: 10;
        padding-bottom: 2rem;
    }

    .hero-cards {
        max-width: 260px;
    }

    .hero-card {
        min-height: 45px;
        padding: 0.6rem 0.8rem;
    }

    .hero-card h3 {
        font-size: 0.9rem;
    }

    .hero-card p {
        font-size: 0.7rem;
    }

    .card-arrow {
        right: 0.5rem;
        bottom: 50%;
        transform: translateY(50%);
        font-size: 0.8rem;
    }

    .cta-container {
        position: relative;
        z-index: 20;
        margin: 1.5rem auto 2rem;
        max-width: 260px;
    }

    .raycast-button {
        position: relative;
        z-index: 20;
        background: rgba(45, 212, 191, 0.2);
        border: 1px solid rgba(45, 212, 191, 0.4);
        box-shadow: 0 4px 12px rgba(45, 212, 191, 0.15);
    }

    .partners-section {
        position: relative;
        z-index: 5;
        margin-top: 0;
        padding-top: 2rem;
    }

    .hero-visual {
        z-index: 1;
    }
}

/* Section Styles */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 4rem;
}

/* Community Roles Section */
.community-roles {
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.community-roles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, var(--primary) 0%, transparent 70%);
    opacity: 0.03;
    pointer-events: none;
}

.community-roles h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), #36B4D3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.role-card {
    background: rgba(30, 41, 59, 0.3);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(45, 212, 191, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y),
        rgba(45, 212, 191, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.role-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 
        0 8px 32px rgba(45, 212, 191, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

.role-card:hover::before {
    opacity: 1;
}

.role-card h3 {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--text), var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.role-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Benefits Section */
.benefits {
    background: var(--surface);
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--accent);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

.benefit-card p {
    color: var(--text-secondary);
}

/* Use Cases Section */
.use-cases {
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.use-cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, var(--primary) 0%, transparent 70%);
    opacity: 0.03;
    pointer-events: none;
}

.use-cases h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), #36B4D3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.use-case-card {
    background: rgba(30, 41, 59, 0.3);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(45, 212, 191, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.use-case-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y),
        rgba(45, 212, 191, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 
        0 8px 32px rgba(45, 212, 191, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

.use-case-card:hover::before {
    opacity: 1;
}

.use-case-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.1);
}

.use-case-card h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--text), var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.use-case-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Partners Section */
.partners-section {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 0;
    background: linear-gradient(to top, rgba(10, 10, 11, 0.95), transparent);
    backdrop-filter: blur(10px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partners-section h2 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), #36B4D3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.9;
    font-weight: 500;
}

.partners-section .logo-scroll {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.partners-section .logo-container {
    display: flex;
    gap: 5rem;
    padding: 0.5rem 2rem;
    animation: scrollLeft 20s linear infinite;
    white-space: nowrap;
}

.partners-section .partner-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    position: relative;
    transition: transform 0.3s ease;
}

.partners-section .partner-logo img {
    height: 1.5rem;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Default white filter for all logos except logo2 and logo3 */
.partners-section .partner-logo img {
    filter: brightness(0) invert(1);
}

/* Remove filter for logo2 and logo3 */
.partners-section .partner-logo img[src*="logo2.png"],
.partners-section .partner-logo img[src*="logo3.png"] {
    filter: none;
}

.partners-section .partner-logo:hover {
    transform: translateY(-3px);
}

/* Hover effects for specific logos */
.partners-section .partner-logo:hover img[src*="logo2.png"],
.partners-section .partner-logo:hover img[src*="logo3.png"] {
    filter: drop-shadow(0 4px 12px rgba(45, 212, 191, 0.2));
}

.partners-section .partner-logo:hover img:not([src*="logo2.png"]):not([src*="logo3.png"]) {
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(45, 212, 191, 0.2));
}

/* Mobile styles */
@media (max-width: 768px) {
    .partners-section .partner-logo img {
        height: 1.2rem;
        filter: brightness(0) invert(1);
    }
    
    .partners-section .partner-logo img[src*="logo2.png"],
    .partners-section .partner-logo img[src*="logo3.png"] {
        filter: none;
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 2.5rem)); /* Half the width plus half the gap */
    }
}

/* Newsletter Section */
.newsletter {
    background: var(--surface);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, var(--primary) 0%, transparent 70%);
    opacity: 0.05;
    pointer-events: none;
}

.newsletter .section-content {
    max-width: 800px;
    text-align: center;
    padding: 0 2rem;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.newsletter-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid var(--accent);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.3);
}

.email-input::placeholder {
    color: var(--text-secondary);
}

.subscribe-btn {
    padding: 1rem 2rem;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    background: #3E3E3E;
}

.newsletter-note {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 2rem;
}

.community-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.community-link:hover {
    color: #FF9500;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }

    .subscribe-btn {
        width: 100%;
    }

    .newsletter {
        padding: 4rem 0;
    }

    .newsletter h2 {
        font-size: 2rem;
    }

    .newsletter-description {
        font-size: 1rem;
    }
}

/* Raycast Button Styles */
@keyframes moveGradient {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

.raycast-button {
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: 9999px;
    background: rgba(20, 20, 20, 0.7);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease-out;
    isolation: isolate;
}

.raycast-button::before {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: 9999px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.9) 50%,
        transparent 60%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: moveGradient 3s linear infinite;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.raycast-button::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.raycast-button:hover {
    transform: scale(1.02);
}

.button-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.button-text {
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
}

.button-arrow {
    width: 1rem;
    height: 1rem;
    color: var(--text-secondary);
}

/* Center the button */
.cta-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 8rem; /* Add bottom margin to prevent overlap with partners section */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .raycast-button {
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }
}

/* Futuristic Circuit Background */
.circuit-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(99, 179, 237, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(99, 179, 237, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%);
    z-index: 2;
}

.floating-ui {
    position: absolute;
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(99, 179, 237, 0.1);
    backdrop-filter: blur(5px);
    opacity: 0.3;
    transition: transform 0.2s ease-out;
    will-change: transform;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 1px 2px rgba(255, 255, 255, 0.05);
}

.ui-1 {
    width: 200px;
    height: 100px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.ui-2 {
    width: 150px;
    height: 80px;
    top: 60%;
    right: 20%;
    animation-delay: -5s;
}

.ui-3 {
    width: 180px;
    height: 90px;
    bottom: 25%;
    left: 25%;
    animation-delay: -10s;
}

@keyframes lightBeam {
    0%, 100% {
        transform: scaleY(1.2) translateY(-10%);
        opacity: 0.5;
    }
    50% {
        transform: scaleY(1) translateY(0);
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes floatUI {
    0%, 100% {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    25%, 75% {
        opacity: 0.3;
        transform: translate3d(0, 0, 0);
    }
    50% {
        opacity: 0.4;
        transform: translate3d(0, -20px, 0);
    }
}

.mouse-glow {
    position: absolute;
    width: 80px;
    height: 80px;
    pointer-events: none;
    background: radial-gradient(
        circle at center,
        rgba(45, 212, 191, 0.12) 0%,
        rgba(45, 212, 191, 0.08) 30%,
        rgba(45, 212, 191, 0.05) 60%,
        transparent 100%
    );
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.partners-inline {
    margin: 2rem auto 3rem;
    width: 100%;
    max-width: 1000px;
}

.partners-inline h2 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), #36B4D3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.9;
    font-weight: 500;
}

.partners-inline .logo-scroll {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0.5rem 0;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 20%,
        black 80%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 20%,
        black 80%,
        transparent
    );
}

.partners-inline .logo-container {
    display: flex;
    gap: 4rem;
    padding: 0.5rem 2rem;
    animation: scroll 30s linear infinite;
}

.partners-inline .partner-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    position: relative;
    transition: transform 0.3s ease;
}

.partners-inline .partner-logo img {
    height: 1.5rem;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partners-inline .partner-logo:hover {
    transform: translateY(-3px);
}

.partners-inline .partner-logo:hover img {
    opacity: 1;
    transform: translateY(-3px);
    filter: drop-shadow(0 4px 12px rgba(45, 212, 191, 0.2));
}

.partners-section .partner-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    position: relative;
    transition: transform 0.3s ease;
}

.partners-section .partner-logo img {
    height: 1.5rem;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partners-section .partner-logo:hover {
    transform: translateY(-3px);
}

.partners-section .partner-logo:hover img {
    opacity: 1;
    transform: translateY(-3px);
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(45, 212, 191, 0.2));
}

.partners-section .logo-container {
    display: flex;
    gap: 4rem;
    padding: 0.5rem 2rem;
    animation: scroll 30s linear infinite;
    min-width: max-content;
}

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