/*
 * Tabler Marketing Styles
 * Compiled from: github.com/tabler/tabler/tree/dev/core/scss/marketing/
 * These classes are NOT included in tabler.min.css CDN.
 */

/* Core */
.body-marketing {
    --tblr-body-font-size: 1rem;
    --tblr-body-line-height: 1.75;
}

.body-gradient {
    background: transparent;
}

/* Hero */
.hero {
    text-align: center;
    padding: 6.5rem 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: var(--tblr-font-weight-black, 700);
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.hero-description {
    color: var(--tblr-secondary);
    font-size: var(--tblr-font-size-h2, 1.25rem);
    line-height: 1.5;
    margin: 0 auto;
    max-width: 45rem;
}

.hero-description-wide {
    max-width: 61.875rem;
}

.hero-img {
    margin: 4rem auto;
    max-width: 65rem;
    border-radius: var(--tblr-border-radius-lg, 8px);
    position: relative;
    z-index: 1;
}

.hero-img img,
.hero-img svg {
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
}

.img-overlap-margin {
    margin-bottom: -8rem;
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 2rem; }
    .hero-description { font-size: var(--tblr-font-size-h3, 1rem); }
    .hero { padding: 4rem 0; }
}

/* Browser mockup */
.browser {
    border-radius: var(--tblr-border-radius-lg, 8px);
    box-shadow: 0 0 0 1px var(--tblr-border-color, #e5e7eb);
    background: var(--tblr-bg-surface-secondary, #f3f4f6);
    overflow: hidden;
}

.browser-header {
    padding: 0.25rem 1rem;
    background: var(--tblr-border-color-light, #f0f1f3) linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.03));
    border-bottom: 1px solid var(--tblr-border-color, #e5e7eb);
    border-radius: calc(var(--tblr-border-radius-lg, 8px) - 1px) calc(var(--tblr-border-radius-lg, 8px) - 1px) 0 0;
}

.browser-dots {
    margin-inline-end: 3rem;
    display: flex;
}

.browser-dot {
    margin-inline-end: 0.5rem;
    width: 0.75rem;
    min-width: 0.75rem;
    height: 0.75rem;
    background: var(--tblr-border-color, #e5e7eb);
    border-radius: var(--tblr-border-radius-circle, 50%);
    border: 1px solid var(--tblr-border-color-dark, #cdcfd3);
}

.browser-dots-colored .browser-dot:nth-child(1) { background: #fb6058; }
.browser-dots-colored .browser-dot:nth-child(2) { background: #fcbe3b; }
.browser-dots-colored .browser-dot:nth-child(3) { background: #2ccb4c; }

.browser-input {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0.25rem;
    color: var(--tblr-secondary);
    font-size: var(--tblr-font-size-h5, 0.75rem);
    border-radius: var(--tblr-border-radius, 4px);
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 1px 2px 0 rgba(0,0,0,0.05);
    background-image: linear-gradient(to bottom, var(--tblr-bg-surface, #fff), var(--tblr-bg-surface-secondary, #f3f4f6));
}

.browser-input:hover {
    text-decoration: none;
}

/* Sections */
.section {
    --section-bg: transparent;
    background: var(--section-bg);
    position: relative;
    padding: 5rem 0;
}

.section-sm {
    padding: 4rem 0;
}

.section-white {
    --section-bg: var(--tblr-bg-surface, #fff);
}

.section-light {
    --section-bg: var(--tblr-bg-surface-secondary, #f3f4f6);
}

.section-primary {
    --section-bg: var(--tblr-primary);
    color: #fff;
}

.section-dark {
    --section-bg: var(--tblr-dark);
    color: #fff;
}

.section-header {
    text-align: center;
    max-width: 45rem;
    margin: 0 auto 5rem;
}

.section-sm .section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: var(--tblr-font-size-h1, 1.5rem);
    font-weight: var(--tblr-font-weight-semibold, 600);
    line-height: 1.2;
}

.section-title-lg {
    font-size: 2rem;
}

.section-description {
    color: var(--tblr-secondary);
    font-size: var(--tblr-font-size-h3, 1rem);
    line-height: var(--tblr-line-height-h3, 1.5rem);
    margin-top: 1rem;
}

/* Section divider (waves) */
.section-divider {
    position: absolute;
    bottom: 100%;
    pointer-events: none;
    height: 5rem;
    width: 100%;
}

.section-divider path {
    fill: var(--section-bg);
}

@keyframes move-forever1 {
    0% { transform: translate(85px, 0); }
    100% { transform: translate(-90px, 0); }
}

@keyframes move-forever2 {
    0% { transform: translate(-90px, 0); }
    100% { transform: translate(85px, 0); }
}

@keyframes move-forever3 {
    0% { transform: translate(-90px, 0); }
    100% { transform: translate(85px, 0); }
}

.section-divider .wave-1 {
    animation: move-forever1 30s linear infinite;
    animation-delay: -2s;
}

.section-divider .wave-2 {
    animation: move-forever2 24s linear infinite;
    opacity: 0.5;
    animation-delay: -2s;
}

.section-divider .wave-3 {
    animation: move-forever3 18s linear infinite;
    opacity: 0.3;
    animation-delay: -2s;
}

.section-divider-auto {
    height: auto;
}

/* Shape icons — rounded square with light primary background */
.shape {
    --tblr-shape-size: 2.5rem;
    --tblr-shape-icon-size: 1.25rem;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: var(--tblr-shape-size) !important;
    height: var(--tblr-shape-size) !important;
    min-width: var(--tblr-shape-size) !important;
    background: #e6f1fa !important;
    color: #066fd1 !important;
    border-radius: 35% !important;
    line-height: 1;
}

[data-bs-theme="dark"] .shape {
    background: #162c43 !important;
    color: #4dabf7 !important;
}

.shape > .ti,
.shape > .icon,
.shape > i {
    font-size: var(--tblr-shape-icon-size) !important;
    width: auto !important;
    height: auto !important;
    line-height: 1;
    color: inherit !important;
}

.shape-sm {
    --tblr-shape-size: 2rem;
    --tblr-shape-icon-size: 1rem;
}

.shape-md {
    --tblr-shape-size: 3.5rem;
    --tblr-shape-icon-size: 1.5rem;
}

.shape-lg {
    --tblr-shape-size: 5rem;
    --tblr-shape-icon-size: 2rem;
}

/* Pricing */
.pricing {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    justify-content: center;
}

@media (min-width: 768px) {
    .pricing {
        flex-direction: row;
    }
}

.pricing-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--tblr-bg-surface, #fff);
    border: 1px solid var(--tblr-border-color, #e5e7eb);
    padding: 2rem;
    margin: 0 0 1rem;
    position: relative;
    box-shadow: var(--tblr-shadow-card, 0 1px 3px rgba(0,0,0,0.04));
    text-align: center;
    border-radius: var(--tblr-border-radius-lg, 8px);
}

@media (min-width: 768px) {
    .pricing-card {
        margin: 1rem -1px;
        max-width: 22rem;
    }

    .pricing-card:first-child {
        border-radius: var(--tblr-border-radius-lg, 8px) 0 0 var(--tblr-border-radius-lg, 8px);
    }

    .pricing-card:last-child {
        border-radius: 0 var(--tblr-border-radius-lg, 8px) var(--tblr-border-radius-lg, 8px) 0;
    }
}

.pricing-card.featured {
    z-index: 1;
    border: 2px solid var(--tblr-primary);
    order: -1;
}

@media (min-width: 768px) {
    .pricing-card.featured {
        order: unset;
        margin-top: 0;
        margin-bottom: 0;
        box-shadow: var(--tblr-shadow-card, 0 1px 3px rgba(0,0,0,0.04));
        border-radius: var(--tblr-border-radius-lg, 8px);
    }
}

.pricing-title {
    font-size: var(--tblr-font-size-h2, 1.25rem);
    line-height: 1.75rem;
}

.pricing-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-btn {
    margin-top: auto;
    padding-top: 2rem;
}

.pricing-price {
    display: flex;
    justify-content: center;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 600;
    margin: 0.75rem 0;
}

.pricing-price-currency {
    font-size: var(--tblr-font-size-h2, 1.25rem);
    line-height: 1.5;
    margin-inline-end: 0.25rem;
    font-weight: 600;
}

.pricing-price-description {
    font-size: var(--tblr-font-size-h4, 0.875rem);
    line-height: 1.25rem;
    font-weight: 400;
    color: var(--tblr-secondary);
    align-self: center;
    margin-inline-start: 0.5rem;
}

.pricing-features {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    text-align: start;
}

.pricing-features > li:not(:first-child) {
    margin-top: 0.25rem;
}

/* Container narrow (for CTA sections) */
.container-narrow {
    max-width: 45rem;
    margin: 0 auto;
    padding: 0 1rem;
}
