
/* Cellionyx Website Styles */
:root {
    --background-color: #0A0E1A;
    --primary-text: #FFFFFF;
    --secondary-text: #B8C5D1;
    --accent-color: #0095D5;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(0, 149, 213, 0.2);
    --shadow-light: 0 8px 32px rgba(0, 149, 213, 0.2);
    --shadow-medium: 0 12px 40px rgba(0, 149, 213, 0.3);
    --shadow-intense: 0 20px 60px rgba(0, 149, 213, 0.4);
    --primary-gradient: linear-gradient(135deg, #0095D5 0%, #00B4DB 100%);
    --accent-gradient: linear-gradient(135deg, rgba(0, 149, 213, 0.2) 0%, rgba(0, 180, 219, 0.2) 100%);
    --dark-gradient: linear-gradient(135deg, #0A0E1A 0%, #1A1F35 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimizations */
html {
    scroll-behavior: smooth;
    /* Safari/iOS optimization - prevent gray flash */
    background: #0A0E1A !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* Safari/iOS fallback to prevent gray flash */
    background: #0A0E1A !important;
    background: linear-gradient(135deg, #0A0E1A 0%, #1A1F35 100%) !important;
    background: var(--dark-gradient) !important;
    color: var(--primary-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    will-change: scroll-position;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%230095D5;stop-opacity:0.1" /><stop offset="100%" style="stop-color:%2300B4DB;stop-opacity:0.05" /></linearGradient></defs><path d="M10,50 Q30,10 50,50 T90,50" stroke="url(%23grad1)" stroke-width="0.5" fill="none" opacity="0.3"><animateTransform attributeName="transform" attributeType="XML" type="translate" values="0,0;100,0;0,0" dur="20s" repeatCount="indefinite"/></path><path d="M20,60 Q40,20 60,60 T100,60" stroke="url(%23grad1)" stroke-width="0.3" fill="none" opacity="0.2"><animateTransform attributeName="transform" attributeType="XML" type="translate" values="0,0;-100,0;0,0" dur="25s" repeatCount="indefinite"/></path></svg>') repeat;
    animation: float 30s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(-10px) rotate(-1deg); }
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1 {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-text) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    color: var(--primary-text);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-text);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary-text);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--accent-color);
    padding: 15px 30px;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
    transition: padding 0.3s ease;
}

.navbar.scrolled .nav-container {
    padding: 0.75rem 2rem;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: var(--shadow-medium);
}

.nav-logo .logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--secondary-text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: var(--glass-bg);
    color: var(--accent-color);
    backdrop-filter: blur(10px);
}

.nav-btn {
    margin-left: 1rem;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1A1F35 !important;
    border: 1px solid rgba(0, 149, 213, 0.3);
    border-top: none;
    flex-direction: column;
    z-index: 999;
    padding: 1rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.mobile-nav-menu.active {
    display: flex !important;
}

.mobile-nav-menu a {
    color: #B8C5D1 !important;
    text-decoration: none !important;
    padding: 1rem 2rem !important;
    font-weight: 500 !important;
    border-bottom: 1px solid rgba(0, 149, 213, 0.1) !important;
    transition: all 0.3s ease !important;
    display: block !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

.mobile-nav-menu a:hover {
    background: rgba(0, 149, 213, 0.1) !important;
    color: #0095D5 !important;
}

.mobile-nav-menu a:last-child {
    border-bottom: none;
}

.mobile-nav-menu .btn-primary {
    background: linear-gradient(135deg, #0095D5, #00B4DB) !important;
    color: white !important;
    margin: 1rem 2rem 0 2rem !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 12px !important;
    text-align: center !important;
    border-bottom: none !important;
    display: block !important;
    width: calc(100% - 4rem) !important;
    box-sizing: border-box !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
    pointer-events: none;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-subtitle {
    color: var(--secondary-text);
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 650px;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-intense);
    filter: drop-shadow(0 0 40px rgba(0, 149, 213, 0.3));
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: left;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--primary-text);
}

.section-text {
    max-width: none;
    margin: 0 0 2rem 0;
    text-align: left;
    color: var(--secondary-text);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Glassmorphism Cards */
.use-case-card, .feature-card, .application-category, .protocol-card, .mission-card, .founder-card, .team-category, .solution-item, .evidence-stat, .timeline-phase, .pillar-card, .overview-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.use-case-card:hover, .feature-card:hover, .application-category:hover, .protocol-card:hover, .mission-card:hover, .founder-card:hover, .team-category:hover, .solution-item:hover, .evidence-stat:hover, .timeline-phase:hover, .pillar-card:hover, .overview-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-intense);
    border-color: var(--accent-color);
}

.use-case-card::before, .feature-card::before, .application-category::before, .protocol-card::before, .mission-card::before, .founder-card::before, .team-category::before, .solution-item::before, .evidence-stat::before, .timeline-phase::before, .pillar-card::before, .overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.use-case-card:hover::before, .feature-card:hover::before, .application-category:hover::before, .protocol-card:hover::before, .mission-card:hover::before, .founder-card:hover::before, .team-category:hover::before, .solution-item:hover::before, .evidence-stat:hover::before, .timeline-phase:hover::before, .pillar-card:hover::before, .overview-card:hover::before {
    opacity: 1;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2.5rem;
    text-align: left;
}

.use-case-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-light);
}

.use-case-icon-img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

/* Homepage Founder Section */
.founder-image-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.founder-img-small {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

/* Section Improvements */
.tech-intro-section {
    background: linear-gradient(135deg, rgba(0, 149, 213, 0.05) 0%, rgba(0, 180, 219, 0.02) 100%);
    position: relative;
}

.tech-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%230095D5" opacity="0.1"><animate attributeName="r" values="1;3;1" dur="4s" repeatCount="indefinite"/></circle></svg>') repeat;
    background-size: 100px 100px;
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

/* Technology Page Styles */
.technology-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pillar-card {
    background: white;
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.pillar-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: rgba(0, 149, 213, 0.3);
}

.pillar-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.pillar-card h3 {
    color: var(--primary-text);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tech-benefits {
    margin-top: 2rem;
}

.benefit-item {
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(0, 149, 213, 0.05);
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    text-align: left;
}

.feature-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: rgba(0, 149, 213, 0.3);
}

.feature-content h3 {
    color: var(--primary-text);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-content p {
    color: var(--secondary-text);
    margin: 0;
    line-height: 1.6;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.feature-icon-img {
    width: 32px;
    height: 32px;
    margin: 0 auto;
}

/* Device Showcase */
.device-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.device-text h3 {
    color: var(--primary-text);
    margin-bottom: 1.5rem;
}

.system-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.device-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-intense);
    filter: drop-shadow(0 10px 20px rgba(0, 149, 213, 0.2));
    transition: all 0.3s ease;
}

.device-img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-intense);
    filter: drop-shadow(0 15px 30px rgba(0, 149, 213, 0.3));
}

/* Science Section */
.science-section {
    background: rgba(0, 149, 213, 0.02);
}

/* Clinical Applications Page Styles */
.applications-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.overview-card {
    background: white;
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.overview-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: rgba(0, 149, 213, 0.3);
}

.overview-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.overview-card h3 {
    color: var(--primary-text);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

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

.clinical-header {
    text-align: center;
    margin-bottom: 3rem;
}

.clinical-benefits {
    margin-top: 3rem;
}

.clinical-benefits h3 {
    color: var(--primary-text);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.benefit-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 149, 213, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 149, 213, 0.1);
}

.benefit-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.benefit-label {
    color: var(--secondary-text);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Clinical Applications Grid */
.clinical-applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.application-category {
    background: white;
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.application-category:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: rgba(0, 149, 213, 0.3);
}

.application-category h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.application-list {
    list-style: none;
    padding: 0;
}

.application-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--secondary-text);
    transition: all 0.3s ease;
}

.application-list li:last-child {
    border-bottom: none;
}

.application-list li:hover {
    color: #1A1F35;
    padding-left: 0.5rem;
}

/* Protocol Grid */
.protocol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.protocol-card {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.protocol-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: rgba(0, 149, 213, 0.3);
}

.protocol-header {
    background: var(--accent-gradient);
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.protocol-header h3 {
    color: var(--accent-color);
    margin: 0;
    font-size: 1.25rem;
}

.protocol-content {
    padding: 2rem;
}

.protocol-content ul {
    list-style: none;
    padding: 0;
}

.protocol-content li {
    padding: 0.5rem 0;
    color: var(--secondary-text);
    border-bottom: 1px solid var(--glass-border);
}

.protocol-content li:last-child {
    border-bottom: none;
}

/* Science Page Components */
.science-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.science-text {
    flex: 1;
}

.science-steps {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.science-steps li {
    counter-increment: step-counter;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    padding-left: 3rem;
}

.science-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 1rem;
    background: var(--accent-color);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.science-steps li:last-child {
    border-bottom: none;
}

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

.timeline-phase {
    background: white;
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.timeline-phase:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: rgba(0, 149, 213, 0.3);
}

.phase-time {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.phase-title {
    color: var(--primary-text);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

.solution-item {
    background: white;
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.solution-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: rgba(0, 149, 213, 0.3);
}

.solution-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

.evidence-stat {
    text-align: center;
    background: white;
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.evidence-stat:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: rgba(0, 149, 213, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--secondary-text);
    font-weight: 500;
    font-size: 1rem;
}

/* About Page Styles */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mission-card {
    background: white;
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.mission-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: rgba(0, 149, 213, 0.3);
}

.mission-card h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.founder-card {
    background: white;
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.founder-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: rgba(0, 149, 213, 0.3);
}

.founder-image {
    margin-bottom: 1.5rem;
}

.founder-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.founder-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-style: italic;
}

.founder-bio {
    color: var(--secondary-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.founder-credentials {
    background: rgba(0, 149, 213, 0.05);
    padding: 1rem;
    border-radius: 8px;
    text-align: left;
}

.founder-credentials p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--secondary-text);
}

.founder-credentials p:last-child {
    margin-bottom: 0;
}

.company-timeline {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 3rem;
    margin-top: 3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.timeline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-color);
    min-width: 80px;
}

.timeline-content h4 {
    color: var(--primary-text);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.timeline-content p {
    color: var(--secondary-text);
    margin: 0;
}

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

.team-stat {
    text-align: center;
    background: rgba(0, 149, 213, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 149, 213, 0.1);
}

.team-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.team-stat-label {
    color: var(--secondary-text);
    font-weight: 500;
}

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

.team-category {
    background: white;
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.team-category:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: rgba(0, 149, 213, 0.3);
}

.team-category h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: var(--secondary-text);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
}

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

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

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

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Call to Action Section */
.cta-section {
    background: var(--accent-color);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}



.cta-section .section-title {
    color: white;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .section-text {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-section .btn-primary:hover {
    background: white;
    color: var(--accent-color);
    border-color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--glass-bg);
    color: var(--accent-color);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: var(--secondary-text);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
}

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

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: none !important;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

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

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-nav-menu.active {
        display: flex !important;
    }
    
    /* Force mobile menu text visibility */
    .mobile-nav-menu.active a {
        color: #ffffff !important;
        background: transparent !important;
        text-decoration: none !important;
        font-size: 1.1rem !important;
        font-weight: 500 !important;
        padding: 1rem 2rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        display: block !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Ensure mobile menu background is dark */
    .mobile-nav-menu.active {
        background: #1A1F35 !important;
        display: flex !important;
    }
    
    /* Final mobile menu background */
    .mobile-nav-menu {
        background: #1A1F35 !important; /* Dark blue-gray */
    }
    
    .mobile-nav-menu.active {
        background: #1A1F35 !important; /* Dark blue-gray */
        display: flex !important;
    }
    
    .mobile-nav-menu.active a:hover {
        background: rgba(0, 149, 213, 0.2) !important;
        color: #00B4DB !important;
    }
    
    /* Specific styling for the demo button in mobile menu */
    .mobile-nav-menu.active a.btn-primary {
        background: linear-gradient(135deg, #0095D5, #00B4DB) !important;
        color: white !important;
        text-align: center !important;
        border-radius: 12px !important;
        margin: 1rem 2rem 0 2rem !important;
        padding: 0.75rem 1.5rem !important;
        border-bottom: none !important;
        width: calc(100% - 4rem) !important;
        box-sizing: border-box !important;
    }
    
    .mobile-nav-menu.active a.btn-primary:hover {
        background: linear-gradient(135deg, #00B4DB, #0095D5) !important;
        color: white !important;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .device-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .science-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .evidence-stat .stat-number {
        font-size: 2.5rem;
    }
    
    .technology-pillars {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        justify-content: center;
    }
    
    .applications-overview {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
    }
}

/* Demo Form Styles */
.demo-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-medium);
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-text);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 149, 213, 0.3);
    border-radius: 8px;
    color: var(--primary-text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 149, 213, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--secondary-text);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1A1F35;
    color: var(--primary-text);
    padding: 0.5rem;
    border: none;
}

.form-group select option:hover,
.form-group select option:focus {
    background: var(--accent-color);
    color: white;
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid rgba(0, 149, 213, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    margin: 0;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.form-group button[type="submit"] {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Responsive Form Styles */
@media (max-width: 768px) {
    .demo-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
}

/* Global Map Embed Styles */
.global-map-embed {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.map-embed-title {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #0095D5, #00B4DB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1.5rem;
}

.world-map-container {
    position: relative;
    width: 100%;
    background: rgba(0, 149, 213, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 149, 213, 0.2);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.world-map-svg {
    width: 100%;
    height: auto;
    display: block;
}

.map-pin-embed {
    position: absolute;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #FF6B6B, #FFE66D);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 3px 12px rgba(255, 107, 107, 0.5);
    cursor: pointer;
    transform: translate(-50%, -50%);
    animation: pulse-embed 2s infinite;
    z-index: 10;
}

.map-pin-embed::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #FF6B6B;
    border-radius: 1px;
}

.map-pin-embed:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.8);
}

@keyframes pulse-embed {
    0%, 100% {
        box-shadow: 0 3px 12px rgba(255, 107, 107, 0.5);
    }
    50% {
        box-shadow: 0 3px 20px rgba(255, 107, 107, 0.8), 0 0 0 8px rgba(255, 107, 107, 0.1);
    }
}

.pin-tooltip-embed {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 149, 213, 0.95);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 149, 213, 0.3);
    margin-bottom: 8px;
}

.pin-tooltip-embed::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(0, 149, 213, 0.95);
}

.map-pin-embed:hover .pin-tooltip-embed {
    opacity: 1;
    visibility: visible;
}

.location-count {
    text-align: center;
    background: rgba(0, 149, 213, 0.1);
    border: 1px solid rgba(0, 149, 213, 0.3);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.count-number {
    font-size: 2rem;
    font-weight: 700;
    color: #0095D5;
    line-height: 1;
}

.count-label {
    font-size: 0.9rem;
    color: #B8C5D1;
    font-weight: 500;
}

@media (max-width: 768px) {
    .global-map-embed {
        max-width: 100%;
    }
    
    .map-embed-title {
        font-size: 1.3rem;
    }
    
    .map-pin-embed {
        width: 14px;
        height: 14px;
    }
    
    .count-number {
        font-size: 1.5rem;
    }
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: linear-gradient(135deg, #1A1F35 0%, #0A0E1A 100%);
    margin: 5% auto;
    padding: 0;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-intense);
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.modal-header {
    padding: 30px 30px 20px 30px;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}

.modal-header h2 {
    color: var(--primary-text);
    margin: 0 0 5px 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.modal-header p {
    color: var(--secondary-text);
    margin: 0;
    font-size: 1rem;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: var(--secondary-text);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close:hover,
.close:focus {
    color: var(--primary-text);
    background: var(--glass-bg);
    transform: scale(1.1);
}

.cta-form {
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--primary-text);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input option {
    background: #1A1F35;
    color: var(--primary-text);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 149, 213, 0.2);
}

.form-input::placeholder {
    color: var(--secondary-text);
}

.form-submit {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Modal Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 85vh;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .cta-form {
        padding: 20px;
    }
} 