:root {
    --primary-color: #5e35b1; /* A nice purple, similar to your deck */
    --secondary-color: #00bcd4;
    --dark-color: #212529;
    --muted-text: #4a4d57;
    --light-color: #f8f9fa;
}

html {
    scroll-padding-top: 72px; /* Keeps anchor jumps from hiding under fixed navbar */
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #f4f1ff 0%, #ffffff 45%, #f9fbff 100%);
    color: var(--dark-color);
}

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

.navbar {
    background-color: rgba(33, 37, 41, 0.82);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(20, 23, 31, 0.18);
}

.navbar .navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.navbar .nav-link {
    position: relative;
    margin-inline: 0.35rem;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease-in-out;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--secondary-color);
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

.hero-section {
    position: relative;
    background: linear-gradient(rgba(94, 53, 177, 0.88), rgba(49, 27, 146, 0.88)), url('intro_page.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    color: white;
    padding: 160px 0 120px;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 188, 212, 0.25), transparent 45%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section .display-3 {
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-section .display-5 {
    font-weight: 500;
    opacity: 0.9;
}

.hero-section .lead {
    max-width: 640px;
    margin: 1.75rem auto 0;
    font-weight: 400;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.85);
}

.section-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    margin: 1rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

section {
    padding: 90px 0;
}

section.bg-light {
    background-color: rgba(248, 249, 250, 0.8) !important;
    backdrop-filter: blur(6px);
}

.lead {
    color: var(--muted-text);
    font-size: 1.15rem;
}

.btn-primary {
    background-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 12px 24px rgba(94, 53, 177, 0.3);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(94, 53, 177, 0.35);
}

.feature-card,
.plan-card,
.traction-card,
.moment-card,
.team-bio {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 20px 45px rgba(18, 23, 38, 0.1);
    height: 100%;
    overflow: hidden;
}

.video-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(18, 23, 38, 0.12);
    background-color: #000;
}

.video-card iframe {
    border: 0;
}

.feature-card h4,
.plan-card h3,
.moment-card h3 {
    color: var(--primary-color);
    font-weight: 600;
}

.plan-card strong {
    color: var(--primary-color);
}

.traction-card ul,
.plan-card ul {
    padding-left: 0;
    margin-bottom: 0;
}

.traction-card li,
.plan-card li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 22px;
}

.traction-card li::before,
.plan-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.feature-card::before,
.plan-card::before,
.traction-card::before,
.moment-card::before,
.team-bio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 28px;
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.team-bio {
    text-align: left;
}

.partner-logos img {
    filter: grayscale(100%);
    opacity: 0.8;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out, filter 0.2s ease-in-out;
}

.partner-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-4px);
}

#team h5 {
    color: var(--primary-color);
    font-weight: 600;
}

.team-bio p {
    text-align: left;
}

.showcase-image,
.team-photo {
    width: 100%;
    height: auto;
}

.showcase-image {
    max-width: 700px;
    margin-inline: auto;
    display: block;
}

.team-photo {
    max-width: 800px;
}

footer {
    background: linear-gradient(90deg, rgba(33, 37, 41, 0.95), rgba(33, 37, 41, 0.85));
}

footer p {
    color: rgba(255, 255, 255, 0.7);
}

#contact .container {
    max-width: 720px;
}

#contact p {
    color: var(--dark-color);
}
