/* FTM Global Theme Styles */

:root {
    /* Theme Colors */
    --ftm-primary: #A100FF;
    --ftm-secondary: #460073;
    --ftm-link: #8A2BE2;
    --ftm-heading: #1B252F;
    --ftm-body: #4B5563;
    --ftm-border: #E5E7EB;
    --ftm-surface: #FFFFFF;
    --ftm-bg: #F8F9FC;
    --ftm-gradient: linear-gradient(135deg, #460073 0%, #A100FF 100%);
    --ftm-gradient-vertical: linear-gradient(180deg, #A100FF 0%, #460073 100%);
}

/* 1. Typography & Base Theme */
body {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    background-color: var(--ftm-bg);
    color: var(--ftm-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-montserrat {
    font-family: 'Montserrat', sans-serif !important;
    color: var(--ftm-heading);
}

h1 {
    font-weight: 800;
    /* font-extrabold */
    font-size: 36px;
    /* text-4xl */
    line-height: 1.25;
    /* leading-tight */
    color: #ffffff;
    /* text-white */
    letter-spacing: -0.025em;
    /* tracking-tight */
    margin-bottom: 24px;
    /* mb-6 */
}

/* md:text-5xl */
@media (min-width: 768px) {
    h1 {
        font-size: 48px;
    }
}

/* lg:text-6xl */
@media (min-width: 1024px) {
    h1 {
        font-size: 60px;
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    h1 {
        font-size: 96px;
        /* up to 6rem */
    }
}

h2 {
    font-weight: 700;
    /* font-bold */
    font-size: 30px;
    /* text-3xl approx */
    line-height: 1.2;
    color: #ffffff;
    /* text-slate-900 */
}

@media (min-width: 640px) {
    h2 {
        font-size: 36px;
        /* sm:text-4xl */
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 26px;
    }
}

h3 {
    font-weight: 700;
    /* font-bold */
    font-size: 20px;
    /* text-xl */
    line-height: 1.3;
    color: #ffffff;
    /* text-slate-900 */
    margin-bottom: 8px;
    /* mb-3 */
}

/* Desktop */
@media (min-width: 768px) {
    h3 {
        font-size: 24px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    h3 {
        font-size: 20px;
    }
}

h4 {
    font-weight: 700;
    /* font-semibold */
    font-size: 20px;
    /* text-lg */
    line-height: 1.4;
    color: #ffffff;
    /* text-slate-900 */
    margin-bottom: 4px;
    /* mb-2 */
}

/* Desktop */
@media (min-width: 768px) {
    h4 {
        font-size: 16px;
        color: #ffffff;

    }
}

h5 {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
}

h6 {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
}

p {
    font-size: 16px;
    font-weight: 400;
    color: rgb(148, 163, 184);
    /* text-slate-400 */
    line-height: 1.625;
    /* leading-relaxed */
    margin-bottom: 14px;
    display: block;
    unicode-bidi: isolate;
}

/* 3. Container Layout */
.ftm-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.ftm-container-content {
    max-width: auto;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.ftm-container-narrow {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.ftm-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    .ftm-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* 4. Buttons */
.ftm-btn-primary {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    background-color: var(--ftm-primary) !important;
    border: 1px solid var(--ftm-primary) !important;
    padding: 10px 25px !important;
    border-radius: 40px !important;
    transition: all 0.3s ease !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.ftm-btn-primary:hover {
    color: #FFFFFF !important;
    background-color: var(--ftm-secondary) !important;
    border-color: var(--ftm-secondary) !important;
}

.ftm-btn-secondary {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--ftm-primary) !important;
    background-color: transparent !important;
    border: 1px solid var(--ftm-primary) !important;
    padding: 14px 32px !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.ftm-btn-secondary:hover {
    color: #FFFFFF !important;
    background-color: var(--ftm-primary) !important;
}

/* 5. Cards & Pricing */
.ftm-card {
    background-color: var(--ftm-surface);
    border: 1px solid var(--ftm-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(161, 0, 255, 0.10);
    padding: 24px;
}

.ftm-card-featured {
    background: var(--ftm-gradient-vertical);
    color: #FFFFFF;
    border-radius: 20px;
    padding: 24px;
    border: none;
}

.ftm-card-featured h1,
.ftm-card-featured h2,
.ftm-card-featured h3,
.ftm-card-featured h4,
.ftm-card-featured h5,
.ftm-card-featured h6,
.ftm-card-featured p {
    color: #FFFFFF !important;
}

/* Generic Link Hover */
.ftm-link {
    color: var(--ftm-link);
    transition: color 0.3s ease;
}

.ftm-link:hover {
    color: var(--ftm-secondary);
}

/* 7. Footer */
.ftm-footer {
    background-color: #0F172B;
    color: #D1D5DB;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ftm-footer-newsletter-border {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ftm-footer-bottom-border {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ftm-footer-bottom-border p a {
    font-size: 14px;

}

.ftm-footer-bottom-border p {
    font-size: 14px;

}

/* Spacing Adjustments (Compact) */
.ftm-footer-py-newsletter {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.ftm-footer-py-main {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.ftm-footer-py-main h3 {
    font-size: 18px;

}

.ftm-footer-gap {
    gap: 1.5rem;
}

.ftm-footer-space-y-large> :not([hidden])~ :not([hidden]) {
    margin-top: 0.5rem;
    font-size: 15px;
}

.ftm-footer-space-y-small> :not([hidden])~ :not([hidden]) {
    margin-top: 0.5rem;
}

.ftm-footer-mb-heading {
    margin-bottom: 0.75rem;
}

.ftm-footer-social-gap {
    gap: 0.75rem;
}

/* Colors and Elements */
.ftm-footer-text {
    color: #94a3b8 !important;
    margin-bottom: 0%;

}

.ftm-footer-text p {
    color: #94a3b8 !important;
    margin-bottom: 0%;
    font-size: 15px;

}

.ftm-footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ftm-footer-link:hover {
    color: #FFFFFF;
}

.ftm-footer-social {
    display: flex;
    gap: 0.75rem;
}

.ftm-social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    color: #A100FF;
    transition: all 0.3s ease;
}

.ftm-social-icon:hover {
    background-color: #A100FF !important;
    color: #FFFFFF !important;
}

.ftm-footer-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    outline: none;
    transition: all 0.3s ease;
}

.ftm-footer-input:focus {
    border-color: #A100FF;
    box-shadow: 0 0 0 2px rgba(161, 0, 255, 0.2);
}

.ftm-footer-ticker-wrap {
    background-color: rgba(161, 0, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ftm-footer-ticker-text {
    color: #d1d0d0 !important;
    font-size: 8px;
}

/* Ticker Animation */
.ftm-footer-ticker {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ftm-footer-ticker span {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(161, 0, 255, 0.4) !important;
    margin-left: 2rem;
    margin-right: 2rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 8. Header Component */
.ftm-font {
    font-family: 'Inter', sans-serif;
}

.ftm-menu-link {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-scrolled {
    background-color: #A100FF;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-scrolled .ftm-logo {
    filter: brightness(0) invert(1);
}

.header-scrolled .ftm-menu-link {
    color: #ffffff;
}

.header-scrolled .ftm-menu-link:hover {
    color: #000000;
}

.header-scrolled .ftm-cta-btn {
    background-color: #A100FF;
    color: #FFFFFF;
}

.header-scrolled .ftm-cta-btn:hover {
    background-color: #8c00df;
    box-shadow: 0 10px 20px -10px rgba(161, 0, 255, 0.5);
}

.header-scrolled .ftm-mobile-btn {
    color: #1B252F;
}

.header-scrolled .ftm-mobile-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.header-transparent {
    background-color: transparent;
}

.header-transparent .ftm-menu-link {
    color: #1B252F;
}

.header-transparent .ftm-menu-link:hover {
    color: #A100FF;
}

.header-transparent .ftm-cta-btn {
    background-color: #FFFFFF;
    color: #A100FF;
}

.header-transparent .ftm-cta-btn:hover {
    background-color: #F8F9FA;
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.2);
}

.header-transparent .ftm-mobile-btn {
    color: #FFFFFF;
}

.header-transparent .ftm-mobile-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.ftm-dropdown {
    background-color: #FFFFFF;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.ftm-dropdown-link {
    color: #1B252F;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.ftm-dropdown-link:hover {
    color: #A100FF;
    background-color: rgba(161, 0, 255, 0.05);
}

.ftm-dropdown-icon {
    color: #A100FF;
    background-color: rgba(161, 0, 255, 0.05);
}

.ftm-dropdown-link:hover .ftm-dropdown-icon {
    background-color: #A100FF;
    color: #FFFFFF;
}

.ftm-mobile-menu {
    background-color: #FFFFFF;
}

.ftm-mobile-link {
    color: #1B252F;
    font-family: 'Inter', sans-serif;
}

.ftm-mobile-link:hover {
    color: #A100FF;
    background-color: rgba(161, 0, 255, 0.05);
}

.ftm-mobile-sublink {
    color: #475569;
    font-family: 'Inter', sans-serif;
}

.ftm-mobile-sublink:hover {
    color: #A100FF;
    background-color: rgba(161, 0, 255, 0.05);
}

.ftm-mobile-icon {
    color: #94A3B8;
}

.ftm-mobile-sublink:hover .ftm-mobile-icon {
    color: #A100FF;
    border-color: rgba(161, 0, 255, 0.2);
}

.ftm-cta-btn {
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    border: 1px solid transparent;
}

.ftm-logo {
    width: 125px;
    height: auto;
}

.ftm-header-inner {
    height: 80px;
}