/* Font Face Declarations */
/* Using Google Fonts: Space Grotesk for titles, Raleway for body text */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #000000;
    /* Remove overflow-x: hidden to allow sticky positioning */
}

h1, h2 {
    font-family: 'Space Grotesk', sans-serif;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    margin: 0 2%;
}

.nav-logo {
    z-index: 1001;
    display: flex;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
}

.nav-logo .logo {
    height: 32px;
    width: auto;
    display: block;
}

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

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link {
    color: #f8f8f8;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.social-link svg {
    transition: all 0.3s ease;
}

.nav-link {
    color: #f8f8f8;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 0.5rem 0.5rem;
    border-radius: 8px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #f8f8f8;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.39);
    border-bottom: none;
    backdrop-filter: blur(6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #3a3a3a 100%);
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(42, 42, 42, 0.6));
    z-index: -1;
}

.hero-content {
    text-align: left;
    color: #f8f8f8;
    padding: 0 2rem;
    z-index: 1;
    position: absolute;
    bottom: 4rem;
    left: 3%;
    max-width: 50%;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 2.25rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.5;
    font-weight: 400;
}

.cta-button {
    background: linear-gradient(50deg, #eeb0e5 0%, #5685ff 100%);
    color: #0e0e0e;
    /* border: 2px solid #4a4a4a; */
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.5px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    /* background: linear-gradient(135deg, #fffbfb, #465688); */
    background: linear-gradient(150deg, #f3c9ed 0%, #63afee 100%);
    border-color: #6a6a6a;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid #f8f8f8;
    border-bottom: 2px solid #f8f8f8;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Blinking cursor animation */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

#cursor {
  display: inline-block;
  margin-left: 2px;
  color: #fff;
  font-weight: bold;
  animation: blink 1s steps(1) infinite;
}

#changing-word {
  color: #fff;
  font-weight: inherit;
}

/* Sections */
.section {
    padding: 120px 0;
    position: relative;
    /* Remove overflow: hidden to allow sticky positioning */
}

.section-light {
    background: #ffffff;
    color: #1a1a1a;
}

.section-dark {
    background: #0a0a0a;
    color: #ffffff;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-small {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
    max-width: 800px;
}

.section-dark .section-small {
    color: #999;
}

.section-large {
    font-size: 72px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 40px;
    max-width: 1000px;
    color: #2c2c2c; /* Fallback color for browsers that don't support gradient text */
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#about .section-large {
    letter-spacing: -0.1rem;
}

.section-medium {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
}

.section-medium p {
    margin-bottom: 20px;
}

.section-dark .section-medium {
    color: #e0e0e0;
}

/* Image Scroll Section */
.image-scroll-section {
    background: #000;
    position: relative;
    padding: 0;
}

.image-scroll-wrapper {
    /* This creates the scroll space for sticky behavior */
    height: 400vh;
    position: relative;
}

.image-scroll-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    /* Ensure it sticks properly */
    will-change: transform;
}

.scroll-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.scroll-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    z-index: 2;
}

.scroll-overlay-content.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Overlay content styling */
.scroll-overlay-content .section-content {
    text-align: center;
    color: #ffffff;
    background: rgba(46, 44, 44, 0.52);
    padding: 3rem 4rem;
    border-radius: 22px;
    border: 2px solid rgba(30, 30, 30, 0.18);
    box-shadow: inset 1px 1px 2px rgba(83, 83, 83, 0.91);
    backdrop-filter: blur(6px);
    max-width: 850px;
}

/* Wide screen positioning */
@media (min-width: 769px) {
    /* First overlay - positioned on the left */
    #overlay-content-1 {
        justify-content: flex-start;
    }
    
    #overlay-content-1 .container {
        margin: 0;
        padding-left: 5%;
        padding-right: 0;
    }
    
    #overlay-content-1 .section-content {
        text-align: left;
        max-width: 700px;
        padding: 3rem 2rem 3rem 3rem;
    }
    
    /* Second overlay - positioned on the right */
    #overlay-content-2 {
        justify-content: flex-end;
        transform: translateY(30px);
    }
    
    #overlay-content-2.active {
        transform: translateX(0);
    }
    
    #overlay-content-2 .container {
        margin: 0;
        padding-right: 5%;
        padding-left: 0;
    }
    
    #overlay-content-2 .section-content {
        text-align: right;
        max-width: 700px;
        padding: 3rem 4rem 3rem 1.5rem;
    }
}

/* First overlay - white and light blue theme */
#overlay-content-1 .section-small {
    color: #62cbff;
    margin-bottom: 2rem;
    font-weight: 700;
}

#overlay-content-1 .section-large {
    color: #ffffff;
    margin-bottom: 2rem;
}

.image-scroll-container .section-large{
    color: #ffffff; /* Fallback color for browsers that don't support gradient text */
    background:  #ffffff;;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

.image-scroll-container .section-medium{
    color: #eaeaea;

}


/* Second overlay - light blue and white theme with different panning */
#overlay-content-2 {
    transform: translateX(30px);
}

#overlay-content-2.active {
    transform: translateX(0);
}

#overlay-content-2 .section-small {
    color: #62cbff;
    margin-bottom: 2rem;
    font-weight: 700;

}



#overlay-content-2 .section-medium {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

  .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
  }

/* MyoSapiens Section */
.myosapiens-section {
    background: #000;
    color: #f8f8f8;
    padding: 6rem 0;
}

.myosapiens-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.myosapiens-video {
    position: relative;
    width: 70%;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.myo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.myosapiens-text {
    padding: 0 2rem;
    text-align: right;
}

@media (max-width: 768px) {
    .myosapiens-text {
        text-align: center;
    }
}

.myosapiens-text .section-medium {
    color: #cccccc;
    font-size: 18px;
    margin-bottom: 2rem;
    font-style: italic;
}

.myosapiens-text .section-large {
    color: #ffffff;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    /* background: linear-gradient(135deg, #ffffff, #87ceeb); */
    background: linear-gradient(135deg, #dfbfdb 0%, #517eea 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
   
}

.myosapiens-text .section-small {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    max-width: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #4a4a4a;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Contact Section */
.contact-section {
    background: #ffffff;
    color: #1a1a1a;
}

.contact-section .section-title {
    color: #1a1a1a;
}

.contact-section .section-subtitle {
    color: #4a4a4a;
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    text-align: center;
}

.contact-section-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-section-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.contact-section-item p {
    font-family: 'Raleway', sans-serif;
    color: #4a4a4a;
    font-weight: 400;
    margin: 0;
}

.contact-social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.contact-social-icons a {
    color: #4a4a4a;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-social-icons a:hover {
    background: rgba(26, 26, 26, 0.1);
    color: #1a1a1a;
    transform: translateY(-1px);
}

.contact-cta {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.contact-description {
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
    max-width: 500px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #f8f8f8;
    border: 1px solid #d0d0d0;
    color: #1a1a1a;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8a8a8a;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a4a4a;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(74, 74, 74, 0.1);
}

.submit-button {
    background: #1a1a1a;
    color: #ffffff;
    border: 2px solid #1a1a1a;
    padding: 1rem 2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-button:hover {
    background: transparent;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.2);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #f8f8f8;
    padding: 2rem 0;
    border-top: 1px solid #2a2a2a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo .logo {
    height: 32px;
    width: auto;
}

.footer p {
    font-family: 'Raleway', sans-serif;
    color: #8a8a8a;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #1a1a1a;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: all 0.3s ease;
        padding: 2rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .social-links {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
        gap: 1.5rem;
        justify-content: center;
        margin-top: 1rem;
    }

    .social-link {
        padding: 0.75rem;
    }

    .hero-content {
        padding: 0 1rem;
    }
    
    .section {
        padding: 80px 0;
    }

    .section.image-scroll-section {
        padding: 0;
    }
    
    /* Position overlay content in bottom half on small screens */
    .scroll-overlay-content {
        align-items: flex-end;
        padding-bottom: 0;
    }
    
    .scroll-overlay-content .section-content {
        margin-bottom: 2rem;
        min-height: 20vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }
    
    /* Smaller text sizes for mobile overlay content */
    .scroll-overlay-content .section-small {
        font-size: 14px;
        margin-bottom: 1rem;
    }
    
    .scroll-overlay-content .section-large {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .scroll-overlay-content .section-medium {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .scroll-overlay-content .section-medium p {
        margin-bottom: 0.75rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .contact-info {
        gap: 2rem;
    }
    
    .section-large {
        font-size: 56px;
    }
    
    .section-medium {
        font-size: 16px;
    }
    
    .myosapiens-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .myosapiens-video {
        order: -1;
    }
}



@media (max-width: 480px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .section-large {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    
    .myosapiens-content {
        gap: 1.5rem;
    }
    
    .myosapiens-text .section-large {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
}

@media (max-width: 420px) {
    .section {
        padding: 50px 0;
    }
    
    .section-medium {
        font-size: 14px;
    }
    
    .section-small {
        font-size: 13px;
    }
}

@media (max-width: 320px) {
    .section-large {
        font-size: clamp(1.4rem, 9vw, 2rem);
    }
    
    .section-medium {
        font-size: 13px;
    }
    
    .section-small {
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .myosapiens-text .section-large {
        font-size: clamp(1.4rem, 8vw, 2rem);
    }
    
    .demo-text .section-large {
        font-size: clamp(1.4rem, 8vw, 2rem);
    }
}

/* Demo Section */
.demo-section {
    background: #1a1a1a;
    color: #f8f8f8;
    padding: 6rem 0;
}

.demo-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.demo-video {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    padding: 1rem;

}

.demo-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.5);
}

.demo-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: right;
}

.demo-text .section-large {
    background: linear-gradient(135deg, #eeb0e5 0%, #5685ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
}

.demo-text .section-medium {
    color: #b0b0b0;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
}

.demo-text .cta-button {
    align-self: flex-end;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .demo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .demo-video {
        order: -1;
    }
    
    .demo-text {
        text-align: center;
    }
    
    .demo-text .cta-button {
        align-self: center;
    }
    
    .demo-video-element {
        width: 80%;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .demo-content {
        gap: 1.5rem;
    }
    
    .demo-text .section-large {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text h4 {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: #0099cc;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #fff;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-accept {
    background: #0099cc;
    color: #000;
}

.cookie-accept:hover {
    background: #fff;
    transform: translateY(-2px);
}

.cookie-decline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cookie-text h4 {
        font-size: 16px;
    }

    .cookie-text p {
        font-size: 13px;
    }

    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cookie-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Team Section Styles */
.team-section {
    background: url('/purple_lines.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.team-section .section-title {
    color: #fff;
}

.team-section .section-header {
    background: rgba(5,5,5, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 0 -20px;
    padding: 40px 20px;
    margin-bottom: 80px;
}

.team-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
}

.team-content {
    margin-top: 80px;
}

/* Loading State Styles */
.team-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #fff;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #0099cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.team-loading p {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.team-founders {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    justify-items: center;
}

.team-members .team-member-card {
    max-width: 200px;
    justify-self: center;
}

.team-member-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    aspect-ratio: 1;
}

.team-member-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 153, 204, 0.3);
    box-shadow: 0 20px 40px rgba(0, 153, 204, 0.1);
}

.team-member-card.founder {
    background: rgba(0, 153, 204, 0.05);
    border-color: rgba(0, 153, 204, 0.2);
}

.team-member-card.founder:hover {
    border-color: rgba(0, 153, 204, 0.4);
}

.team-member-avatar {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.team-member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 16px;
    background: rgba(46, 45, 45, 0.56);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.team-member-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px 0;
}

.team-member-card.founder .team-member-name {
    font-size: 22px;
}

.team-member-title {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

.team-member-card.founder .team-member-title {
    font-size: 15px;
}

/* Team Modal Styles */
.team-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
}

.team-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-modal-content {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
}


.team-modal-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.team-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 30px 20px 30px;
    background: rgba(123, 123, 123, 0.21);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.team-modal-header-info {
    flex: 1;
}

.team-modal-header-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.team-modal-header-info .modal-title {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: rgba(0, 153, 204, 0.9);
    margin: 0;
    font-weight: 500;
}

.team-modal-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: 20px;
}

.team-modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-modal-content-box {
    flex: 1;
    padding: 0 30px 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-modal-avatar {
    display: none;
}

.team-modal-info {
    width: 100%;
}

.modal-attrs {

    padding: 20px;
}

.modal-attrs p {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.modal-attrs p:last-child {
    margin-bottom: 0;
}

/* Mobile responsive for team section */
@media (max-width: 768px) {
    .team-section {
        padding: 80px 0;
    }

    .team-founders {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-bottom: 60px;
        max-width: 70%;
    }

    .team-members {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .team-member-info {
        padding: 15px;
    }

    .team-member-card.founder .team-member-info {
        padding: 20px;
    }

    .team-member-name {
        font-size: 16px;
    }

    .team-member-card.founder .team-member-name {
        font-size: 18px;
    }

    .team-member-title {
        font-size: 12px;
    }

    .team-member-card.founder .team-member-title {
        font-size: 13px;
    }

    .team-modal-content {
        max-height: 90vh;
    }

    .team-modal-info {
        padding: 20px;
    }

    .team-modal-info h3 {
        font-size: 20px;
    }
}

/* Footer Styles */
.footer {
    background: #f8f9fa;
    color: #333;
    padding: 60px 0 40px 0;
    border-top: 1px solid #e9ecef;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    filter: invert(1);
}

.footer-contact {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

.contact-section-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.contact-section-item p {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}

.contact-social-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.contact-social-icons a {
    color: #666;
    transition: color 0.3s ease;
}

.contact-social-icons a:hover {
    color: #0099cc;
}

.footer-copyright {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* Desktop layout for big screens */
@media (min-width: 769px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
        gap: 0;
    }

    .footer-left {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .footer-logo {
        margin-bottom: 0;
    }

    .footer-contact {
        margin-bottom: 0;
        flex-direction: column;
        gap: 20px;
        align-items: flex-end;
    }

    .contact-section-item {
        text-align: right;
    }

    .contact-social-icons {
        justify-content: flex-end;
    }
}

/* Mobile responsive for footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 30px 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-logo {
        margin-bottom: 0;
    }

    .footer-copyright {
        order: 3;
    }

    .footer-contact {
        flex-direction: column;
        gap: 20px;
        order: -1;
    }

    .contact-section-item {
        text-align: center;
    }
}

.team-member-card.founder .team-member-title {
    font-size: 15px;
}

/* Investors Section Styles */
.investors-section {
    margin-top: 80px;
    text-align: center;
}

.investors-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.investors-content .section-medium {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}



/* Research Modal Styles */
.research-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.research-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.research-modal-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    position: relative;
}

.research-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.research-modal-header h3 {
    color: white;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.research-modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
}

.research-modal-actions .cta-button {
    font-size: 14px;
    padding: 8px 16px;
    margin: 0;
}

.research-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.research-modal-close:hover {
    color: white;
}

.research-modal-body {
    padding: 0;
}

.research-modal-video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    border-radius: 0 0 16px 16px;
    display: block;
}

/* Make demo video clickable */
.demo-video {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.demo-video:hover {
    transform: scale(1.02);
}