@font-face {
  font-family: 'quick-gaseous'; /* Name you'll use to reference the font */
  src: url('../fonts/GC-Quick-Gaseous-Demo-BF68c3dfca8e2e0.ttf') format('truetype'); /* Path relative to CSS file */
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Improves performance */
}

/* Page Background */
body {
  background: white;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Home Dot Button */
.home-dot {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.home-dot:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(240, 147, 251, 0.6);
}

.dot-pulse {
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  position: relative;
}

.dot-pulse::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* The Model Page Styles */







/* Hero Section */
.model-hero {
    font-family: 'quick-gaseous', sans-serif;
    background: transparent;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.model-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
}

.model-badge {
    display: inline-block;
    color: #6366f1;
    text-align: center;
    padding: 8px 16px;
    font-size: 2rem;
}

.model-title {
        text-align: center;

    font-size: 7rem;
    font-weight: 800;
    background: linear-gradient(55deg, #840000, #ff53ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.model-subtitle {
    font-style: italic;
    text-align: center;
    font-size: 1.6rem;
    color: #830000;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.model-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 5rem;
    padding: 25px;
    font-weight: 800;
    color: #0408ff;
    line-height: 1;
}

.stat-label {
    font-size: 2rem;
    color: #650000;
    text-decoration:underline wavy;
    text-decoration-thickness: 2px; 
    text-underline-offset: 5px;
}

.model-visual {
        padding-right: 35px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.glucose-curve-demo {
    background: rgb(209, 200, 255);
    border-radius: 20px;
    padding: 2rem;
    border: 4px solid rgb(255, 0, 0);
}

/* Sections */
.container {
    font-family: 'quick-gaseous', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    text-decoration: underline ;
    text-underline-offset: 15px;
    color: #000000;
}

.section-intro {
    font-style: bold;
    font-size: 1.2rem;
    color: #000102;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Model Overview */
.model-overview {
    background: linear-gradient(#8b5cf6,#6366f1);
    padding: 6rem 0;
}

.biomarkers-grid {
    display: grid;
    grid-template-columns: repeat(center, minmax(300px, 1fr));
    gap: 2rem;
}

.biomarker-card {
    background:linear-gradient(135deg, #b26cba, #ffffff);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(255, 0, 0, 0.557);
    border: 1px solid #e2e8f0;
    border-radius: 80px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.biomarker-card:hover {
    transform: translateY(-5px);
    background: wheat;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: ease 0.5s;
}

.biomarker-icon {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.biomarker-card h3 {
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.biomarker-card p {
    font-size: 1.2rem;
    text-align: center;
    color: #ff3c00;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 800;
}

.biomarker-detail {
    text-align: center;
    font-size: 1.5rem;
    color: #003783;
    line-height: 1.5;
}

/* Metabolic States */
.metabolic-states {
    padding: 6rem 0;
    background: linear-gradient(#6366f1,#8b5cf6);
}

.states-container {
    display: grid;  
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.state-card {
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.state-card.normal {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border: 4px solid #00b041;
}

.state-card.prediabetic {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    border: 4px solid #f59e0b;
}

.state-card.diabetic {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border: 4px solid #ef4444;
}

.state-header {
    margin-bottom: 1.5rem;
}

.state-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.state-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #000000;
}

.baseline-glucose {
    font-size: 1.2rem;
    font-weight: 800;
}

.state-characteristics {
    margin-bottom: 1.5rem;
}

.characteristic {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.char-label {
    font-size: 1.2rem;
    font-weight: 800;
    color: #002662;
}

.char-value {
    font-weight: 600;
    color: #1f2937;
}

.glucose-pattern {
    margin-top: .8rem;
}

.pattern-curve {
    height: 60px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    position: relative;
}

.normal-curve {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 50%, #22c55e 100%);
}

.prediabetic-curve {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 30%, #dc2626 80%, #f59e0b 100%);
}

.diabetic-curve {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 70%, #b91c1c 100%);
}

.pattern-description {
    font-size: 0.8rem;
    color: #374151;
    font-style: italic;
}

/* Insulin Assessment */
.insulin-assessment {
    padding: 6rem 0;
    background: linear-gradient(#8b5cf6, #6366f1);
}

.assessment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.method-card {
    background: white;
    border-radius: 26px;
    padding: 2.5rem;
}

.gold-standard {
    border: 5px solid #f59e0b;
}

.home-methods {
    border: 5px solid #6366f1;
}

.method-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.gold-standard .method-badge {
    background: #fef3c7;
    color: #f59e0b;
}

.home-methods .method-badge {
    background: #e0e7ff;
    color: #6366f1;
}

.method-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.method-description p {
    font-size: 1.2rem;
    color: #00204e;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.procedure-steps h4,
.method-limitations h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 1.5rem 0 0.5rem;
    color: #001941;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    gap: 0.8rem;
}

.step-number {
    background: #6366f1;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-text {
    font-size: 1.2rem;
    color: #003d93;
    line-height: 1.5;
}

.method-results,
.method-limitations {
    margin-top: 1.5rem;
}

.result-metric {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #6a6cff;
}

.result-metric ul,
.method-limitations ul {
    margin: 0.5rem 0;
    padding-left: 1rem;
}

.result-metric li,
.method-limitations li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    color: #000000;
}

.home-method {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.home-method:last-child {
    border-bottom: none;
}

.home-method h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.calculation-box {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #e2e8f0;
}

.formula {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000000;
    text-align: center;
    margin-bottom: 0.8rem;
}

.formula-legend {
    font-size: 0.9rem;
    color: #000000;
    text-align: center;
}

.interpretation {
    margin-top: 1rem;
}

.interpretation strong {
    color: #000000;
}

.interpretation ul {
    margin-top: 0.5rem;
}

.correlation-data {
    background: #e0e7ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.correlation-data h4 {
    color: #3730a3;
    margin-top: 0;
}

.correlation-data ul {
    margin-top: 0.5rem;
}

.correlation-data li {
    color: #312e81;
}

/* Model Integration */
.model-integration {
    padding: 6rem 0;
    background: linear-gradient( #6366f1, #8b5cf6);
}

.integration-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.flow-step {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 16px;
    border: 3px solid #ea00ff;
    max-width: 280px;
    text-align: center;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.flow-step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #1e293b;
}

.flow-step p {
    color: #ff0000;
    font-weight: 900;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.flow-step ul {
    text-align: left;
    font-size: 0.8rem;
    color: #000000;
}

.flow-arrow {
    font-size: 3rem;
    color: #ffffff;
    font-weight: bold;
}

.example-comparison {
    margin-top: 4rem;
    padding: 2rem;
    background: #ff8400;
    border-radius: 16px;
}

.example-comparison h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #000000;
}

.comparison-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.comparison-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.comparison-card.personalized {
    border-color: #6366f1;
    background: linear-gradient(135deg, #ffffff, #88bdf3);
}

.comparison-card h4 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #510000;
}

.prediction-details p {
    font-size: 1.2rem;
    color: #000000;
}

.insight {
    background: #e0e7ff;
    padding: 0.8rem;
    border-radius: 8px;
    margin-top: 0.8rem;
    font-weight: 600;
    color: #3730a3;
}

/* Future Enhancements */
.future-enhancements {
    padding: 6rem 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.future-enhancements .section-title {
    color: white;
}

.enhancement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.enhancement-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgb(50, 0, 0);
    backdrop-filter: blur(10px);
}

.enhancement-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.enhancement-card h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.enhancement-card p {
    color: #000000;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.enhancement-card ul {
    color: #00224f;
}

.enhancement-card li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* CTA Section */
.model-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta-primary, .cta-secondary {
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.cta-primary {
    background: white;
    color: #6366f1;
    border: none;
    cursor: pointer;
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-primary:hover, .cta-secondary:hover {
    transform: scale(1.05);
}

/* Footer */
.model-footer {
    background: #0f172a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #6366f1;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN - COMPREHENSIVE MEDIA QUERIES
   ============================================ */

/* Tablets (769px - 1024px) */
@media (max-width: 1024px) {
    .model-hero-content {
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .biomarkers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .states-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Tablets & Large Mobile (768px - 768px) */
@media (max-width: 768px) {
    /* Home Dot - Mobile positioning */
    .home-dot {
        width: 45px;
        height: 45px;
        top: 1rem;
        right: 1rem;
    }
    
    /* Hero Section */
    .model-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .model-title {
        font-size: 2rem;
    }
    
    .model-subtitle {
        font-size: 1rem;
    }
    
    .model-badge {
        font-size: 0.85rem;
    }
    
    .model-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Model Visual */
    .model-visual {
        width: 100%;
    }
    
    .glucose-curve-demo {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .glucose-curve-demo svg {
        max-width: 100%;
        height: auto;
    }
    
    /* Container & Sections */
    .container {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-intro {
        font-size: 0.95rem;
    }
    
    /* Biomarkers Grid */
    .biomarkers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .biomarker-card {
        padding: 1.5rem;
    }
    
    .biomarker-icon {
        font-size: 2rem;
    }
    
    /* Metabolic States */
    .states-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .state-card {
        padding: 1.5rem;
    }
    
    .state-icon {
        font-size: 2rem;
    }
    
    /* Assessment Methods */
    .assessment-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .method-card {
        padding: 1.5rem;
    }
    
    .method-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .step {
        padding: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* Integration Flow */
    .integration-flow {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    /* Comparison Cards */
    .comparison-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    /* Text sizing */
    .biomarker-detail {
        font-size: 0.9rem;
    }
    
    .state-characteristics {
        font-size: 0.85rem;
    }
}

/* Mobile (480px - 767px) */
@media (max-width: 480px) {
    /* Home Dot - Very small screens */
    .home-dot {
        width: 40px;
        height: 40px;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .dot-pulse {
        width: 15px;
        height: 15px;
    }
    
    /* Hero Section */
    .model-hero-content {
        gap: 1.5rem;
        padding: 1rem 0.75rem;
    }
    
    .model-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .model-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .model-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .model-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Model Visual */
    .glucose-curve-demo {
        max-width: 250px;
    }
    
    /* Container & Sections */
    .container {
        padding: 1.5rem 0.75rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-intro {
        font-size: 0.85rem;
    }
    
    /* Biomarkers */
    .biomarkers-grid {
        gap: 1rem;
    }
    
    .biomarker-card {
        padding: 1rem;
    }
    
    .biomarker-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    /* States */
    .states-container {
        gap: 1rem;
    }
    
    .state-card {
        padding: 1rem;
    }
    
    .state-icon {
        font-size: 1.5rem;
    }
    
    /* Assessment Methods */
    .assessment-methods {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .method-card {
        padding: 1rem;
    }
    
    .method-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .step {
        padding: 0.75rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .step-text {
        font-size: 0.8rem;
    }
    
    /* Text */
    .biomarker-detail {
        font-size: 0.8rem;
    }
    
    .state-characteristics {
        font-size: 0.75rem;
    }
    
    .characteristic {
        margin-bottom: 0.5rem;
    }
    
    /* Calculation Box */
    .calculation-box {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    /* Footer */
    .footer-content {
        gap: 1.5rem;
        padding: 0 0.75rem;
    }
}

/* Extra Small Mobile (320px - 379px) */
@media (max-width: 379px) {
    .model-hero {
        min-height: auto;
        padding: 1rem 0;
    }
    
    .model-title {
        font-size: 1.2rem;
    }
    
    .model-subtitle {
        font-size: 0.8rem;
    }
    
    .model-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .biomarker-card,
    .state-card,
    .method-card {
        padding: 0.75rem;
    }
    
    .glucose-curve-demo {
        max-width: 200px;
    }
}