:root {
    --primary: #1C5FC3;
    --primary-light: rgba(28, 95, 195, 0.6);
    --primary-dark: #0a3b8c;
    --gradient-start: #5400ff;
    --gradient-end: #1C5FC3;
    --background: #f0f0f0;
    --text: #111827;
    --text-light: #4b5563;
    --card-bg: #ffffff;
    --ring: rgba(28, 95, 195, 0.3);
}

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

html, body {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: 'IBM Plex Serif', serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Helvetica, Arial, sans-serif;
}

/* Intro Animation */
.intro-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background);
    z-index: 1000;
    overflow: hidden;
}

.logo-container {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.full-logo {
    width: 100%;
    height: auto;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeIn 1s ease-out forwards;
    shape-rendering: geometricPrecision;
}

.full-logo-path {
    opacity: 0;
    animation: fadeInPath 1.5s ease-out forwards;
    transform-origin: center;
    shape-rendering: geometricPrecision;
}

.full-logo-path:nth-child(1) {
    animation-delay: 0.1s;
}

.full-logo-path:nth-child(2) {
    animation-delay: 0.2s;
}

.full-logo-path:nth-child(3) {
    animation-delay: 0.3s;
}

.full-logo-path:nth-child(4) {
    animation-delay: 0.4s;
}

.full-logo-path:nth-child(5) {
    animation-delay: 0.5s;
}

.full-logo-path:nth-child(6) {
    animation-delay: 0.6s;
}

.full-logo-path:nth-child(7) {
    animation-delay: 0.7s;
}

.full-logo-path:nth-child(8) {
    animation-delay: 0.8s;
}

.full-logo-path:nth-child(9) {
    animation-delay: 0.9s;
}

.full-logo-path:nth-child(10) {
    animation-delay: 1s;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

.hero {
    text-align: center;
    margin: 0;
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    position: relative;
    min-height: auto;
    margin-bottom: 20px;
}

.hero-logo {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.centered-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem;
    max-width: 90%;
}

.hero-centered-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    shape-rendering: geometricPrecision;
}

.hero-logo-path {
    opacity: 0;
    animation: fadeInPath 1.5s ease-out forwards;
    transform-origin: center;
    shape-rendering: geometricPrecision;
}

.hero-logo-path:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-logo-path:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-logo-path:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-logo-path:nth-child(4) {
    animation-delay: 0.4s;
}

.hero-logo-path:nth-child(5) {
    animation-delay: 0.5s;
}

.hero-logo-path:nth-child(6) {
    animation-delay: 0.6s;
}

.hero-logo-path:nth-child(7) {
    animation-delay: 0.7s;
}

.hero-logo-path:nth-child(8) {
    animation-delay: 0.8s;
}

.hero-logo-path:nth-child(9) {
    animation-delay: 0.9s;
}

.hero-logo-path:nth-child(10) {
    animation-delay: 1s;
}

.tagline {
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    color: #000000;
    font-weight: 500;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.5rem;
    margin-top: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.tagline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.5), transparent);
}

.subheadline {
    font-family: Arial, sans-serif;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    color: #555;
    font-weight: normal;
    max-width: 600px;
    line-height: 1.5;
    margin: 0.75rem auto 0;
    padding-left: 1rem;
    padding-right: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.subtitle {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--text-light);
    margin-bottom: 1rem;
    text-align: center;
    max-width: 600px;
}

.circuit-animation {
    position: fixed;
    inset: 0;
    overflow: hidden;
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

.circuit-wrapper {
    position: absolute;
    width: 32px;
    height: 32px;
}

.circuit-icon {
    width: 100%;
    height: 100%;
    color: var(--primary);
    opacity: 0.15;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(10px) rotate(5deg);
        opacity: 0.4;
    }
}

/* Features Section */
.features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 10px auto 40px;
    max-width: 900px;
    padding: 0 1rem;
    flex-wrap: wrap;
}

.feature {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: transparent;
    border: 1px solid rgba(28, 95, 195, 0.3);
    border-radius: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
    transform: translateY(-3px);
    border-color: var(--primary-light);
    box-shadow: 0 4px 15px rgba(28, 95, 195, 0.1);
}

.tech-icon {
    position: relative;
    padding: 1.25rem;
    background: transparent;
    border-radius: 0.75rem;
    border: 1px solid rgba(28, 95, 195, 0.3);
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

.tech-icon:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--ring);
    transform: translateY(-2px);
}

.tech-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease;
}

.tech-icon:hover svg {
    transform: scale(1.1);
}

.feature h3 {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--text);
    margin: 0;
    font-weight: 600;
}

.feature p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
    max-width: 250px;
}

/* Waitlist Section */
.waitlist {
    margin: 2rem auto 3rem;
    text-align: center;
    width: 100%;
    max-width: 450px;
    padding: 0 1rem;
}

form {
    display: flex;
    gap: 0.75rem;
    margin: 0 auto;
    width: 100%;
}

input {
    flex: 1;
    height: 65px;
    padding: 0 1.25rem;
    border: 1px solid rgba(28, 95, 195, 0.3);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    transition: all 0.2s ease;
    background-color: var(--card-bg);
    color: var(--text);
    line-height: 65px;
    width: 100%;
    min-width: 200px;
}

input::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--ring);
}

button {
    height: 65px;
    padding: 0 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: Arial, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 65px;
}

button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

button:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--ring);
}

.hidden {
    display: none;
}

#success-message {
    color: #059669;
    font-weight: 500;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInPath {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes morphToFull {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

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

@keyframes drawPath {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .features {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0 1rem;
        margin: 5px auto 30px;
    }

    .feature {
        max-width: 100%;
        padding: 1.25rem;
        margin-bottom: 0;
        background-color: transparent;
    }

    form {
        flex-direction: column;
        gap: 1rem;
        max-width: 100%;
    }

    input, button {
        width: 100%;
        max-width: 100%;
        -webkit-appearance: none;
        appearance: none;
        border-radius: 0.75rem;
    }

    input {
        height: 65px;
        font-size: 18px;
        line-height: 65px;
        border-width: 2px;
        padding: 0 1.25rem;
    }
    
    button {
        height: 65px;
        font-size: 18px;
        line-height: 65px;
        padding: 0 1.5rem;
        max-width: 100%;
    }

    .hero {
        padding-top: 70px;
        margin: 0 0 20px;
        min-height: auto;
    }
    
    .tagline {
        font-size: 1.25rem;
        margin-top: 1rem;
    }
    
    .subheadline {
        font-size: 0.95rem;
        padding: 0 1.5rem;
    }
    
    .waitlist {
        margin: 1rem auto 2rem;
        padding: 0 1rem;
        max-width: 100%;
    }

    .circuit-wrapper {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .logo-container {
        max-width: 280px;
    }
    
    .hero-centered-logo {
        max-width: 300px;
    }
    
    .tech-icon {
        width: 60px;
        height: 60px;
        padding: 1rem;
    }
    
    .tech-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .feature p {
        font-size: 0.85rem;
    }
    
    input {
        height: 65px;
        font-size: 18px;
        padding: 0 1.25rem;
        border-width: 2px;
    }
    
    button {
        height: 65px;
        font-size: 18px;
    }
} 