/*

██╗  ██╗███████╗██╗     
██║ ██╔╝██╔════╝██║     
█████╔╝ █████╗  ██║     
██╔═██╗ ██╔══╝  ██║     
██║  ██╗███████╗███████╗
╚═╝  ╚═╝╚══════╝╚══════╝

██████╗ ██╗   ██╗████████╗██╗  ██╗ ██████╗ ███╗   ██╗
██╔══██╗╚██╗ ██╔╝╚══██╔══╝██║  ██║██╔═══██╗████╗  ██║
██████╔╝ ╚████╔╝    ██║   ███████║██║   ██║██╔██╗ ██║
██╔═══╝   ╚██╔╝     ██║   ██╔══██║██║   ██║██║╚██╗██║
██║        ██║      ██║   ██║  ██║╚██████╔╝██║ ╚████║
╚═╝        ╚═╝      ╚═╝   ╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═══╝

LDKM Kel Python
designed by Usman, Raddin.
developed using figma mcp.
*/

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

body {
    background-color: #1e1e1e; /* Dark background for outside the container */
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

.main-container {
    background-color: white;
    width: 100%;
    display: flex;
    justify-content: center;
}

.app-container {
    background-color: black;
    width: 1920px; /* Fixed width based on design */
    height: 4983px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    transform-origin: top center;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Hero Section */
.hero-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 1920px;
    height: 4983px; /* Updated to match app height */
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 1921px;
    height: 752px;
    background: linear-gradient(to bottom, rgba(89,22,139,0.3), #000000 74.5%, #000000);
    z-index: 1;
}

.hero-images {
    position: absolute;
    top: 0;
    left: -165px;
    width: 2294px;
    height: 5524px;
    z-index: 2; 
    opacity: 0.6;
    pointer-events: none;
}

.hero-img-group-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 2294px;
    height: 1381px;
    overflow: hidden;
}

.hero-img-group-2 {
    position: absolute;
    top: 1381px;
    left: 0;
    width: 2294px;
    height: 1381px;
    overflow: hidden;
}

.hero-img-group-3 {
    position: absolute;
    top: 2762px;
    left: 0;
    width: 2294px;
    height: 1381px;
    overflow: hidden;
}

.hero-img-group-4 {
    position: absolute;
    top: 4143px;
    left: 0;
    width: 2294px;
    height: 1381px;
    overflow: hidden;
}

/* Header */
.header-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 1919px;
    height: 752px;
    z-index: 10;
}

/* Fixed Nav Container Logic */
.fixed-nav-container {
    position: fixed;
    top: 0;
    left: 50%; /* Center horizontally */
    width: 1920px;
    height: 120px; /* Provides space for the header content */
    margin-left: -960px; /* Offset by half width to true center */
    transform-origin: top center;
    z-index: 1000;
    pointer-events: none; /* Let clicks pass through empty areas */
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-nav-container.scrolled {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    position: relative; /* Changed to relative for flex centering */
    width: 1811px;
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto; /* Re-enable clicks on the nav itself */
}

.logo-container {
    width: 214.89px;
    height: 48px;
    position: relative;
}

.logo-wrapper {
    width: 179px;
    height: 51px;
    position: relative;
}

.nav-container {
    width: auto;
    height: 24px;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    height: 100%;
}

.nav-link p {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #d1d5dc;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link p::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #f6339a;
    transition: width 0.3s ease;
}

.nav-link p:hover {
    color: white;
}

.nav-link p:hover::after {
    width: 100%;
}

/* Hero Main Content */
.hero-main-content {
    position: absolute;
    top: 183px;
    left: 110px;
    width: 873px;
    height: 448px;
}

.hero-text-group {
    position: absolute;
    top: 83px;
    left: -9px;
}

.hero-heading-container {
    position: absolute;
    top: 0;
    left: -9px;
    width: 858px;
    height: 192px;
}

.hero-heading-gradient {
    position: absolute;
    top: -23px;
    left: 98px;
    width: 572px;
    height: 128px;
}

.hero-heading-gradient p {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 96px;
    line-height: 96px;
    text-align: center;
    background: linear-gradient(90deg, #ad46ff 0%, #f6339a 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.hero-heading-white {
    position: absolute;
    top: 79.61px;
    left: 84px;
    width: 727px;
    height: 128px;
}

.hero-heading-white p {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 96px;
    line-height: 96px;
    text-align: center;
    color: white;
    white-space: nowrap;
}

.hero-description {
    position: absolute;
    top: 240px;
    left: 98px;
    width: 672px;
    height: 56px;
}

.hero-description p {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #99a1af;
    position: absolute;
    top: -21px;
    left: -15px;
    width: 750px;
}

.hero-features {
    position: absolute;
    top: 305px; /* Moved up from 335px */
    left: 83px;
    width: auto;
    height: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-icon-bg {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(to right, #ad46ff, #f6339a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    width: 12px;
    height: 12px;
}

.feature-text p {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #d1d5dc;
    text-align: center;
    white-space: nowrap;
}

.upload-button {
    position: absolute;
    top: 356px; /* Moved up from 386px */
    left: 83px;
    width: 323px;
    height: 56px;
    border-radius: 28px; /* rounded-[33554400px] effectively pill shape */
    background: linear-gradient(to right, #9810fa, #e60076);
    box-shadow: 0px 10px 15px -3px rgba(173,70,255,0.5), 0px 4px 6px -4px rgba(173,70,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-button:hover {
    transform: scale(1.02);
    box-shadow: 0px 15px 20px -3px rgba(173,70,255,0.7), 0px 6px 8px -4px rgba(173,70,255,0.7);
    filter: brightness(1.1);
}

.upload-button p {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: white;
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.file-upload-text {
    position: absolute;
    top: 435px; /* Moved down slightly */
    left: 83px;
    width: 323px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.hero-vector {
    position: absolute;
    top: 186px;
    left: 1250px;
    width: 699px;
    height: 699px;
}

.vector-wrapper {
    position: absolute;
    inset: -2% -1.42% -1.42% -2%;
}

/* Process Section */
.process-section {
    position: absolute;
    top: 2649px;
    left: 303px;
    width: 1423px;
    height: 437px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.process-header {
    position: relative;
    width: 100%;
    height: 96px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.process-line {
    width: 283px;
    height: 20px;
}

.process-title {
    width: 134px;
    height: 60px;
    position: relative;
}

.process-title p {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 60px;
    color: white;
    position: absolute;
    left: 247px;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
}

.process-steps {
    position: relative;
    width: 100%;
    height: 720px; /* Container height in code */
}

.step-container {
    position: absolute;
    width: 608px;
}

.step-1 { top: 0; left: 0; height: 328px; }
.step-2 { top: 0; left: 672px; height: 328px; }
.step-3 { top: 119px; left: 0; height: 328px; }
.step-4 { top: 129px; left: 672px; height: 328px; }

.step-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 608px;
    display: flex;
    gap: 24px;
}

.step-number-bg {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(to right, #9810fa, #e60076);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number-text {
    width: 10.78px;
    height: 28px;
    position: relative;
}

.step-number-inner p {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: white;
}

.step-details {
    flex: 1;
    position: relative;
}

.step-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-title {
    height: 32px;
    width: 100%;
}

.step-title p {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: white;
}

.step-desc {
    position: relative;
    width: 100%;
    height: 52px;
}

.step-desc p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: white;
    position: absolute;
    top: -2px;
    left: 0;
    width: 522px; /* Varies per step */
}

.step-2 .step-title p, .step-3 .step-title p, .step-4 .step-title p {
    font-family: 'Inter', sans-serif; /* Bold Inter for others */
    font-weight: 700;
}

.step-2 .step-desc p { width: 547px; }
.step-3 .step-desc p { width: 513px; }
.step-4 .step-desc p { width: 480px; }


/* FAQ Section */
.faq-section {
    position: absolute;
    top: 3165px;
    left: 303px;
    width: 1330px;
}

.faq-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: white;
    margin-bottom: 45px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    display: flex;
    gap: 9px;
    cursor: pointer;
    align-items: flex-start;
}

.faq-content {
    position: relative;
    width: 1254px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 67px;
    padding: 0 26px;
    transition: all 0.3s ease;
}

.faq-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 29px;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(6px);
    z-index: 0;
}

/* Gradients for content bg */
.faq-item:nth-child(1) .faq-bg {
    background: linear-gradient(to right, #a20de9, #d7038f);
}
.faq-item:nth-child(2) .faq-bg {
    background: linear-gradient(to right, #a20ce7, #d30395);
}
.faq-item:nth-child(3) .faq-bg {
    background: linear-gradient(to right, #a30de8, #d50392);
}

.faq-question {
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: white;
    line-height: 67px;
}

.faq-body {
    position: relative;
    z-index: 1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                padding-bottom 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    padding-bottom: 0;
}

.faq-body p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 20px;
    color: white;
    margin-bottom: 10px;
}

.faq-item.active .faq-body {
    max-height: 200px;
    opacity: 1;
    padding-bottom: 20px;
}

.faq-icon-container {
    position: relative;
    width: 67px;
    height: 67px;
    flex-shrink: 0;
}

.faq-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 29px;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(6px);
}

/* Gradients for icons */
.faq-item:nth-child(1) .faq-icon-bg {
    background: linear-gradient(to bottom, #a30ce7, #d60391);
}
.faq-item:nth-child(2) .faq-icon-bg {
    background: linear-gradient(to bottom, #a30ce5, #d20397);
}
.faq-item:nth-child(3) .faq-icon-bg {
    background: linear-gradient(to bottom, #a60ce1, #c904a5);
}

.faq-icon-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    width: 21px;
    height: 21px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon-img {
    transform: translate(-50%, -50%) rotate(-90deg);
}

/* Team Section */
.team-section {
    position: absolute;
    top: 3850px; /* Moved up to reduce gap with FAQ (was 3928px) */
    left: 0;
    width: 100%;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10; /* Ensure it stays on top of background images so blur works */
}

.team-header-container {
    padding-left: 322px; /* Maintain alignment with other sections if needed, or center it */
    width: 100%;
    margin-bottom: 40px;
}

.team-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: white;
}

.team-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #ec4899; /* Pink accent */
    margin-top: 8px;
}

.team-container {

    width: 1270px;
    height: 440px; /* Increased height for container aesthetics */
    
    /* Centering & Positioning */
    margin: 30px auto 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    
    /* Glassmorphic "Display Case" Look */
    padding: 0 30px;
    background: linear-gradient(135deg, rgba(173, 70, 255, 0.05), rgba(246, 51, 154, 0.05)); /* Subtle Pink/Purple Gradient Glass */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Slightly brighter border to pop */
    border-radius: 35px; /* Smooth rounded corners */
    backdrop-filter: blur(5px);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5), /* Deep shadow drop */
        inset 0 0 30px rgba(0, 0, 0, 0.3), /* Inner depth */
        0 0 20px rgba(246, 51, 154, 0.1); /* Subtle outer glow */
}

/* Remove mask image since user dislikes the fade effect */

.team-track {
    display: flex;
    gap: 30px;
    /* Animation speed: Adjusted for elegance */
    animation: scroll 40s linear infinite; /* Increased to 40 sec to match keyframe durations */
    width: max-content;
    will-change: transform;
}

/* Removed CSS Scroll Animation */
.team-track {
    display: flex;
    gap: 30px;
    width: max-content;
    transform: translateX(0);
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother sliding */
}

/* Hide scrollbar completely */
.team-container::-webkit-scrollbar {
    display: none;
}

.team-card {
    position: relative;
    min-width: 280px;
    height: 360px;
    background: rgba(17, 24, 39, 0.3); /* More transparent for blur to show */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    overflow: hidden;
    backdrop-filter: blur(15px); /* Stronger Blur */
    -webkit-backdrop-filter: blur(15px); /* Safari support */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Active State (Simulates the previous Hover effect) */
.team-card.active {
    transform: translateY(-15px);
    background: rgba(25, 30, 50, 0.6); /* Semi-transparent active state */
    border-color: rgba(246, 51, 154, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(173, 70, 255, 0.2); 
    backdrop-filter: blur(20px); /* Even clearer blur on active */
}

/* Background Blob */
.card-blob {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(173, 70, 255, 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.team-card.active .card-blob {
    opacity: 1;
}

.img-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    z-index: 2;
    background: #000;
}

.team-card.active .img-wrapper {
    transform: scale(1.1);
    border-color: #f6339a;
    box-shadow: 0 0 20px rgba(246, 51, 154, 0.4);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-wrapper {
    text-align: center;
    margin-top: 24px;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}

.name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: white;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.team-card.active .name {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.student-id {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.team-card.active .student-id {
    color: #ad46ff;
    border-color: rgba(173, 70, 255, 0.3);
    background: rgba(173, 70, 255, 0.1);
}


/* Member positions - Removed as we use Flexbox now */

/* Footer Section */
.footer-section {
    position: absolute;
    top: 4800px; /* Moved down to increase gap with Team (was 4650px) */
    left: 0;
    width: 1919px;
    height: 272px;
    z-index: 20; /* Ensure footer is on top of hero images */
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #b743f0, #f5329b);
    border-top-left-radius: 65px;
    border-top-right-radius: 65px;
}

.footer-img-21 {
    position: absolute;
    top: 109px; /* 3622 - 3513 */
    left: 360px;
    width: 53px;
    height: 53px;
}

.footer-made-using {
    position: absolute;
    top: 63px; /* 3576 - 3513 */
    left: 83px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: white;
}

.footer-logo-group {
    position: absolute;
    top: 63px;
    left: 1528px;
    width: 323px;
    height: 92px;
}

.footer-credits {
    position: absolute;
    top: 161px; /* 3674 - 3513 */
    left: 1528px;
    width: 338px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: white;
}

.footer-tech {
    position: absolute;
    top: 174px; /* 3687 - 3513 */
    left: 83px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: white;
}

.footer-social-title {
    position: absolute;
    top: 174px;
    left: 366px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: white;
}

.footer-github {
    position: absolute;
    top: 112px; /* 3625 - 3513 */
    left: 472px;
    width: 40px;
    height: 40px;
    overflow: hidden;
}

.github-icon-inner {
    position: absolute;
    top: 8.33%;
    left: 4.06%;
    width: 85.5%;
    height: 81.25%;
}

.footer-img-20 {
    position: absolute;
    top: 112px;
    left: 420px;
    width: 41px;
    height: 41px;
}

.footer-connect {
    position: absolute;
    top: 63px;
    left: 366px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: white;
}

.footer-img-23 {
    position: absolute;
    top: 112px;
    left: 145px;
    width: 42px;
    height: 48px;
}

.footer-img-24 {
    position: absolute;
    top: 111px; /* 3624 - 3513 */
    left: 77px;
    width: 60px;
    height: 50px;
}

.footer-img-js {
    position: absolute;
    top: 112px;
    left: 200px;
    width: 48px;
    height: 48px;
}

.img-24-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.img-24-wrapper img {
    position: absolute;
    top: -20.19%;
    left: 0;
    width: 100%;
    height: 120.19%;
}

/* Fix for footer social icons stretching */
.footer-github img,
.footer-img-20 img {
    object-fit: contain;
}


/* Adjust container height */
.app-container {
    height: 5072px; /* Matches exact bottom of footer (4800 + 272) */
}

/* About & AI Section */
.about-ai-section {
    position: absolute;
    top: 1036px;
    left: 0;
    width: 1920px;
    height: 1446px;
    z-index: 20;
}

/* AI Sees More Part */
.ai-sees-text-group {
    position: absolute;
    top: 27px;
    left: 309px;
    width: 702px;
    height: 123px;
    z-index: 2;
}

.ai-sees-headline {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: white;
    line-height: normal;
}

.ai-sees-desc {
    position: absolute;
    top: 71px;
    left: 0;
    width: 537px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: #a190a3;
    line-height: normal;
}

.ai-grid-container {
    position: absolute;
    top: 237px;
    left: 309px;
    display: flex;
    gap: 105px;
    align-items: center;
}

/* Individual Grid Items */
.ai-grid-item {
    position: relative;
    flex-shrink: 0;
    cursor: pointer; /* Indication of interactivity */
    transition: transform 0.3s ease, z-index 0s linear 0.3s;
    transform-origin: center center;
}

.ai-grid-item:hover {
    z-index: 10;
    transform: scale(1.25); /* Reduced scale on hover */
    transition: transform 0.3s ease, z-index 0s linear 0s; /* Instant z-index on hover */
}

/* Item 1 */
.item-1 .ai-card-border {
    width: 230px;
    height: 230px;
    border-radius: 25px;
    border: 4px solid #611e65;
    background: transparent;
    overflow: hidden;
    position: relative;
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
}

.item-1 .ai-badge {
    position: absolute;
    bottom: 14px;
    left: 29px;
    width: 72px;
    height: 44px;
    background-color: #ec4899;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 24px;
    z-index: 10;
}

/* Item 2 */
.item-2 .ai-card-border {
    width: 230px;
    height: 230px;
    border-radius: 25px;
    border: 3px solid #d475d9;
    overflow: hidden;
    position: relative;
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
}

.item-2 .real-badge {
    position: absolute;
    bottom: 17px;
    left: 14px;
    width: 102px;
    height: 43px;
    background-color: #1c9933;
    border: 1px solid #d475d9;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 24px;
    z-index: 10;
}

/* Item 3 (Big) - Now starts small like others */
.item-3 .ai-card-border {
    width: 230px;
    height: 230px;
    border-radius: 25px;
    border: 3px solid #d746ab;
    overflow: hidden;
    position: relative;
}

.item-3 .ai-badge {
    position: absolute;
    bottom: 20px;
    left: 32px;
    width: 74px;
    height: 45px;
    background-color: #ec4899;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 24px;
    z-index: 10;
}

/* Item 4 */
.item-4 .ai-card-border {
    width: 230px;
    height: 230px;
    border-radius: 25px;
    border: 3px solid #b32c86;
    overflow: hidden;
    position: relative;
}

.item-4 .real-badge {
    position: absolute;
    bottom: 17px;
    left: 18px;
    width: 97px;
    height: 56px;
    background-color: #1c9933;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 24px;
    z-index: 10;
}

.rounded-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

/* About Tool Part */
.about-tool-wrapper {
    position: absolute;
    top: 1036px;

    top: 629px; 
}

.about-tool-wrapper {
    top: 1036px; 
    left: 283px;
    width: 727px;
    height: 222px; 
}

.about-tool-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 240px;
    height: 51px;
    background-color: #3e1247;
    opacity: 0.7;
    border-radius: 50.5px;
    color: #ea00ff;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-headline {
    position: absolute;
    top: 99px;
    left: 0;
    width: 643px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: white;
    line-height: normal;
}

.tool-desc {
    position: absolute;
    top: 222px;
    left: 0;
    width: 727px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: #a190a3;
    line-height: normal;
}

/* Decorations */
.purple-blob-1 {
    position: absolute;
    top: 956px;
    left: 1173px; /* Centered behind the decoration arrow at 1350px */
    width: 544px;
    height: 490px;
    pointer-events: none;
}

.purple-blob-2 {
    position: absolute;
    top: 0;
    left: -210px;
    width: 841px;
    height: 697px;
    pointer-events: none;
    z-index: 1;
}

.decoration-arrow {
    position: absolute;
    top: 1142px;
    left: 1350px; /* Moved left from 1510px */
    width: 191px;
    height: 117px;
}

.gradient-text-pink {
    background: linear-gradient(to right, #ff12a8, #a36195);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
    background: linear-gradient(to right, #aa2063, #cd128e);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Decorative Lines */
.deco-lines-left {
    position: absolute;
    top: 697px;
    left: 0;
}
.line-l-1 {
    width: 397px; height: 28px;
    background: linear-gradient(to right, #783079, #f288f4);
    border-top-right-radius: 25px;
    margin-bottom: 52px;
}
.line-l-2 {
    width: 566px; height: 28px;
    background: linear-gradient(to right, #a32cba, #420943);
    border-bottom-right-radius: 25px;
}

.deco-lines-right {
    position: absolute;
    top: 607px;
    left: 1353px;
}
.line-r-1 {
    width: 566px; height: 28px;
    background: linear-gradient(to right, #9a29b0, #470a49);
    border-top-left-radius: 25px;
    margin-bottom: 24px; /* Adjustment */
}
.line-r-2 {
    width: 397px; height: 28px;
    background: linear-gradient(to right, #e680e8, #100710);
    border-bottom-left-radius: 25px;
    position: absolute;
    top: 52px;
    left: 169px;
}