/* Update the color scheme and fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Global Styles */
:root {
    --black: #0a0a0a; /* Primary dark background */
    --black-alt: #141414; /* Secondary dark background */
    --neon-blue: #00f6ff;
    --neon-green: #00ff41;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glow-blue: 0 0 20px rgba(0, 246, 255, 0.3);
    --glow-green: 0 0 20px rgba(0, 255, 65, 0.3);
    --grid-lines: rgba(0, 246, 255, 0.07);
}

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

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -.022em;
    color: var(--text-primary);
    background-color: var(--black);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

/* Container */
.container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

/* Header */
header {
    background: var(--black-alt);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 246, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
}

.logo img {
    height: 30px; /* Adjust this value as needed */
    margin-right: 10px;
    vertical-align: middle;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--neon-blue);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 8px 16px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 246, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover {
    background-color: var(--neon-blue);
    color: var(--black);
    box-shadow: var(--glow-blue), inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::before {
    left: 100%;
}

main {
    padding-top: 44px;
    flex: 1;
}

section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--black);
    position: relative;
    overflow: hidden;
}

h1 {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -.005em;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 246, 255, 0.3);
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
}

h2 {
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -.003em;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 246, 255, 0.3);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
}

p {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: .011em;
    margin-bottom: 30px;
    color: var(--text-primary);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--black), var(--black-alt));
    padding: 140px 0 100px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.feature-item {
    text-align: left;
    background: var(--black-alt);
    border: 1px solid rgba(0, 246, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-blue);
    border-color: var(--neon-blue);
}

.feature-item h3 {
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 600;
    letter-spacing: .009em;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -.022em;
    color: var(--text-secondary);
}

/* About Section */
#about {
    background-color: var(--black-alt);
}

/* Testimonials Section */
#testimonials {
    background-color: var(--black-alt);
    padding: 100px 0;
    text-align: center;
}

#testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.testimonial {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
}

.testimonial cite {
    display: block;
    margin-top: 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--neon-blue);
}

/* CTA Section */
#cta {
    background-color: var(--black);
    text-align: center;
    padding: 80px 0;
}

#cta h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

#cta .btn-modern {
    /* These styles should already be defined in your CSS, 
       but let's ensure they're exactly the same as the hero section button */
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    background-color: #000000;
    color: #ffffff;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

#cta .btn-modern:hover {
    background-color: #333333;
}

/* Footer */
footer {
    background: var(--black-alt);
    padding: 40px 0;
    font-size: 14px;
    color: #333;
    border-top: 1px solid rgba(0, 246, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 14px;
    color: #666;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Modal Styles */
/* ... existing modal styles ... */

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    p {
        font-size: 17px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

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

    footer nav {
        margin-top: 10px;
    }

    footer nav a {
        margin-left: 0;
        margin-right: 20px;
    }
}

/* Add this to your existing styles */

.hero-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px 0 10px; /* Reduced bottom margin */
}

.hero-description ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.hero-description li {
    margin: 0 10px;
    font-size: 18px;
    font-weight: 600;
}

.btn-gradient {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #004d40, #00796b);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 195, 255, 0.4);
    background: linear-gradient(135deg, #00695c, #00897b);
}

/* Override all other .cta-buttons styles */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px !important; /* Using !important to override other instances */
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background: var(--black-alt);
    border: 1px solid rgba(0, 246, 255, 0.1);
    box-shadow: var(--glow-blue);
    margin: 15% auto;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: var(--glow-accent);
    border: 1px solid var(--border-color);
}

.modal h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--neon-green);
}

#authForm input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    background-color: var(--black-alt);
    color: var(--text-primary);
}

#authForm button {
    width: 100%;
    padding: 12px;
    background-color: var(--neon-green);
    color: var(--black);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#authForm button:hover {
    background-color: #333;
}

#switchAuth {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
}

#switchAuth a {
    color: var(--neon-blue);
    text-decoration: none;
}

#switchAuth a:hover {
    text-decoration: underline;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: var(--neon-green);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-description ul {
        flex-direction: column;
        align-items: center;
    }

    .hero-description li {
        margin: 5px 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-gradient {
        margin-bottom: 10px;
    }
}

/* Updated hero section */
.hero-tagline {
    max-width: 700px;
    margin: 30px auto;
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
}

/* Remove old idea-galaxy styles and add new feature showcase styles */
.feature-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px 0;
    position: relative;
}

.feature-card {
    background: var(--black-alt);
    border: 1px solid rgba(0, 246, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--neon-blue);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-blue);
}

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

.feature-icon {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--neon-blue);
    text-shadow: var(--glow-blue);
}

.feature-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* Add terminal-style stats */
.stats-container {
    margin-top: 60px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    background: var(--black-alt);
    border: 1px solid rgba(0, 246, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.stat-number {
    font-family: 'Courier New', monospace;
    font-size: 32px;
    color: var(--neon-blue);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Add scanning effect */
@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    animation: scan 2s linear infinite;
    opacity: 0.3;
}

/* Updated button styles */
.btn-pastel {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #7FB3D5; /* Pastel blue */
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-pastel:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(127, 179, 213, 0.4);
    background-color: #5499C7; /* Darker pastel blue on hover */
}

#idea-showcase {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.idea-card {
    background-color: var(--black-alt);
    border-radius: 10px;
    padding: 20px;
    width: 200px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    border: 1px solid var(--border-color);
}

.idea-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.idea-icon {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
}

.idea-text {
    font-size: 16px;
    color: #333;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

#idea-galaxy {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.idea-planet {
    position: absolute;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 50%;
    animation: orbit linear infinite;
    animation-duration: var(--orbit-duration);
}

.idea-planet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--orbit-size);
    height: var(--orbit-size);
    border: 1px dashed #ccc;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.idea-icon {
    font-size: 32px;
}

.idea-text {
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
}

.idea-sun {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #FFD700, #FFA500); /* Gold to Orange gradient */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.5);
}

@keyframes orbit {
    from { transform: rotate(0deg) translateX(var(--orbit-size)) rotate(0deg); }
    to { transform: rotate(360deg) translateX(var(--orbit-size)) rotate(-360deg); }
}

.hero-action {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    margin: 30px auto;
    max-width: 800px;
    color: #333;
}

.btn-modern {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    background-color: var(--neon-blue);
    color: var(--black);
}

#loginBtn {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--neon-blue);
}

#loginBtn:hover {
    background-color: rgba(0, 195, 255, 0.1);
}

#signupBtn {
    background-color: #000000;
    color: #ffffff;
}

#signupBtn:hover {
    background-color: #333333;
}

.hero-action {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    margin: 30px auto;
    max-width: 800px;
    color: #333;
}

h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
}

/* Add these styles to your existing CSS file */

header nav ul {
    display: flex;
    align-items: center;
}

.btn-header {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

#headerLoginBtn {
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

#headerLoginBtn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.btn-header-primary {
    background-color: #000000;
    color: #ffffff;
}

.btn-header-primary:hover {
    background-color: #333333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin: 10px 0;
    }

    .btn-header {
        display: inline-block;
        margin-top: 10px;
    }
}

#product-showcase {
    background-color: var(--black);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.screenshot-description {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
    color: var(--text-secondary);
    opacity: 0.85;
}

#screenshot-text {
    font-size: 19px;
    line-height: 1.5;
    margin: 25px 0;
}

.screenshot-carousel {
    background: var(--black-alt);
    border: 1px solid rgba(0, 246, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    margin: 0 auto;
    max-width: 1000px;
    box-shadow: var(--glow-blue);
}

.screenshot-carousel img {
    width: 100%;
    border-radius: 8px;
    display: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.screenshot-carousel img.active {
    display: block;
    opacity: 1;
}

.screenshot-carousel img.slide-in {
    animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-nav button {
    background: var(--black-alt);
    border: 1px solid rgba(0, 246, 255, 0.1);
    color: var(--neon-blue);
    padding: 15px 20px;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.carousel-nav button:hover {
    background-color: var(--neon-blue);
    color: var(--black);
    box-shadow: var(--glow-blue);
}

.showcase-cta {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.showcase-cta .btn-modern {
    padding: 12px 24px;
    font-size: 16px;
}

#showcaseLoginBtn {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
}

#showcaseLoginBtn:hover {
    background-color: #f0f0f0;
}

#showcaseSignupBtn {
    background-color: #000000;
    color: #ffffff;
}

#showcaseSignupBtn:hover {
    background-color: #333333;
}

.logo img {
    height: 30px; /* Adjust this value as needed */
    margin-right: 10px;
    vertical-align: middle;
}

#forgotPassword {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
}

#forgotPasswordLink {
    color: var(--neon-blue);
    text-decoration: none;
}

#forgotPasswordLink:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}

#forgotPasswordModal .modal-content {
    max-width: 400px;
}

#forgotPasswordForm input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#forgotPasswordForm button {
    width: 100%;
    padding: 10px;
    background-color: var(--neon-blue);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.error-message {
    color: #ff0000;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Add these media queries at the end of your styles.css file */

@media screen and (max-width: 1024px) {
    .container {
        width: 95%;
    }
    
    h1 {
        font-size: 40px;
    }
    
    .hero-action {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    header nav {
        flex-direction: column;
        align-items: center;
    }

    header nav ul {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    header nav ul li {
        margin: 5px;
    }

    .resource-carousel {
        height: 60px;
        overflow: hidden;
    }

    .resource-item {
        flex: 0 0 calc(33.33% - 10px);
        margin: 5px;
        height: 40px;
        font-size: 14px;
    }

    .hero-action {
        font-size: 18px;
        padding: 0 15px;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .btn-modern {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    .hero-action {
        font-size: 16px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        margin-top: 1rem;
    }

    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    header nav ul li {
        margin: 5px;
    }

    .resource-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media screen and (max-width: 768px) {
    header nav ul li:nth-last-child(-n+2) {
        display: none; /* Hide login and get started buttons in header */
    }

    header nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    header nav ul {
        flex-direction: row;
        justify-content: flex-end;
    }

    .resource-carousel {
        height: auto;
        flex-wrap: wrap;
        justify-content: flex-start;
        overflow-y: auto;
        max-height: 200px;
    }

    .resource-item {
        flex: 0 0 calc(50% - 10px);
        margin: 5px;
        height: 40px;
        font-size: 14px;
    }

    header nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
    }

    header nav ul {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-top: 0;
    }

    header nav ul li {
        margin: 0 10px;
    }

    .modal-content {
        position: relative;
        padding-top: 40px;
    }

    .close {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 24px;
        cursor: pointer;
    }
}

/* Add subtle glow effects */
.feature-item:hover, .idea-card:hover {
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.1);
}

/* Update scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
}

/* Add subtle grid background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to right, transparent 49%, var(--grid-lines) 50%, transparent 51%) 0 0 / 50px 50px,
        linear-gradient(transparent 49%, var(--grid-lines) 50%, transparent 51%) 0 0 / 50px 50px;
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
}

/* Update section backgrounds */
section {
    background-color: var(--black);
    position: relative;
    overflow: hidden;
}

/* Add cyber glow to important elements */
.btn-primary, .btn-modern {
    border: 1px solid var(--neon-blue);
    box-shadow: var(--glow-blue);
    background-color: transparent;
    color: var(--neon-blue);
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-modern:hover {
    background-color: var(--neon-blue);
    color: var(--black);
    box-shadow: var(--glow-blue), inset 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Update feature items */
.feature-item {
    background: var(--black-alt);
    border: 1px solid rgba(0, 246, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: var(--glow-blue);
    border-color: var(--neon-blue);
    transform: translateY(-2px);
}

/* Update modal styling */
.modal-content {
    background: var(--black-alt);
    border: 1px solid rgba(0, 246, 255, 0.1);
    box-shadow: var(--glow-blue);
}

/* Update form elements */
input, textarea {
    background: var(--black-alt);
    border: 1px solid rgba(0, 246, 255, 0.1);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    border-color: var(--neon-blue);
    box-shadow: var(--glow-blue);
    background: rgba(0, 246, 255, 0.05);
}

/* Add glowing text effect to headings */
h1, h2 {
    text-shadow: 0 0 10px rgba(0, 246, 255, 0.3);
}

/* Add terminal-style text effect */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}



/* Add hover glow effect to links */
a:hover {
    color: var(--neon-blue);
    text-shadow: var(--glow-blue);
}

/* Knowledge Hub Section Styles */
.knowledge-hub {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.hub-card {
    background: var(--black-alt);
    border: 1px solid rgba(0, 246, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Glowing accent line */
.hub-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, transparent, var(--neon-blue), transparent);
    transition: height 0.4s ease;
}

.hub-card:hover::after {
    height: 100%;
}

/* Card content */
.hub-icon {
    font-size: 28px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--neon-blue), #80ffdb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hub-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.hub-metrics {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 14px;
}

.metric-icon {
    opacity: 0.7;
}

/* Knowledge flow visualization */
.knowledge-flow {
    margin-top: 60px;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.flow-line {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(0, 246, 255, 0.1) 20%,
        rgba(0, 246, 255, 0.3) 50%,
        rgba(0, 246, 255, 0.1) 80%,
        transparent
    );
    animation: flowPulse 3s infinite;
}

@keyframes flowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Feature Showcase Section */
#features {
    background-color: var(--black);
    position: relative;
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -.003em;
    background: linear-gradient(180deg, var(--text-primary) 60%, rgba(255, 255, 255, 0.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 21px;
    line-height: 1.381;
    margin-top: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.resource-feature {
    background: var(--black-alt);
    border: 1px solid rgba(0, 246, 255, 0.1);
    border-radius: 16px;
    padding: 35px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.resource-feature:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: var(--glow-blue);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 246, 255, 0.1), rgba(0, 246, 255, 0.05));
    border-radius: 16px;
    font-size: 24px;
    color: var(--neon-blue);
    transition: all 0.3s ease;
}

.resource-feature:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: var(--glow-blue);
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.feature-meta {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-secondary);
}

/* Knowledge Visualization */
.knowledge-visualization {
    margin-top: 80px;
    padding: 40px;
    background: var(--black-alt);
    border-radius: 20px;
    border: 1px solid rgba(0, 246, 255, 0.1);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.insight-card {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 200px;
    position: relative;
}

.insight-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, var(--neon-blue), transparent);
}

.insight-card:last-child::after {
    display: none;
}

.insight-icon {
    font-size: 32px;
    color: var(--neon-blue);
    margin-bottom: 15px;
}

.insight-label {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.insight-value {
    font-size: 16px;
    color: var(--text-secondary);
}

.resource-types {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0;
    font-size: 24px;
    color: var(--text-primary);
}

.typewriter {
    background: var(--black-alt);
    border: 1px solid rgba(0, 246, 255, 0.1);
    border-radius: 8px;
    padding: 12px 24px;
    min-width: 240px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#typewriter-text {
    color: var(--neon-blue);
    font-size: 20px;
    min-height: 30px;
}

.cursor {
    color: var(--neon-blue);
    font-weight: 500;
    margin-left: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-text {
    max-width: 720px;
    margin: 15px auto 10px;
    text-align: center;
    color: var(--text-secondary);
    padding: 0 20px;
    opacity: 0.75;
    position: relative;
}

.hero-text p {
    font-size: 19px;
    line-height: 1.5;
    letter-spacing: -0.011em;
    font-weight: 300;
    color: var(--text-secondary);
    display: block;
    white-space: nowrap;
}

.hero-text p:first-child {
    margin-bottom: 8px;
}

/* Bring CTA buttons closer */
.cta-buttons {
    margin-top: 15px; /* Reduced from 25px to 15px */
    display: flex;
    gap: 20px;
    justify-content: center;
}

.ecosystem-cta {
    text-align: center;
    margin-top: 40px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ecosystem-cta h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--text-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ecosystem-cta {
        margin-top: 30px;
        padding: 30px 0;
    }
    
    .ecosystem-cta h2 {
        font-size: 28px;
    }
}

/* Update the hero text styles to be mobile-friendly */
.hero-text {
    max-width: 720px;
    margin: 15px auto 10px;
    text-align: center;
    color: var(--text-secondary);
    padding: 0 20px;
    opacity: 0.75;
    position: relative;
}

.hero-text p {
    font-size: 19px;
    line-height: 1.5;
    letter-spacing: -0.011em;
    font-weight: 300;
    color: var(--text-secondary);
    display: block;
    white-space: nowrap;
}

/* Add mobile-specific styles */
@media screen and (max-width: 768px) {
    .hero-text {
        padding: 0 15px;
        margin: 10px auto;
    }

    .hero-text p {
        white-space: normal; /* Allow text to wrap on mobile */
        font-size: 16px; /* Slightly smaller font size */
        padding: 0 10px; /* Add some padding */
        margin-bottom: 12px; /* Spacing between paragraphs */
    }
    
    /* Adjust the hero description container */
    .hero-description {
        padding: 0 10px;
    }

    /* Adjust the resource types container */
    .resource-types {
        flex-direction: column;
        align-items: center;
    }

    .resource-types span {
        margin-bottom: 5px;
    }
}

/* Add extra small screen optimization */
@media screen and (max-width: 480px) {
    .hero-text p {
        font-size: 15px;
        padding: 0 5px;
    }
}
