body{
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--surface-0);
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
}
.container-m{
    max-width: 680px;
    margin: 0 auto;
}
.button {
    background: var(--primary);
    color: black;
    padding: 12px 20px;
    border-radius: 60px;
    font-weight: 500;
    font-size: 16px;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1),
                0 2px 6px rgba(124, 58, 237, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.button:hover {
    background: #FFD97A;
    cursor: pointer;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
                0 4px 8px rgba(124, 58, 237, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1),
                0 2px 4px rgba(124, 58, 237, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}


section{
    padding: 148px 0
}
.video-animation{
    width: 600px;
}
.pill{
    border: 1px solid var(--outline);
    padding: 12px 24px;
    border-radius: 60px;
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.3);
}

.comparison-section {
    position: relative;
    overflow: visible;
    height: min-content;
}

.comparison-header {
    position: sticky;
    top: 40px;
    z-index: 45;
    padding: 20px 0;
}

.comparison-table {
    position: relative;
    width: 100%;
    height: 100%;
}


.table-row {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    gap: 80px;
    padding: 64px 40px;
    background-color: var(--surface-1);
    border-radius: var(--border-radius);
    margin-bottom: 8px;
    border: 1px solid var(--outline);
    position: sticky;
   
}
.table-row.header-row {
    padding: 8px 40px;
    background-color: transparent;
    border: none;  
}
.table-row:nth-child(1) {
    z-index: 1;
    top: 360px;
}

.table-row:nth-child(2) {
    z-index: 10;
    top: 420px;
}

.table-row:nth-child(3) {
    z-index: 20;
    top: 440px;
}

.table-row:nth-child(4) {
    z-index: 30;
    top: 460px;

}
.table-row:nth-child(5) {
    z-index: 40;
    top: 480px;
}
.table-row:nth-child(6) {
    z-index: 50;
    top: 500px;
}

.feature-column {
    display: flex;
    align-items: center;
}

.traditional-column, .darma-column {
    padding: 8px;
}

.icon {
    width: 16px;
    height: 16px;
}
.icon-container{
    background-color: var(--surface-3);
    border: 1px solid var(--outline);
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    flex-shrink: 0;
    flex-grow: 0;
}
.features-grid{
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 virtual columns */
    gap: 16px;
}
.features-grid > :nth-child(1) {
    grid-column: span 2;
}
.features-grid > :nth-child(2) {
    grid-column: span 2;
}
.features-grid > :nth-child(3) {
    grid-column: span 2;
}
.features-grid > :nth-child(4) {
    grid-column: span 3;
}
.features-grid > :nth-child(5) {
    grid-column: span 3;
}

.feature-section{
    background-color: var(--surface-2);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    row-gap: 40px;
    height: 440px;
    border: 1px solid var(--outline);
}
.feature-section img{
    width: fill;
   
}
.transition{
    border-top: 1px solid var(--outline);
    position: relative;
}
body::before,
.transition::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background-image: url("./assets/glow-elpise.svg");
    background-size: cover;
    background-position: top center;
    pointer-events: none;
    z-index: -10;
}
.logo-124{
    width: 124px;
    height: auto;
}


.backspace-animation {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid black;
    animation: blink-caret 0.75s step-end infinite;
}
.three-column-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}
.two-column-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}



.metric-container{
    padding: 24px;
    border: 1px solid var(--outline);
    border-radius: 8px;
    width: fill;
}
h1.gradient{
    background: linear-gradient(149deg, #F8B260 27.71%, #DC77FF 55.34%, #B562E6 74.6%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: var(--primary) }
    50% { border-color: transparent }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }
.stagger-delay-4 { transition-delay: 0.4s; }

.strikethrough-animation {
    position: relative;
    display: inline-block;
}

.strikethrough-animation.strikethrough::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 8px;
    background-color: var(--primary);
    transform: rotate(-1deg);
    transform-origin: left center;
    animation: strike 1s forwards;
    border-radius: 4px;
}

@keyframes strike {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.features-tabs-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.features-tabs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-tab {
    border-radius: var(--border-radius);
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.feature-tab p,
.feature-tab img {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0;
}

.feature-tab:hover {
    border-color: var(--primary);
}

.feature-tab.active {
    background-color: var(--surface-2);
    border: 1px solid var(--outline);
    opacity: 1;
}

.feature-tab.active p {
    max-height: 100px;
    opacity: 1;
    margin-top: 8px;
}
.feature-tab.active img{
    opacity: 1;
    width: fill;
    max-height: 300px;
}

.features-content {
    position: relative;
    width: 100%;
    height: 100%;
    border: 1px solid var(--outline);
    border-radius: var(--border-radius);
    background-color: var(--surface-1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.feature-content.active {
    opacity: 1;
    visibility: visible;
}

.feature-content img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.faded-image {
    width: 100%;
    height: auto;
  
    /* Apply a gradient mask */
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }
@media (max-width: 900px) {
    .three-column-grid,
    .two-column-grid{
      grid-template-columns: 1fr 1fr;
    }
  }
.docs section{
    padding: 0;
}



@media (max-width: 500px) {
    body {
        padding: 0px;
    }

    .container-m {
        max-width: 100%;
    }
    .m-column-reverse{
        flex-direction: column-reverse;
    }

    section,
    footer {
        padding: 64px 24px;
    }

    .video-animation {
        width: 100%;
        max-width: 100%;
    }

    .comparison-section {
        position: relative;
        overflow: visible;
        height: auto;
    }

    .comparison-header {
        position: relative;
        top: 0;
        z-index: 1;
        padding: 20px 0;
    }

    .table-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .table-row:nth-child(1){
        top: 24px;
        z-index: 1;
    }
    .table-row:nth-child(2){
        top: 24px;
        z-index: 1;
    }
    .table-row:nth-child(3){
        top: 32px;
        z-index: 1;

    }
    .table-row:nth-child(4){
        top: 40px;
        z-index: 1;
    }
    .table-row:nth-child(5){
        top: 48px;
        z-index: 1;
    }
    .table-row:nth-child(6) {
        top: 56px;
        z-index: 1;
        
    }

    .comparison-table {
        position: relative;
    }

    .features-tabs-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .features-tabs {
        flex-direction: column;
        overflow-x: auto;
        padding-bottom: 16px;
        gap: 16px;
    }

    .feature-tab {
        min-width: 200px;
        padding: 16px;
    }

    .features-content {
        height: 300px;
    }

    .button {
        width: 100%;
        justify-content: center;
    }

    .pill {
        padding: 8px 16px;
    }

    .icon-container {
        width: 32px;
        height: 32px;
    }

    .icon {
        width: 14px;
        height: 14px;
    }
    .features-tabs-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-content {
        height: 300px;
    }
    .table-row{
        display: flex;
        flex-direction: column;
        row-gap: 0px;
        padding: 24px 15px;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .three-column-grid,
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .m-three-column-grid{
        grid-template-columns: 1fr 1fr 1fr;
    }
    .metric-container{
        height: fit-content;
    }
    .docs{
        padding: 0 24px;
    }
}