/* ==================================
   WeDaita AIDD Homepage Styles
   ================================== */

/* Base Styles */
.aidd-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.aidd-section {
    padding: 5rem 0;
}

.aidd-section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1E2A4A;
}

.aidd-section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #5A6C7D;
    margin-bottom: 4rem;
}

/* Buttons */
.aidd-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-transform: none;
    letter-spacing: 0.3px;
}

.aidd-btn:hover {
    text-decoration: none !important;
}

.aidd-btn:focus {
    text-decoration: none !important;
}

.aidd-btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    text-decoration: none !important;
}

.aidd-btn-outline:hover {
    background: #FFFFFF;
    color: #2E4A6B;
    border-color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
    text-decoration: none !important;
}

.aidd-btn-primary {
    background: linear-gradient(135deg, #3DD9A0 0%, #2EC88E 100%);
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(61, 217, 160, 0.4);
    text-decoration: none !important;
}

.aidd-btn-primary:hover {
    background: linear-gradient(135deg, #2EC88E 0%, #20C997 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(61, 217, 160, 0.6);
    color: #FFFFFF;
    text-decoration: none !important;
}

.aidd-btn-hero {
    padding: 1.1rem 2.8rem;
    font-size: 1.15rem;
    border-radius: 50px;
    min-width: 200px;
}

/* Hero Section */
.aidd-hero {
    background: url(../img/showcase2.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    min-height: 650px;
    color: #FFFFFF;
    padding-top: 7rem; /* 72px navbar + content spacing */
    margin-top: 0; /* No gap with navbar */
}

.aidd-home-search {
    min-height: 400px;
    position: relative;
}

.aidd-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    min-height: 400px;
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.aidd-overlay header {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.aidd-hero .display-4 {
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.25;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.9), 0px 0px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.aidd-hero .lead {
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.7;
    text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8), 0px 0px 3px rgba(0, 0, 0, 0.7);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.aidd-hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* Hero Section Button Overrides - Make them pop! */
.aidd-hero .btn-biomedai,
.aidd-hero .btn-biomedai.btn-lg {
    background: linear-gradient(135deg, #00D4FF 0%, #0099FF 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.6), 0 0 25px rgba(0, 153, 255, 0.4) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 1) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.aidd-hero .btn-biomedai:hover,
.aidd-hero .btn-biomedai.btn-lg:hover {
    background: linear-gradient(135deg, #00F5FF 0%, #00BFFF 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.7), 0 0 35px rgba(0, 245, 255, 0.6) !important;
    transform: translateY(-5px) scale(1.05) !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 1) !important;
    text-decoration: none !important;
}

.aidd-hero .btn-outline-biomedai,
.aidd-hero .btn-outline-biomedai.btn-lg {
    border: 3px solid rgba(255, 255, 255, 0.95) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
    backdrop-filter: blur(15px) !important;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.1) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.aidd-hero .btn-outline-biomedai:hover,
.aidd-hero .btn-outline-biomedai.btn-lg:hover {
    background: rgba(255, 255, 255, 1) !important;
    color: #0099FF !important;
    border-color: #FFFFFF !important;
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-5px) scale(1.05) !important;
    text-shadow: none !important;
    text-decoration: none !important;
}

/* Demo Video Section - Split Screen Design */
.aidd-demo-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3e8ef 100%);
    padding: 5rem 2rem;
}

.demo-split-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Side: Content */
.demo-content-side h2.demo-title {
    font-size: 2.8rem;
    color: #1E2A4A;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.demo-content-side .highlight {
    color: #3DD9A0;
}

.demo-content-side .demo-description {
    font-size: 1.2rem;
    color: #5A6C7D;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.demo-benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.demo-benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #1E2A4A;
}

.demo-benefits-list .benefit-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3DD9A0, #2EC88E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.demo-benefits-list .benefit-icon i {
    font-size: 1rem;
}

/* Right Side: Video - OPTIMIZED SIZE */
.demo-video-side {
    position: relative;
    perspective: 1000px;
}

.demo-video-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 1.2rem;
    border-radius: 24px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    transform-style: preserve-3d;
    position: relative;
    cursor: pointer;
    transform: rotate(-2deg);
}

.demo-video-card:hover {
    transform: rotate(0deg) translateY(-5px) scale(1.02);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(61, 217, 160, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.demo-video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 350px;
    max-height: 450px;
    border-radius: 16px;
    display: block;
    object-fit: cover;
    background: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Big Animated Play Button Overlay */
.demo-video-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(61, 217, 160, 0.95), rgba(46, 200, 142, 0.95));
    border-radius: 50%;
    z-index: 10;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow:
        0 8px 32px rgba(61, 217, 160, 0.5),
        0 0 60px rgba(61, 217, 160, 0.3),
        inset 0 2px 8px rgba(255, 255, 255, 0.3);
    animation: pulse-play 2s ease-in-out infinite;
}

.demo-video-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 32px solid white;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    z-index: 11;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.demo-video-card:hover::before {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow:
        0 12px 40px rgba(61, 217, 160, 0.6),
        0 0 80px rgba(61, 217, 160, 0.5),
        inset 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Hide play button when video is playing */
.demo-video-card.playing::before,
.demo-video-card.playing::after {
    opacity: 0;
    pointer-events: none;
}

/* Video Modal Overlay - Expanded View */
.demo-video-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.demo-video-modal-overlay.active {
    display: flex;
}

.demo-video-modal-content {
    width: 90vw;
    max-width: 1400px;
    height: auto;
    position: relative;
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.demo-video-modal-content video {
    width: 100%;
    height: auto;
    min-height: 60vh;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
}

.demo-video-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: linear-gradient(135deg, rgba(61, 217, 160, 0.9), rgba(46, 200, 142, 0.9));
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(61, 217, 160, 0.4);
}

.demo-video-close-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(61, 217, 160, 0.6);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive modal */
@media (max-width: 768px) {
    .demo-video-modal-content {
        width: 95vw;
    }

    .demo-video-modal-content video {
        min-height: 40vh;
        max-height: 70vh;
    }

    .demo-video-close-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
        top: -45px;
    }
}

/* Pulse animation for play button */
@keyframes pulse-play {
    0%, 100% {
        box-shadow:
            0 8px 32px rgba(61, 217, 160, 0.5),
            0 0 60px rgba(61, 217, 160, 0.3),
            inset 0 2px 8px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow:
            0 8px 40px rgba(61, 217, 160, 0.7),
            0 0 80px rgba(61, 217, 160, 0.5),
            inset 0 2px 8px rgba(255, 255, 255, 0.3);
    }
}

/* Demo Section Mobile Responsive */
@media (max-width: 1024px) {
    .demo-split-container {
        gap: 3rem;
    }

    .demo-content-side h2.demo-title {
        font-size: 2.3rem;
    }

    .demo-video-player {
        min-height: 300px;
        max-height: 400px;
    }

    .demo-video-card {
        padding: 1rem;
    }

    /* Reduce tilt on tablets */
    .demo-video-card {
        transform: rotate(-1.5deg);
    }

    .demo-video-card:hover {
        transform: rotate(0deg) translateY(-5px) scale(1.02);
    }

    .demo-video-card::before {
        width: 90px;
        height: 90px;
    }

    .demo-video-card::after {
        border-left: 28px solid white;
        border-top: 18px solid transparent;
        border-bottom: 18px solid transparent;
    }
}

@media (max-width: 768px) {
    .aidd-demo-section {
        padding: 3rem 1rem;
    }

    .demo-split-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .demo-content-side h2.demo-title {
        font-size: 2rem;
    }

    .demo-content-side .demo-description {
        font-size: 1.05rem;
    }

    .demo-benefits-list li {
        font-size: 1rem;
    }

    .demo-video-player {
        min-height: 250px;
        max-height: 350px;
    }

    .demo-video-card {
        padding: 0.8rem;
    }

    /* Disable tilt on mobile, keep lift only */
    .demo-video-card {
        transform: rotate(0deg);
    }

    .demo-video-card:hover {
        transform: translateY(-5px) scale(1.02);
    }

    .demo-video-card::before {
        width: 80px;
        height: 80px;
    }

    .demo-video-card::after {
        border-left: 24px solid white;
        border-top: 16px solid transparent;
        border-bottom: 16px solid transparent;
    }
}

@media (max-width: 576px) {
    .demo-video-player {
        min-height: 200px;
        max-height: 300px;
    }

    .demo-video-card {
        padding: 0.6rem;
        border-radius: 16px;
    }

    .demo-video-player {
        border-radius: 12px;
    }

    .demo-video-card::before {
        width: 70px;
        height: 70px;
    }

    .demo-video-card::after {
        border-left: 20px solid white;
        border-top: 14px solid transparent;
        border-bottom: 14px solid transparent;
    }
}

/* Drug Discovery Pipeline */
.aidd-pipeline {
    background: #F8F9FA;
}

.aidd-stages-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.aidd-stage {
    text-align: center;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.aidd-stage:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.aidd-stage-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #FFFFFF;
}

.aidd-stage-1 .aidd-stage-icon {
    background: #5B8FDB;
}

.aidd-stage-2 .aidd-stage-icon {
    background: #3DD9A0;
}

.aidd-stage-3 .aidd-stage-icon {
    background: #E8C547;
}

.aidd-stage h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1E2A4A;
}

.aidd-stage p {
    color: #5A6C7D;
    line-height: 1.8;
}

/* Clickable Stage Styling */
.aidd-stage-clickable {
    cursor: pointer;
    position: relative;
}

.aidd-stage-clickable:hover {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    border: 2px solid #4A6FA5;
}

.stage-link-icon {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    color: #4A6FA5;
    opacity: 0;
    transition: opacity 0.3s;
}

.aidd-stage-clickable:hover .stage-link-icon {
    opacity: 1;
}

/* Stage Badge */
.aidd-stage-badge {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #3DD9A0 0%, #20C997 100%);
    color: #FFFFFF;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.aidd-stage-badge-future {
    background: linear-gradient(135deg, #E9ECEF 0%, #DEE2E6 100%);
    color: #6C757D;
}

.badge-count {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-right: 0.3rem;
}

.aidd-pipeline-visual {
    text-align: center;
    font-size: 3rem;
    color: #4A6FA5;
    margin: 2rem 0;
}

/* Available Now - Products */
.aidd-available {
    background: #FFFFFF;
}

.aidd-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.aidd-product-card {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    border: 2px solid #E9ECEF;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
    display: block;
}

/* Make clickable card link behave like a card - remove all link styling */
.aidd-product-card-link {
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
}

.aidd-product-card-link:hover,
.aidd-product-card-link:focus,
.aidd-product-card-link:active,
.aidd-product-card-link:visited {
    text-decoration: none !important;
    color: inherit;
}

/* Ensure no underlines on any child elements */
.aidd-product-card-link * {
    text-decoration: none !important;
}

.aidd-product-card:hover {
    border-color: #4A6FA5;
    box-shadow: 0 8px 25px rgba(74, 111, 165, 0.15);
    transform: translateY(-5px);
}

.aidd-product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A6FA5 0%, #6B8FC7 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #FFFFFF;
}

.aidd-product-stage-tag {
    background: linear-gradient(135deg, #5B8FDB 0%, #4A7BC5 100%);
    color: #FFFFFF;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.aidd-product-stage-tag i {
    margin-right: 0.3rem;
}

.aidd-product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1E2A4A;
}

.aidd-product-card p,
.aidd-product-description {
    color: #5A6C7D;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.aidd-learn-more {
    color: #4A6FA5;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.aidd-learn-more:hover {
    color: #3DD9A0;
}

/* Product Highlighting */
.aidd-product-highlighted {
    border-color: #4A6FA5 !important;
    box-shadow: 0 12px 35px rgba(74, 111, 165, 0.25), 0 0 0 3px rgba(74, 111, 165, 0.1) !important;
    transform: scale(1.03);
    position: relative;
    z-index: 2;
}

.aidd-product-highlighted::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(74, 111, 165, 0.15), rgba(91, 143, 219, 0.15));
    z-index: -1;
    opacity: 0.5;
}

.aidd-product-dimmed {
    opacity: 0.65;
    filter: grayscale(30%) brightness(0.95);
    transform: scale(0.97);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.aidd-product-dimmed:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1) translateY(-5px);
    border-color: #6B8FC7;
    box-shadow: 0 10px 30px rgba(107, 143, 199, 0.2);
    cursor: pointer;
}

/* Tooltip for dimmed cards */
.aidd-product-dimmed::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(30, 42, 74, 0.95);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.aidd-product-dimmed::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: rgba(30, 42, 74, 0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.aidd-product-dimmed:hover::after,
.aidd-product-dimmed:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Stage Filter Info */
.aidd-stage-filter-info {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-tag {
    background: linear-gradient(135deg, #5B8FDB 0%, #4A7BC5 100%);
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(74, 111, 165, 0.3);
}

.filter-tag i {
    font-size: 1.2rem;
}

.filter-clear {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #FFFFFF;
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 0.5rem;
}

.filter-clear:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Capabilities */
.aidd-capabilities {
    background: #F8F9FA;
}

.aidd-capabilities-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E2A4A;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid #3DD9A0;
}

.aidd-future-capabilities-title {
    border-left-color: #B8C5D0;
}

.aidd-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.aidd-capability-item {
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.aidd-capability-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.aidd-capability-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3DD9A0 0%, #20C997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    flex-shrink: 0;
}

.aidd-capability-item strong {
    color: #1E2A4A;
    font-weight: 600;
}

.aidd-capability-item.aidd-future {
    background: #F8F9FA;
    opacity: 0.8;
}

.aidd-capability-item.aidd-future .aidd-capability-icon {
    background: linear-gradient(135deg, #B8C5D0 0%, #95A5B8 100%);
}

.aidd-capability-item.aidd-future strong {
    color: #5A6C7D;
    font-weight: 500;
}

/* News & Blog */
.aidd-news {
    background: #FFFFFF;
}

.aidd-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.aidd-news-card {
    background: #FFFFFF;
    border: 2px solid #E9ECEF;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.aidd-news-card:hover {
    border-color: #4A6FA5;
    box-shadow: 0 8px 25px rgba(74, 111, 165, 0.15);
    transform: translateY(-5px);
}

.aidd-news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #4A6FA5 0%, #6B8FC7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.aidd-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aidd-news-content {
    padding: 1.5rem;
}

.aidd-news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #5A6C7D;
}

.aidd-news-category {
    background: #E9ECEF;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    color: #4A6FA5;
}

.aidd-news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #1E2A4A;
}

.aidd-news-card p {
    color: #5A6C7D;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.aidd-news-link {
    color: #4A6FA5;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.aidd-news-link:hover {
    color: #3DD9A0;
}

/* Team Section - Now using unified team-cards.css */
.aidd-team {
    background: #F8F9FA;
}

/* Scientific Credibility */
.aidd-credibility {
    background: linear-gradient(135deg, #2E4A6B 0%, #4A6FA5 100%);
    color: #FFFFFF;
    padding: 4rem 2rem;
}

.aidd-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.aidd-stat-item {
    padding: 2rem;
}

.aidd-stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3DD9A0;
}

.aidd-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.aidd-stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.aidd-partners-section {
    text-align: center;
}

.aidd-partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.aidd-partner-logo {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2.5rem;
    border-radius: 8px;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Platform Technology */
.aidd-technology {
    background: #FFFFFF;
    padding: 4rem 2rem;
}

.aidd-integrations-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.aidd-integration-badge {
    background: #F8F9FA;
    border: 2px solid #E9ECEF;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    color: #1E2A4A;
    transition: all 0.3s;
}

.aidd-integration-badge:hover {
    border-color: #4A6FA5;
    background: #FFFFFF;
    transform: translateY(-3px);
}

/* Final CTA */
.aidd-final-cta {
    background: linear-gradient(135deg, #4A6FA5 0%, #2E4A6B 100%);
    color: #FFFFFF;
    padding: 6rem 2rem;
    text-align: center;
}

.aidd-final-cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.aidd-final-cta p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Footer */
.aidd-footer {
    background: #1E2A4A;
    color: #FFFFFF;
    padding: 4rem 2rem 2rem;
}

.aidd-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.aidd-footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    font-weight: 700;
}

.aidd-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aidd-footer-links li {
    margin-bottom: 0.75rem;
}

.aidd-footer-links a {
    color: #B8C5D0;
    text-decoration: none;
    transition: color 0.3s;
}

.aidd-footer-links a:hover {
    color: #3DD9A0;
}

.aidd-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.aidd-footer-bottom p {
    color: #B8C5D0;
    font-size: 0.9rem;
    margin: 0;
}

.aidd-footer-bottom a {
    color: #B8C5D0;
    text-decoration: none;
    transition: color 0.3s;
}

.aidd-footer-bottom a:hover {
    color: #3DD9A0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .aidd-stages-container,
    .aidd-products-grid,
    .aidd-news-grid {
        grid-template-columns: 1fr;
    }

    .aidd-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aidd-capabilities-grid {
        grid-template-columns: 1fr;
    }

    .aidd-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aidd-hero .display-4 {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .aidd-hero .lead {
        font-size: 1.2rem;
    }

    .aidd-btn-hero {
        padding: 1rem 2.3rem;
        font-size: 1.05rem;
        min-width: 180px;
    }

    .aidd-hero {
        min-height: 550px;
        padding-top: 8rem; /* Adjusted for tablet */
    }

    .aidd-home-search,
    .aidd-overlay {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .aidd-stats-grid,
    .aidd-footer-grid {
        grid-template-columns: 1fr;
    }

    .aidd-hero-cta {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .aidd-btn-hero {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        min-width: 220px;
        width: 100%;
        max-width: 280px;
    }

    .aidd-section {
        padding: 3rem 0;
    }

    .aidd-hero {
        /* Fix for iOS Safari - background-attachment: fixed doesn't work on mobile */
        background-attachment: scroll;
        background-position: center center;
        min-height: 600px;
        padding-top: 6rem; /* Adjusted for mobile to account for fixed navbar */
        padding-bottom: 4rem;
    }

    .aidd-home-search,
    .aidd-overlay {
        min-height: 300px;
    }

    .aidd-hero .display-4 {
        font-size: 1.85rem;
        line-height: 1.3;
    }

    .aidd-hero .lead {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .aidd-overlay {
        padding: 20px;
    }
}

/* Extra small devices (iPhone and similar) */
@media (max-width: 576px) {
    .aidd-hero {
        /* Ensure background displays properly on small mobile devices */
        background-attachment: scroll;
        background-position: center center;
        min-height: 550px;
        padding-top: 5rem;
        padding-bottom: 3rem;
    }

    .aidd-hero .display-4 {
        font-size: 1.65rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }

    .aidd-hero .lead {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .aidd-home-search,
    .aidd-overlay {
        min-height: 280px;
    }

    .aidd-btn-hero {
        padding: 0.85rem 1.8rem;
        font-size: 0.95rem;
        min-width: 200px;
    }

    .aidd-container {
        padding: 0 1rem;
    }
}
