/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Solid Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(1, 61, 228, 0.15);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.glass-nav.scrolled {
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: white;
    font-weight: 700;
    font-size: 16px;
    transition: color 0.3s ease;
}

.glass-nav.scrolled .logo h2 {
    color: #1a365d;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

.glass-nav.scrolled .nav-links a {
    color: #2d3748;
}

.glass-nav.scrolled .nav-links a:hover {
    color: #3182ce;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn-demo {
    background: transparent;
    border: 2px solid #3182ce;
    color: #3182ce;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    background: #3182ce;
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, #3182ce, #2c5282);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(49, 130, 206, 0.3);
}

.btn-signin {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.glass-nav.scrolled .btn-signin {
    background: linear-gradient(135deg, #3182ce, #2c5282);
    color: white;
    border: none;
}

.btn-signin:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(49, 130, 206, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(45deg, #013DE4, #102845);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="800" cy="300" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="400" cy="600" r="4" fill="rgba(255,255,255,0.1)"/><circle cx="900" cy="700" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.waitlist-form {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.waitlist-form input[type="email"] {
    padding: 15px 20px;
    border: 2px solid white;
    border-radius: 30px;
    font-size: 1rem;
    width: 280px;
    outline: none;
    background: transparent;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.waitlist-form input[type="email"]:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.waitlist-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.waitlist-message {
    background: rgba(26, 54, 93, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 15px 35px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary-large {
    background: white;
    color: #3182ce;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-secondary-large {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary-large:hover {
    background: white;
    color: #667eea;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8fafc;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-card.animate-in:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card.animate-in:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card.animate-in:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card.animate-in:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(49, 130, 206, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(49, 130, 206, 0.2);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease, filter 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 5px 15px rgba(49, 130, 206, 0.3));
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover h3 {
    color: #3182ce;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.6;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover p {
    color: #2d3748;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 30px;
}

.about p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Publications Grid */
.publications-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.publication-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.publication-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(49, 130, 206, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.publication-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.05) 0%, rgba(116, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.publication-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(49, 130, 206, 0.3);
}

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

.publication-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.publication-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.publication-card:hover .publication-icon {
    transform: scale(1.1) rotate(-5deg);
}

.publication-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a365d;
    line-height: 1.3;
    margin: 0;
    text-align: left;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.publication-card:hover h3 {
    color: #3182ce;
}

.publication-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    text-align: left;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.publication-card:hover p {
    color: #2d3748;
}

/* Responsive Design for Publications */
@media (max-width: 768px) {
    .publications-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .publication-card {
        padding: 30px 25px;
    }
    
    .publication-header {
        gap: 15px;
    }
    
    .publication-icon {
        font-size: 2rem;
    }
    
    .publication-card h3 {
        font-size: 1.2rem;
    }
    
    .publication-card p {
        font-size: 0.95rem;
    }
}

.about-stats {
    display: flex;
    gap: 40px;
}

.about-stat {
    text-align: center;
}

.about-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3182ce;
    margin-bottom: 5px;
}

.about-stat span {
    color: #718096;
    font-size: 0.9rem;
}

.placeholder-image {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: #f8fafc;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 60px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a365d;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #3182ce;
    font-weight: 300;
    transition: transform 0.3s ease-out, color 0.2s ease;
}

.faq-item:hover .faq-toggle {
    color: #2c5282;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease-out, opacity 0.25s ease-out 0.1s, padding 0.35s ease-out;
}

.faq-answer p {
    color: #4a5568;
    line-height: 1.6;
    padding-bottom: 25px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    padding: 0 30px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    transition: transform 0.3s ease-out;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #e2e8f0;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3182ce;
}

.footer-social {
    display: flex;
    gap: 15px;
}

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

.footer-social a:hover {
    color: #3182ce;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
}

/* Contact Form Styles */
.contact-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #4a5568;
    border-radius: 8px;
    background: #2d3748;
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a0aec0;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(49, 130, 206, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.confirmation-message {
    background: #065f46;
    border: 1px solid #10b981;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
    text-align: center;
}

.confirmation-message p {
    color: #d1fae5;
    margin: 0;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .nav-buttons {
        gap: 10px;
    }
    
    .btn-demo, .btn-primary {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* Keyframe Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Initial state for feature cards before animation */
.features-grid .feature-card {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
}