/* TravelForge CRM — Marketing Landing Page */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --tf-ink: #0f172a;
    --tf-ink-soft: #1e293b;
    --tf-muted: #64748b;
    --tf-light: #94a3b8;
    --tf-border: #e2e8f0;
    --tf-bg: #f8fafc;
    --tf-white: #ffffff;
    --tf-blue: #2563eb;
    --tf-sky: #0ea5e9;
    --tf-cyan: #06b6d4;
    --tf-green: #22c55e;
    --tf-purple: #7c3aed;
    --tf-max: 1200px;
    --tf-radius: 16px;
    --tf-radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--tf-ink);
    line-height: 1.6;
    background: var(--tf-white);
}

a { text-decoration: none; color: inherit; }

.tf-container {
    max-width: var(--tf-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Nav ─── */
.tf-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 17, 32, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tf-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    position: relative;
    z-index: 2;
}

.tf-nav.is-scrolled {
    background: rgba(11, 17, 32, 0.98);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.tf-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
}

.tf-logo__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--tf-blue), var(--tf-sky));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

.tf-nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.tf-nav__links a {
    color: var(--tf-light);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.tf-nav__links a:hover { color: #fff; }

.tf-nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 10;
}

.tf-nav__actions a {
    position: relative;
    z-index: 11;
    pointer-events: auto;
}

.tf-nav__contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.tf-nav__contact:hover {
    color: #fff;
}

.tf-nav__contact i {
    color: #22c55e;
    font-size: 0.9375rem;
}

.tf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.tf-btn--ghost {
    color: #fff;
    border-color: #334155;
    background: transparent;
}

.tf-btn--ghost:hover { background: rgba(255,255,255,0.06); }

.tf-btn--primary {
    background: linear-gradient(135deg, var(--tf-blue), var(--tf-sky));
    background-size: 200% 200%;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    animation: tf-gradient-shift 8s ease infinite;
}

.tf-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.tf-btn--white {
    background: #fff;
    color: var(--tf-ink);
}

.tf-btn--outline-light {
    border-color: rgba(255,255,255,0.25);
    color: #fff;
    background: transparent;
}

.tf-nav__toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ─── Hero ─── */
.tf-hero {
    background: linear-gradient(180deg, #0b1120 0%, #0f172a 50%, #1e293b 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.tf-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: tf-float-orb 14s ease-in-out infinite;
}

.tf-hero__orb--1 {
    width: 420px;
    height: 420px;
    background: rgba(37, 99, 235, 0.22);
    top: -80px;
    left: -100px;
}

.tf-hero__orb--2 {
    width: 320px;
    height: 320px;
    background: rgba(14, 165, 233, 0.18);
    bottom: 10%;
    right: -60px;
    animation-delay: -5s;
}

.tf-hero__orb--3 {
    width: 200px;
    height: 200px;
    background: rgba(124, 58, 237, 0.15);
    top: 40%;
    left: 45%;
    animation-delay: -9s;
}

@keyframes tf-float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(24px, -20px) scale(1.05); }
    66% { transform: translate(-16px, 16px) scale(0.95); }
}

.tf-hero__content > * {
    opacity: 0;
    animation: tf-fade-up 0.7s ease forwards;
}

.tf-hero__content > *:nth-child(1) { animation-delay: 0.1s; }
.tf-hero__content > *:nth-child(2) { animation-delay: 0.22s; }
.tf-hero__content > *:nth-child(3) { animation-delay: 0.34s; }
.tf-hero__content > *:nth-child(4) { animation-delay: 0.46s; }
.tf-hero__content > *:nth-child(5) { animation-delay: 0.58s; }

@keyframes tf-fade-up {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

.tf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 20%, rgba(37, 99, 235, 0.18), transparent),
        radial-gradient(ellipse 50% 40% at 80% 60%, rgba(14, 165, 233, 0.12), transparent);
    pointer-events: none;
}

.tf-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tf-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #93c5fd;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.tf-hero__badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tf-green);
    animation: tf-pulse 2s infinite;
}

@keyframes tf-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.tf-hero h1 {
    color: #fff;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.tf-hero h1 span {
    display: block;
    background: linear-gradient(135deg, #38bdf8, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tf-hero__desc {
    color: var(--tf-light);
    font-size: 1.05rem;
    max-width: 480px;
    margin-bottom: 28px;
    line-height: 1.7;
}

.tf-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.tf-hero__tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #cbd5e1;
}

.tf-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Dashboard mock */
.tf-mock {
    background: #fff;
    border-radius: var(--tf-radius);
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: tf-mock-enter 0.9s ease 0.35s both, tf-mock-float 6s ease-in-out 1.5s infinite;
}

@keyframes tf-mock-enter {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes tf-mock-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.tf-mock__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: #f8fafc;
    border-bottom: 1px solid var(--tf-border);
}

.tf-mock__dot { width: 10px; height: 10px; border-radius: 50%; }
.tf-mock__dot--r { background: #ef4444; }
.tf-mock__dot--y { background: #fbbf24; }
.tf-mock__dot--g { background: #22c55e; }

.tf-mock__body { padding: 20px; }

.tf-mock__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.tf-mock__title { font-size: 0.9rem; font-weight: 700; color: var(--tf-ink); }

.tf-mock__live {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--tf-green);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tf-mock__live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tf-green);
}

.tf-mock__kpis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.tf-mock__kpi {
    padding: 12px;
    border-radius: var(--tf-radius-sm);
    background: #f8fafc;
    border: 1px solid var(--tf-border);
}

.tf-mock__kpi-label { font-size: 0.65rem; color: var(--tf-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.tf-mock__kpi-value { font-size: 1.25rem; font-weight: 700; color: var(--tf-ink); }

.tf-mock__table { width: 100%; font-size: 0.72rem; border-collapse: collapse; }

.tf-mock__table th {
    text-align: left;
    padding: 8px;
    color: var(--tf-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--tf-border);
}

.tf-mock__table td {
    padding: 8px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--tf-ink-soft);
}

.tf-mock__pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
}

.tf-mock__pill--green { background: #dcfce7; color: #16a34a; }
.tf-mock__pill--amber { background: #fef3c7; color: #d97706; }
.tf-mock__pill--blue { background: #dbeafe; color: #2563eb; }

.tf-mock__float {
    position: absolute;
    bottom: -16px;
    right: 24px;
    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: tf-badge-pop 0.6s ease 1.2s both;
}

@keyframes tf-badge-pop {
    from { opacity: 0; transform: scale(0.8) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.tf-mock__float i { color: var(--tf-green); }

.tf-hero__visual { position: relative; }

/* ─── Stats bar ─── */
.tf-stats {
    background: var(--tf-ink);
    padding: 48px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.tf-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.tf-stats__value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

/* Scroll reveal */
.tf-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.tf-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tf-reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tf-reveal-stagger.is-visible > *,
.tf-reveal-stagger > *.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tf-reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.tf-reveal-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.tf-reveal-stagger > *:nth-child(3) { transition-delay: 0.19s; }
.tf-reveal-stagger > *:nth-child(4) { transition-delay: 0.26s; }
.tf-reveal-stagger > *:nth-child(5) { transition-delay: 0.33s; }
.tf-reveal-stagger > *:nth-child(6) { transition-delay: 0.4s; }

.tf-module:hover,
.tf-portal:hover,
.tf-testimonial:hover,
.tf-industry:hover {
    transform: translateY(-6px);
}

.tf-portal {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tf-portal:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.tf-workflow__step {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tf-workflow__step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
    border-color: #93c5fd;
}


@keyframes tf-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .tf-reveal, .tf-reveal-stagger > * {
        opacity: 1;
        transform: none;
    }
}

.tf-stats__label {
    font-size: 0.85rem;
    color: var(--tf-light);
}

/* ─── Sections ─── */
.tf-section {
    padding: 96px 0;
}

.tf-section--gray { background: var(--tf-bg); }

.tf-section__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tf-blue);
    margin-bottom: 12px;
}

.tf-section__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.15;
}

.tf-section__desc {
    color: var(--tf-muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin-bottom: 48px;
}

.tf-section__head { text-align: center; margin-bottom: 56px; }
.tf-section__head .tf-section__desc { margin-left: auto; margin-right: auto; }

/* Module cards */
.tf-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tf-module {
    background: #fff;
    border: 1px solid var(--tf-border);
    border-radius: var(--tf-radius);
    padding: 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tf-module:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.tf-module__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.tf-module__icon--blue { background: #eff6ff; color: var(--tf-blue); }
.tf-module__icon--sky { background: #e0f2fe; color: var(--tf-sky); }
.tf-module__icon--green { background: #f0fdf4; color: var(--tf-green); }
.tf-module__icon--purple { background: #f5f3ff; color: var(--tf-purple); }
.tf-module__icon--cyan { background: #ecfeff; color: var(--tf-cyan); }
.tf-module__icon--amber { background: #fffbeb; color: #d97706; }

.tf-module h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.tf-module p { font-size: 0.875rem; color: var(--tf-muted); margin-bottom: 16px; }

.tf-module ul {
    list-style: none;
    font-size: 0.8125rem;
    color: var(--tf-muted);
}

.tf-module li {
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}

.tf-module li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--tf-green);
    font-weight: 700;
    font-size: 0.75rem;
}

/* Workflow */
.tf-workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tf-workflow__step {
    background: #fff;
    border: 1px solid var(--tf-border);
    border-radius: var(--tf-radius-sm);
    padding: 16px 20px;
    text-align: center;
    min-width: 120px;
}

.tf-workflow__step i {
    font-size: 1.25rem;
    color: var(--tf-blue);
    display: block;
    margin-bottom: 8px;
}

.tf-workflow__step span { font-size: 0.8125rem; font-weight: 600; }

.tf-workflow__arrow {
    color: var(--tf-light);
    font-size: 1.25rem;
}

/* Compare */
.tf-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.tf-compare__col {
    border-radius: var(--tf-radius);
    padding: 32px;
    border: 1px solid var(--tf-border);
}

.tf-compare__col--old { background: #fef2f2; border-color: #fecaca; }
.tf-compare__col--new {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    border-color: #93c5fd;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.1);
}

.tf-compare__col h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }

.tf-compare__col ul { list-style: none; }

.tf-compare__col li {
    font-size: 0.875rem;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--tf-muted);
}

.tf-compare__col--old li::before { content: '✕'; position: absolute; left: 0; color: #ef4444; font-weight: 700; }
.tf-compare__col--new li::before { content: '✓'; position: absolute; left: 0; color: var(--tf-green); font-weight: 700; }
.tf-compare__col--new li { color: var(--tf-ink-soft); }

/* Portals */
.tf-portals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tf-portal {
    background: var(--tf-ink);
    color: #fff;
    border-radius: var(--tf-radius);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.tf-portal::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.tf-portal__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.tf-portal h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; }
.tf-portal p { font-size: 0.875rem; color: var(--tf-light); position: relative; z-index: 1; }

/* Testimonials */
.tf-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tf-testimonial {
    background: #fff;
    border: 1px solid var(--tf-border);
    border-radius: var(--tf-radius);
    padding: 28px;
}

.tf-testimonial blockquote {
    font-size: 0.9375rem;
    color: var(--tf-ink-soft);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.tf-testimonial__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tf-testimonial__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tf-blue), var(--tf-sky));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.tf-testimonial__name { font-weight: 700; font-size: 0.875rem; }
.tf-testimonial__role { font-size: 0.75rem; color: var(--tf-muted); }

/* Industries */
.tf-industries {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tf-industry {
    padding: 20px;
    border-radius: var(--tf-radius-sm);
    background: #fff;
    border: 1px solid var(--tf-border);
    text-align: center;
}

.tf-industry i { font-size: 1.5rem; color: var(--tf-blue); margin-bottom: 8px; display: block; }
.tf-industry h4 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 4px; }
.tf-industry p { font-size: 0.8125rem; color: var(--tf-muted); }

/* CTA */
.tf-cta {
    background: linear-gradient(135deg, #0b1120, #1e3a5f, #2563eb);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tf-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.2), transparent 60%);
}

.tf-cta h2 {
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.tf-cta p {
    color: var(--tf-light);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 32px;
    position: relative;
}

.tf-cta__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
}

/* Footer */
.tf-footer {
    background: #030712;
    color: var(--tf-light);
    padding: 64px 0 32px;
}

.tf-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.tf-footer__brand p {
    font-size: 0.875rem;
    margin-top: 12px;
    max-width: 280px;
    line-height: 1.7;
}

.tf-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.tf-footer__contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--tf-light);
}

.tf-footer__contact a i {
    color: #22c55e;
}

.tf-footer__contact a:last-child i {
    color: var(--tf-sky);
}

.tf-footer h4 {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tf-footer ul { list-style: none; }

.tf-footer li { margin-bottom: 8px; }

.tf-footer a {
    font-size: 0.8125rem;
    color: var(--tf-light);
    transition: color 0.2s;
}

.tf-footer a:hover { color: #fff; }

.tf-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8125rem;
}

.tf-whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1100;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tf-whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

body.tf-modal-open {
    overflow: hidden;
}

.tf-footer__link-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--tf-light);
    cursor: pointer;
    transition: color 0.2s;
}

.tf-footer__link-btn:hover {
    color: #fff;
}

/* Lead modal */
.tf-lead-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.tf-lead-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tf-lead-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
}

.tf-lead-modal__dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s ease;
}

.tf-lead-modal.is-open .tf-lead-modal__dialog {
    transform: translateY(0) scale(1);
}

.tf-lead-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--tf-bg);
    color: var(--tf-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.tf-lead-modal__close:hover {
    background: var(--tf-border);
    color: var(--tf-ink);
}

.tf-lead-modal__header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 22px;
    padding-right: 36px;
}

.tf-lead-modal__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--tf-blue), var(--tf-sky));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.tf-lead-modal__header h2 {
    font-size: 1.375rem;
    margin-bottom: 4px;
}

.tf-lead-modal__header p {
    color: var(--tf-muted);
    font-size: 0.875rem;
    margin: 0;
}

.tf-lead-form__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.tf-lead-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.tf-lead-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.tf-lead-form__grid .tf-lead-form__field {
    margin-bottom: 0;
}

.tf-lead-form__field label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--tf-ink-soft);
}

.tf-lead-form__field label span {
    color: #ef4444;
}

.tf-lead-form__field input,
.tf-lead-form__field textarea {
    width: 100%;
    border: 1px solid var(--tf-border);
    border-radius: 10px;
    padding: 11px 14px;
    font: inherit;
    color: var(--tf-ink);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tf-lead-form__field input:focus,
.tf-lead-form__field textarea:focus {
    outline: none;
    border-color: var(--tf-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.tf-lead-form__field textarea {
    resize: vertical;
    min-height: 110px;
}

.tf-lead-form__alert {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.875rem;
    margin-bottom: 14px;
}

.tf-lead-form__alert--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.tf-lead-form__alert--success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.tf-lead-form__submit {
    width: 100%;
    border: none;
}

.tf-lead-form__spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: tf-spin 0.7s linear infinite;
    vertical-align: middle;
}

@keyframes tf-spin {
    to { transform: rotate(360deg); }
}

button.tf-btn {
    font-family: inherit;
}

/* Mobile */
@media (max-width: 992px) {
    .tf-hero__grid { grid-template-columns: 1fr; }
    .tf-hero__visual { order: -1; max-width: 480px; margin: 0 auto; }
    .tf-modules, .tf-portals, .tf-testimonials { grid-template-columns: 1fr 1fr; }
    .tf-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .tf-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .tf-nav__links, .tf-nav__actions { display: none; }
    .tf-nav__links.is-open,
    .tf-nav__actions.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #0b1120;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        z-index: 1001;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
    }
    .tf-nav__actions.is-open {
        top: auto;
        border-top: 1px solid rgba(255,255,255,0.06);
    }
    .tf-nav__actions.is-open .tf-btn {
        width: 100%;
        justify-content: center;
    }
    .tf-nav__actions.is-open .tf-nav__contact {
        justify-content: center;
        padding: 8px 0;
    }
    .tf-lead-form__grid {
        grid-template-columns: 1fr;
    }
    .tf-lead-modal__dialog {
        padding: 22px 18px;
    }
    .tf-nav__toggle { display: block; }
    .tf-nav__toggle.is-active i::before { content: "\F62A"; }
    .tf-modules, .tf-portals, .tf-testimonials, .tf-industries, .tf-compare { grid-template-columns: 1fr; }
    .tf-workflow__arrow { display: none; }
    .tf-section { padding: 64px 0; }
}
