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

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #f59e0b;
    --accent: #10b981;
    --dark: #0c1222;
    --light: #f8fafc;
    --gradient: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 50%, #0891b2 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-animation span {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0891b2 100%);
    border-radius: 50%;
    animation: float 15s infinite;
    opacity: 0.08;
}

.bg-animation span:nth-child(1) { left: 10%; animation-delay: 0s; width: 80px; height: 80px; }
.bg-animation span:nth-child(2) { left: 20%; animation-delay: 2s; width: 40px; height: 40px; }
.bg-animation span:nth-child(3) { left: 35%; animation-delay: 4s; width: 60px; height: 60px; }
.bg-animation span:nth-child(4) { left: 50%; animation-delay: 0s; width: 100px; height: 100px; }
.bg-animation span:nth-child(5) { left: 65%; animation-delay: 3s; width: 50px; height: 50px; }
.bg-animation span:nth-child(6) { left: 75%; animation-delay: 5s; width: 70px; height: 70px; }
.bg-animation span:nth-child(7) { left: 85%; animation-delay: 1s; width: 90px; height: 90px; }
.bg-animation span:nth-child(8) { left: 5%; animation-delay: 6s; width: 45px; height: 45px; }

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 15px 50px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.big-2 {
    font-size: 1.4em;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.6);
    position: relative;
    top: -2px;
}

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

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 50px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    color: #94a3b8;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-20px); }
    60% { transform: translateX(-50%) translateY(-10px); }
}

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

/* Section Styles */
section {
    padding: 100px 50px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header h2 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* About Patents Section */
.about-patents {
    background: linear-gradient(180deg, transparent 0%, rgba(14, 165, 233, 0.05) 50%, transparent 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    background: rgba(30, 41, 59, 0.5);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.about-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.about-card i {
    font-size: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.about-card p {
    color: #94a3b8;
    line-height: 1.8;
}

/* Design Patent Section */
.design-patent {
    background: linear-gradient(180deg, transparent 0%, rgba(245, 158, 11, 0.05) 50%, transparent 100%);
}

.design-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.design-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.design-text p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 20px;
}

.design-features {
    list-style: none;
}

.design-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px 20px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.design-features li:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateX(10px);
}

.design-features i {
    color: var(--accent);
    font-size: 1.2rem;
}

.design-image {
    position: relative;
}

.design-image img {
    width: 100%;
    border-radius: 20px;
}

.design-visual {
    width: 100%;
    height: 400px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.design-visual::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.1) 10px,
        rgba(255,255,255,0.1) 20px
    );
    animation: slide 20s linear infinite;
}

.design-visual i {
    font-size: 8rem;
    color: white;
    z-index: 1;
}

@keyframes slide {
    from { transform: translateX(-50%) translateY(-50%); }
    to { transform: translateX(0%) translateY(0%); }
}

/* Event Section */
.event-section {
    background: linear-gradient(180deg, transparent 0%, rgba(16, 185, 129, 0.05) 50%, transparent 100%);
}

.event-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    padding: 60px;
    border-radius: 30px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.event-card h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.event-card .location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 30px;
    position: relative;
}

.event-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.event-detail {
    padding: 20px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 15px;
}

.event-detail i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.event-detail h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.event-detail p {
    color: #94a3b8;
}

.eligibility-badge {
    display: inline-block;
    padding: 15px 30px;
    background: rgba(20, 184, 166, 0.2);
    border: 1px solid var(--accent);
    border-radius: 50px;
    margin-bottom: 30px;
    position: relative;
}

.eligibility-badge i {
    margin-right: 10px;
    color: var(--accent);
}

/* How It Works */
.how-it-works {
    background: linear-gradient(180deg, transparent 0%, rgba(14, 165, 233, 0.05) 50%, transparent 100%);
}

.steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 40px 30px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
    background: rgba(99, 102, 241, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step p {
    color: #94a3b8;
}

.step-arrow {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary);
}

.step:last-child .step-arrow {
    display: none;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 150px 50px;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0.1;
}

.cta-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 40px;
}

.cta-btn {
    padding: 20px 60px;
    font-size: 1.2rem;
    background: var(--gradient);
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    animation: glow 2s infinite;
}

.cta-btn:hover {
    transform: scale(1.05);
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 30px rgba(14, 165, 233, 0.5); }
    50% { box-shadow: 0 0 60px rgba(245, 158, 11, 0.6); }
}

/* Footer */
footer {
    background: rgba(15, 23, 42, 0.9);
    padding: 60px 50px 30px;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 20px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
    }

    section {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .design-content {
        grid-template-columns: 1fr;
    }

    .event-details {
        grid-template-columns: 1fr;
    }

    .event-card {
        padding: 30px;
    }

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

    .step-arrow {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    /* Hide design image on small screens */
    .design-image {
        display: none;
    }
}

/* Animations on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glowing effect for important elements */
.glow-text {
    text-shadow: 0 0 40px rgba(14, 165, 233, 0.5);
}