/* ---
   Quvasoy Startup Hackathon - Modern, vibrant, and aesthetic styling 
--- */
:root {
    /* Colors */
    --primary: #00ff88;
    --primary-dark: #00cc6a;
    --secondary: #6b46c1;
    --secondary-light: #9f7aea;
    --bg-dark: #0f1115;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --border: rgba(255, 255, 255, 0.08);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #00b8ff 100%);
    --gradient-glow: linear-gradient(90deg, #ff007a, #7928ca, #00b8ff, #00ff88);

    /* Shadows & Effects */
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glow-primary: 0 0 20px rgba(0, 255, 136, 0.4);

    /* Typography */
    --font-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography Tools */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

p {
    color: var(--text-muted);
}

/* UI Components */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #000;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(15, 17, 21, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
}

.logo i {
    color: var(--primary);
}

.logo span span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

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

.btn-nav {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: var(--primary) !important;
}

.btn-nav:hover {
    background: var(--primary);
    color: #000 !important;
    box-shadow: var(--glow-primary);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(90px);
    opacity: 0.5;
    z-index: -1;
    animation: drift 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #00b8ff 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 50px) scale(1.1); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.stat-item {
    padding: 1.5rem 2rem;
    min-width: 200px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.stat-item h3 span {
    color: var(--primary);
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections Basic */
section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.title-underline {
    height: 4px;
    width: 80px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    padding: 3rem 2rem;
    text-align: center;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.about-card:hover .icon-wrapper {
    transform: scale(1.1);
    box-shadow: var(--glow-primary);
}

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

/* Prizes Section */
.prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.prize-card {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.prize-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.prize-card.silver::before { background: linear-gradient(90deg, #c0c0c0, #e8e8e8); }
.prize-card.gold::before { background: linear-gradient(90deg, #ffd700, #ffaa00); }
.prize-card.bronze::before { background: linear-gradient(90deg, #cd7f32, #a0522d); }

.prize-card.gold {
    transform: scale(1.05);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.1);
}

.prize-card.gold:hover {
    transform: scale(1.08) translateY(-10px);
}

.medal {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.silver .medal { color: #c0c0c0; }
.gold .medal { color: #ffd700; text-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
.bronze .medal { color: #cd7f32; }

.prize-image {
    width: 100%;
    height: 180px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prize-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prize-card:hover .prize-image img {
    transform: scale(1.1);
}

.prize-amount {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 1.5rem 0 2rem;
    color: var(--text-main);
}

.silver .prize-amount { color: #e8e8e8; }
.gold .prize-amount { color: #ffd700; }
.bronze .prize-amount { color: #cd7f32; }

.prize-amount span {
    font-size: 1rem;
    color: var(--text-muted);
}

.prize-benefits {
    list-style: none;
    text-align: left;
}

.prize-benefits li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-muted);
}

.prize-benefits i {
    color: var(--primary);
    margin-top: 5px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    height: 100%;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 5px;
    width: 32px;
    height: 32px;
    background: var(--bg-dark);
    border: 3px solid var(--primary);
    border-radius: 50%;
    box-shadow: var(--glow-primary);
}

.timeline-date {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content {
    padding: 2rem;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Apply Form Section */
.apply-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    overflow: hidden;
}

.apply-info {
    padding: 4rem;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid var(--border);
}

.apply-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.apply-info > p {
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(0, 255, 136, 0.1);
    padding: 1rem;
    border-radius: 12px;
}

.info-item h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.apply-form-container {
    padding: 4rem;
    position: relative;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 255, 136, 0.05);
}

.form-group label {
    position: absolute;
    left: 1.5rem;
    top: 1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.6rem;
    left: 1rem;
    font-size: 0.8rem;
    background: var(--bg-dark);
    padding: 0 0.5rem;
    color: var(--primary);
}

.phone-prefix {
    position: absolute;
    left: 1.5rem;
    top: 1rem;
    color: var(--text-main);
    display: none;
}

.form-group input[type="tel"]:focus ~ .phone-prefix,
.form-group input[type="tel"]:not(:placeholder-shown) ~ .phone-prefix {
    display: block;
}

.form-group input[type="tel"]:focus,
.form-group input[type="tel"]:not(:placeholder-shown) {
    padding-left: 4.5rem;
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

.success-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 17, 21, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    transition: all 0.4s ease;
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.success-message.hide {
    opacity: 0;
    visibility: hidden;
}

.success-icon {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-shadow: var(--glow-primary);
}

.success-message h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-message p {
    margin-bottom: 2rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo i, .footer-logo span span {
    color: var(--primary);
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 4rem; }
    .hero-stats { flex-wrap: wrap; }
    .about-grid, .prizes-grid { grid-template-columns: repeat(2, 1fr); }
    .apply-container { grid-template-columns: 1fr; }
    .apply-info { border-right: none; border-bottom: 1px solid var(--border); padding: 3rem 2rem; }
    .apply-form-container { padding: 3rem 2rem; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(15, 17, 21, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
    }
    .nav-links.active { right: 0; }
    .hamburger { display: block; z-index: 1001; }
    
    .hero-title { font-size: 3rem; }
    .hero-buttons { flex-direction: column; }
    .hero-stats { flex-direction: column; align-items: stretch; }
    
    .about-grid, .prizes-grid { grid-template-columns: 1fr; }
    .prize-card.gold { transform: scale(1); }
    .prize-card.gold:hover { transform: translateY(-5px); }
    
    .timeline::before { left: 15px; }
    .timeline-item { padding-left: 40px; }
}
