@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --primary-cyan: #3b82f6; /* nicer blue */
    --primary-purple: #8b5cf6; /* nicer purple */
    --text-main: #0f172a;
    --text-muted: #64748b;
    --glass-border: rgba(15, 23, 42, 0.05);
}

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

html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 1vw, 18px);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: 'Space Grotesk', sans-serif;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient {
    color: var(--primary-cyan);
}

.mt-5 { margin-top: clamp(2rem, 5vw, 4rem); }

h1 { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 700; margin-bottom: 1rem; }
p { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--text-muted); margin-bottom: 1.5rem; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(0.7rem, 1.5vw, 0.9rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 100px;
    font-weight: 600;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    color: white;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.btn-secondary:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Floating Navbar */
.navbar-wrapper {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
    padding: 0 1rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border-radius: 100px;
    padding: 0.7rem 1rem 0.7rem 2rem;
    width: 100%;
    max-width: 1000px;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 600;
    color: var(--text-muted);
}

.nav-links a:not(.btn):hover {
    color: var(--text-main);
}

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

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(248, 250, 252, 0.7) 100%);
    backdrop-filter: blur(5px);
}

.hero-content {
    max-width: 900px;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: white;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    color: var(--text-main);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    max-width: 700px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* Sections */
.section {
    padding: clamp(5rem, 10vw, 8rem) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto clamp(3rem, 7vw, 5rem) auto;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
}

/* Special sizing for roles to make it asymmetrical */
@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .bento-grid > div:nth-child(1) { grid-column: span 2; }
    .bento-grid > div:nth-child(2) { grid-column: span 1; }
    .bento-grid > div:nth-child(3) { grid-column: span 1; }
    .bento-grid > div:nth-child(4) { grid-column: span 2; }
    .bento-grid > div:nth-child(5) { grid-column: span 3; }
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: clamp(2rem, 4vw, 3rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.bento-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 32px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
    pointer-events: none;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.08);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--primary-purple);
    font-size: 1.8rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.role-reqs {
    list-style: none;
    margin-top: 1.5rem;
}

.role-reqs li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.role-reqs i {
    color: var(--primary-cyan);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

/* Requirements Boxed Grid */
.req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.req-item {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 28px;
    text-align: center;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.req-item:hover {
    transform: translateY(-5px);
}

.req-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: -webkit-linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Split Section */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: center;
}

.split-image img {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.test-details {
    margin-bottom: 2.5rem;
}

.test-details h4 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.test-details ul {
    list-style: none;
    margin-top: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(139, 92, 246, 0.2);
}

.test-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.test-details li::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 8px;
    width: 10px;
    height: 10px;
    background: var(--primary-cyan);
    border-radius: 50%;
}

/* Banner */
.glass-banner {
    background: var(--text-main);
    color: white;
    border-radius: 40px;
    padding: clamp(3rem, 8vw, 6rem);
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.glass-banner h2 {
    color: white;
}

.glass-banner p {
    color: rgba(255,255,255,0.8);
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

/* Footer */
.footer {
    background: white;
    padding: clamp(4rem, 8vw, 6rem) 0 2rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-list {
    list-style: none;
    margin-top: 2rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-list i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-main);
    border-radius: 50%;
    color: var(--primary-purple);
    font-size: 1.2rem;
}

.contact-list a:hover {
    color: var(--primary-cyan);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.animate-up {
    animation: slideUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(50px);
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .navbar { padding: 0.8rem 1.5rem; }
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .split-section { grid-template-columns: 1fr; }
    .split-image { order: -1; }
}
