@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Rufina:wght@400;700&display=swap');

:root {
    --font-body: "Roboto", sans-serif;
    --font-heading: "Rufina", serif;
    --color-bg: #fcfcfd;
    --color-surface: #f5f7fb;
    --color-surface-strong: #edf1f8;
    --color-card: #ffffff;
    --color-text: #52596b;
    --color-muted: #6f778a;
    --color-ink: #1d2433;
    --color-brand: #2f4ea1;
    --color-brand-soft: #e8eefc;
    --color-accent: #6ea53e;
    --color-border: #dde3ef;
}

html{
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    font-style: normal;
    line-height: 26px;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
}

/* Skeleton Loader Animation */
@keyframes skeleton-shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #e8e8e8 0%, #f5f5f5 50%, #e8e8e8 100%);
    background-size: 1000px 100%;
    animation: skeleton-shimmer 2s infinite;
}

.skeleton-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 200px;
    background: linear-gradient(90deg, #e8e8e8 0%, #f5f5f5 50%, #e8e8e8 100%);
    background-size: 1000px 100%;
    animation: skeleton-shimmer 2s infinite;
    z-index: 1;
    display: block;
}

.template-card__image img.image-loading {
    opacity: 0;
}

.template-card__image img.image-loaded {
    opacity: 1;
    animation: fadeIn 300ms ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Lazy loading optimizations */
/* img[loading="lazy"] {
    background-color: #f5f5f5;
} */

img {
    max-width: 100%;
    height: auto;
}

.template-card__image img {
    width: 100%;
    height: auto;
    display: block;
}

*:focus {
    outline: none !important;
    outline-offset: 0 !important;
}
a{
    transition: all 300ms ease;
    text-decoration: none;
    color: inherit;
}
a,
input,
[href],
select,
button:focus, 
textarea,
details,
[tabindex]:not([tabindex="-1"]), 
[contenteditable="true"] {
    outline: none !important;
    outline-offset: 0px !important;
}
textarea {
    width: 100%;
    resize: vertical;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-ink);
    letter-spacing: -0.01em;
    margin-top: 0;
    margin-bottom: 15px;
}
p{
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--color-text);
}
[disabled]{
    opacity: .3;
    pointer-events: none;
}
.sr-only{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.et-container{
    max-width: 1360px;
    padding: 0 15px;
    margin: 0 auto;
}
.et-container-fluid{
    padding: 0 80px;
}

/*Common CSS*/
.button{
    background-color: var(--color-ink);
    color: #fff;
    padding: 0 35px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.02em;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(29, 36, 51, 0.16);
    text-transform: uppercase;
     transition: all 300ms ease;
}
.button:hover{
    background-color: var(--color-brand);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(47, 78, 161, 0.24);
}
.button::after{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
    transform: translateX(-120%);
    transition: transform 500ms ease;
    pointer-events: none;
}
.button:hover::after{
    transform: translateX(120%);
}
.button svg{
    width: 22px;
    height: 22px;
    margin-right: 5px;
    vertical-align: middsle;
}
.button--secondary{
    background-color: var(--color-accent);
    color: #fff;
    border: 2px solid var(--color-accent);
}
.button--secondary:hover{
    background-color: #5b8f2f;
    color: #fff;
    border-color: #5b8f2f;
    box-shadow: 0 16px 34px rgba(91, 143, 47, 0.24);
}   
.button--secondary svg{
    fill: #fff;
}
.button--outline{
    background: transparent;
    color: var(--color-ink);
    border: 2px solid var(--color-ink);
}
.button--outline:hover{
    background: var(--color-ink);
    color: #fff;
    box-shadow: 0 16px 34px rgba(29, 36, 51, 0.2);
}
.hero-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}


.section-title{
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}
.section-title h2{
    font-size: 46px;
    line-height: 52px;
    margin-bottom: 20px;
    font-weight: 700;
}
.section-title h2 strong{
    color: var(--color-brand);
}
.section-title span{
    font-size: 160px;
    font-weight: 800;
    line-height: 128px;
    display: block;
    background: linear-gradient(180deg, #2f4ea1 10%, rgba(255, 255, 255, 1) 90%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    z-index: 1;
}
.section-title h2,
.section-title p{
    position: relative;
    z-index: 2;
}
.section-title p{
    color: var(--color-muted);
}


/*Header*/
.header__section{
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: rgba(252, 252, 253, 0.9);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(8px);
    transition: all 300ms ease;
}
.header--scrolled{
    border-bottom-color: var(--color-border);
    box-shadow: 0 10px 24px rgba(18, 24, 37, 0.08);
}
.header__right{
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header__nav-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}
.header__toggle{
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #fff;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(33, 43, 68, 0.06);
}
.header__toggle span:not(.sr-only){
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-ink);
    transition: transform 220ms ease, opacity 220ms ease, background-color 220ms ease;
}
.header__section.menu-open .header__toggle span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
}
.header__section.menu-open .header__toggle span:nth-child(2){
    opacity: 0;
}
.header__section.menu-open .header__toggle span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
}
.header__nav-link{
    font-size: 15px;
    text-transform: uppercase;
    color: var(--color-ink);
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0 15px;
    display: block;
    position: relative;
}
.header__nav-link:hover{
    color: var(--color-brand);
}
.header__nav-link::after{
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: -5px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-brand);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 220ms ease;
}
.header__nav-item.active .header__nav-link,
.header__nav-link.is-active{
    color: var(--color-brand);
}
.header__nav-item.active .header__nav-link::after,
.header__nav-link.is-active::after{
    transform: scaleX(1);
}
.logo a{
    display: block;
    line-height: 0;
}
.logo img{
    width: auto;
    height: 35px;
}

/** Hero Section */
.hero-section{
    padding: 60px 0;
}
.hero-inner{
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 100px;
}
.hero-content h1{
    color: var(--color-ink);
    font-size: clamp(2.4rem, 4.2vw, 3.875rem);
    line-height: 1.16;
    margin: 0 0 20px 0;
}
.hero-content h1 strong{
    color: var(--color-brand);
}
.hero-content-feature{
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 20px;
}
.hero-content-feature li{
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.hero-content-feature li svg{
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: var(--color-accent);
}
#hero-slider img{
    width: 100%;
    height: auto;
}

/* Slider Animation */
.wd-custom-slider {
    position: relative;
    aspect-ratio: 1000/750;
    pointer-events: none;
}
.wd-custom-slider img {
    position: absolute;
    z-index: 5;
    max-width: 100%;
    animation: wd-moveAndZoom 10s ease-in-out infinite;
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.22), 0 6px 16px rgba(17, 24, 39, 0.12);
    opacity: 1;
    transform: translateY(0) translateX(0) translateZ(0px) scale(1)
}
.wd-custom-slider img:nth-child(1) {
    animation-delay: -8s;
    opacity: 1;
    visibility: visible;
}
.wd-custom-slider img:nth-child(2) {
    animation-delay: -6s;
    transform: translateY(30px) translateX(0) translateZ(-30px) scale(1);
    opacity: .95;
    z-index: 4;
}
.wd-custom-slider img:nth-child(3) {
    animation-delay: -4s;
    transform: translateY(50px) translateX(0) translateZ(-50px) scale(1);
    z-index: 3;
    opacity: .9;
}
.wd-custom-slider img:nth-child(4) {
    animation-delay: -2s;
    z-index: 2;
}
.wd-custom-slider img:nth-child(5) {
    animation-delay: 0s;
    z-index: 1;
}

@keyframes wd-moveAndZoom {
    0% {
        opacity: 0;
    }
    20% {
        transform: translateY(100px) translateX(0) translateZ(-150px) scale(1);
        opacity: 0;
        z-index: 2;
    }
    25% {
        transform: translateY(70px) translateX(0) translateZ(-100px) scale(1);
        opacity: 0;
        z-index: 2;
    }
    30% {
        transform: translateY(50px) translateX(0) translateZ(-50px) scale(1);
        z-index: 3;
        opacity: .9;
    }
    45% {
        transform: translateY(50px) translateX(0) translateZ(-50px) scale(1);
        z-index: 3;
        opacity: .9;
    }
    50% {
        transform: translateY(30px) translateX(0) translateZ(-30px) scale(1);
        opacity: .95;
        z-index: 4;
    }
    65% {
        transform: translateY(30px) translateX(0) translateZ(-30px) scale(1);
        opacity: .95;
        z-index: 4;
    }
    70% {
        opacity: 1;
        transform: translateY(0) translateX(0) translateZ(0px) scale(1);
        z-index: 5;
    }
    85% {
        opacity: 1;
        transform: translateY(0) translateX(0) translateZ(0px) scale(1);
        z-index: 6;
    }
    90% {
        opacity: 0;
        transform: translateY(-40px) translateX(0) translateZ(10px) scale(1.01);
        z-index: 6;
    }
    100% {
        opacity: 0;
    }
}



/* Template Section */
.template-section{
    padding-top: 100px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, #f4f7fd 0%, #ffffff 100%);
}
.template-innner{
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}
.templates-wrap{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.template-loading{
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    grid-column: 1 / -1;
    margin-top: 18px;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 500;
}
.template-loading.is-visible{
    display: flex;
}
.template-loading__spinner{
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #d7ddec;
    border-top-color: var(--color-brand);
    animation: templateSpin 900ms linear infinite;
}
.template-loading:not(.is-loading) .template-loading__spinner{
    animation-play-state: paused;
    opacity: .6;
}
.template-card{
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(33, 43, 68, 0.07);
    display: block;
    transition: all 300ms ease;
    padding-bottom: 0;
    height: auto;
}
.template-card:hover{
    box-shadow: 0 16px 30px rgba(33, 43, 68, 0.14);
    transform: translateY(-4px);
}
.template-card__image{
    background: linear-gradient(180deg, rgba(47, 78, 161, 0.18) 0%, rgb(241, 244, 250) 100%);
    padding: 20px;
    padding-bottom: 0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: block;
}
.template-card__image img{
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.template-card__info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.template-card__title{
    margin: 0;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-ink);
}
.template-card__tags{
    display: flex;
    align-items: center;
    gap: 5px;
}
.template-card__tags span{
    background-color: #eef2f8;
    color: var(--color-muted);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    line-height: 1;
    font-size: 12px;
    border: 1px solid #d5deee;
}
.template-card__tags span.popular{
    background-color: #e8f3df;
    border-color: #cee6bd;
    color: #3f7335;
}
.template-card__tags span.new{
    background-color: #e6eefc;
    border-color: #cbd9f4;
    color: #365a9f;
}
.template-card__tags span.version{
    background-color: #f9ece8;
    border-color: #f0d3ca;
    color: #a45a47;
}

.template-nav{
    position: sticky;
    top: 100px;
    align-self: start;
    height: 80vh;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: #c8ced8 #f3f4f7;
}
.template-nav__toggle{
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(33, 43, 68, 0.06);
    margin-bottom: 14px;
}
.template-nav__toggle span:not(.sr-only){
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-ink);
    transition: transform 220ms ease, opacity 220ms ease;
}
.template-nav.is-open .template-nav__toggle span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
}
.template-nav.is-open .template-nav__toggle span:nth-child(2){
    opacity: 0;
}
.template-nav.is-open .template-nav__toggle span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
}
.template-nav::-webkit-scrollbar{
    width: 12px;
}
.template-nav::-webkit-scrollbar-track{
    background: linear-gradient(180deg, #f8f9fb 0%, #eef0f4 100%);
    border-radius: 999px;
}
.template-nav::-webkit-scrollbar-thumb{
    background: linear-gradient(180deg, #d8dde6 0%, #c1c8d4 100%);
    border: 3px solid #eef0f4;
    border-radius: 999px;
    min-height: 40px;
}
.template-nav::-webkit-scrollbar-thumb:hover{
    background: linear-gradient(180deg, #cfd5df 0%, #b5becd 100%);
}
.template-nav::-webkit-scrollbar-thumb:active{
    background: #aab4c3;
}
.template-nav ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.template-nav ul li button,
.template-nav ul li a{
    display: block;
    padding: 8px 20px;
    color: var(--color-muted);
    border-radius: 30px;
    font-weight: 400;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: background-color 250ms ease, color 250ms ease, transform 250ms ease;
}
.template-nav ul li button,
.template-nav ul li a{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.template-nav ul li button:hover,
.template-nav ul li a:hover{
    background-color: var(--color-surface-strong);
    color: var(--color-ink);
    transform: translateX(4px);
}
.template-nav ul li.active button,
.template-nav ul li.active a{
    background-color: var(--color-brand-soft);
    color: var(--color-brand);
    transform: translateX(4px);
}

@keyframes templateSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .template-nav ul li button,
    .template-nav ul li a {
        transition: none;
    }
}

/* Layout Section */
.layout-section{
    background-color: var(--color-surface);
    padding: 60px 0;
}
.layout-fillter{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-left: 12px;
    padding-right: 12px;
    scrollbar-width: thin;
}
.layout-fillter li button{
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 20px;
    color: var(--color-muted);
    border-radius: 999px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    background: transparent;
    border: 1px solid transparent;
    font-family: inherit;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 200ms ease, background-color 200ms ease, color 180ms ease;
    white-space: nowrap;
    flex: 0 0 auto;
}
.layout-fillter li button:hover{
    box-shadow: 0 8px 20px rgba(47,78,161,0.06);
    background-color: var(--color-surface-strong);
    color: var(--color-ink);
}
.layout-fillter li button:focus-visible{
    outline: 3px solid rgba(47,78,161,0.12);
    outline-offset: 4px;
}
.layout-fillter li button.active{
    background: linear-gradient(90deg, var(--color-brand), #3c6ccf);
    color: #fff;
    box-shadow: 0 10px 28px rgba(47,78,161,0.12);
    border-color: transparent;
}
/* count badge inside layout filter */
.layout-fillter li button span{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background-color: #eef2f8;
    color: var(--color-brand);
    font-size: 12px;
    line-height: 1;
    border: 1px solid var(--color-border);
}
.layout-fillter li button.active span{
    background-color: rgba(255,255,255,0.18);
    color: #fff;
    border-color: rgba(255,255,255,0.22);
}

/* Webkit scrollbar styling for the horizontal filter row */
.layout-fillter::-webkit-scrollbar{
    height: 8px;
}
.layout-fillter::-webkit-scrollbar-track{
    background: transparent;
}
.layout-fillter::-webkit-scrollbar-thumb{
    background: rgba(47,78,161,0.12);
    border-radius: 999px;
}
.layout-fillter::-webkit-scrollbar-thumb:hover{
    background: rgba(47,78,161,0.18);
}

@media (max-width: 991px) {
    .layout-fillter{
        justify-content: flex-start;
        margin-bottom: 16px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .layout-fillter li button{
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .layout-fillter{
        gap: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .layout-fillter li button{
        padding: 8px 14px;
        font-size: 13px;
        min-width: 88px;
        justify-content: center;
    }
}

/* Slightly darker badge on active for contrast */
.layout-fillter li button.active span{
    background-color: rgba(255,255,255,0.18);
    color: #fff;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.06);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
[data-slider] .template-card{
    margin: 10px 10px;
}
[data-slider] .template-card__image{
    background: #f2f5fb;
    padding: 15px;
    padding-bottom: 0;
}
.slick-arrow{
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-65%);
    z-index: 2;
    cursor: pointer;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    background-color: var(--color-card);
    border: none;
    box-shadow: 0 8px 18px rgba(33, 43, 68, 0.14);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: all 300ms ease;
}
.slick-arrow.slick-next{
    left: auto;
    right: -10px;
}
.slick-arrow.slick-next svg{
    position: relative;
    left: 1px;
}
.slick-arrow.slick-prev svg{
    position: relative;
    right: 2px;
}
.slick-arrow svg{
    width: 22px;
    height: 22px;
    fill: var(--color-ink);
}
[data-slider]:hover .slick-arrow{
    visibility: visible;
    opacity: 1;
}

/* Slick Dots Styling */
.slick-dots {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.slick-dots li {
    margin: 0;
    padding: 0;
}

.slick-dots li button {
    cursor: pointer;
    background-color: #d5dce5;
    border: none;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    padding: 0;
    display: block;
    transition: all 300ms ease;
    box-shadow: none;
    font-size: 0;
    color: transparent;
}

.slick-dots li button:hover {
    background-color: #b8c3d6;
    transform: scale(1.15);
}

.slick-dots li.slick-active button {
    background-color: var(--color-brand);
    width: 12px;
    height: 12px;
    box-shadow: 0 4px 12px rgba(47, 78, 161, 0.25);
}

.slick-dots li.slick-active button:hover {
    background-color: var(--color-brand);
    transform: scale(1.2);
}

/* Table Styles */
table{
    width: 90%;
    margin: 0 auto;
    border-collapse: collapse;
    text-align: left;
}
table th,
table tr td,
table tr th{
    border-bottom: 1px solid var(--color-border);
    padding: 10px 15px;
}
table thead tr:nth-child(2) th{
    background-color: var(--color-surface);
    font-weight: 600;
    color: var(--color-ink);
}
table thead tr:nth-child(1) th:nth-child(1),
table thead tr:nth-child(1) th:nth-child(2),
table thead tr:nth-child(1) th:nth-child(4){
    border: none;
}
table thead tr:nth-child(1) th:nth-child(3){
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    padding: 0;
}
table tbody tr td:nth-child(3),
table thead tr:nth-child(1) th:nth-child(3),
table thead tr:nth-child(2) th:nth-child(3){
    background-color: var(--color-brand);
    width: 25%;
    text-align: center;
    border-color: #3f61b8;
    color: #fff;
}
table tbody tr td:nth-child(2),
table thead tr:nth-child(1) th:nth-child(2),
table thead tr:nth-child(2) th:nth-child(2){
    text-align: center;
    padding: 10px 15px;
    width: 25%;
}
table tbody tr td:nth-child(4),
table thead tr:nth-child(1) th:nth-child(4),
table thead tr:nth-child(2) th:nth-child(4){
    text-align: center;
    padding: 10px 15px;
    width: 25%;
}
table tr:nth-child(odd) td {
    background: #fbfdff;
}
.table-header-purchase{
    position: relative;
    top: 30px;
}
.table-header-purchase p{
    font-size: 16px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 15px;
}
.table-header-purchase span{
    font-size: 38px;
    display: block;
    margin-bottom: 20px;
}
.table-feature-free{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.table-feature-free svg{
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 2px;
}


/* Features Cards */
.features-section{
    padding: 60px 0;
    background-color: var(--color-surface);
}
.features-cards{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.features-card{
    background-color: var(--color-card);
    padding: 15px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(33, 43, 68, 0.07);
    transition: all 300ms ease;
}
.features-card img{
    width: 100%;
    height: auto;
}
.features-card img{
    transition: transform 300ms ease;
}
.features-card:hover,
.features-card:focus-within{
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(33, 43, 68, 0.12);
    border-color: rgba(47, 78, 161, 0.12);
}
.features-card:focus-visible{
    outline: 3px solid rgba(47, 78, 161, 0.12);
    outline-offset: 4px;
}
.features-card-content h2{
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-ink);
    margin-bottom: 5px;
}
.features-card-content p{
    margin: 0;
    line-height: 22px;
}



/* FAQ Wrapper */
.faq-section{
    padding: 90px 0;
    background:
    radial-gradient(circle at 0% 10%, rgba(110, 165, 62, 0.14) 0%, rgba(110, 165, 62, 0) 36%),
    radial-gradient(circle at 100% 90%, rgba(47, 78, 161, 0.14) 0%, rgba(47, 78, 161, 0) 40%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
}
.faqs{
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}
.faq-item {
    margin-bottom: 14px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(47, 47, 47, 0.05);
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.faq-item:hover{
    border-color: #d1daeb;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(47, 47, 47, 0.08);
}
.faq-item.active{
    border-color: #9fb2e2;
    box-shadow: 0 18px 32px rgba(47, 47, 47, 0.12);
}
.faq-question {
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 21px;
    line-height: 1.45;
    color: var(--color-ink);
    position: relative;
    padding: 22px 78px 22px 28px;
}
.faq-question::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(calc(-50% - 2px));
    width: 30px;
    height: 30px;
    border: 1px solid #cfd9ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 30px;
    font-weight: 400;
    padding: 0;
    box-sizing: border-box;
    color: #5870a7;
    background: #f1f5fd;
    transition: transform 250ms ease, color 250ms ease, border-color 250ms ease, background-color 250ms ease;
}
.faq-item.active .faq-question::after {
    content: "\2212";
    color: var(--color-ink);
    border-color: #9fb2e2;
    background: #e8eefc;
}
.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 28px;
    color: var(--color-text);
    transition: max-height 360ms ease, opacity 280ms ease, padding 320ms ease;
}
.faq-answer p:last-child {
    margin-bottom: 0;
}
.faq-item.active .faq-answer {
    max-height: 420px;
    opacity: 1;
    padding: 4px 28px 24px;
}



/* Widget Builder Section */
.widget-builder-section{
    padding-top: 60px;
}
.widget-builder-inner{
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 100px;
    align-items: center;
    background: linear-gradient(135deg, #243f86 0%, #2f5ca8 46%, #3c7bb5 100%);
    margin: 0 100px;
    padding: 60px 120px;
    border-radius: 20px;
}
.widget-builder-content h2{
    color: #fff;
    font-size: 48px;
    line-height: 62px;
    margin-bottom: 15px;
    font-weight: 800;
}
.widget-builder-content p{
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 30px;
}
.widget-builder-image img{
    width: 100%;
    height: auto;
    display: block;
}

/* Need Help Section */
.need-help-section{
    padding: 60px 0;
}
.need-help-inner{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    padding: 0 80px;
}
.need-help-card{
    background-color: var(--color-card);
    padding: 30px;
    border: 1px solid var(--color-border);
    transition: all 300ms ease;
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(33, 43, 68, 0.07);
}
.need-help-card h2{
    font-size: 20px;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    color: var(--color-ink);
}
.need-help-card p{
    margin-bottom: 15px;
}
.need-help-card svg{
    width: 50px;
    height: 50px;
    fill: var(--color-brand);
}
.need-help-card a{
    text-decoration: underline;
    color: var(--color-ink);
}
.need-help-card a:hover{
    color: var(--color-brand);
}

/* Need Help card hover / focus styles */
.need-help-card{
    will-change: transform;
}
.need-help-card svg{
    transition: transform 300ms ease, fill 300ms ease;
}
.need-help-card:hover,
.need-help-card:focus-within{
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(33, 43, 68, 0.14);
    border-color: rgba(47, 78, 161, 0.12);
}
.need-help-card:hover svg,
.need-help-card:focus-within svg{
    transform: translateY(-4px) scale(1.06);
    fill: var(--color-brand);
}
.need-help-card:focus-visible{
    outline: 3px solid rgba(47, 78, 161, 0.12);
    outline-offset: 4px;
}

section[id]{
    scroll-margin-top: 110px;
}


/* Footer Section */
.footer-section{
    background-color: #1d2433;
    padding: 60px 0;
}
.footer-inner{
    text-align: center;
}
.footer-inner h1{
    color: #fff;
    font-size: 56px;
    line-height: 66px;
    margin-bottom: 35px;
}
.hero-content-feature--footer{
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 35px;
}
.footer-bottom-section{
    background-color: #1d2433;
    text-align: center;
}
.footer-bottom-inner{
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}
.footer-bottom-inner p{
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1199px) {
    .hero-inner,
    .widget-builder-inner{
        gap: 48px;
    }

    .template-innner{
        grid-template-columns: 240px 1fr;
        gap: 32px;
    }

    .templates-wrap{
        grid-template-columns: repeat(2, 1fr);
    }

    .features-cards,
    .need-help-inner{
        grid-template-columns: repeat(2, 1fr);
    }

    .widget-builder-inner{
        margin: 0 24px;
        padding: 44px 40px;
    }
}

@media (max-width: 991px) {
    .header__toggle{
        display: inline-flex;
    }

    .header__right{
        gap: 12px;
    }

    .header__nav{
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        left: 0;
        z-index: 20;
    }

    .header__nav-list{
        display: none;
        flex-direction: column;
        gap: 6px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--color-border);
        border-radius: 18px;
        padding: 12px;
        box-shadow: 0 20px 40px rgba(18, 24, 37, 0.12);
    }

    .header__section.menu-open .header__nav-list{
        display: flex;
    }

    .header__nav-item,
    .header__nav-link{
        width: 100%;
    }

    .header__nav-link{
        padding: 12px 16px;
        border-radius: 14px;
    }

    .header__nav-link::after{
        display: none;
    }

    .button{
        height: 46px;
        padding: 0 22px;
        font-size: 14px;
    }

    .hero-section,
    .template-section,
    .layout-section,
    .features-section,
    .faq-section,
    .widget-builder-section,
    .need-help-section,
    .footer-section{
        padding-left: 0;
        padding-right: 0;
    }

    .hero-inner,
    .widget-builder-inner{
        grid-template-columns: 1fr;
    }

    .hero-inner{
        gap: 34px;
    }

    .hero-content{
        order: 2;
    }

    .wd-custom-slider{
        order: 1;
        max-width: 720px;
        margin: 0 auto;
    }

    .template-innner{
        grid-template-columns: 1fr;
    }

    .template-nav{
        position: static;
        height: auto;
        overflow: visible;
        padding-right: 0;
        width: 100%;
    }

    .template-nav__toggle{
        display: inline-flex;
    }

    .template-nav ul{
        display: none;
        flex-direction: column;
        gap: 8px;
        padding-bottom: 0;
        margin-top: 6px;
    }

    .template-nav.is-open ul{
        display: flex;
    }

    .template-nav ul li{
        width: 100%;
    }

    .template-nav ul li button,
    .template-nav ul li a{
        white-space: normal;
    }

    .templates-wrap{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-title span{
        font-size: 120px;
        line-height: 1;
        bottom: 28px;
    }

    .section-title h2{
        font-size: 38px;
        line-height: 1.18;
    }

    .widget-builder-inner{
        margin: 0 15px;
        padding: 36px 24px;
        gap: 24px;
    }

    .footer-inner h1,
    .widget-builder-content h2{
        font-size: 40px;
        line-height: 1.15;
    }
}

@media (max-width: 767px) {
    .et-container-fluid{
        padding: 0 12px;
    }
    .header__section{
        padding: 12px 0;
    }

    .logo img{
        height: 30px;
    }

    .header__right .button{
        padding: 0 16px;
        font-size: 12px;
        height: 42px;
    }

    .header__right .button svg{
        width: 18px;
        height: 18px;
    }

    .hero-section{
        padding: 42px 0;
    }

    .hero-content h1{
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .hero-content-feature li{
        align-items: flex-start;
    }

    
    .hero-actions .button{
        width: 100%;
    }

    .section-title{
        margin-bottom: 24px;
    }

    .section-title span{
        font-size: 84px;
        bottom: 22px;
    }

    .section-title h2{
        font-size: 30px;
        margin-bottom: 12px;
    }

    .section-title p br,
    .hero-content h1 br{
        display: none;
    }

    .template-section,
    .layout-section,
    .features-section,
    .faq-section,
    .widget-builder-section,
    .need-help-section,
    .footer-section{
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .templates-wrap,
    .features-cards,
    .need-help-inner{
        grid-template-columns: 1fr;
    }

    .template-card,
    .features-card,
    .need-help-card{
        border-radius: 16px;
    }

    .template-card__info{
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .template-nav ul{
        padding-bottom: 4px;
    }

    .template-nav ul li button,
    .template-nav ul li a{
        padding: 8px 16px;
    }

    .widget-builder-inner{
        margin: 0 15px;
        padding: 28px 18px;
    }

    .faqs{
        padding: 0 6px;
    }

    .faq-question{
        padding: 18px 58px 18px 18px;
        font-size: 18px;
    }

    .faq-answer{
        padding: 0 18px;
    }

    .faq-item.active .faq-answer{
        padding: 0 18px 18px;
    }

    .need-help-inner{
        padding: 0 15px;
    }

    .need-help-card{
        padding: 22px;
    }

    .footer-inner h1,
    .widget-builder-content h2{
        font-size: 32px;
        line-height: 1.18;
    }

    .hero-content-feature--footer{
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom-inner{
        flex-direction: column;
        gap: 10px;
    }

    table{
        width: 100%;
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 575px) {
    .et-container{
        padding: 0 12px;
    }

    .header__nav{
        top: calc(100% + 10px);
    }

    .header__nav-list{
        border-radius: 16px;
        padding: 10px;
    }

    .header__right{
        gap: 10px;
    }

    .section-title span{
        font-size: 66px;
        bottom: 16px;
    }

    .section-title h2{
        font-size: 26px;
    }

    .section-title p{
        font-size: 14px;
        line-height: 24px;
    }

    .hero-content h1{
        font-size: 2.1rem;
    }

    .hero-content-feature li{
        font-size: 14px;
        line-height: 22px;
    }

    .hero-content-feature li svg{
        width: 20px;
        height: 20px;
    }

    .templates-wrap{
        gap: 14px;
    }

    .template-card{
        padding: 12px;
    }

    .template-card__image{
        padding: 14px;
        padding-bottom: 0;
    }

    .template-card__title,
    .features-card-content h2,
    .need-help-card h2,
    .faq-question{
        font-family: var(--font-body);
    }

    .footer-inner h1,
    .widget-builder-content h2{
        font-size: 28px;
    }
}
