/* Modern CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #f5f7fa;
    overflow-x: hidden;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: #eff6ff;
    transform: translateY(-2px);
}

/* Navigation - 2025 Style */
nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

nav .logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    transition: transform 0.3s ease;
}

nav .logo:hover {
    transform: scale(1.05);
}

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

.nav-links a {
    color: #4b5563;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2563eb;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 3px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-links a.active {
    color: #2563eb;
}

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

.mobile-menu {
    display: none;
}

#menu-toggle {
    display: none;
    cursor: pointer;
}

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

    #menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        color: #2563eb;
        background: rgba(37, 99, 235, 0.1);
        transition: all 0.3s ease;
    }

    #menu-toggle:hover {
        background: rgba(37, 99, 235, 0.2);
    }

    .mobile-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 2rem;
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
        border-radius: 0 0 20px 20px;
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-menu.active {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-menu a {
        display: block;
        padding: 1rem 0;
        color: #4b5563;
        text-decoration: none;
        font-weight: 600;
        border-bottom: 1px solid rgba(37, 99, 235, 0.1);
        transition: all 0.3s ease;
    }

    .mobile-menu a:last-child {
        border-bottom: none;
    }

    .mobile-menu a:hover {
        color: #2563eb;
        padding-left: 0.5rem;
    }
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    transform: rotate(45deg);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.hero p {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero .btn-group {
    display: flex;
    gap: 1rem;
}

.hero img {
    max-width: 100%;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero p {
        font-size: 1rem;
        margin: 0 auto 1.5rem;
    }

    .hero img {
        margin-top: 2rem;
    }
}

/* Trusted By Section */
.trusted-by {
    padding: 4rem 0;
    background: #fff;
}

.trusted-by h2 {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.trusted-by p {
    text-align: center;
    color: #6b7280;
    margin-bottom: 2.5rem;
}

.trusted-by .logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.trusted-by .logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trusted-by .logo-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.trusted-by .logo-item img:hover {
    filter: grayscale(0);
    transform: scale(1.1);
}

.trusted-by .logo-item span {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Upcoming Events */
.events {
    padding: 4rem 0;
    background: #fff;
}

.events h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.events .event-carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #2563eb transparent;
}

.events .event-card {
    flex: 1 1 calc(33.333% - 2rem);
    max-width: calc(33.333% - 2rem);
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.events .event-card:hover {
    transform: translateY(-8px);
}

.events .event-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.events .event-card .content {
    padding: 1.5rem;
}

.events .event-card .category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.events .event-card .workshop { background: #dbeafe; color: #1e40af; }
.events .event-card .conference { background: #e0e7ff; color: #3730a3; }
.events .event-card .hackathon { background: #f3e8ff; color: #6b21a8; }
.events .event-card .webinar { background: #fefce8; color: #854d0e; }

.events .event-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.events .event-card p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.events .event-card .meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #6b7280;
}

.events .event-card .meta .closing {
    color: #ea580c;
}

.events .event-card a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.events .event-card a:hover {
    text-decoration: underline;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #f5f7fa;
}

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

.features p {
    text-align: center;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.features .feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.features .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.features .feature-card .icon {
    width: 56px;
    height: 56px;
    background: #dbeafe;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.features .feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.features .feature-card p {
    font-size: 0.975rem;
    color: #6b7280;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: #fff;
}

.how-it-works h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.how-it-works p {
    text-align: center;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.how-it-works .step {
    text-align: center;
}

.how-it-works .step .number {
    width: 64px;
    height: 64px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.how-it-works .step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.how-it-works .step p {
    font-size: 0.975rem;
    color: #6b7280;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: #f5f7fa;
}

.testimonials h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.testimonials p {
    text-align: center;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.testimonials .testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonials .testimonial-card:hover {
    transform: translateY(-8px);
}

.testimonials .testimonial-card .stars {
    color: #f59e0b;
    margin-bottom: 1rem;
}

.testimonials .testimonial-card p {
    font-size: 0.975rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.testimonials .testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonials .testimonial-card .author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.testimonials .testimonial-card .author h4 {
    font-size: 1rem;
    font-weight: 600;
}

.testimonials .testimonial-card .author p {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Pricing */
.pricing {
    padding: 6rem 0;
    background: #fff;
}

.pricing h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.pricing p {
    text-align: center;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.pricing .pricing-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.pricing .pricing-card.popular {
    border: 2px solid #2563eb;
    transform: scale(1.05);
}

.pricing .pricing-card .badge {
    background: #2563eb;
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.pricing .pricing-card .content {
    padding: 2rem;
}

.pricing .pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing .pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.pricing .pricing-card .price span {
    font-size: 1rem;
    color: #6b7280;
}

.pricing .pricing-card ul {
    margin-bottom: 2rem;
}

.pricing .pricing-card li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.975rem;
    color: #4b5563;
}

.pricing .pricing-card .btn {
    width: 100%;
    text-align: center;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta .btn-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 4rem 0;
}

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

footer h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

footer ul li a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.975rem;
}

footer ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

footer .social-links {
    display: flex;
    gap: 1rem;
}

footer .social-links a {
    color: #d1d5db;
    font-size: 1.25rem;
}

footer .social-links a:hover {
    color: #fff;
}

footer .bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
    font-size: 0.875rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .features h2,
    .how-it-works h2,
    .testimonials h2,
    .pricing h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.975rem;
    }

    .features h2,
    .how-it-works h2,
    .testimonials h2,
    .pricing h2 {
        font-size: 1.75rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: 1rem;
    }
}