/* Styles from pageincludes/hero_section.php */
/* Clean Light System - Hero Section */
.tm-hero-light {
    background-color: #f0f6ff;
    position: relative;
    padding: 32px 20px 80px;
    /* Reduced further */
    font-family: 'Inter', sans-serif;
    text-align: center;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .tm-hero-light {
        padding: 40px 20px 112px;
        /* Reduced further */
    }
}

/* Subtle Technical Grid */
.tm-hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, #ffffff 1px, transparent 1px),
        linear-gradient(to bottom, #ffffff 1px, transparent 1px);
    background-size: 4rem 4rem;
    z-index: 1;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 70%, transparent 100%);
}

/* Bottom Glow */
.tm-hero-glow {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
}

.tm-hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.tm-hero-eyebrow {
    background-color: #FFFFFF;
    color: #1D4ED8;
    border: 1px solid rgba(191, 219, 254, 0.8);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tm-hero-spark {
    width: 6px;
    height: 6px;
    background-color: #2563EB;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(37, 99, 235, 0.8);
}

.tm-hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #020617;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.tm-hero-title-blue {
    color: #0b3eacff;
}

.tm-hero-subtitle {
    font-size: 1.2rem;
    color: #3d4754ff;
    font-weight: 400;
    line-height: 1.625;
    max-width: 672px;
    margin: 0 auto;
    font-weight: 500;
}

.tm-hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

@media (min-width: 640px) {
    .tm-hero-ctas {
        flex-direction: row;
    }
}

.tm-btn-primary {
    background-color: #2563EB;
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.25), 0 4px 6px -4px rgba(37, 99, 235, 0.1);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: none;
    display: inline-block;
    width: 100%;
}

.tm-btn-primary:hover {
    background-color: #1D4ED8;
    transform: scale(1.02);
}

.tm-btn-secondary {
    background-color: #FFFFFF;
    color: #0F172A !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 12px;
    border: 2px solid #E2E8F0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    width: 100%;
}

.tm-btn-secondary:hover {
    background-color: #F8FAFC;
    border-color: #CBD5E1;
}

@media (min-width: 640px) {

    .tm-btn-primary,
    .tm-btn-secondary {
        width: auto;
    }
}

.tm-hero-trust {
    font-size: 0.875rem;
    color: #000000;
    font-weight: 500;
    letter-spacing: 0.025em;
    margin-top: 24px;
}

/* Responsive Text Sizing */
@media (min-width: 640px) {
    .tm-hero-title {
        font-size: 3rem;
    }

    .tm-hero-subtitle {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .tm-hero-title {
        font-size: 3rem;
    }
}

/* Styles from pageincludes/trust_section.php */
/* Clean Light System - Trust Section */
.tm-trust-section {
    background-color: #F8FAFC;
    /* bg-slate-50 */
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 56px 20px;
    /* py-14 */
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.tm-trust-container {
    max-width: 1152px;
    /* max-w-6xl */
    margin: 0 auto;
}

.tm-trust-eyebrow {
    font-size: 0.75rem;
    /* text-xs */
    font-weight: 700;
    /* font-bold */
    color: #64748B;
    /* text-slate-500 */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* tracking-widest */
    margin-bottom: 24px;
    display: block;
}

/* Marquee / Logo Carousel */
.tm-trust-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 32px;
}

/* Optional subtle fade on edges */
.tm-trust-marquee-wrapper::before,
.tm-trust-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.tm-trust-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #F8FAFC, transparent);
}

.tm-trust-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #F8FAFC, transparent);
}

.tm-trust-marquee {
    display: flex;
    width: max-content;
    animation: tm-marquee-scroll 25s linear infinite;
}

.tm-trust-marquee:hover {
    animation-play-state: paused;
}

.tm-trust-marquee-group {
    display: flex;
    align-items: center;
    gap: 48px;
    /* crisp spacing */
    padding-right: 48px;
}

.tm-trust-marquee-group img {
    height: 30px;
    /* Consistent height */
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.tm-trust-marquee-group img:hover {
    opacity: 1;
}

@keyframes tm-marquee-scroll {
    from {
        transform: translateX(0);
    }

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

/* Compact Stats Bar */
.tm-trust-stats {
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding-top: 32px;
    margin-top: 32px;
    max-width: 896px;
    /* max-w-4xl */
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

@media (min-width: 640px) {
    .tm-trust-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

.tm-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tm-stat-value {
    font-family: 'JetBrains Mono', monospace, sans-serif;
    font-size: 1.875rem;
    /* sm:text-3xl */
    font-weight: 800;
    /* font-extrabold */
    letter-spacing: -0.025em;
    /* tracking-tight */
    line-height: 1.2;
}

.tm-stat-value.dark {
    color: #020617;
}

/* text-slate-950 */
.tm-stat-value.blue {
    color: #2563EB;
}

/* text-blue-600 */

.tm-stat-label {
    font-size: 0.875rem;
    /* text-sm */
    color: #64748B;
    /* text-slate-500 */
    font-weight: 500;
    /* font-medium */
    margin-top: 4px;
}

@media (max-width: 639px) {
    .tm-stat-value {
        font-size: 1.5rem;
    }

    /* text-2xl */
    .tm-stat-label {
        font-size: 0.75rem;
    }

    /* text-xs */
}

/* Styles from pageincludes/what_you_can_offer.php */
/* Section 3: What You Can Offer - Bento Grid */
.tm-offer-section {
    background-color: #FFFFFF;
    padding: 80px 20px;
    font-family: 'Inter', sans-serif;
}

@media (min-width: 1024px) {
    .tm-offer-section {
        padding: 112px 20px;
    }
}

.tm-offer-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Header */
.tm-offer-header {
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tm-offer-eyebrow {
    background-color: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid rgba(191, 219, 254, 0.8);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: inline-block;
}

.tm-offer-headline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #020617;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .tm-offer-headline {
        font-size: 3rem;
    }
}

.tm-offer-subtitle {
    font-size: 1rem;
    color: #475569;
    max-width: 672px;
    line-height: 1.625;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .tm-offer-subtitle {
        font-size: 1.125rem;
    }
}

/* Bento Grid */
.tm-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 1024px) {
    .tm-bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Bento Cards */
.tm-bento-card {
    background: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 100%);
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    padding: 32px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tm-bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Grid Layout Spans */
@media (min-width: 1024px) {
    .tm-bento-1 {
        grid-column: span 3;
    }

    /* Airtime */
    .tm-bento-2 {
        grid-column: span 3;
    }

    /* Utilities */
    .tm-bento-3 {
        grid-column: span 2;
    }

    /* Virtual Card */
    .tm-bento-4 {
        grid-column: span 2;
    }

    /* Rewards */
    .tm-bento-5 {
        grid-column: span 2;
    }

    /* Tech Store */
}

/* Card Content Typography */
.tm-bento-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: block;
}

.tm-bento-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
    line-height: 1.2;
}

.tm-bento-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 32px;
}

/* Micro-Visuals */
.tm-micro-visual {
    margin-top: auto;
    width: 100%;
}

/* Card 1: Network Chips */
.tm-micro-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 16px;
    border-radius: 0.75rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.tm-chip-pill {
    background-color: #FFFFFF;
    color: #0F172A;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 9999px;
    border: 1px solid #CBD5E1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Card 2: Receipt */
.tm-micro-receipt {
    background-color: #FFFFFF;
    border: 1px dashed #CBD5E1;
    border-radius: 0.5rem;
    padding: 16px;
    width: 80%;
    margin: 0 auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.tm-receipt-header {
    font-size: 0.75rem;
    color: #64748B;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.tm-receipt-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0F172A;
    text-align: center;
    margin-bottom: 8px;
}

.tm-receipt-token {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: #2563EB;
    background-color: #EFF6FF;
    padding: 8px;
    border-radius: 0.375rem;
    text-align: center;
    letter-spacing: 0.05em;
}

/* Card 3: Virtual Card */
.tm-micro-vcard {
    background: linear-gradient(135deg, #0F172A, #1E3A8A);
    border-radius: 0.75rem;
    padding: 20px;
    color: #FFFFFF;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
    position: relative;
    overflow: hidden;
}

.tm-vcard-chip {
    width: 36px;
    height: 24px;
    background-color: #FBBF24;
    border-radius: 4px;
    margin-bottom: 16px;
    background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
}

.tm-vcard-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.tm-vcard-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #CBD5E1;
}

/* Card 4: Rewards Voucher */
.tm-micro-voucher {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border-radius: 0.75rem;
    padding: 20px;
    color: #FFFFFF;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
    position: relative;
    text-align: center;
}

.tm-voucher-dashed {
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 0.5rem;
    padding: 16px;
}

.tm-voucher-amount {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.tm-voucher-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

/* Card 5: Tech Store */
.tm-micro-tech {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 16px;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 20px 16px 16px;
    border-radius: 0.75rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    height: 120px;
}

.tm-tech-laptop {
    width: 90px;
    height: 60px;
    background-color: #94A3B8;
    border-radius: 4px 4px 0 0;
    position: relative;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tm-tech-laptop::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -10px;
    width: 110px;
    height: 8px;
    background-color: #64748B;
    border-radius: 2px 2px 8px 8px;
}

.tm-tech-phone {
    width: 36px;
    height: 72px;
    background-color: #475569;
    border-radius: 6px;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
}

.tm-tech-phone::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background-color: #0F172A;
    border-radius: 2px;
}

/* Styles from pageincludes/two_ways_intro.php */
/* Section 4: Two Ways Intro */
.tm-twoways-section {
    background-color: #F8FAFC;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding: 80px 20px 48px;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.tm-twoways-container {
    max-width: 1280px;
    margin: 0 auto;
}

.tm-twoways-eyebrow {
    background-color: #FFFFFF;
    color: #334155;
    border: 1px solid #E2E8F0;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: inline-block;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.tm-twoways-headline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.875rem;
    font-weight: 800;
    color: #020617;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .tm-twoways-headline {
        font-size: 3rem;
    }
}

.tm-twoways-subtitle {
    font-size: 1rem;
    color: #475569;
    max-width: 672px;
    line-height: 1.625;
    margin: 0 auto;
    margin-top: 16px;
}

@media (min-width: 640px) {
    .tm-twoways-subtitle {
        font-size: 1.125rem;
    }
}

/* Styles from pageincludes/connect_build_deepdive.php */
/* Connect & Build Refactor */
.tm-deepdive-section {
    background-color: #F8FAFC;
    padding-bottom: 96px;
    padding-top: 64px;
    font-family: 'Inter', sans-serif;
}

.tm-deepdive-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.tm-deepdive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .tm-deepdive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Card Container */
.tm-deepdive-card {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    padding: 32px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 1024px) {
    .tm-deepdive-card {
        padding: 40px;
    }
}

/* Eyebrows */
.tm-badge-blue {
    background-color: #EFF6FF;
    color: #1D4ED8;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
}

.tm-badge-dark {
    background-color: #0F172A;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
}

/* Typography */
.tm-deepdive-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #020617;
    margin-bottom: 12px;
}

.tm-deepdive-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Micro-Pill Flow */
.tm-pill-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
}

.tm-pill-step {
    background-color: #F1F5F9;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
}

.tm-pill-arrow {
    color: #94A3B8;
    font-size: 0.75rem;
}

/* Bottom CTA Area */
.tm-deepdive-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tm-btn-connect {
    background-color: #2563EB;
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.tm-btn-connect:hover {
    background-color: #1D4ED8;
    color: #FFFFFF;
}

.tm-btn-build {
    background-color: #0F172A;
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.tm-btn-build:hover {
    background-color: #020617;
    color: #FFFFFF;
}

.tm-link-secondary {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
}

.tm-link-secondary:hover {
    color: #0F172A;
    text-decoration: underline;
}

/* Styles from pageincludes/built_with_love.php */
/* Section: Built With Love Spotlight */
.tm-love-section {
    background-color: #FFFFFF;
    padding: 80px 20px;
    font-family: 'Inter', sans-serif;
}

@media (min-width: 1024px) {
    .tm-love-section {
        padding: 96px 20px;
    }
}

.tm-love-container {
    max-width: 1152px;
    margin: 0 auto;
}

/* Spotlight Card */
.tm-love-card {
    background: linear-gradient(135deg, #020617 0%, #0F172A 50%, #172554 100%);
    border: 1px solid rgba(30, 41, 59, 0.8);
    border-radius: 1.5rem;
    padding: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 640px) {
    .tm-love-card {
        padding: 48px;
    }
}

@media (min-width: 1024px) {
    .tm-love-card {
        padding: 56px;
        grid-template-columns: repeat(12, 1fr);
    }
}

/* Background Texture */
.tm-love-ambient {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Left Column */
.tm-love-left {
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .tm-love-left {
        grid-column: span 7;
    }
}

.tm-love-eyebrow {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #BFDBFE;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tm-love-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .tm-love-title {
        font-size: 2.25rem;
    }
}

.tm-love-body {
    font-size: 1rem;
    color: #CBD5E1;
    line-height: 1.625;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .tm-love-body {
        font-size: 1.125rem;
    }
}

.tm-love-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #60A5FA;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.tm-love-link:hover {
    color: #93C5FD;
}

/* Right Column (Visual) */
.tm-love-right {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1024px) {
    .tm-love-right {
        grid-column: span 5;
    }
}

.tm-love-visual-wrapper {
    position: relative;
}

.tm-love-photo {
    width: 208px;
    height: 208px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.1), 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: block;
}

@media (min-width: 640px) {
    .tm-love-photo {
        width: 256px;
        height: 256px;
    }
}

/* Floating Badges */
.tm-love-badge-tr {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #334155;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.tm-love-badge-bl {
    position: absolute;
    bottom: -12px;
    left: -12px;
    background-color: #FFFFFF;
    color: #020617;
    border: 1px solid #E2E8F0;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* Styles from pageincludes/customer_proof.php */
/* Section 9: Customer Proof & Outcomes */
.tm-proof-section {
    background-color: #F8FAFC;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding: 80px 20px;
    font-family: 'Inter', sans-serif;
}

@media (min-width: 1024px) {
    .tm-proof-section {
        padding: 96px 20px;
    }
}

.tm-proof-container {
    max-width: 1280px;
    margin: 0 auto;
}

.tm-proof-header {
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tm-proof-eyebrow {
    background-color: #FFFFFF;
    color: #334155;
    border: 1px solid #E2E8F0;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: inline-block;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.tm-proof-headline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.875rem;
    font-weight: 800;
    color: #020617;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .tm-proof-headline {
        font-size: 3rem;
    }
}

.tm-proof-subtitle {
    font-size: 1rem;
    color: #475569;
    max-width: 672px;
    line-height: 1.625;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .tm-proof-subtitle {
        font-size: 1.125rem;
    }
}

/* Grid */
.tm-proof-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 1024px) {
    .tm-proof-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Cards */
.tm-proof-card {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    padding: 28px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tm-proof-badge-blue {
    background-color: #EFF6FF;
    color: #1D4ED8;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 16px;
    align-self: flex-start;
}

.tm-proof-badge-emerald {
    background-color: #ECFDF5;
    color: #047857;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 16px;
    align-self: flex-start;
}

.tm-proof-badge-purple {
    background-color: #FAF5FF;
    color: #7E22CE;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 16px;
    align-self: flex-start;
}

.tm-proof-quote {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.625;
    margin-bottom: 24px;
    font-style: italic;
    flex-grow: 1;
}

.tm-proof-author {
    border-top: 1px solid #F1F5F9;
    padding-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tm-proof-author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #E2E8F0;
}

.tm-proof-author-details {
    display: flex;
    flex-direction: column;
}

.tm-proof-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0F172A;
}

.tm-proof-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748B;
    margin-top: 2px;
}

/* Styles from pageincludes/faq_section.php */
/* Section 10: FAQ */
.tm-faq-section {
    background-color: #FFFFFF;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding: 80px 20px;
    font-family: 'Inter', sans-serif;
}

@media (min-width: 1024px) {
    .tm-faq-section {
        padding: 96px 20px;
    }
}

.tm-faq-container {
    max-width: 896px;
    margin: 0 auto;
}

.tm-faq-header {
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tm-faq-eyebrow {
    background-color: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid rgba(191, 219, 254, 0.8);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: inline-block;
}

.tm-faq-headline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.875rem;
    font-weight: 800;
    color: #020617;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 12px;
}

@media (min-width: 640px) {
    .tm-faq-headline {
        font-size: 2.25rem;
    }
}

.tm-faq-subtitle {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.625;
}

@media (min-width: 640px) {
    .tm-faq-subtitle {
        font-size: 1rem;
    }
}

/* Accordion */
.tm-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tm-faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 0.75rem;
    overflow: hidden;
}

.tm-faq-item summary {
    padding: 20px 24px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
    cursor: pointer;
    list-style: none;
    /* Hide default arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.tm-faq-item summary::-webkit-details-marker {
    display: none;
}

.tm-faq-item summary:hover {
    background-color: #F8FAFC;
}

.tm-faq-icon {
    font-size: 1.2rem;
    color: #64748B;
    transition: transform 0.3s ease;
}

.tm-faq-item[open] .tm-faq-icon {
    transform: rotate(45deg);
}

.tm-faq-content {
    padding: 0 24px 24px 24px;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.625;
}

/* Styles from pageincludes/final_cta_section.php */
/* Section 11: Final CTA */
.tm-cta-section {
    background: linear-gradient(to bottom, #FFFFFF, rgba(239, 246, 255, 0.5), rgba(219, 234, 254, 0.4));
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding: 80px 20px;
    font-family: 'Inter', sans-serif;
}

@media (min-width: 1024px) {
    .tm-cta-section {
        padding: 112px 20px;
    }
}

.tm-cta-container {
    max-width: 1152px;
    margin: 0 auto;
    text-align: center;
}

.tm-cta-eyebrow {
    background-color: #FFFFFF;
    color: #1D4ED8;
    border: 1px solid #BFDBFE;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: inline-block;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.tm-cta-headline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.875rem;
    font-weight: 800;
    color: #020617;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .tm-cta-headline {
        font-size: 3rem;
    }
}

.tm-cta-subtitle {
    font-size: 1rem;
    color: #475569;
    max-width: 576px;
    line-height: 1.625;
    margin: 0 auto 48px auto;
}

@media (min-width: 640px) {
    .tm-cta-subtitle {
        font-size: 1.125rem;
    }
}

/* Cards Grid */
.tm-cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
}

@media (min-width: 768px) {
    .tm-cta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Card */
.tm-cta-card {
    background-color: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1rem;
    padding: 32px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tm-cta-card.connect:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tm-cta-card.build:hover {
    border-color: #1E293B;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tm-cta-card-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    display: block;
    margin-bottom: 8px;
}

.tm-cta-card-badge.connect {
    color: #1D4ED8;
}

.tm-cta-card-badge.build {
    color: #334155;
}

.tm-cta-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #020617;
}

.tm-cta-card-body {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
    margin-top: 8px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.tm-cta-btn {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.tm-cta-btn.connect {
    background-color: #2563EB;
    color: #FFFFFF;
}

.tm-cta-btn.connect:hover {
    background-color: #1D4ED8;
    color: #FFFFFF;
}

.tm-cta-btn.build {
    background-color: #020617;
    color: #FFFFFF;
}

.tm-cta-btn.build:hover {
    background-color: #1E293B;
    color: #FFFFFF;
}

/* Styles from pageincludes/header.php */
/* Clean Light System Header */
.tm-light-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #E2E8F0;
    position: sticky;
    top: 0;
    z-index: 1050;
    height: 80px;
    font-family: 'Inter', sans-serif;
}

.tm-light-header .container-xl {
    max-width: 1280px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tm-logo {
    display: flex;
    align-items: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #09090B;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.tm-logo-dot {
    color: #2563EB;
    margin-left: 2px;
}

/* Nav Links */
.tm-nav-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 100%;
}

.tm-nav-item {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    padding: 0 16px;
}

.tm-nav-link {
    color: #09090B;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.tm-nav-link:hover {
    color: #2563EB;
}

.tm-nav-link i {
    font-size: 12px;
    color: #94A3B8;
}

/* Dropdown Shared */
.tm-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    padding: 8px;
    min-width: 240px;
}

.tm-nav-item:hover .tm-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Simple Dropdown Items */
.tm-dropdown-item {
    display: block;
    padding: 10px 16px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.tm-dropdown-item:hover {
    background-color: #F8FAFC;
    color: #2563EB;
}

/* Card Dropdown (Solutions) */
.tm-dropdown-card {
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.tm-dropdown-card:hover {
    background-color: #F8FAFC;
}

.tm-dropdown-card-title {
    color: #09090B;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.tm-dropdown-card-badge {
    background: rgba(37, 99, 235, 0.1);
    color: #2563EB;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tm-dropdown-card-desc {
    color: #64748B;
    font-size: 13px;
    line-height: 1.5;
}

/* Mega Menu (Services) */
.tm-mega-menu {
    min-width: 500px;
    padding: 20px;
}

.tm-mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tm-mega-col-title {
    font-size: 12px;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-left: 12px;
}

.tm-mega-link {
    display: block;
    padding: 8px 12px;
    color: #09090B;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
}

.tm-mega-link:hover {
    color: #2563EB;
    background-color: #F8FAFC;
}

.tm-mega-bottom {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #E2E8F0;
    text-align: center;
}

.tm-mega-bottom a {
    color: #2563EB;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.tm-mega-bottom a:hover {
    text-decoration: underline;
}

/* Status Indicator */
.tm-status-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: pulse-emerald 2s infinite;
}

@keyframes pulse-emerald {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Right Actions */
.tm-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tm-login-btn {
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
    padding: 8px 12px;
}

.tm-login-btn:hover {
    color: #2563EB;
}

.tm-get-started-btn {
    background-color: #2563EB;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
    transition: all 0.2s;
}

.tm-get-started-btn:hover {
    background-color: #1D4ED8;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.tm-mobile-toggle {
    display: none;
    font-size: 24px;
    color: #09090B;
    cursor: pointer;
}

/* Mobile Drawer */
.tm-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tm-mobile-drawer.active {
    right: 0;
}

.tm-drawer-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #E2E8F0;
}

.tm-drawer-close {
    font-size: 24px;
    cursor: pointer;
    color: #09090B;
}

.tm-drawer-body {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
}

.tm-drawer-accordion-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 700;
    color: #09090B;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-drawer-accordion-content {
    display: none;
    padding-left: 12px;
    padding-bottom: 12px;
}

.tm-drawer-accordion-content a {
    display: block;
    padding: 8px 0;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
}

.tm-drawer-footer {
    padding: 20px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tm-drawer-btn-secondary {
    background-color: #ffffff;
    color: #09090B !important;
    border: 1px solid #E2E8F0;
    padding: 10px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
}

.tm-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 9, 11, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tm-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991px) {

    .tm-nav-list,
    .tm-actions {
        display: none;
    }

    .tm-mobile-toggle {
        display: block;
    }
}

/* Styles from pageincludes/footer.php */
/* Footer Revamp */
.tm-footer {
    background-color: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    padding-top: 64px;
    padding-bottom: 64px;
    font-family: 'Inter', sans-serif;
}

.tm-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.tm-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 640px) {
    .tm-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tm-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
        gap: 24px;
    }
}

/* Col 1: Brand */
.tm-footer-brand {
    display: flex;
    flex-direction: column;
}

.tm-footer-logo {
    margin-bottom: 16px;
    display: inline-block;
}

.tm-footer-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.tm-footer-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 320px;
}

.tm-footer-status {
    background-color: #ECFDF5;
    color: #059669;
    border: 1px solid rgba(167, 243, 208, 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
}

.tm-status-dot {
    width: 6px;
    height: 6px;
    background-color: #10B981;
    border-radius: 50%;
}

.tm-footer-socials {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 24px;
}

.tm-footer-social-link {
    color: #94A3B8;
    font-size: 1.25rem;
    transition: color 0.2s ease;
}

.tm-footer-social-link:hover {
    color: #2563EB;
}

/* Col 2-5: Links */
.tm-footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: #020617;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.tm-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tm-footer-link {
    font-size: 0.875rem;
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tm-footer-link:hover {
    color: #2563EB;
}

/* Bottom Bar */
.tm-footer-bottom {
    border-top: 1px solid #F1F5F9;
    margin-top: 48px;
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

@media (min-width: 640px) {
    .tm-footer-bottom {
        flex-direction: row;
    }
}

.tm-footer-copyright {
    font-size: 0.75rem;
    color: #94A3B8;
}

.tm-footer-legal-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.tm-footer-legal-link {
    font-size: 0.75rem;
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tm-footer-legal-link:hover {
    color: #64748B;
}

.tm-footer-dot-sep {
    color: #CBD5E1;
    font-size: 0.75rem;
}

@media (max-width: 639px) {
    .tm-footer-grid {
        text-align: center;
    }

    .tm-footer-brand {
        align-items: center;
    }

    .tm-footer-links {
        align-items: center;
    }
}

/* Styles from pageincludes/footer.php */
/* Modal Backdrop */
.tm-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 6, 23, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tm-modal-backdrop.tm-modal-open {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Container */
.tm-modal-container {
    background-color: #FFFFFF;
    max-width: 36rem;
    /* Reduced size */
    width: 100%;
    max-height: 90vh;
    /* Make it fit in the viewport */
    overflow-y: auto;
    /* Enable scrolling if content is taller than viewport */
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.5rem;
    padding: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-modal-backdrop.tm-modal-open .tm-modal-container {
    transform: translateY(0) scale(1);
}

@media (min-width: 640px) {
    .tm-modal-container {
        padding: 24px;
    }
}

/* Close Button */
.tm-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #94A3B8;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-modal-close:hover {
    color: #334155;
    background-color: #F1F5F9;
}

/* Header Area */
.tm-modal-eyebrow {
    background-color: #EFF6FF;
    color: #1D4ED8;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
}

.tm-modal-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 800;
    color: #020617;
    letter-spacing: -0.025em;
    margin-bottom: 4px;
    margin-top: 0;
}

@media (min-width: 640px) {
    .tm-modal-title {
        font-size: 1.25rem;
    }
}

.tm-modal-subtitle {
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 16px;
}

/* Option Cards */
.tm-modal-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tm-modal-option {
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    padding: 12px;
    background-color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.tm-modal-option:hover {
    border-color: #3B82F6;
    background-color: rgba(239, 246, 255, 0.3);
}

.tm-modal-option.tm-opt-build:hover {
    border-color: #0F172A;
    background-color: #F8FAFC;
}

.tm-option-icon {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.tm-opt-direct .tm-option-icon {
    background-color: #EFF6FF;
    color: #2563EB;
}

.tm-opt-connect .tm-option-icon {
    background-color: #ECFDF5;
    color: #10B981;
}

.tm-opt-build .tm-option-icon {
    background-color: #F1F5F9;
    color: #0F172A;
}

.tm-option-content {
    flex-grow: 1;
}

.tm-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-option-title {
    font-size: 1rem;
    font-weight: 700;
    color: #020617;
}

.tm-option-arrow {
    color: #94A3B8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.tm-modal-option:hover .tm-option-arrow {
    transform: translateX(4px);
    color: #2563EB;
}

.tm-modal-option.tm-opt-build:hover .tm-option-arrow {
    color: #0F172A;
}

/* Modal Footer */
.tm-modal-footer-link {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: #050506ff;
    margin-top: 16px;
    text-decoration: none;
    transition: color 0.2s;
}

.tm-modal-footer-link:hover {
    color: #031a4bff;
}