/* QueryMind Styles - Updated December 2025 */

:root {
    --main-bg: #232544;
    --card-bg: #42236a;
    --accent: #bb23fe;
    --secondary-accent: #23c1ed;
    --card-radius: 24px;
    --max-card-width: 1200px;
    --primary-font: 'Segoe UI', Arial, Helvetica, sans-serif;
    --nav-height: 80px;
    --text-main: #fff;
    --text-soft: #b3b9c9;
    --gap-between: 52px;
    --footer-color: #b5b7c9;
    --table-bg: #282355;
    --row-hover: #3a3463;
    --table-radius: 14px;
    --gradient-purple: linear-gradient(135deg, #42236a 0%, #2a1a42 100%);
    --gradient-dark: linear-gradient(180deg, #352054 0%, #2a1a42 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(187, 35, 254, 0.3);
    -webkit-touch-callout: none;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--main-bg);
    font-family: var(--primary-font);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.resources-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation Bar */
.navbar {
    width: 100%;
    height: 60px;
    background: var(--card-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4vw;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.navbar-center {
    display: flex;
    gap: 2em;
    align-items: center;
}

.nav-link {
    padding: 0.75em 1.8em;
    background: rgba(187, 35, 254, 0.15);
    border: 1px solid rgba(187, 35, 254, 0.3);
    border-radius: 12px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover {
    background: rgba(187, 35, 254, 0.3);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(187, 35, 254, 0.4);
}

.nav-link:active {
    transform: scale(0.97);
}

.resource-btn, .contact-btn {
    padding: 0.6em 1.5em;
    background: rgba(187, 35, 254, 0.15);
    border: 1px solid rgba(187, 35, 254, 0.3);
    border-radius: 10px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.resource-btn:hover, .contact-btn:hover {
    background: rgba(187, 35, 254, 0.3);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(187, 35, 254, 0.4);
}

.contact-btn {
    background: rgba(35, 193, 237, 0.15);
    border: 1px solid rgba(35, 193, 237, 0.3);
    color: var(--secondary-accent);
}

.contact-btn:hover {
    background: rgba(35, 193, 237, 0.3);
    border-color: var(--secondary-accent);
    box-shadow: 0 4px 12px rgba(35, 193, 237, 0.4);
}

/* Container */
.container {
    max-width: var(--max-card-width);
    margin: 0 auto;
    padding: 0 2em;
}

/* Academic Header */
.academic-header {
    background: var(--gradient-dark);
    padding: 2em 0 2.5em 0;
    border-bottom: 2px solid rgba(187, 35, 254, 0.3);
}

.academic-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
}

.academic-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2em;
}

.uob-logo {
    width: 130px;
    height: 130px;
    object-fit: contain;
    filter: brightness(1.1);
    flex-shrink: 0;
    order: 2;
}

.academic-info {
    flex: 0 1 auto;
    order: 1;
    text-align: left;
}

.university-name {
    font-size: 1.4em;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.4em 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.college-name {
    font-size: 1em;
    color: var(--text-soft);
    margin: 0.2em 0;
    font-weight: 400;
}

.department-name {
    font-size: 1em;
    color: var(--text-soft);
    margin: 0.2em 0;
    font-weight: 400;
}

/* Hero Section */
.hero {
    background: var(--gradient-purple);
    padding: 3em 2em;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero Animation Styles */
#hero-section.animation-ready #hero-title,
#hero-section.animation-ready #hero-subtitle,
#hero-section.animation-ready #hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#hero-title.animate-in,
#hero-subtitle.animate-in,
#hero-buttons.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(187, 35, 254, 0.1), transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(35, 193, 237, 0.2);
    color: var(--secondary-accent);
    padding: 0.6em 1.8em;
    border-radius: 30px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 2em;
    border: 1px solid rgba(35, 193, 237, 0.4);
    max-width: 85%;
    line-height: 1.6;
}

.hero-title {
    font-size: 1.9em;
    font-weight: 700;
    color: var(--accent);
    margin: 0.4em 0 0.3em 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 20px rgba(187, 35, 254, 0.5);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2em;
    color: var(--text-soft);
    margin: 0.8em 0 0 0;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.15em;
    color: var(--text-soft);
    line-height: 1.9;
    margin: 1.8em auto 2em auto;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 1.8em;
    justify-content: center;
    margin-top: 3em;
}

.btn-primary, .btn-secondary {
    padding: 1.1em 2.8em;
    border-radius: 14px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    min-height: 48px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(187, 35, 254, 0.4);
}

.btn-primary:hover {
    background: #9b1fd6;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(187, 35, 254, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(187, 35, 254, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-secondary:active {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.15);
}

.btn-tertiary {
    padding: 1.1em 2.8em;
    border-radius: 14px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    min-height: 48px;
    background: transparent;
    color: var(--secondary-accent);
    border: 2px solid var(--secondary-accent);
}

.btn-tertiary:hover {
    background: rgba(35, 193, 237, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(35, 193, 237, 0.3);
}

.btn-tertiary:active {
    transform: translateY(-1px);
    background: rgba(35, 193, 237, 0.2);
}

/* Section Styles */
.section {
    padding: 5em 2em;
    border-bottom: 2px solid rgba(187, 35, 254, 0.3);
}

.section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 2.5em;
    text-align: center;
    color: var(--accent);
    margin-bottom: 1.5em;
    font-weight: 700;
}

/* Problem Section */
.problem-section {
    background: var(--main-bg);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin-top: 3em;
}

.problem-card {
    background: var(--card-bg);
    padding: 2em;
    border-radius: var(--card-radius);
    text-align: center;
    border: 2px solid rgba(187, 35, 254, 0.2);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(187, 35, 254, 0.3);
}

.problem-icon {
    font-size: 3.5em;
    margin-bottom: 0.5em;
}

.problem-card h3 {
    color: var(--accent);
    font-size: 1.4em;
    margin: 0.5em 0;
}

.problem-card p {
    color: var(--text-soft);
    line-height: 1.7;
}

/* Features Section */
.features-section {
    background: var(--gradient-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2em;
    margin-top: 3em;
}

.feature-card {
    background: rgba(66, 35, 106, 0.6);
    padding: 1em 2em 2em 2em;
    border-radius: 20px;
    border: 1px solid rgba(187, 35, 254, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    background: rgba(66, 35, 106, 0.8);
    box-shadow: 0 8px 25px rgba(187, 35, 254, 0.3);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 0.3em;
    display: block;
}

.feature-card h3 {
    color: #fff;
    font-size: 1.3em;
    margin: 0.5em 0;
}

.feature-card p {
    color: var(--text-soft);
    line-height: 1.7;
}

/* Methodology Section */
.methodology-section {
    background: var(--gradient-dark);
}

/* Technologies Used Section */
.technologies-section {
    background: var(--main-bg);
}

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.tech-category {
    background: var(--card-bg);
    padding: 2em;
    border-radius: var(--card-radius);
    border: 2px solid rgba(187, 35, 254, 0.2);
    transition: all 0.3s ease;
}

.tech-category:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(187, 35, 254, 0.3);
}

.category-header {
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 2px solid rgba(187, 35, 254, 0.2);
}

.category-header h3 {
    color: var(--accent);
    font-size: 1.3em;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-list li {
    color: var(--text-soft);
    padding: 0.7em 0 0.7em 1.5em;
    position: relative;
    line-height: 1.6;
    font-size: 1.05em;
}

.tech-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-accent);
    font-weight: bold;
}

.methodology-grid {
    display: grid;
    gap: 3em;
    margin-top: 2em;
}

.methodology-section .methodology-section {
    background: var(--card-bg);
    padding: 2.5em;
    border-radius: var(--card-radius);
    border: 2px solid rgba(187, 35, 254, 0.3);
}

.methodology-section h3 {
    color: var(--accent);
    font-size: 1.5em;
    margin: 0 0 1.5em 0;
    font-weight: 700;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5em;
}

.tech-item {
    background: rgba(187, 35, 254, 0.1);
    padding: 1.2em;
    border-radius: 12px;
    border: 1px solid rgba(187, 35, 254, 0.3);
}

.tech-label {
    color: var(--secondary-accent);
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 0.5em;
}

.tech-value {
    color: #fff;
    font-size: 1.05em;
    font-weight: 600;
}

.tech-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.tech-link:hover {
    opacity: 0.8;
}

/* Approach List */
.approach-list {
    list-style: none;
    padding: 0;
}

.approach-list li {
    color: var(--text-soft);
    padding: 0.8em 0 0.8em 2em;
    position: relative;
    line-height: 1.7;
    font-size: 1.05em;
}

.approach-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2em;
}

/* Dataset Info */
.dataset-info {
    display: grid;
    gap: 1.2em;
}

.info-row {
    display: flex;
    gap: 1em;
    padding: 1em;
    background: rgba(35, 193, 237, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-accent);
}

.info-row strong {
    color: var(--secondary-accent);
    min-width: 180px;
    flex-shrink: 0;
}

.info-row span {
    color: var(--text-soft);
    line-height: 1.6;
}

/* Architecture Section */
.architecture-section {
    background: var(--main-bg);
}

.architecture-content {
    max-width: 900px;
    margin: 3em auto;
}

.tech-stack {
    margin-bottom: 3em;
    text-align: center;
}

.tech-stack h3 {
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 1.5em;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
}

.tech-badge {
    background: rgba(35, 193, 237, 0.15);
    color: var(--secondary-accent);
    padding: 0.7em 1.5em;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    border: 1px solid rgba(35, 193, 237, 0.3);
    transition: all 0.2s ease;
}

.tech-badge:hover {
    background: rgba(35, 193, 237, 0.25);
    transform: scale(1.05);
}

.architecture-diagram {
    background: var(--card-bg);
    padding: 2.5em;
    border-radius: var(--card-radius);
    border: 2px solid rgba(187, 35, 254, 0.3);
}

.arch-layer {
    display: flex;
    gap: 1em;
    justify-content: center;
    margin: 1em 0;
}

.arch-box {
    background: rgba(187, 35, 254, 0.2);
    color: #fff;
    padding: 1.2em 2em;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid var(--accent);
    flex: 1;
    text-align: center;
    max-width: 500px;
}

.arch-box.small {
    max-width: 200px;
    padding: 1em 1.5em;
    font-size: 0.9em;
}

.arch-arrow {
    text-align: center;
    font-size: 2em;
    color: var(--accent);
    font-weight: bold;
}

/* Abstract Section */
.abstract-section {
    background: var(--gradient-dark);
}

/* Objectives Section */
.objectives-section {
    background: var(--gradient-dark);
}

.objectives-list {
    display: grid;
    gap: 1.5em;
    margin-top: 2em;
}

/* Objectives Animation */
.objectives-list.animation-ready .objective-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.objective-item.animate-in {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.objective-item {
    display: flex;
    gap: 1.5em;
    align-items: center;
    background: var(--card-bg);
    padding: 1.8em 2em;
    border-radius: 16px;
    border: 2px solid rgba(187, 35, 254, 0.2);
    transition: all 0.3s ease;
}

.objective-item:hover {
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(187, 35, 254, 0.3);
}

.objective-item.animate-in:hover {
    transform: translateX(5px) !important;
}

/* ===========================================
   SECTION ANIMATIONS - Universal System
   =========================================== */

/* Problem Cards Animation */
#problem-grid.animation-ready .problem-card {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.problem-card.animate-in {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
}

.problem-card.animate-in:hover {
    transform: translateY(-10px) !important;
}

/* Features Cards Animation */
#features-grid.animation-ready .feature-card {
    opacity: 0;
    transform: scale(0.95) translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.animate-in {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
}

.feature-card.animate-in:hover {
    transform: translateY(-8px) scale(1.02) !important;
}

/* Methodology Sections Animation */
#methodology-grid.animation-ready .methodology-section {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.methodology-section.animate-in {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Results Animations */
#graph-container.animation-ready,
#results-table.animation-ready,
#results-findings.animation-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#graph-container.animate-in,
#results-table.animate-in,
#results-findings.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Conclusion Animations */
#conclusion-content.animation-ready .conclusion-summary,
#conclusion-content.animation-ready .future-item,
#conclusion-content.animation-ready .conclusion-impact {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.conclusion-summary.animate-in,
.future-item.animate-in,
.conclusion-impact.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.future-item.animate-in:hover {
    transform: translateY(-5px) !important;
}

/* Team Cards Animation */
#team-grid.animation-ready .team-card {
    opacity: 0;
    transform: scale(0.92) rotateY(-10deg);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.team-card.animate-in {
    opacity: 1 !important;
    transform: scale(1) rotateY(0) !important;
}

.team-card.animate-in:hover {
    transform: scale(1.02) translateY(-8px) !important;
}

/* Supervisor Card Animation */
#supervisor-section.animation-ready {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#supervisor-section.animate-in {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.objective-number {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: 700;
    flex-shrink: 0;
}

.objective-item p {
    color: var(--text-soft);
    font-size: 1.05em;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.abstract-content {
    max-width: 1000px;
    margin: 2em auto;
    background: var(--card-bg);
    padding: 3em;
    border-radius: var(--card-radius);
    border: 2px solid rgba(187, 35, 254, 0.3);
    box-shadow: 0 10px 40px rgba(187, 35, 254, 0.2);
}

/* Abstract Paragraphs Animation */
#abstract-content-inner.animation-ready p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

#abstract-content-inner p.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.abstract-content p {
    color: var(--text-soft);
    font-size: 1.15em;
    line-height: 1.7;
    margin: 1.5em 0;
    text-align: justify;
}

.abstract-content p:first-child {
    margin-top: 0;
}

.abstract-content p:last-child {
    margin-bottom: 0;
}

.abstract-content strong {
    color: #fff;
    font-weight: 700;
}

.abstract-content .highlight-tech {
    background: rgba(35, 193, 237, 0.2);
    color: var(--secondary-accent);
    padding: 0.2em 0.6em;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

/* Results Section */
.results-section {
    background: var(--gradient-purple);
}

.results-intro {
    text-align: center;
    color: var(--text-soft);
    font-size: 1.1em;
    margin: 2em auto;
    max-width: 800px;
}

/* Graph Container Styles */
.graph-container {
    margin: 3em 0;
    padding: 2em;
    background: var(--card-bg);
    border-radius: var(--card-radius);
    border: 2px solid rgba(187, 35, 254, 0.3);
}

.graph-title {
    color: #23c1ed;
    font-size: 1.5em;
    margin-bottom: 1.5em;
    text-align: center;
}

.graph-wrapper {
    display: flex;
    gap: 1em;
    position: relative;
}

.graph-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 0.5em;
    color: #aaa;
    font-size: 0.9em;
    min-width: 50px;
}

.graph-content {
    flex: 1;
    position: relative;
    height: 400px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(187, 35, 254, 0.2);
}

.graph-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, rgba(187, 35, 254, 0.1) 0px, transparent 1px, transparent 20%, rgba(187, 35, 254, 0.1) 20%, transparent calc(20% + 1px)),
        repeating-linear-gradient(90deg, rgba(187, 35, 254, 0.1) 0px, transparent 1px, transparent 25%, rgba(187, 35, 254, 0.1) 25%, transparent calc(25% + 1px));
}

.graph-points {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.graph-point {
    position: absolute;
    transform: translate(-50%, 50%);
    cursor: pointer;
    z-index: 10;
}

/* Larger tap target for mobile */
.graph-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.point-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid;
    transition: all 0.3s ease;
}

.point-dot.best {
    background: #4ade80;
    border-color: #22c55e;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.6);
}

.point-dot.good {
    background: #fbbf24;
    border-color: #f59e0b;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.6);
}

.point-dot.moderate {
    background: #ef4444;
    border-color: #dc2626;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
}

.graph-point:hover .point-dot,
.graph-point.active .point-dot {
    transform: scale(1.5);
}

.point-label {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 30, 0.95);
    padding: 0.5em 1em;
    border-radius: 6px;
    font-size: 0.85em;
    color: #fff;
    white-space: nowrap;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.graph-point:hover .point-label,
.graph-point.active .point-label {
    opacity: 1;
}

.graph-x-axis {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    color: #aaa;
    font-size: 0.9em;
}

.graph-caption {
    text-align: center;
    color: #aaa;
    font-size: 0.95em;
    margin-top: 2.5em;
    font-style: italic;
}

.results-table-wrapper {
    overflow-x: auto;
    margin: 2em 0;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: var(--table-radius);
    overflow: hidden;
    border: 2px solid var(--accent);
}

.results-table th,
.results-table td {
    padding: 1.2em 1.5em;
    text-align: left;
    border-bottom: 1px solid rgba(187, 35, 254, 0.2);
}

.results-table th {
    background: rgba(187, 35, 254, 0.3);
    color: var(--accent);
    font-weight: 700;
    font-size: 1.05em;
}

.results-table tr:hover {
    background: rgba(187, 35, 254, 0.1);
}

.results-table .highlight-row {
    background: rgba(35, 193, 237, 0.1);
}

.accuracy-badge {
    padding: 0.4em 1em;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95em;
    display: inline-block;
}

.accuracy-badge.best {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.4);
}

.accuracy-badge.good {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.accuracy-badge.moderate {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.results-findings {
    margin-top: 3em;
    background: var(--card-bg);
    padding: 2em 2.5em;
    border-radius: var(--card-radius);
    border: 1px solid rgba(187, 35, 254, 0.3);
}

.results-findings h3 {
    color: var(--accent);
    font-size: 1.5em;
    margin-bottom: 1em;
}

.results-findings ul {
    list-style: none;
    padding: 0;
}

.results-findings li {
    color: var(--text-soft);
    padding: 0.7em 0;
    padding-left: 2em;
    position: relative;
}

.results-findings li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Conclusion Section Styles */
.conclusion-section {
    background: var(--main-bg);
}

.conclusion-content {
    max-width: 1200px;
    margin: 0 auto;
}

.conclusion-summary {
    background: var(--card-bg);
    padding: 2em 2.5em;
    border-radius: var(--card-radius);
    border: 2px solid rgba(187, 35, 254, 0.3);
    margin-bottom: 3em;
    text-align: center;
}

.conclusion-summary h3 {
    color: var(--accent);
    font-size: 1.5em;
    margin-bottom: 1em;
}

.conclusion-summary p {
    color: var(--text-soft);
    font-size: 1.1em;
    line-height: 1.8;
}

.future-work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    margin-bottom: 3em;
}

.future-item {
    background: var(--card-bg);
    padding: 2em;
    border-radius: var(--card-radius);
    border: 2px solid rgba(187, 35, 254, 0.2);
    transition: all 0.3s ease;
}

.future-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(187, 35, 254, 0.3);
}

.future-item h4 {
    color: #23c1ed;
    font-size: 1.3em;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid rgba(35, 193, 237, 0.3);
}

.future-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.future-item li {
    color: var(--text-soft);
    padding: 0.6em 0;
    padding-left: 1.5em;
    position: relative;
    line-height: 1.6;
}

.future-item li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #23c1ed;
    font-weight: bold;
}

.conclusion-impact {
    background: linear-gradient(135deg, rgba(187, 35, 254, 0.2), rgba(35, 193, 237, 0.2));
    padding: 2em 2.5em;
    border-radius: var(--card-radius);
    border: 2px solid rgba(187, 35, 254, 0.3);
    text-align: center;
}

.conclusion-impact p {
    color: var(--text-soft);
    font-size: 1.1em;
    line-height: 1.8;
    margin: 0;
}

.conclusion-impact strong {
    color: var(--accent);
    font-size: 1.1em;
}

/* About the Project & Team Section */
.about-section {
    background: var(--gradient-dark);
}

.about-intro {
    text-align: center;
    background: var(--card-bg);
    padding: 2em 3em;
    border-radius: var(--card-radius);
    border: 2px solid rgba(187, 35, 254, 0.3);
    margin-bottom: 3em;
}

.about-intro p {
    color: var(--text-soft);
    font-size: 1.15em;
    line-height: 1.8;
    margin: 0;
}

.about-intro strong {
    color: var(--accent);
}

.about-heading {
    color: #23c1ed;
    font-size: 2em;
    margin-bottom: 1em;
    text-align: center;
    padding-bottom: 0.5em;
    border-bottom: 3px solid rgba(35, 193, 237, 0.3);
}

.about-section .team-subtitle {
    text-align: center;
    color: var(--text-soft);
    font-size: 1.2em;
    margin: -1em 0 3em 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5em;
    margin-top: 3em;
}

.team-card {
    background: var(--card-bg);
    padding: 1.8em 1.5em;
    border-radius: var(--card-radius);
    text-align: center;
    border: 2px solid rgba(187, 35, 254, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(187, 35, 254, 0.3);
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(187, 35, 254, 0.5);
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1em;
    font-size: 1.8em;
    font-weight: 700;
    color: #fff;
    border: 3px solid var(--accent);
    transition: all 0.3s ease;
}

.team-card h3 {
    color: #fff;
    font-size: 1.2em;
    margin: 0.4em 0;
}

.team-role {
    color: var(--text-soft);
    font-size: 0.95em;
    margin-bottom: 1em;
}

.team-contact {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin-top: 0.8em;
}

.team-contact-item {
    display: flex;
    align-items: center;
    gap: 0.6em;
    font-size: 0.95em;
    justify-content: center;
}

.contact-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: #23c1ed;
    flex-shrink: 0;
}

.team-contact-item a {
    color: #23c1ed !important;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95em;
    text-align: center;
}

.team-contact-item a:hover {
    color: #667eea !important;
    text-decoration: underline;
}

/* Supervisor Section */
.supervisor-section {
    margin-top: 4em;
}

.supervisor-card {
    background: linear-gradient(135deg, rgba(35, 193, 237, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
    padding: 3em;
    border-radius: 16px;
    border: 2px solid rgba(35, 193, 237, 0.4);
    border-left: 5px solid #23c1ed;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(35, 193, 237, 0.15);
}

.supervisor-header {
    display: flex;
    gap: 2.5em;
    align-items: center;
    margin-bottom: 2em;
}

.supervisor-avatar {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #23c1ed, #667eea);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: 700;
    color: #fff;
    border: 3px solid #23c1ed;
    box-shadow: 0 4px 15px rgba(35, 193, 237, 0.4);
}

.supervisor-info {
    flex: 1;
}

.supervisor-info h4 {
    color: #fff;
    font-size: 1.8em;
    margin: 0 0 1em 0;
    font-weight: 700;
}

.supervisor-details {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
}

.supervisor-detail {
    display: flex;
    align-items: center;
    gap: 0.8em;
    font-size: 1.05em;
    min-height: 28px;
}

.supervisor-detail span {
    color: #23c1ed;
}

.detail-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: #23c1ed;
    flex-shrink: 0;
}

.supervisor-detail a {
    color: #23c1ed !important;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1.05em;
}

.supervisor-detail a:hover {
    color: #667eea;
    text-decoration: underline;
}

.supervisor-acknowledgment {
    color: var(--text-soft);
    font-size: 1.1em;
    line-height: 1.8;
    margin: 0;
    padding-top: 2em;
    border-top: 2px solid rgba(35, 193, 237, 0.2);
}

/* Responsive adjustments for supervisor section */
@media (max-width: 768px) {
    .supervisor-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .supervisor-details {
        align-items: center;
    }
}

/* Team Section (legacy - keeping for backward compatibility) */
.team-section {
    background: var(--main-bg);
}

.team-subtitle {
    text-align: center;
    color: var(--text-soft);
    font-size: 1.2em;
    margin: -1em 0 3em 0;
}

.team-avatar-img {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    margin: 0 auto 1.5em;
    border: 4px solid var(--accent);
    transition: all 0.3s ease;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 20px rgba(187, 35, 254, 0.3);
}

.team-link:hover .team-avatar-img {
    transform: scale(1.02);
    border-color: var(--secondary-accent);
    box-shadow: 0 6px 30px rgba(187, 35, 254, 0.5);
}

/* Acknowledgment Section (legacy) */
.acknowledgment-section {
    background: var(--gradient-dark);
}

.acknowledgment-content {
    max-width: 900px;
    margin: 2em auto;
}

.acknowledgment-card {
    background: var(--card-bg);
    padding: 3.5em 3em;
    border-radius: var(--card-radius);
    border: 2px solid rgba(187, 35, 254, 0.3);
    box-shadow: 0 10px 40px rgba(187, 35, 254, 0.2);
    text-align: center;
}

.acknowledgment-icon {
    font-size: 4em;
    margin-bottom: 0.5em;
}

.acknowledgment-card h3 {
    font-size: 2em;
    color: var(--accent);
    margin-bottom: 0.3em;
    font-weight: 700;
}

.acknowledgment-title {
    color: var(--secondary-accent);
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 1.5em;
}

.acknowledgment-text {
    color: var(--text-soft);
    font-size: 1.15em;
    line-height: 1.9;
    text-align: justify;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--card-bg);
    padding: 2em 0 1em 0;
    border-top: 2px solid rgba(187, 35, 254, 0.3);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
}

.footer-content-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5em;
    flex-wrap: wrap;
    gap: 2em;
}

/* Center footer content on resources page */
.resources-page .footer-content-simple {
    justify-content: center;
    text-align: center;
}

.resources-page .footer-links-row {
    justify-content: center;
}

.footer-links-row {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
}

.footer-links-row a {
    color: var(--secondary-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.4em 0.8em;
    border-radius: 6px;
    background: rgba(35, 193, 237, 0.1);
    border: 1px solid rgba(35, 193, 237, 0.2);
}

.footer-links-row a:hover {
    color: var(--accent);
    transform: translateY(-2px);
    background: rgba(35, 193, 237, 0.2);
    border-color: var(--secondary-accent);
}

.footer-contact {
    text-align: right;
}

.footer-contact a {
    color: var(--secondary-accent);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    margin-bottom: 2em;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1em;
}

.footer-section p {
    color: var(--text-soft);
    margin: 0.5em 0;
}

.footer-institution {
    color: var(--secondary-accent) !important;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin: 0.7em 0;
}

.footer-links a {
    color: var(--text-soft);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 0.5em;
}

.footer-section a {
    color: var(--secondary-accent);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2em;
    border-top: 1px solid rgba(187, 35, 254, 0.2);
    color: var(--text-soft);
    font-size: 0.9em;
}

.footer-bottom p {
    margin: 0;
}

.uob-link {
    color: var(--secondary-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.uob-link:hover {
    color: #fff;
    border-bottom-color: var(--secondary-accent);
}

/* Live Demo Section */
.demo-section {
    background: var(--gradient-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-soft);
    font-size: 1.1em;
    margin-top: -1em;
    margin-bottom: 3em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1em;
}

.demo-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 3em;
    margin-top: 3em;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2em;
}

.demo-step {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 380px;
    max-width: 450px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5em;
}

.step-content {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-content h3 {
    text-align: center;
    color: var(--accent);
    font-size: 1.3em;
    margin-bottom: 1em;
}

.demo-arrow {
    font-size: 3em;
    color: var(--secondary-accent);
    align-self: center;
    margin-top: 0;
    flex-shrink: 0;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(35, 193, 237, 0.5);
    display: flex;
    align-items: center;
}

.arrow-desktop {
    display: inline;
}

.arrow-mobile {
    display: none;
}

.demo-mockup {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(187, 35, 254, 0.3);
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

.mockup-header {
    background: #2a1a42;
    padding: 0.8em 1em;
    display: flex;
    align-items: center;
    gap: 1em;
    border-bottom: 1px solid rgba(187, 35, 254, 0.2);
}

.mockup-dots {
    display: flex;
    gap: 0.4em;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
}

.mockup-header span:last-child {
    color: var(--text-soft);
    font-size: 0.9em;
}

.mockup-body {
    padding: 2em;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-x: auto;
}

/* Custom scrollbar for demo mockups */
.mockup-body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.mockup-body::-webkit-scrollbar-track {
    background: rgba(42, 26, 66, 0.5);
    border-radius: 10px;
}

.mockup-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent), var(--secondary-accent));
    border-radius: 10px;
}

.mockup-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-accent), var(--accent));
}

/* For Firefox */
.mockup-body {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(42, 26, 66, 0.5);
}

.mockup-label {
    color: var(--text-soft);
    font-size: 0.9em;
    margin-bottom: 0.5em;
}

.mockup-input {
    background: var(--main-bg);
    padding: 1.2em;
    border-radius: 8px;
    color: #fff;
    border: 1px solid rgba(187, 35, 254, 0.3);
    margin-bottom: 1em;
    font-size: 1em;
    line-height: 1.5;
}

.mockup-button {
    background: var(--accent);
    color: #fff;
    padding: 1em 1.5em;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.mockup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(187, 35, 254, 0.4);
}

.mockup-button.generating::after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Demo Animation Styles */
.demo-container.animation-ready .demo-step,
.demo-container.animation-ready .demo-arrow {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.demo-step.animate-in,
.demo-arrow.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-container.animation-ready .result-row {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.result-row.animate-in {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#sql-text {
    display: inline;
}

.typewriter-cursor::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.mockup-code pre {
    background: var(--main-bg);
    padding: 1.5em;
    border-radius: 8px;
    color: var(--secondary-accent);
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    line-height: 1.5;
    overflow-x: auto;
    white-space: pre;
    min-height: 200px;
}

/* Scrollbar for code pre element */
.mockup-code pre::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.mockup-code pre::-webkit-scrollbar-track {
    background: rgba(42, 26, 66, 0.5);
    border-radius: 10px;
}

.mockup-code pre::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent), var(--secondary-accent));
    border-radius: 10px;
}

.mockup-code pre::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-accent), var(--accent));
}

/* For Firefox */
.mockup-code pre {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(42, 26, 66, 0.5);
}

.mockup-timing {
    display: flex;
    gap: 1em;
    margin-top: 1em;
    justify-content: space-between;
    font-size: 0.85em;
    position: relative;
    z-index: 1;
}

.mockup-timing > span {
    background: rgba(35, 193, 237, 0.25);
    color: var(--secondary-accent);
    padding: 0.5em 1em;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid rgba(35, 193, 237, 0.4);
}

.mockup-timing .timing-value {
    color: var(--secondary-accent);
    font-weight: 700;
}

.mockup-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85em;
}

.mockup-table thead {
    background: rgba(187, 35, 254, 0.2);
}

.mockup-table th,
.mockup-table td {
    padding: 0.9em 0.7em;
    text-align: left;
    border-bottom: 1px solid rgba(187, 35, 254, 0.1);
}

.mockup-table th {
    color: var(--accent);
    font-weight: 600;
}

.mockup-table td {
    color: var(--text-soft);
}

.mockup-table tbody tr:hover {
    background: rgba(187, 35, 254, 0.1);
}

/* Validation Checks Styles */
.validation-checks {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-bottom: 1.5em;
}

.validation-item {
    display: flex;
    align-items: center;
    gap: 0.8em;
    padding: 0.8em 1em;
    background: rgba(0, 255, 136, 0.05);
    border-left: 3px solid #00FF88;
    border-radius: 8px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

.validation-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.validation-icon {
    font-size: 1.3em;
    color: #00FF88;
    font-weight: bold;
    flex-shrink: 0;
}

.validation-text {
    color: var(--text-color);
    font-size: 0.95em;
}

.validation-status {
    text-align: center;
    padding: 1em;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.validation-status.animate-in {
    opacity: 1;
    transform: scale(1);
}

.status-badge {
    display: inline-block;
    padding: 0.8em 1.8em;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95em;
    letter-spacing: 0.5px;
}

.status-badge.safe {
    background: linear-gradient(135deg, #00FF88 0%, #00CC6F 100%);
    color: #0A0A0A;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

/* Resources Page Styles */
.resources-hero {
    background: var(--gradient-purple);
    padding: 4em 2em;
    text-align: center;
    position: relative;
    border-radius: 0 0 40px 40px;
    margin-bottom: -1.5em;
}

.resources-hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-button-resources {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.8em 1.5em;
    background: rgba(35, 193, 237, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    text-decoration: none;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid rgba(35, 193, 237, 0.5);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(35, 193, 237, 0.3);
    margin-bottom: 2em;
}

.back-button-resources:hover {
    background: rgba(35, 193, 237, 1);
    border-color: var(--secondary-accent);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(35, 193, 237, 0.5);
}

.back-button-resources .back-arrow {
    font-size: 1.2em;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.back-button-resources:hover .back-arrow {
    transform: translateX(-3px);
}

.up-button {
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(35, 193, 237, 0.95);
    border: 2px solid rgba(35, 193, 237, 0.5);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(35, 193, 237, 0.4);
}

.up-button-mobile {
    display: inline-flex;
    position: fixed;
    bottom: 2em;
    right: 1em;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(35, 193, 237, 0.4);
    background: rgba(35, 193, 237, 0.95);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(35, 193, 237, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.up-button-mobile.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.up-button:hover {
    background: rgba(35, 193, 237, 1);
    border-color: var(--secondary-accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(35, 193, 237, 0.6);
}

.up-arrow {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.up-button:hover .up-arrow {
    transform: translateY(-3px);
}

/* Back to Home Button (Mobile Only) */
.back-home-button {
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    padding: 0.5em 1em;
    border-radius: 10px;
    background: rgba(35, 193, 237, 0.95);
    border: 2px solid rgba(35, 193, 237, 0.5);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(35, 193, 237, 0.4);
}

.back-home-mobile {
    display: inline-flex;
    position: fixed;
    top: 1em;
    left: 1em;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.back-home-mobile.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-home-button:hover {
    background: rgba(35, 193, 237, 1);
    border-color: var(--secondary-accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(35, 193, 237, 0.6);
}

.back-arrow-icon {
    font-size: 1.6em;
    font-weight: 900;
    transition: transform 0.3s ease;
    -webkit-text-stroke: 0.5px currentColor;
    text-shadow: 0 0 1px currentColor;
}

.back-home-button:hover .back-arrow-icon {
    transform: translateX(-3px);
}

/* Hide back-home button on desktop */
@media (min-width: 769px) {
    .back-home-mobile {
        display: none !important;
    }
}

.back-arrow {
    font-size: 1.3em;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.resources-title {
    font-size: 2.2em;
    color: var(--accent);
    margin: 0;
    font-weight: 700;
}

.resources-description {
    font-size: 1.05em;
    color: var(--text-soft);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

.resources-section {
    background: var(--main-bg);
    position: relative;
    z-index: 1;
    padding: 4em 2em;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.resources-section .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2em;
    margin-top: 1.2em;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.resource-card {
    background: var(--card-bg);
    padding: 1.2em 1.3em;
    border-radius: var(--card-radius);
    border: 2px solid rgba(187, 35, 254, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(187, 35, 254, 0.4);
}

.resource-icon {
    font-size: 2.5em;
    margin-bottom: 0.3em;
}

.resource-title {
    color: #fff;
    font-size: 1.2em;
    margin: 0.2em 0 0.4em 0;
    font-weight: 700;
}

.resource-description {
    color: var(--text-soft);
    line-height: 1.5;
    margin: 0.3em 0 0.8em 0;
    flex-grow: 1;
    font-size: 0.95em;
}

.resource-meta {
    display: flex;
    gap: 1em;
    margin: 1.5em 0;
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(187, 35, 254, 0.15);
    color: var(--accent);
    padding: 0.4em 1em;
    border-radius: 8px;
    font-size: 0.85em;
    font-weight: 600;
    border: 1px solid rgba(187, 35, 254, 0.3);
}

.resource-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    padding: 0.85em 1.8em;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98em;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(187, 35, 254, 0.3);
    min-height: 44px;
}

.resource-btn-link:hover {
    background: #9b1fd6;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(187, 35, 254, 0.5);
}

.resource-btn-link:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(187, 35, 254, 0.4);
}

/* Info Section */
.info-section {
    background: var(--gradient-dark);
}

.info-box {
    background: var(--card-bg);
    padding: 2.5em;
    border-radius: var(--card-radius);
    border: 2px solid rgba(187, 35, 254, 0.3);
}

.info-box h3 {
    color: var(--accent);
    font-size: 1.5em;
    margin-bottom: 1em;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    color: var(--text-soft);
    padding: 0.7em 0;
    padding-left: 2em;
    position: relative;
    line-height: 1.7;
}

.info-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
    font-size: 1.2em;
}

.info-list a {
    color: var(--secondary-accent);
    text-decoration: none;
}

.info-list a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Citation Section */
.citation-section {
    background: var(--main-bg);
}

.citation-section h3 {
    color: var(--accent);
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 1.5em;
}

.citation-box {
    background: var(--card-bg);
    padding: 2em;
    border-radius: var(--card-radius);
    border: 2px solid rgba(187, 35, 254, 0.3);
    max-width: 900px;
    margin: 0 auto;
}

.citation-box pre {
    color: var(--text-soft);
    font-family: 'Courier New', monospace;
    font-size: 1em;
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Responsive Design - Mobile First Approach */
@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    .navbar {
        height: 60px;
        padding: 0 2vw;
    }

    .navbar-center {
        gap: 1.2em;
    }

    .nav-link {
        padding: 0.7em 1.4em;
        font-size: 0.95em;
    }

    .academic-header {
        padding: 1em 0.8em 1em 0.5em;
    }

    .academic-header-content {
        flex-direction: row;
        text-align: left;
        gap: 1.2em;
        align-items: center;
        justify-content: space-between;
    }

    .academic-info {
        flex: 1;
        order: 1;
        padding-right: 0.5em;
        margin-left: -0.8em;
    }

   .uob-logo {
    width: 80px;
    height: 80px;
    order: 2;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: -0.8em;  /* Add this - negative value pushes it to the right edge */
    }

    .university-name {
        font-size: 0.9em;
        line-height: 1.25;
        margin-bottom: 0.25em;
    }

    .college-name {
        font-size: 0.75em;
        line-height: 1.3;
    }

    .department-name {
        font-size: 0.75em;
        line-height: 1.3;
    }

    .hero {
        padding: 3em 1.2em;
    }

    .hero-badge {
        font-size: 0.8em;
        padding: 0.6em 1.2em;
        line-height: 1.4;
    }

    .hero-title {
        font-size: 1.5em;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .hero-description {
        font-size: 1.05em;
        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1.2em;
        width: 100%;
    }

    .btn-primary, .btn-secondary, .btn-tertiary {
        width: 100%;
        max-width: 400px;
        padding: 1.2em 2em;
        font-size: 1.15em;
    }

    .section {
        padding: 3em 1.2em;
    }

    .section-title {
        font-size: 2.2em;
        margin-bottom: 0.8em;
    }

    .problem-grid,
    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.8em;
    }

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5em;
    }

    .navbar {
        padding: 0 4vw;
        height: 85px;
    }

    .navbar-right {
        gap: 0.6em;
    }

    .nav-link,
    .resource-btn,
    .contact-btn {
        padding: 0.8em 1.4em;
        font-size: 0.95em;
        min-height: 44px;
    }

    .nav-title {
        font-size: 1.3em;
    }

    .subtitle {
        font-size: 0.85em;
    }

    .resource-card,
    .problem-card,
    .feature-card {
        padding: 1.2em 1.5em 2em 1.5em;
    }

    .feature-icon {
        font-size: 2.5em;
        margin-bottom: 0.2em;
    }

    .feature-card h3 {
        font-size: 1.2em;
        margin: 0.3em 0 0.5em 0;
    }

    .team-card {
        padding: 1.8em 1.5em;
    }

    /* Reduce text size for all section content on mobile */
    .conclusion-summary p {
        font-size: 0.95em;
        line-height: 1.6;
    }

    .abstract-content p {
        font-size: 0.98em;
        line-height: 1.6;
    }

    .objective-item p {
        font-size: 0.95em;
        line-height: 1.6;
    }

    .problem-card p {
        font-size: 0.95em;
        line-height: 1.6;
    }

    .feature-card p {
        font-size: 0.95em;
        line-height: 1.6;
    }

    .team-avatar {
        width: 65px;
        height: 65px;
        font-size: 1.3em;
        margin-bottom: 0.4em;
    }

    .team-card h3 {
        font-size: 1.1em;
        margin: 0.15em 0;
    }

    .team-role {
        font-size: 0.9em;
        margin-bottom: 0.5em;
    }

    .team-contact {
        gap: 0.3em;
        margin-top: 0.4em;
    }

    .team-contact-item {
        font-size: 0.85em;
        gap: 0.45em;
    }

    .contact-icon {
        width: 16px;
        height: 16px;
        min-width: 16px;
    }

    .supervisor-section {
        margin-top: 2em;
    }

    .supervisor-card {
        padding: 1.5em 1.2em;
        border-left-width: 4px;
    }

    .supervisor-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1em;
        margin-bottom: 1.5em;
    }

    .supervisor-avatar {
        width: 80px;
        height: 80px;
        min-width: 80px;
        font-size: 1.6em;
    }

    .supervisor-info h4 {
        font-size: 1.3em;
        margin: 0 0 0.8em 0;
    }

    .supervisor-details {
        gap: 0.6em;
        align-items: center;
    }

    .supervisor-detail {
        font-size: 0.9em;
        gap: 0.6em;
    }

    .detail-icon {
        width: 18px;
        height: 18px;
        min-width: 18px;
    }

    .supervisor-acknowledgment {
        font-size: 0.95em;
        line-height: 1.6;
        padding-top: 1.5em;
    }

    .resource-btn-link {
        width: 100%;
        padding: 1.1em 2em;
        font-size: 1.1em;
    }

    .arch-layer {
        flex-direction: column;
    }

    .arch-box {
        max-width: 100%;
    }

    .arch-box.small {
        max-width: 100%;
    }

    .architecture-diagram {
        padding: 1.5em 1em;
        overflow-x: hidden;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
    }

    .architecture-content {
        padding: 0;
        margin: 0 auto;
        width: 100%;
    }

    .methodology-section .methodology-section {
        padding: 1.5em 1em;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1em;
        overflow-x: hidden;
    }

    .tech-item {
        padding: 1em;
        box-sizing: border-box;
    }

    .approach-list {
        padding-left: 1.2em;
        overflow-x: hidden;
    }

    .approach-list li::before {
        top: 0.5em;
        transform: none;
    }

    .dataset-info {
        overflow-x: hidden;
    }

    .info-row {
        flex-direction: column;
        gap: 0.5em;
        padding: 1em;
    }

    .info-row strong {
        min-width: auto;
        width: 100%;
    }

    .info-row span {
        width: 100%;
        word-wrap: break-word;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2em;
    }

    .footer-content-simple {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5em;
        text-align: center;
    }

    .footer-links-row {
        flex-direction: row;
        gap: 0.7em;
        flex-wrap: wrap;
        font-size: 0.85em;
        justify-content: center;
    }

    .footer-links-row a {
        white-space: nowrap;
        padding: 0.35em 0.6em;
        font-size: 1em;
    }

    .navbar-right {
        display: flex;
        align-items: center;
        gap: 0;
    }

    .nav-link {
        padding: 0.7em 1.2em;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .footer-contact {
        text-align: center;
        font-size: 0.9em;
        width: 100%;
    }

    .footer-contact a {
        font-size: 1em;
        word-break: break-word;
    }

    .demo-container {
        flex-direction: column;
        gap: 2em;
        padding: 0 1em;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }

    .demo-step {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .demo-mockup {
        font-size: 0.95em;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .mockup-body {
        overflow-x: hidden;
    }

    .mockup-input,
    .mockup-code pre {
        overflow-x: auto;
        word-wrap: break-word;
    }

    .validation-checks {
        gap: 0.8em;
    }

    .validation-item {
        padding: 0.7em 0.9em;
        gap: 0.6em;
    }

    .validation-text {
        font-size: 0.9em;
    }

    .status-badge {
        padding: 0.7em 1.5em;
        font-size: 0.9em;
    }

    .section-subtitle {
        font-size: 1em;
        margin-bottom: 2em;
        text-align: center;
    }

    .demo-arrow {
        transform: none;
        margin: 0;
        font-size: 2.5em;
    }

    .arrow-desktop {
        display: none;
    }

    .arrow-mobile {
        display: inline;
    }

    .graph-container {
        padding: 1.5em 1em;
        overflow-x: hidden;
    }

    .graph-title {
        font-size: 1.1em;
        margin-bottom: 1em;
    }

    .graph-wrapper {
        flex-direction: row;
        gap: 0.5em;
    }

    .graph-y-axis {
        min-width: 40px;
        font-size: 0.8em;
    }

    .graph-content {
        height: 350px;
        min-height: 350px;
    }

    .graph-points {
        padding: 15px;
    }

    .point-dot {
        width: 14px;
        height: 14px;
        border: 2px solid;
    }

    .point-label {
        font-size: 0.75em;
        padding: 0.4em 0.8em;
        white-space: normal;
        max-width: 140px;
    }

    /* Show green dot label below instead of above */
    .graph-point[style*="88%"] .point-label {
        bottom: auto;
        top: 25px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .graph-x-axis {
        font-size: 0.8em;
        padding: 0 15px;
    }

    .graph-caption {
        font-size: 0.85em;
        margin-top: 2em;
        padding: 0 0.5em;
    }

    .results-table-wrapper {
        overflow-x: auto;
        margin: 1.5em 0;
    }

    .results-table th,
    .results-table td {
        padding: 0.8em 0.6em;
        font-size: 0.85em;
    }

    .results-table th {
        font-size: 0.9em;
    }

    .accuracy-badge {
        padding: 0.3em 0.7em;
        font-size: 0.85em;
    }

    .about-intro {
        padding: 1.2em 1.5em;
        margin-bottom: 2em;
    }

    .about-intro p {
        font-size: 0.95em;
        line-height: 1.6;
    }

    .about-heading {
        font-size: 1.6em;
        margin-bottom: 0.7em;
    }

    .about-section .team-subtitle {
        font-size: 1em;
        margin: -0.7em 0 2em 0;
    }

    .back-button-desktop {
        display: none;
    }

    .back-button-mobile {
        display: inline-flex;
        position: fixed;
        bottom: 2em;
        left: 1em;
        margin: 0;
        font-size: 1.5em;
        padding: 0;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(35, 193, 237, 0.4);
        background: rgba(35, 193, 237, 0.95);
        backdrop-filter: blur(10px);
        color: #fff;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        border: 2px solid rgba(35, 193, 237, 0.5);
    }

    .up-button-mobile {
        display: inline-flex;
        position: fixed;
        bottom: 2em;
        right: 1em;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(35, 193, 237, 0.4);
        background: rgba(35, 193, 237, 0.95);
        backdrop-filter: blur(10px);
    }

    .resources-hero {
        padding: 3em 1.5em 5em 1.5em;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 2.5em 1.8em;
        border-radius: 25px;
    }

    .academic-header {
        padding: 1.2em 1em;
    }

    .uob-logo {
        width: 90px;
        height: 90px;
    }

    .university-name {
        font-size: 1.1em;
    }

    .college-name {
        font-size: 0.9em;
    }

    .department-name {
        font-size: 0.9em;
    }

    .modal-icon {
        font-size: 3em;
    }

    .modal-title {
        font-size: 1.6em;
    }

    .modal-text {
        font-size: 1.05em;
        margin-bottom: 1.5em;
    }

    .modal-btn {
        padding: 0.9em 2em;
        font-size: 1em;
        width: 100%;
    }

    .hero {
        padding: 2.5em 1em;
    }

    .hero-badge {
        font-size: 0.75em;
        padding: 0.5em 1em;
        line-height: 1.3;
    }

    .hero-title {
        font-size: 1.3em;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95em;
    }

    .resources-title {
        font-size: 2.2em;
    }

    .back-button-desktop {
        display: none;
    }

    .back-button-mobile {
        display: inline-flex;
        position: fixed;
        bottom: 1.5em;
        left: 1em;
        margin: 0;
        font-size: 1.3em;
        padding: 0;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(35, 193, 237, 0.5);
        background: rgba(35, 193, 237, 0.95);
        backdrop-filter: blur(10px);
        color: #fff;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        border: 2px solid rgba(35, 193, 237, 0.5);
    }

    .up-button-mobile {
        display: inline-flex;
        position: fixed;
        bottom: 1.5em;
        right: 1em;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(35, 193, 237, 0.5);
        background: rgba(35, 193, 237, 0.95);
        backdrop-filter: blur(10px);
        width: 45px;
        height: 45px;
        font-size: 1.3em;
    }

    .resources-hero {
        padding: 3em 1.5em 5em 1.5em;
    }

    .footer-bottom {
        font-size: 0.75em;
        padding-top: 1.5em;
        line-height: 1.6;
    }

    .footer-bottom p {
        margin: 0;
        padding: 0 0.5em;
    }

    .section-title {
        font-size: 1.9em;
    }

    .container {
        padding: 0 1em;
    }

    .abstract-content {
        padding: 1.8em 1.2em;
        text-align: left;
    }

    .abstract-content p {
        font-size: 0.95em;
        line-height: 1.75;
        margin: 1.5em 0;
        text-align: left;
        word-spacing: normal;
        letter-spacing: 0.01em;
    }

    .acknowledgment-card {
        padding: 2.5em 1.5em;
    }

    .acknowledgment-icon {
        font-size: 3em;
    }

    .acknowledgment-card h3 {
        font-size: 1.6em;
    }

    .acknowledgment-title {
        font-size: 1.1em;
    }

    .acknowledgment-text {
        font-size: 1.05em;
        line-height: 1.7;
        text-align: left;
    }

    .resource-card,
    .problem-card,
    .feature-card {
        padding: 2em 1.3em;
    }

    .team-card {
        padding: 2.2em 1.5em;
    }

    .navbar {
        padding: 0 3vw;
    }

    .nav-title {
        font-size: 1.2em;
    }

    .subtitle {
        font-size: 0.8em;
    }

    .btn-primary, .btn-secondary {
        padding: 1.15em 2em;
        font-size: 1.1em;
    }

    .resource-btn-link {
        padding: 1.05em 1.8em;
        font-size: 1.08em;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }

    .footer-links-row {
        gap: 0.5em;
        font-size: 0.75em;
    }

    .footer-contact {
        font-size: 0.75em;
    }

    .footer-contact a {
        font-size: 0.95em;
    }

    .demo-mockup {
        font-size: 0.85em;
        padding: 1em;
    }

    .demo-step {
        max-width: 100%;
    }

    .section-subtitle {
        font-size: 0.9em;
        margin-bottom: 1.5em;
        padding: 0 0.5em;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
        margin-bottom: 1em;
    }

    .mockup-table {
        font-size: 0.8em;
        overflow-x: auto;
        display: block;
    }

    .mockup-table table {
        min-width: 100%;
    }

    .mockup-timing {
        font-size: 0.85em;
        gap: 0.5em;
    }

    .demo-arrow {
        font-size: 2.5em;
    }

    /* Footer mobile adjustments */
    .footer {
        padding: 1em 0 0.8em 0;
    }

    .footer-content-simple {
        margin-bottom: 0.8em;
        gap: 1em;
        justify-content: center;
    }

    .footer-links-row {
        gap: 0.5em;
        justify-content: center;
    }

    .footer-links-row a {
        font-size: 0.8em;
        padding: 0.4em 0.7em;
    }

    .footer-contact {
        margin-top: 0.5em;
        text-align: center;
    }

    .footer-contact a {
        font-size: 0.95em;
    }
}

.email-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.email-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    display: block;
}