/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #f8f7ff 0%, #ffffff 100%);
    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 100 100"><circle cx="20" cy="20" r="2" fill="rgba(90,62,190,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(110,85,210,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(90,62,190,0.1)"/></svg>') 0 0;
    background-size: 150px 150px;
    animation: float 30s infinite linear;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.3rem;
    color: #6e6e73;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
    z-index: 1;
}

/* Official Download Badges */
.index-app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    position: relative;
    z-index: 1;
}

.download-badge {
    height: 70px;
    width: auto;
    transition: all 0.3s ease;
    border-radius: 12px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.download-badge:hover {
    transform: translateY(-4px) scale(1.02);
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.2));
}

.download-badge.app-store {
    height: 68px;
}

.download-badge.google-play {
    height: 70px;
}

/* Key Features Section */
.key-features {
    padding: 80px 0;
    background: #ffffff;
}

/* CTA Section */
.index-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.index-cta-section::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 100 100"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>') 0 0;
    background-size: 80px 80px;
    animation: float 25s infinite linear;
}


.index-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.index-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}


/* University Waitlist */
.waitlist {
    padding: 80px 0;
    background: #f5f5f7;
}

.waitlist-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.waitlist h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.waitlist p {
    font-size: 1.2rem;
    color: #6e6e73;
    margin-bottom: 40px;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.waitlist-form input {
    padding: 15px 20px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.waitlist-form input:focus {
    outline: none;
    border-color: #5A3EBE;
    box-shadow: 0 0 0 3px rgba(90, 62, 190, 0.1);
    transform: translateY(-1px);
}

.waitlist-form button {
    padding: 15px 30px;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.waitlist-form button svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

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

.waitlist-form button:hover::before {
    left: 100%;
}

.waitlist-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(90, 62, 190, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

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

    .download-badge {
        height: 60px;
    }

    .cta-download-badge {
        height: 55px;
    }

    .safety-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .screenshot-container-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .screenshot-container {
        width: 350px;
        height: 700px;
    }

    .verification-img {
        width: 150px;
    }
    
    .verification-screenshots {
        gap: 15px;
    }
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6e6e73;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8f7ff 0%, #ffffff 100%);
    border-radius: 20px;
    border: 1px solid #e8e7ff;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}


/* How It Works Preview */
.how-it-works-preview {
    padding: 80px 0;
    background: #f5f5f7;
    position: relative;
    overflow: hidden;
}

.how-it-works-preview::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 100 100"><circle cx="50" cy="50" r="2" fill="rgba(90,62,190,0.05)"/></svg>') 0 0;
    background-size: 100px 100px;
    animation: float 25s infinite linear;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.step-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 190, 0.02) 0%, rgba(110, 85, 210, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.step-card:hover .step-number {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(90, 62, 190, 0.3);
}

.step-number svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1d1d1f;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.step-card:hover h3 {
    color: #5A3EBE;
}

.step-card p {
    color: #6e6e73;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background: #ffffff;
}

.screenshot-container-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.screenshot-container {
    width: 320px;
    height: 700px;
    border-radius: 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.screenshot-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    transition: transform 0.4s ease;
}

.screenshot-container:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.screenshot-container:hover img {
    transform: scale(1.02);
}

.screenshot-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #5A3EBE;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.screenshot-container:hover .screenshot-label {
    background: rgba(90, 62, 190, 0.9);
    color: white;
}

/* Safety Section */
.safety {
    padding: 80px 0;
    background: #f5f5f7;
}

.safety-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.safety-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.safety-text p {
    font-size: 1.2rem;
    color: #6e6e73;
    margin-bottom: 20px;
}

.safety-features {
    list-style: none;
    margin-top: 30px;
}

.safety-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #1d1d1f;
    transition: all 0.3s ease;
}

.safety-features li:hover {
    transform: translateX(5px);
    color: #5A3EBE;
}

.safety-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    margin-right: 15px;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.safety-features li:hover::before {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(90, 62, 190, 0.3);
}

.check-icon {
    width: 12px;
    height: 12px;
    color: white;
    stroke-width: 3;
}

.safety-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    background: linear-gradient(135deg, #f8f7ff 0%, #e8e7ff 100%);
    border-radius: 20px;
    font-size: 1.1rem;
    color: #6e6e73;
    position: relative;
    overflow: hidden;
}

.safety-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 190, 0.05) 0%, rgba(110, 85, 210, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.safety-visual:hover::before {
    opacity: 1;
}

.safety-visual:hover {
    transform: scale(1.02);
}

.verification-screenshots {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}   

.verification-img {
    width: 220px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.verification-img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
