/* =========================================
   BASE STYLES & FONTS
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;700&family=Courier+Prime&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.bg-white {
    background-color: #ffffff;
    color: #000000;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.2s;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    width: 100%;
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    font-size: 1.1rem;
    font-weight: 500;
}

nav a:hover {
    opacity: 0.7;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, .title-massive, .title-section {
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: 1px;
}

.title-massive {
    font-size: clamp(3rem, 10vw, 8rem);
    text-align: left;
}

.title-section {
    font-size: clamp(3rem, 8vw, 6rem);
    text-align: center;
    margin-bottom: 50px;
}

/* =========================================
   WAITLIST HERO SECTION (index.html)
   ========================================= */
.split-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 10%;
    gap: 50px;
}

.split-left { flex: 1; }
.split-right { flex: 1; display: flex; justify-content: center; }

.email-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.email-label {
    font-family: 'Courier Prime', monospace;
    font-size: 1.5rem;
}

.email-box {
    background-color: #0f1c13;
    color: #4ade80;
    font-family: 'Courier Prime', monospace;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 1.1rem;
}

/* =========================================
   STUDIES PAGE LAYOUT (studies.html)
   ========================================= */
.studies-layout {
    display: flex;
    padding: 50px 10%;
    gap: 80px;
    align-items: flex-start;
}

.studies-left {
    flex: 1;
    font-size: 1.8rem;
    font-weight: 500;
}

.studies-right {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.studies-right img {
    width: 100%;
    border-radius: 20px;
}

/* =========================================
   TEAM PAGE LAYOUT (about.html)
   ========================================= */
.team-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto 100px auto;
    padding: 0 20px;
}

.team-bio h2 { font-size: 3rem; }
.team-bio h3 { font-size: 1.8rem; font-weight: 400; margin-bottom: 20px; }
.team-bio p { font-size: 1.2rem; margin-bottom: 15px; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 5% 80px 5%;
}

.footer-callout-wrapper {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.download-callout { display: flex; align-items: center; gap: 15px; }
.callout-mascot { width: 50px; }

.social-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 20px;
}

.social-links img {
    width: 100%;
    max-width: 250px;
    border-radius: 40px;
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .split-hero, .studies-layout, .team-layout { flex-direction: column; text-align: center; }
    .title-massive { text-align: center; }
    .email-container { flex-direction: column; }
    .social-links { flex-wrap: wrap; justify-content: center; }
    .social-links img { max-width: 120px; }
}

/* =========================================
   TEAM SLIDER & ARROWS
   ========================================= */
.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.team-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    width: 100%;
}

/* Hide scrollbar */
.team-slider::-webkit-scrollbar { display: none; }
.team-slider { -ms-overflow-style: none; scrollbar-width: none; }

.team-slide {
    min-width: 100%;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    padding: 20px 60px; /* Leave room for arrows */
}

/* Arrow Styling */
.nav-arrow {
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    transition: transform 0.2s;
    padding: 20px;
}

.nav-arrow:hover {
    transform: scale(1.2);
    color: #4ade80; /* Playful green hover */
}

.nav-arrow.left { left: 0; }
.nav-arrow.right { right: 0; }

/* =========================================
   QUIZ STYLES
   ========================================= */
.quiz-container {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 5%;
}

.quiz-step {
    display: none; /* Hide all steps by default */
    animation: fadeIn 0.5s ease;
}

.quiz-step.active {
    display: block; /* Only show the active step */
}

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

.quiz-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.quiz-btn {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    padding: 30px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quiz-btn:hover {
    background-color: #4ade80; /* Changes to green on hover */
    color: #000000;
    transform: scale(1.05);
}

/* Result styles */
#verdict-text {
    font-weight: 700;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* =========================================
   BLOG STYLES
   ========================================= */
.blog-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 5%;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 40px;
    margin-top: 50px;
}

.blog-card {
    background: #111; /* Dark card on black bg */
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #333;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: #4ade80;
}

.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Featured post takes up full width */
.blog-card.featured {
    grid-column: span 2;
    display: flex;
    align-items: center;
}

.blog-card.featured img {
    width: 50%;
    height: 400px;
}

.blog-content {
    padding: 30px;
}

.blog-date {
    font-family: 'Courier Prime', monospace;
    color: #4ade80;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.blog-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.blog-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 20px;
}

.read-more {
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    text-decoration: underline;
}

/* Mobile Blog */
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card.featured { flex-direction: column; grid-column: span 1; }
    .blog-card.featured img { width: 100%; height: 250px; }
}

/* =========================================
   VERTICAL BLOG LIST
   ========================================= */
.blog-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 40px auto;
}

.blog-entry {
    display: flex;
    align-items: center;
    background-color: #1a1a1a;
    border-radius: 25px;
    padding: 20px;
    gap: 30px;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.blog-entry:hover {
    transform: translateX(10px);
    border-color: #4ade80;
    background-color: #222;
}

.blog-entry img {
    width: 180px;
    border-radius: 15px;
}

.blog-entry-text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.blog-entry-text p {
    font-size: 1.1rem;
    color: #bbb;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .blog-entry { flex-direction: column; text-align: center; }
    .blog-entry img { width: 100%; max-width: 250px; }
}
