/* Base styles and CSS reset */
:root {
    --primary-color: #2563eb;
    --text-color: #1f2937;
    --background-color: rgba(255, 255, 255, 0.95);
    --accent-color: #3b82f6;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: url(/static/images/VentureLinqBackground.png) center center fixed;
    min-height: 100vh;
}

/* Container and layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hero section */
.hero {
    text-align: center;
    padding: 1rem;
    background: url('/static/images/VentureLinqBackground.png') center center fixed;
    background-color: #f8fafc; /* Fallback color */
}

.logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

/* Mission section */
.mission {
    text-align: center;
    padding: 3rem 0;
    background: url('/static/images/VentureLinqBackground.png') center center fixed;
    background-color: #f8fafc;
    border-radius: 1rem;
    margin: 2rem 0;
    backdrop-filter: blur(5px);
    color: #ffffff;
}

.mission-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
}

/* Features Timeline Section */
.features-map {
    padding: 4rem 2rem;
    text-align: center;
    background: url('/static/images/VentureLinqBackground.png') center center fixed;
    background-color: #f8fafc;
    margin: 2rem 0;
    border-radius: 1rem;
}

.features-map h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Timeline vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 1);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    transform: translateX(-2rem);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    transform: translateX(2rem);
}

/* Timeline dots */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: all 0.3s ease;
}

/* Timeline dots hover effect */
.timeline-item:hover::before {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 15px #ff00ce;
    background: #ff00ce;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Timeline bar effect */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ff00ce;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* Timeline content hover effects */
.timeline-content:hover h3 {
    color: #ff00ce;
    transform: translateX(5px);
}

.timeline-content:hover .feature-icon {
    transform: rotate(360deg) scale(1.2);
    color: #ff00ce;
}

/* Timeline line hover effect */
.timeline-item:hover ~ .timeline::before {
    box-shadow: 0 0 20px #ff00ce;
}

.timeline-date {
    position: absolute;
    top: -2rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.timeline-content:hover .timeline-date {
    transform: scale(1.1);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin: 1rem 0;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.timeline-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.timeline-content:hover p {
    color: var(--primary-color);
}

.timeline-content .feature-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin: 1rem 0;
    transition: all 0.3s ease;
}

/* Features grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    background: url('/static/images/VentureLinqBackground.png') center center fixed;
    background-color: #f8fafc;
    gap: 2rem;
    padding: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

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

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

/* Form styles */
.signup {
    text-align: center;
    padding: 3rem;
    background: url('/static/images/VentureLinqBackground.png') center center fixed;
    background-color: #f8fafc;
    border-radius: 1rem;
    margin-top: 2rem;
    backdrop-filter: blur(5px);
    color: white;
}

form {
    max-width: 500px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Center reCAPTCHA */
.g-recaptcha {
    margin: 1rem auto;
    display: flex;
    justify-content: center;
}

input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
}

button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: var(--accent-color);
}

/* Message styles */
#message {
    margin-top: 1rem;
}

.success {
    color: #059669;
}

.error {
    color: #dc2626;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: white;
    background: url('/static/images/VentureLinqBackground.png') center center fixed;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
    
    .container {
        padding: 1rem;
        margin: 0.5rem;
        border-radius: 0.5rem;
    }

    h1 {
        font-size: 2rem;
    }

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

    .timeline::before {
        left: 1rem;
    }

    .timeline-item::before {
        left: 1rem;
    }

    .timeline-content {
        width: 85%;
        margin-left: 3rem !important;
        transform: none !important;
    }

    .timeline-date {
        left: 0 !important;
        top: -2.5rem;
    }

    .features-map {
        padding: 2rem 1rem;
    }

    .features-map h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
}

/* Loading optimizations */
.logo {
    content-visibility: auto;
}

/* Print styles */
@media print {
    .g-recaptcha,
    button {
        display: none;
    }
}

/* Add preload for background image */
@media (min-width: 768px) {
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        background: inherit;
        background-attachment: fixed;
    }
}

/* Feature icons */
.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

/* Text hover effect */
.timeline-content p {
    transition: all 0.3s ease;
}

.timeline-content:hover p {
    color: var(--primary-color);
} 