:root {
    --medians-main-color: #1f6c55;
    --medians-main-light-color: #1f6c5515;
    --medians-secondary-color: #374151;
    --medians-accent-color: #10B981;
    --medians-light-color: #F8FAFC;
    --medians-gray-color: #64748B;
    --hero-purple-color: #8B5CF6;
    --hero-purple-dark-color: #7C3AED;
    --mint-dark-color: #059669;
    --ai-gray-color: #1F2937;
    --ai-gray-light-color: #374151;
    --ai-orange-color: #F97316;
    --ai-orange-dark-color: #EA580C;
    --ai-red-color: #DC2626;
    --ai-teal-color: #14B8A6;
    --ai-teal-dark-color: #0D9488;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}
.page-main {
    min-height: 400px;
}

/* Hero 3D  */
.hero-3d-sphere {
    background: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.hero-3d-sphere::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    border-radius: 50%;
}

.hero-3d-sphere::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M0 10 Q5 0 10 10 T20 10" stroke="rgba(255,255,255,0.2)" stroke-width="1" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
    border-radius: 50%;
    animation: rotateSlow 20s linear infinite;
}

/* .hero-award-card {
    background: linear-gradient(135deg, #e5fff3 0%, transparent 100%);
} */

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-shape {
    position: absolute;
    opacity: 0.05;
}

.hero-bg-shape-1 {
    top: 10%;
    right: 15%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #8B5CF6, #EC4899);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 8s ease-in-out infinite;
}

.hero-bg-shape-2 {
    bottom: 20%;
    right: 5%;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #10B981, #3B82F6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-bg-shape-3 {
    top: 50%;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #8B5CF6, #EC4899);
    border-radius: 0 0 0 100%;
    transform: translateX(50%);
}

.text-gradient {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-social-icon {
    transition: all 0.3s ease;
}

.hero-social-icon:hover {
    transform: translateY(-2px);
    color: #8B5CF6;
}

.hero-play-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6B7280;
    transition: all 0.3s ease;
}

.hero-play-button:hover {
    color: #8B5CF6;
}

.hero-play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid currentColor;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-right: 4px;
}

@media (max-width: 768px) {
    .hero-bg-shape {
        display: none;
    }

    .hero-main-content {
        padding: 2rem 1rem;
    }

    .hero-award-card {
        position: relative !important;
        margin-bottom: 2rem;
    }

    .hero-social-sidebar {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        margin-top: 2rem;
        flex-direction: row !important;
        justify-content: center;
    }
}


/* Block 3 Styles */
.block3-modern-office {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.block3-professional-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.block3-funding-section {
    position: relative;
    overflow: hidden;
}

.block3-funding-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(https://crowdytheme.com/html/arolax/assets/imgs/shape/img-s-46.webp) no-repeat left top;
}

.block3-card-bg {
    /* background: linear-gradient(135deg, #1e293b 0%, #334155 100%); */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.block3-stat-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.block3-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.block3-workspace-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.block3-number-highlight {
    background: linear-gradient(135deg, #036b49 0%, #009655 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.block3-observer-target {
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.block3-observer-target.visible {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 768px) {
    .block3-grid-layout {
        display: block !important;
    }
}



/* AI Hero Styles */
.ai-logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 4rem;
    line-height: 1;
    color: #1F2937;
    letter-spacing: -0.02em;
}

.ai-customers-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}


.ai-abstract-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><filter id="turbulence"><feTurbulence baseFrequency="0.3" numOctaves="4" result="noise"/><feDisplacementMap in="SourceGraphic" in2="noise" scale="5"/></filter></defs><rect width="100" height="100" fill="%23000" opacity="0.1" filter="url(%23turbulence)"/></svg>');
    mix-blend-mode: overlay;
    animation: flow 20s linear infinite;
    opacity: 0.5;
}

.ai-abstract-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0.5;
}

.ai-talent-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.ai-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ai-avatar:not(:first-child) {
    margin-left: -8px;
}

.ai-avatar-more {
    background: #1F2937;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
}

.ai-get-started-btn {
    background: #1F2937;
    color: white;
    border-radius: 50px;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.ai-get-started-btn:hover {
    background: #374151;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -3px rgba(0, 0, 0, 0.4);
}

.ai-play-icon {
    width: 0;
    height: 0;
    border-left: 10px solid currentColor;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-left: 2px;
}

.ai-checkmark {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-main-heading {
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    color: #1F2937;
    letter-spacing: -0.02em;
}

.ai-observer-target {
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.editable .ai-observer-target, .ai-observer-target.visible {
    opacity: 1;
    transform: translateY(0);
}

/* CRM Dashboard Styles */
.crm-dashboard-preview {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Integration Network Animation */
.integration-node {
    transition: all 0.3s ease;
}

.integration-node:hover {
    transform: scale(1.1);
}

/* Text gradient utility */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@media (max-width: 768px) {
    .ai-main-content {
        padding: 2rem 1rem;
    }

    .ai-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .ai-left-section {
        order: 2;
    }

    .ai-right-section {
        order: 1;
        margin-bottom: 2rem;
    }

    .ai-customers-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        margin-bottom: 2rem;
        width: 100% !important;
    }

    .ai-abstract-image {
        height: 300px;
    }

    .ai-main-heading {
        font-size: 2.5rem;
    }
}