/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1C1C1C;
    background-color: #000000;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 60px;
    width: auto;
    filter: brightness(1.2);
}

.brand-text {
    font-weight: 600;
    font-size: 1.2rem;
    color: #FFFFFF;
    letter-spacing: -0.025em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #C8102E;
    background: rgba(200, 16, 46, 0.1);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('logo/images/people-02.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(26,26,26,0.75) 50%, rgba(0,0,0,0.85) 100%);
    z-index: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(200, 16, 46, 0.05) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(200, 16, 46, 0.02) 100%);
    display: none;
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(200, 16, 46, 0.15), rgba(200, 16, 46, 0.05));
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: -2s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: -8s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 60%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(30px) rotate(240deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
    padding-top: 100px;
}

.hero-text {
    color: #FFFFFF;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.title-accent {
    background: linear-gradient(135deg, #C8102E, #ff4d6d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #C8102E, #a00d26);
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(200, 16, 46, 0.4);
    background: linear-gradient(135deg, #d41230, #C8102E);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.platform-preview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    perspective: 1000px;
}

.preview-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    color: #FFFFFF;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.preview-card:hover {
    transform: rotateY(5deg) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(200, 16, 46, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.card-content {
    display: flex;
    gap: 2rem;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #C8102E;
}

.metric-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.trend-indicator {
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.trend-indicator.positive {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #C8102E, #ff4d6d);
    border-radius: 4px;
    animation: progressLoad 2s ease-out;
}

@keyframes progressLoad {
    from { width: 0%; }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Platform Section */
.platform {
    padding: 6rem 0;
    position: relative;
    background-image: url('logo/images/people-01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.platform::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(17,17,17,0.65) 100%);
    z-index: 0;
}

.platform .container {
    position: relative;
    z-index: 1;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.platform-feature {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.platform-feature:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 16, 46, 0.3);
    box-shadow: 0 20px 40px rgba(200, 16, 46, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.1), rgba(200, 16, 46, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.platform-feature:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.2), rgba(200, 16, 46, 0.1));
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.feature-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Solutions Section */
.solutions {
    padding: 6rem 0;
    background: linear-gradient(180deg, #111111 0%, #1a1a1a 100%);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.solution-card {
    display: flex;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 16, 46, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.solution-visual {
    flex-shrink: 0;
}

.visual-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.1), rgba(200, 16, 46, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.solution-card:hover .visual-icon {
    transform: scale(1.05) rotateY(10deg);
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.2), rgba(200, 16, 46, 0.1));
}

.solution-content {
    flex: 1;
}

.solution-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.solution-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.solution-features {
    list-style: none;
}

.solution-features li {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.solution-features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #C8102E;
    font-weight: bold;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.process-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.process-step:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C8102E, #ff4d6d);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.process-step:hover:before {
    transform: scaleX(1);
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 16, 46, 0.3);
    box-shadow: 0 20px 40px rgba(200, 16, 46, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #C8102E, #a00d26);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.3);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.step-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.step-with-image {
    position: relative;
}

.step-image {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
}

.process-cta {
    text-align: center;
}

/* Expertise Section */
.expertise {
    padding: 6rem 0;
    position: relative;
    background-image: url('logo/images/people-03.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(17,17,17,0.65) 100%);
    z-index: 0;
}

.expertise .container {
    position: relative;
    z-index: 1;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.expertise-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(200, 16, 46, 0.3);
    box-shadow: 0 25px 50px rgba(200, 16, 46, 0.2);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.1), rgba(200, 16, 46, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.2), rgba(200, 16, 46, 0.1));
}

.expertise-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.expertise-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    line-height: 1.2;
}

.contact-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.feature-check {
    flex-shrink: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    color: #FFFFFF;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #C8102E;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-submit {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.contact-direct {
    margin-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.contact-email {
    color: #C8102E;
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.contact-email:hover {
    color: #ff4d6d;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    /* height: 30px; */
    width: 400px;
    filter: brightness(1.2);
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-title {
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #C8102E;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* AOS Animation Styles */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        display: block;
        margin: 0.5rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-title {
        font-size: 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    /* Fix background images on mobile */
    .hero,
    .platform,
    .expertise {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    .hero {
        background-image: url('logo/images/people-02.jpg') !important;
    }

    .platform {
        background-image: url('logo/images/people-01.jpg') !important;
    }

    .expertise {
        background-image: url('logo/images/people-03.jpg') !important;
    }
}

/* Additional mobile fixes for smaller screens */
@media (max-width: 480px) and (orientation: portrait) {
    .hero,
    .platform,
    .expertise {
        background-attachment: scroll !important;
        -webkit-background-attachment: scroll !important;
    }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    .hero,
    .platform,
    .expertise {
        background-attachment: scroll !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .platform-feature,
    .expertise-card {
        padding: 1.5rem;
    }
    
    .solution-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Demo Section */
.demo {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
}

.demo-content {
    margin-top: 3rem;
}

.demo-image-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(200, 16, 46, 0.2);
    background: rgba(255, 255, 255, 0.02);
}

.demo-image {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .demo {
        padding: 60px 0;
    }
    
    .demo-image-wrapper {
        border-radius: 10px;
    }
}

/* Agentic Orchestration Section */
.agentic-orchestration {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    position: relative;
}

.orchestration-content {
    margin-top: 3rem;
}

.orchestration-image-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(200, 16, 46, 0.2);
    background: rgba(255, 255, 255, 0.02);
}

.orchestration-image {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .agentic-orchestration {
        padding: 60px 0;
    }
    
    .orchestration-image-wrapper {
        border-radius: 10px;
    }
}

/* Extensions and Connectors Section */
.extensions-connectors {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
}

.extensions-content {
    margin-top: 3rem;
}

.extensions-image-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(200, 16, 46, 0.2);
    background: rgba(255, 255, 255, 0.02);
}

.extensions-image {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .extensions-connectors {
        padding: 60px 0;
    }
    
    .extensions-image-wrapper {
        border-radius: 10px;
    }
}

/* Knowledge, RAG and MCP Servers Section */
.knowledge-rag-mcp {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    position: relative;
}

.knowledge-content {
    margin-top: 3rem;
}

.knowledge-image-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(200, 16, 46, 0.2);
    background: rgba(255, 255, 255, 0.02);
}

.knowledge-image {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .knowledge-rag-mcp {
        padding: 60px 0;
    }
    
    .knowledge-image-wrapper {
        border-radius: 10px;
    }
}

/* Team Section */
.team,
.advisors {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.advisors {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(200, 16, 46, 0.2);
}

.member-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(200, 16, 46, 0.3);
    flex-shrink: 0;
    position: relative;
    transition: all 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Staggered animation delays for team members */
.team-member:nth-child(1) .member-image { animation-delay: 0s; }
.team-member:nth-child(2) .member-image { animation-delay: 0.5s; }
.team-member:nth-child(3) .member-image { animation-delay: 1s; }
.team-member:nth-child(4) .member-image { animation-delay: 1.5s; }
.team-member:nth-child(5) .member-image { animation-delay: 2s; }

.member-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(200, 16, 46, 0.3), transparent);
    transform: rotate(0deg);
    transition: all 0.5s;
    opacity: 0;
}

.team-member:hover .member-image::before {
    animation: shine 0.5s ease-in-out;
    opacity: 1;
}

@keyframes shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.member-image img {
    width: auto;
    height: auto;
    max-width: 120%;
    max-height: 120%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    background: rgba(255, 255, 255, 0.05);
    transform: scale(0.85);
    transition: all 0.5s ease;
    filter: grayscale(20%);
}

.team-member:hover .member-image {
    border-color: rgba(200, 16, 46, 0.6);
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(200, 16, 46, 0.3);
}

.team-member:hover .member-image img {
    transform: scale(1);
    filter: grayscale(0%) brightness(1.1);
}

/* Pulse animation for the border */
.member-image::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 3px solid rgba(200, 16, 46, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.member-info {
    width: 100%;
}

.member-name {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.member-title {
    color: #C8102E;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.member-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Responsive adjustments for team section */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .team-member {
        padding: 1.5rem;
    }
    
    .member-image {
        width: 150px;
        height: 150px;
    }
}