/* ==========================================================================
   Roots Research Private Limited - Style Guide & Design System
   ========================================================================== */

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

:root {
    /* Color Palette */
    --primary: #4f46e5;         /* Student Indigo */
    --primary-light: #8b5cf6;   /* Student Purple */
    --secondary: #10b981;       /* Frontline Emerald */
    --secondary-light: #06b6d4; /* Frontline Cyan */
    --accent: #f59e0b;          /* Amber */
    
    --teamz-primary: #8b5cf6;   /* Teamz Violet */
    --teamz-gradient: linear-gradient(135deg, #8b5cf6, #ec4899);
    --teamz-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.25);
    
    --dcas-gradient: linear-gradient(135deg, #f59e0b, #d97706);
    --dcas-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.25);

    /* Backgrounds & Cards */
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.85);
    --bg-footer: #0f172a;
    
    /* Typography colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-white: #ffffff;
    
    /* Borders & Accents */
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -4px rgba(15, 23, 42, 0.02);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
    --shadow-primary: 0 10px 15px -3px rgba(79, 70, 229, 0.25);
    --shadow-secondary: 0 10px 15px -3px rgba(16, 185, 129, 0.25);

    /* Gradients */
    --gradient-student: linear-gradient(135deg, var(--primary), var(--primary-light));
    --gradient-frontline: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    --gradient-dcas: var(--dcas-gradient);
    --gradient-teamz: var(--teamz-gradient);
    --gradient-corporate: linear-gradient(135deg, #1e293b, #0f172a);
    --gradient-glow: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(16, 185, 129, 0.15));

    /* Font Stacks */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-title: 'Outfit', var(--font-sans);
    
    /* Layout Sizes */
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* ==========================================================================
   Typography & Headers
   ========================================================================== */

.section-title-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.section-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.tag-student {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.tag-frontline {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
}

.tag-corporate {
    background-color: rgba(15, 23, 42, 0.1);
    color: var(--text-primary);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.75rem;
    }
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
    gap: 0.5rem;
}

.btn-student {
    background: var(--gradient-student);
    color: var(--text-white);
    box-shadow: var(--shadow-primary);
}

.btn-student:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -3px rgba(79, 70, 229, 0.4);
}

.btn-frontline {
    background: var(--gradient-frontline);
    color: var(--text-white);
    box-shadow: var(--shadow-secondary);
}

.btn-frontline:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -3px rgba(16, 185, 129, 0.4);
}

.btn-dcas {
    background: var(--gradient-dcas);
    color: var(--text-white);
    box-shadow: var(--dcas-shadow);
}

.btn-dcas:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -3px rgba(245, 158, 11, 0.4);
}

.btn-teamz {
    background: var(--gradient-teamz);
    color: var(--text-white);
    box-shadow: var(--teamz-shadow);
}

.btn-teamz:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -3px rgba(139, 92, 246, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: rgba(15, 23, 42, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo-link:hover {
    opacity: 0.95;
}

.logo-text {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.logo-text span {
    font-weight: 500;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 0.05rem;
}

.logo-text::after {
    content: '.';
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    margin-left: 0.05rem;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .nav-actions {
        display: flex;
    }
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

@media (min-width: 1024px) {
    .mobile-nav-toggle {
        display: none;
    }
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Sidebar Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-card);
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.1);
    z-index: 999;
    padding: 7rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: right var(--transition-normal) ease-in-out;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu .nav-link {
    font-size: 1.15rem;
    display: block;
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    padding: 8rem 1.5rem 5rem 1.5rem;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.08) 0%, rgba(16, 185, 129, 0.05) 50%, rgba(248, 250, 252, 0) 100%);
}

@media (min-width: 768px) {
    .hero {
        padding: 10rem 1.5rem 7rem 1.5rem;
    }
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.hero-badge .badge-icon {
    font-size: 1.1rem;
}

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

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-feature-item svg {
    color: var(--secondary);
    width: 20px;
    height: 20px;
}

/* Hero Visuals / Illustrations */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle-bg {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(16, 185, 129, 0.05) 70%, transparent 100%);
    border-radius: var(--radius-full);
    filter: blur(20px);
    z-index: 1;
}

@media (min-width: 768px) {
    .hero-circle-bg {
        width: 450px;
        height: 450px;
    }
}

.hero-card-stack {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
}

/* Interactive Mockups */
.mockup-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    padding: 1.5rem;
}

.mockup-main {
    transform: rotate(-2deg);
    transition: transform var(--transition-normal);
}

.mockup-main:hover {
    transform: rotate(0deg);
}

.mockup-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.mockup-subcard {
    position: absolute;
    bottom: -20px;
    right: -10px;
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 1rem;
    width: 200px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3;
    animation: floating 3s ease-in-out infinite;
}

.mockup-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: rgba(79, 70, 229, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
}

.mockup-detail h4 {
    font-size: 0.85rem;
    font-weight: 700;
}

.mockup-detail p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Floating animation */
@keyframes floating {
    0% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(2deg); }
}

/* ==========================================================================
   Trust / Logo Bar
   ========================================================================== */

.trust-section {
    padding: 3rem 1.5rem;
    background-color: var(--bg-card);
    border-y: 1px solid var(--border-color);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
}

.trust-title {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.logo-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.logo-item {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    transition: opacity var(--transition-fast);
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.logo-item:hover {
    opacity: 1;
    color: var(--text-primary);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Pathway Cards (Two Flagships Selection)
   ========================================================================== */

.pathway-section {
    padding: 6rem 1.5rem;
}

.pathway-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .pathway-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .pathway-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pathway-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

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

.pathway-student::before {
    background: var(--gradient-student);
}

.pathway-frontline::before {
    background: var(--gradient-frontline);
}

.pathway-dcas::before {
    background: var(--gradient-dcas);
}

.pathway-teamz::before {
    background: var(--gradient-teamz);
}

.pathway-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pathway-student:hover {
    border-color: rgba(79, 70, 229, 0.3);
}

.pathway-frontline:hover {
    border-color: rgba(16, 185, 129, 0.3);
}

.pathway-dcas:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

.pathway-teamz:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.pathway-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.75rem;
    background-color: var(--bg-main);
    border-radius: var(--radius-md);
    width: fit-content;
    height: fit-content;
}

.pathway-student .pathway-icon {
    background-color: rgba(79, 70, 229, 0.08);
    color: var(--primary);
}

.pathway-frontline .pathway-icon {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--secondary);
}

.pathway-dcas .pathway-icon {
    background-color: rgba(245, 158, 11, 0.08);
    color: var(--accent);
}

.pathway-teamz .pathway-icon {
    background-color: rgba(139, 92, 246, 0.08);
    color: var(--teamz-primary);
}

.pathway-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.pathway-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
    flex-grow: 1;
}

.pathway-bullets {
    list-style: none;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .pathway-bullets {
        grid-template-columns: 1fr 1fr;
    }
}

.pathway-bullets li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pathway-bullets li svg {
    width: 16px;
    height: 16px;
}

.pathway-student .pathway-bullets li svg {
    color: var(--primary);
}

.pathway-frontline .pathway-bullets li svg {
    color: var(--secondary);
}

/* ==========================================================================
   Features Grid
   ========================================================================== */

.features-section {
    padding: 6rem 1.5rem;
    background-color: var(--bg-card);
    border-y: 1px solid var(--border-color);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 2rem;
    border-radius: var(--radius-md);
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-card);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   Interactive CBMF / Demo Assessment Portal
   ========================================================================== */

.assessment-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.assessment-header {
    background: var(--gradient-student);
    padding: 2rem;
    color: var(--text-white);
    text-align: center;
}

.assessment-header h2 {
    color: var(--text-white);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.assessment-progress-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-top: 1rem;
}

.assessment-progress {
    height: 100%;
    width: 0%;
    background-color: var(--text-white);
    transition: width var(--transition-normal);
}

.assessment-body {
    padding: 2.5rem;
}

.question-slide {
    display: none;
}

.question-slide.active {
    display: block;
    animation: fadeIn var(--transition-normal);
}

.question-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-btn {
    width: 100%;
    padding: 1.15rem 1.5rem;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: left;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.option-btn:hover {
    border-color: var(--primary);
    background-color: rgba(79, 70, 229, 0.03);
}

.option-btn.selected {
    border-color: var(--primary);
    background-color: rgba(79, 70, 229, 0.08);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.option-check {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-btn.selected .option-check {
    background-color: var(--primary);
    border-color: var(--primary);
}

.option-btn.selected .option-check::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--text-white);
    border-radius: var(--radius-full);
}

.assessment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

/* Results view */
.results-view {
    text-align: center;
    padding: 1.5rem;
}

.results-icon {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.results-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.results-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.radar-chart-container {
    max-width: 350px;
    margin: 0 auto 2rem auto;
    position: relative;
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
}

.chart-bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.chart-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
}

.chart-bar-track {
    height: 8px;
    background-color: var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    background: var(--gradient-student);
    border-radius: var(--radius-full);
    width: 0%;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-bar-item:nth-child(2) .chart-bar-fill {
    background: var(--gradient-frontline);
}

.chart-bar-item:nth-child(3) .chart-bar-fill {
    background: linear-gradient(135deg, var(--accent), #f97316);
}

.matching-role-box {
    background-color: rgba(79, 70, 229, 0.04);
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.matching-role-box h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.matching-role-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

/* ==========================================================================
   Frontline Mock Dashboard Demo
   ========================================================================== */

.dashboard-mock {
    width: 100%;
    border-radius: var(--radius-md);
    background-color: #0f172a;
    border: 1px solid #1e293b;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    font-family: var(--font-sans);
}

.dash-header {
    background-color: #1e293b;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #334155;
}

.dash-dots {
    display: flex;
    gap: 6px;
}

.dash-dots span {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
}

.dash-dots span:nth-child(1) { background-color: #ef4444; }
.dash-dots span:nth-child(2) { background-color: #eab308; }
.dash-dots span:nth-child(3) { background-color: #22c55e; }

.dash-title {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
}

.dash-body {
    padding: 1.5rem;
    color: #f1f5f9;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dash-stat-card {
    background-color: #1e293b;
    border-radius: var(--radius-sm);
    padding: 1rem;
    border: 1px solid #334155;
}

.dash-stat-label {
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.dash-stat-value {
    font-size: 1.35rem;
    font-weight: 700;
}

.dash-stat-value span {
    color: #22c55e;
    font-size: 0.8rem;
    font-weight: 500;
}

.dash-list-card {
    background-color: #1e293b;
    border-radius: var(--radius-sm);
    padding: 1rem;
    border: 1px solid #334155;
}

.dash-list-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f8fafc;
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
}

.dash-table th, .dash-table td {
    padding: 0.75rem 0.5rem;
    text-align: left;
    font-size: 0.8rem;
}

.dash-table th {
    border-bottom: 1px solid #334155;
    color: #94a3b8;
    font-weight: 600;
}

.dash-table td {
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.dash-badge {
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.dash-badge-success {
    background-color: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.dash-badge-warning {
    background-color: rgba(234, 179, 8, 0.2);
    color: #facc15;
}

/* ==========================================================================
   Testimonial Grid
   ========================================================================== */

.testimonials-section {
    padding: 6rem 1.5rem;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
}

.testimonial-card::after {
    content: '“';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    font-family: var(--font-title);
    color: var(--border-color);
    line-height: 1;
    opacity: 0.7;
}

.testimonial-rating {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-quote {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Accordion (FAQs)
   ========================================================================== */

.faq-section {
    padding: 6rem 1.5rem;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-main);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--text-muted);
}

.faq-question-btn {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: transform var(--transition-normal);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
    background-color: var(--bg-card);
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   Forms & Contact
   ========================================================================== */

.contact-section {
    padding: 6rem 1.5rem;
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.25fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    background-color: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-group-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-main);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

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

/* Form Submit Feedback toast */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #1e293b;
    color: var(--text-white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 1010;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    border-left: 4px solid var(--secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background-color: var(--bg-footer);
    color: #94a3b8;
    padding: 5rem 1.5rem 2rem 1.5rem;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #1e293b;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    line-height: 1;
}

.footer-logo span {
    font-weight: 500;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 0.05rem;
}

.footer-logo::after {
    content: '.';
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    margin-left: 0.05rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

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

/* ==========================================================================
   Page specific CSS
   ========================================================================== */

/* About Page timeline styling */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

@media (max-width: 767px) {
    .timeline::after {
        left: 20px;
    }
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

@media (max-width: 767px) {
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 15px;
    }
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-card);
    border: 4px solid var(--primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

@media (max-width: 767px) {
    .timeline-item::after {
        left: 10px;
        top: 15px;
    }
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

@media (max-width: 767px) {
    .timeline-right {
        left: 0%;
    }
}

.timeline-left::after {
    left: auto;
    right: -10px;
}

@media (max-width: 767px) {
    .timeline-left::after {
        left: 10px;
        right: auto;
    }
}

.timeline-content {
    padding: 1.5rem;
    background-color: var(--bg-card);
    position: relative;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-title);
}

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

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Call to Action Section */
.cta-section {
    padding: 6rem 1.5rem;
    background: radial-gradient(circle at 10% 90%, rgba(79, 70, 229, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.cta-box {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .cta-box {
        padding: 5rem 4rem;
    }
}

.cta-box h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

@media (min-width: 768px) {
    .cta-box h2 {
        font-size: 2.75rem;
    }
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Founder Details Layout */
.founder-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .founder-card-grid {
        grid-template-columns: 280px 1fr !important;
    }
    .founder-image-wrapper {
        text-align: left !important;
    }
}

.what-we-do-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .what-we-do-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}
