/* welcome.css - Custom Editorial Stylesheet for Tertiarywise */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-heading: 'Montserrat', sans-serif;
    --font-brand: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Branding Colors */
    --color-bg: #030020; /* Ultra deep dark blue */
    --color-brand-dark: #0A0094; /* Deep Navy Blue */
    --color-brand-light: #3983F6; /* Vibrant Blue */
    
    --color-text-light: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.75);
    
    --color-primary: #3983F6; /* Primary brand highlight */
    --color-accent: #86b2ff; /* Light brand accent */
    
    --header-height: 90px;
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--color-bg);
    color: var(--color-text-light);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

/* Scroll Container */
.slideshow-container {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

.slideshow-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Individual Slide */
.slide {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10vw;
}

/* Dark overlay gradient for high text readability & contrast */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(3, 0, 32, 0.92) 0%, rgba(3, 0, 32, 0.55) 100%);
    z-index: 1;
}

/* Slide Content Container */
.slide-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    opacity: 0;
    transform: translateY(40px);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Improved text readability */
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

/* Typography styles */
.slide-subtitle {
    font-family: var(--font-brand);
    font-size: 0.85rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.2rem;
    display: block;
    font-weight: 700;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.slide-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 1.4rem;
    color: var(--color-text-light);
    letter-spacing: -0.015em;
}

.slide-description {
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
    line-height: 1.7;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 680px;
}

/* Fixed Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4vw;
    z-index: 100;
    transition: background-color 0.4s ease, border-bottom 0.4s ease;
}

.main-header.scrolled {
    background-color: rgba(3, 0, 32, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
    /* Optional shadow to pop the logo if needed */
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));
}

/* Nav Links - Desktop */
.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-brand);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

@media (max-width: 1100px) and (min-width: 769px) {
    .nav-menu {
        gap: 1.2rem;
    }
    .nav-link {
        font-size: 0.68rem;
        letter-spacing: 0.18em;
    }
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-light);
}

.nav-link.active {
    color: var(--color-brand-light);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-brand-light);
}

/* Dot Navigation Indicator */
.dot-navigation {
    position: fixed;
    right: 3vw;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    z-index: 10;
}

.dot-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

.dot-btn.active {
    background-color: var(--color-brand-light);
    transform: scale(1.6);
    box-shadow: 0 0 12px rgba(57, 131, 246, 0.7);
}

/* Buttons / CTAs */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-brand);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-text-light);
    border: 1.5px solid var(--color-brand-light);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.btn-premium:hover {
    color: #ffffff;
    background-color: var(--color-brand-light);
    box-shadow: 0 4px 15px rgba(57, 131, 246, 0.4);
    transform: translateY(-2px);
}

/* Slide-specific layouts */

/* Grid layout for Science and Solutions */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.science-card {
    background: rgba(10, 0, 148, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
    display: block;
    backdrop-filter: blur(5px);
}

.science-card:hover {
    transform: translateY(-8px);
    background: rgba(10, 0, 148, 0.3);
    border-color: var(--color-brand-light);
    box-shadow: 0 10px 25px rgba(3, 0, 32, 0.5);
}

.science-card-meta {
    font-family: var(--font-brand);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brand-light);
    margin-bottom: 1rem;
    display: block;
    font-weight: 700;
}

.science-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 1.2rem;
    color: var(--color-text-light);
}

.science-card-link {
    font-size: 0.8rem;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: underline;
    font-weight: 500;
}

/* Analytics Grid Layout */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 1024px) {
    .analytics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 600px) {
    .analytics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.analytics-card {
    background: rgba(3, 0, 32, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 2rem 1.8rem;
    border-radius: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 230px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.analytics-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-brand-light);
    background: rgba(10, 0, 148, 0.3);
    box-shadow: 0 12px 30px rgba(3, 0, 32, 0.6);
}

.analytics-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.analytics-icon-wrapper {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    transition: transform 0.3s ease;
}

.analytics-card:hover .analytics-icon-wrapper {
    transform: scale(1.1);
}

/* Icon Glows */
.blue-glow {
    color: #3983F6;
    box-shadow: 0 0 10px rgba(57, 131, 246, 0.2);
}

.orange-glow {
    color: #ff8f3d;
    box-shadow: 0 0 10px rgba(255, 143, 61, 0.2);
}

.green-glow {
    color: #2ed573;
    box-shadow: 0 0 10px rgba(46, 213, 115, 0.2);
}

.purple-glow {
    color: #a55eea;
    box-shadow: 0 0 10px rgba(165, 94, 234, 0.2);
}

.analytics-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-light);
    letter-spacing: -0.01em;
}

.analytics-card-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Color Bars at Card Bottom */
.analytics-card-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.bar-blue {
    background-color: #3983F6;
    box-shadow: 0 -1px 8px rgba(57, 131, 246, 0.5);
}

.bar-orange {
    background-color: #ff8f3d;
    box-shadow: 0 -1px 8px rgba(255, 143, 61, 0.5);
}

.bar-green {
    background-color: #2ed573;
    box-shadow: 0 -1px 8px rgba(46, 213, 115, 0.5);
}

.bar-purple {
    background-color: #a55eea;
    box-shadow: 0 -1px 8px rgba(165, 94, 234, 0.5);
}

/* Contact form styled minimally */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    width: 100%;
    max-width: 500px;
    margin-top: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-input {
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.25);
    padding: 0.8rem 0;
    font-size: 1.05rem;
    color: var(--color-text-light);
    outline: none;
    transition: border-bottom-color 0.3s ease;
}

.form-input:focus {
    border-bottom-color: var(--color-brand-light);
}

.form-label {
    position: absolute;
    top: 0.8rem;
    left: 0;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -1.2rem;
    font-size: 0.75rem;
    color: var(--color-brand-light);
    font-weight: 700;
}

/* Mobile Navigation Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 160;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-light);
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #030020;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 150;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu .nav-link {
        font-size: 1.25rem;
        color: rgba(255, 255, 255, 0.7);
        padding: 0.5rem 1.5rem;
        width: auto;
        text-align: center;
    }
    
    .nav-menu .nav-link.active {
        color: var(--color-brand-light);
    }
    
    .nav-menu .nav-link.active::after {
        bottom: -6px;
        height: 2px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Toggle animations when menu is open */
    .mobile-menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* --- New Visual Layouts and Components --- */

.btn-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.btn-premium.btn-secondary {
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-premium.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* Split grid layout for side-by-side elements */
.slide-split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4vw;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 2;
}

.slide-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .slide-split-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .slide {
        padding: 150px 6vw 150px 6vw;
        height: auto;
        min-height: 80px;
        scroll-snap-align: none;
        scroll-snap-stop: none;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .slide-content {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .slideshow-container {
        scroll-snap-type: none;
        height: auto;
        overflow-y: visible;
    }
    
    body, html {
        overflow: auto;
        height: auto;
    }
    
    .dot-navigation {
        display: none;
    }
    
    .slide-visual {
        margin-top: 1rem;
    }
    
    .flex-reverse-tablet {
        display: flex;
        flex-direction: column-reverse;
    }
    
    /* Responsive overrides for Tablet (1024px and under) */
    .slide-title {
        font-size: 2.2rem;
    }
    .slide-description {
        font-size: 0.92rem;
    }
    .platform-image-showcase {
        height: 380px;
    }
    .founder-card {
        padding: 1.5rem;
    }
}

/* Responsive overrides for Mobile (768px and under) */
@media (max-width: 768px) {
    .slide-title {
        font-size: 1.8rem;
    }
    .slide-description {
        font-size: 0.88rem;
    }
    .platform-image-showcase {
        height: 260px;
    }
    .founder-card {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }
    .founder-avatar-initials, .founder-avatar-img {
        margin: 0 auto 0.5rem auto;
    }
    .contact-box-panel {
        padding: 1.5rem 1.2rem;
    }
    .contact-panel-title {
        font-size: 1.3rem;
    }
    .contact-panel-desc {
        margin-bottom: 1.2rem;
    }
}

@media (max-height: 800px) and (min-width: 1025px) {
    .slide {
        padding-top: 80px;
        padding-bottom: 20px;
    }
    .slide-subtitle {
        margin-bottom: 0.6rem;
    }
    .slide-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    .slide-description {
        margin-bottom: 1.2rem;
    }
    .btn-group {
        margin-top: 0.5rem;
    }
    .platform-image-showcase {
        height: 250px;
    }
    .network-interactive-wrapper {
        max-width: 340px;
        padding: 1rem;
    }
    .analytics-grid {
        gap: 0.8rem;
    }
    .analytics-card {
        min-height: 180px;
        padding: 1.2rem 1.4rem;
    }
    .analytics-card-header {
        margin-bottom: 0.8rem;
    }
    .analytics-card-header h3 {
        font-size: 1.1rem;
    }
    .analytics-card-desc {
        font-size: 0.75rem;
    }
    .founder-card {
        padding: 1.2rem;
        margin-top: 1rem;
    }
    .contact-box-panel {
        padding: 1.5rem 2rem;
        max-width: 520px;
    }
    .contact-panel-desc {
        margin-bottom: 1rem;
    }
    .contact-form-sleek {
        gap: 0.8rem;
    }
}

/* --- SECTION 2: Problem Visual Network --- */
.network-interactive-wrapper {
    background: rgba(10, 0, 148, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.5rem;
    width: 100%;
    max-width: 420px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(3, 0, 32, 0.4);
    position: relative;
}

.network-svg {
    overflow: visible;
}

/* Animated flow lines */
.flow-line {
    fill: none;
    stroke-linecap: round;
    transition: stroke 0.3s ease;
}

.active-flow {
    stroke: #3983F6;
    stroke-width: 2.5;
    stroke-dasharray: 8 12;
    animation: flowDash 25s linear infinite;
}

.flow-degraded {
    stroke: #ff4757;
    stroke-width: 2;
    stroke-dasharray: 4 6;
    animation: flowDash 15s linear infinite;
}

@keyframes flowDash {
    to {
        stroke-dashoffset: -1000;
    }
}

.pulse-glow {
    animation: pulseNodeGlow 2.5s infinite ease-in-out;
    transform-origin: center;
}

@keyframes pulseNodeGlow {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }
}

.svg-label {
    font-family: var(--font-body);
    font-size: 10px;
    fill: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.reservoir-text {
    font-weight: 700;
    letter-spacing: 0.15em;
    fill: rgba(255, 255, 255, 0.4);
}

.alert-node {
    animation: alertPulse 2s infinite ease-in-out;
}

@keyframes alertPulse {
    0%, 100% {
        stroke-width: 2;
        box-shadow: 0 0 0 rgba(255, 71, 87, 0);
    }
    50% {
        stroke-width: 3.5;
        stroke: #ff6b81;
    }
}

.network-legend-inline {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.8rem;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
}

.legend-dot.red {
    background-color: #ff4757;
    box-shadow: 0 0 6px #ff4757;
}

.legend-dot.blue {
    background-color: #3983F6;
    box-shadow: 0 0 6px #3983F6;
}

/* --- SECTION 3: Platform Visual Dashboard Mockup --- */
.platform-cards-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.platform-tab {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.platform-tab h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.15rem;
}

.platform-tab p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.platform-tab:hover, .platform-tab.active {
    background: rgba(10, 0, 148, 0.2);
    border-color: rgba(57, 131, 246, 0.2);
    border-left-color: #3983F6;
    transform: translateX(5px);
}

.platform-tab.active h4 {
    color: #3983F6;
}

/* Platform Image Showcase */
.platform-image-showcase {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #06032c;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.platform-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.05);
}

.platform-img-wrapper.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 5;
}

.platform-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Explore badge on default state */
.hover-explore-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translate(-50%, 0);
    background: rgba(3, 0, 32, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(57, 131, 246, 0.3);
    color: #3983F6;
    padding: 0.5rem 1.2rem;
    font-family: var(--font-brand);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 20px;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(57, 131, 246, 0.2);
    animation: bounceSlow 2s infinite ease-in-out;
}

@keyframes bounceSlow {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, -6px);
    }
}

/* Extra overrides for applications grid double column */
.analytics-card.span-two-cols {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .analytics-card.span-two-cols {
        grid-column: auto;
    }
}

/* --- SECTION 5: Science Pillars layout --- */
.science-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    width: 100%;
}

.pillar-card {
    background: rgba(3, 0, 32, 0.85);
    border: 1px solid rgba(57, 131, 246, 0.25);
    border-radius: 6px;
    padding: 1.5rem;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card:hover {
    border-color: var(--color-brand-light);
    background: rgba(10, 0, 148, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(3, 0, 32, 0.5);
}

.pillar-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(57, 131, 246, 0.2);
    position: absolute;
    top: 0.5rem;
    right: 0.8rem;
    line-height: 1;
}

.pillar-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.pillar-card p {
    font-size: 0.78rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Compact papers layout */
.science-section-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.compact-papers-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.paper-item {
    background: rgba(3, 0, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.9rem 1.3rem;
    border-radius: 6px;
    text-decoration: none;
    display: block;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.paper-item:hover {
    background: rgba(10, 0, 148, 0.2);
    border-color: rgba(57, 131, 246, 0.35);
    transform: translateX(5px);
}

.paper-meta {
    font-size: 0.65rem;
    color: var(--color-brand-light);
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.paper-title {
    font-size: 0.82rem;
    color: #ffffff;
    line-height: 1.5;
}

/* --- SECTION 6: About & Leadership / Demo Request --- */
.founder-card {
    display: flex;
    gap: 1.5rem;
    background: rgba(3, 0, 32, 0.85);
    border: 1px solid rgba(57, 131, 246, 0.25);
    padding: 2rem;
    border-radius: 6px;
    align-items: center;
    max-width: 550px;
    backdrop-filter: blur(10px);
    margin-top: 1.5rem;
}

.founder-avatar-initials {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0A0094 0%, #3983F6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    border: 2.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(57, 131, 246, 0.4);
    flex-shrink: 0;
}

.founder-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(57, 131, 246, 0.4);
    flex-shrink: 0;
    object-fit: cover;
    display: block;
}

.founder-info {
    display: flex;
    flex-direction: column;
}

.founder-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.founder-title {
    font-size: 0.85rem;
    color: var(--color-brand-light);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.founder-skills {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

/* Technical Demo request panel */
.contact-box-panel {
    background: rgba(3, 0, 32, 0.95);
    border: 1px solid rgba(57, 131, 246, 0.35);
    border-radius: 8px;
    padding: 2.5rem;
    width: 100%;
    max-width: 580px;
    backdrop-filter: blur(15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.contact-panel-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-panel-desc {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: 1.8rem;
}

.contact-form-sleek {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

@media (max-width: 480px) {
    .form-row-split {
        grid-template-columns: 1fr;
    }
}

.form-group-sleek {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.label-sleek {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.input-sleek {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    color: #ffffff;
    outline: none;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.input-sleek::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.textarea-sleek {
    resize: none;
    min-height: 100px;
}

.input-sleek:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-brand-light);
    box-shadow: 0 0 10px rgba(57, 131, 246, 0.25);
}

/* Alert Banners */
.alert-banner {
    padding: 1rem 1.2rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.alert-banner.success-banner {
    background: rgba(46, 213, 115, 0.15);
    border: 1px solid rgba(46, 213, 115, 0.4);
    color: #2ed573;
}

.alert-banner.error-banner {
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.4);
    color: #ff4757;
}

.btn-spinner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


