:root {
    --primary-color: #00E5FF;
    --secondary-color: #00FF8D;
    --text-color: #ffffff;
    --dark-bg: #111111;
    --darker-bg: #080808;
    --gray-text: #CCCCCC;
    --white: #ffffff;
    --button-text: #111111;
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--darker-bg);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav {
    background: var(--darker-bg);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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

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

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button button {
    padding: 0.6rem 1.2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 229, 255, 0.1);
    font-size: 0.9rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-image {
    height: 40px;
    width: 40px;
    margin-right: 10px;
}

.logo-text {
    display: flex;
}

.logo .binder {
    color: var(--primary-color);
}

.logo .chain {
    color: var(--secondary-color);
}

button {
    background: var(--primary-color);
    color: var(--button-text);
    border: 2px solid rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-shadow: 0 1px 1px rgba(255,255,255,0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(0, 229, 255, 0.1);
    position: relative;
    letter-spacing: 0.5px;
}

button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(0, 255, 141, 0.2);
}

button.secondary {
    background: rgba(0, 0, 0, 0.6);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-shadow: none;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 229, 255, 0.3);
}

button.secondary:hover {
    background: rgba(0, 0, 0, 0.7);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 255, 141, 0.4);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background: var(--darker-bg);
    color: var(--white);
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/herosectionbg.png');
    background-size: cover;
    background-position: center 30%;
    opacity: 0.2;
    filter: blur(1px);
    z-index: 1;
    transform: scale(1.05);
}

.hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.86) 100%);
    z-index: 2;
}

@keyframes gradient-shift {
    0% { background-position: 0% 0%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}

.pattern {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 1;
    mix-blend-mode: overlay;
    pointer-events: none;
    will-change: transform;
}

.pattern-1 {
    width: 60vmax;
    height: 60vmax;
    top: -20%;
    left: -20%;
    background: radial-gradient(circle at center,
        rgba(0, 229, 255, 0.8) 0%,
        transparent 70%
    );
    animation: float 15s ease-in-out infinite;
}

.pattern-2 {
    width: 55vmax;
    height: 55vmax;
    top: 40%;
    right: -15%;
    background: radial-gradient(circle at center,
        rgba(0, 255, 141, 0.8) 0%,
        transparent 70%
    );
    animation: float-reverse 20s ease-in-out infinite;
}

.pattern-3 {
    width: 50vmax;
    height: 50vmax;
    bottom: -15%;
    left: 25%;
    background: radial-gradient(circle at center,
        rgba(0, 229, 255, 0.8) 0%,
        transparent 70%
    );
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -40px) scale(1.05); }
}

@keyframes float-reverse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 40px) scale(1.05); }
}

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

.key-features {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.feature i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.feature span {
    font-weight: 500;
    color: var(--white);
    font-size: 0.95rem;
    white-space: nowrap;
}

.cards-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,229,255,0.1) 0%, rgba(0,255,141,0.1) 100%);
    mix-blend-mode: overlay;
    z-index: 1;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    text-shadow: var(--text-shadow);
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    font-weight: 900;
    letter-spacing: -0.03em;
}


.hero .subtitle {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.5;
    padding: 0 1rem;
    position: relative;
}

.tagline-box {
    display: inline-block;
    margin: 0 auto 2rem;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    backdrop-filter: blur(5px);
}

.tagline {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
    position: relative;
    z-index: 10;
}

.hero-form {
    margin: 2.5rem 0 1rem;
    position: relative;
    z-index: 10;
}

.input-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.input-group input::placeholder {
    color: var(--gray-text);
}

.hero-form button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--button-text);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 1px 1px rgba(255,255,255,0.2);
    border-radius: 0.75rem;
}

.hero-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-shadow: var(--text-shadow);
}

.form-message.success {
    color: var(--secondary-color);
}

.form-message.error {
    color: #ff4444;
}

.features {
    padding: 4rem 0;
    background: var(--dark-bg);
}

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

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

.feature-card {
    padding: 2.5rem 2rem;
    text-align: center;
    background: var(--darker-bg);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,229,255,0.15);
    border-color: rgba(0,229,255,0.3);
}

.feature-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0,229,255,0.2));
}

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

.prototype {
    padding: 4rem 0;
    background: var(--dark-bg);
    text-align: center;
}

.prototype h2 {
    margin-bottom: 1rem;
    font-size: 2.25rem;
}

.prototype p {
    color: var(--gray-text);
    margin-bottom: 2rem;
}

.prototype-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    background: var(--darker-bg);
}

.prototype-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
}

.signup {
    padding: 4rem 0;
    background: var(--darker-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,229,255,0.05) 0%, rgba(0,255,141,0.05) 100%);
    pointer-events: none;
    z-index: 0;
}

.signup h2 {
    margin-bottom: 1rem;
    font-size: 2.25rem;
}

.input-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto;
}

input[type="email"] {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(229,231,235,0.3);
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: rgba(255,255,255,0.9);
    color: #333;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-message {
    margin-top: 1rem;
    font-weight: 600;
}

.form-message.success {
    color: #059669;
}

.form-message.error {
    color: #dc2626;
}

footer {
    background: var(--darker-bg);
    color: var(--gray-text);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .input-group {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}
