/* ═══════════════════════════════════════════════
   tobot Landing — Page-specific styles
   ═══════════════════════════════════════════════ */

/* ── Hero ── */
.tb-hero {
    padding: calc(var(--tb-nav-h) + 60px) 0 0;
    overflow: hidden;
}

.tb-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 85vh;
}

.tb-hero-left {
    padding: var(--tb-space-12) var(--tb-space-10) var(--tb-space-16) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tb-hero h1 em {
    font-style: italic;
}

.tb-hero h1 .tb-highlight {
    color: var(--tb-blue);
}

.tb-hero-rule {
    width: 48px;
    height: 3px;
    background: var(--tb-blue);
    margin: var(--tb-space-6) 0;
    border-radius: 2px;
}

.tb-hero-lead {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--tb-gray-600);
    max-width: 440px;
    margin-bottom: var(--tb-space-8);
}

.tb-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: var(--tb-space-12);
}

.tb-hero-stats {
    display: flex;
    gap: var(--tb-space-8);
    padding-top: var(--tb-space-6);
    border-top: var(--tb-border);
}

.tb-stat-val {
    font-family: var(--tb-font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--tb-gray-900);
    line-height: 1;
    margin-bottom: 4px;
}

.tb-stat-label {
    font-size: 0.75rem;
    color: var(--tb-gray-500);
    font-family: var(--tb-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Hero right — visual area */
.tb-hero-right {
    position: relative;
    background: var(--tb-gray-50);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: var(--tb-border);
}

.tb-hero-right img.tb-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tb-hero-caption {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--tb-gray-100);
    border-radius: var(--tb-radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tb-caption-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tb-blue);
    flex-shrink: 0;
    animation: tb-pulse-blue 2s infinite;
}

@keyframes tb-pulse-blue {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.35); }
    50% { box-shadow: 0 0 0 6px rgba(37,99,235,0); }
}

.tb-caption-text {
    font-size: 0.8125rem;
    color: var(--tb-gray-600);
    line-height: 1.4;
}
.tb-caption-text strong { color: var(--tb-gray-900); }
#hero-rotating { transition: opacity 0.4s var(--tb-ease); }


/* ── Problem section ── */
.tb-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tb-space-16);
    align-items: center;
}

.tb-photo-frame {
    position: relative;
}
.tb-photo-frame::before {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--tb-gray-200);
    border-radius: var(--tb-radius-md);
    z-index: 0;
}
.tb-photo-frame-flip::before { right: auto; left: -12px; }

.tb-photo-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: var(--tb-radius-md);
    box-shadow: var(--tb-shadow-lg);
    aspect-ratio: 4/5;
    object-fit: cover;
}

.tb-pain-row {
    padding: var(--tb-space-4) 0;
    border-bottom: 1px solid var(--tb-gray-100);
}
.tb-pain-row:last-child { border-bottom: none; }
.tb-pain-title {
    font-family: var(--tb-font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--tb-gray-900);
    margin-bottom: 4px;
}
.tb-pain-desc {
    font-size: 0.875rem;
    color: var(--tb-gray-600);
    line-height: 1.6;
}

/* ── How it works ── */
.tb-how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: var(--tb-border);
    border-radius: var(--tb-radius-lg);
    overflow: hidden;
}

.tb-how-left {
    background: var(--tb-gray-900);
    padding: var(--tb-space-12);
    color: var(--tb-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.tb-how-left h2 { color: var(--tb-white); }
.tb-how-left .tb-eyebrow { color: rgba(255,255,255,0.3); }
.tb-how-left p { color: rgba(255,255,255,0.55); font-size: 0.9375rem; line-height: 1.75; max-width: 320px; }

.tb-how-right {
    background: var(--tb-white);
}

.tb-how-step {
    padding: var(--tb-space-6) var(--tb-space-8);
    border-bottom: var(--tb-border);
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: var(--tb-space-5);
    align-items: start;
    transition: background var(--tb-duration);
}
.tb-how-step:last-child { border-bottom: none; }
.tb-how-step:hover { background: var(--tb-gray-50); }

.tb-how-num {
    font-family: var(--tb-font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--tb-gray-200);
    line-height: 1;
}

.tb-how-title {
    font-family: var(--tb-font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--tb-gray-900);
    margin-bottom: 4px;
}

.tb-how-desc {
    font-size: 0.875rem;
    color: var(--tb-gray-600);
    line-height: 1.6;
}

/* ── Features ── */
.tb-feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tb-space-16);
    align-items: center;
    padding: var(--tb-space-16) 0;
    border-bottom: var(--tb-border);
}
.tb-feature-block:last-child { border-bottom: none; }
.tb-feature-block.reverse > *:first-child { order: 2; }
.tb-feature-block.reverse > *:last-child { order: 1; }

.tb-feature-photo {
    border-radius: var(--tb-radius-lg);
    overflow: hidden;
    box-shadow: var(--tb-shadow-md);
}
.tb-feature-photo img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.tb-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--tb-gray-600);
    padding: 6px 0;
    line-height: 1.5;
}
.tb-check-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tb-blue);
    flex-shrink: 0;
    margin-top: 7px;
}

.tb-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--tb-space-4);
}
.tb-feature-tag {
    padding: 4px 10px;
    font-family: var(--tb-font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--tb-gray-50);
    border: 1px solid var(--tb-gray-200);
    border-radius: var(--tb-radius-sm);
    color: var(--tb-gray-600);
}
.tb-feature-tag-blue {
    background: var(--tb-blue-pale);
    border-color: rgba(37,99,235,0.15);
    color: var(--tb-blue);
}

/* ── Channels wrap ── */
.tb-channels-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--tb-space-4);
}

/* ── Industries ── */
.tb-industries-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tb-space-16);
    align-items: end;
    margin-bottom: var(--tb-space-12);
    padding-bottom: var(--tb-space-8);
    border-bottom: var(--tb-border);
}

.tb-industries-mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.tb-ind-card {
    background: var(--tb-white);
    border: 1px solid var(--tb-gray-100);
    border-radius: var(--tb-radius-md);
    overflow: hidden;
    transition: all 0.2s var(--tb-ease);
    cursor: default;
}
.tb-ind-card:hover {
    border-color: var(--tb-gray-300);
    box-shadow: var(--tb-shadow-md);
    transform: translateY(-2px);
}

.tb-ind-col-3 { grid-column: span 3; }
.tb-ind-col-4 { grid-column: span 4; }
.tb-ind-col-5 { grid-column: span 5; }
.tb-ind-col-6 { grid-column: span 6; }
.tb-ind-col-7 { grid-column: span 7; }

.tb-ind-photo {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--tb-gray-50);
    border-bottom: var(--tb-border-subtle);
}
.tb-ind-photo-tall { aspect-ratio: 3/4; }
.tb-ind-photo-wide { aspect-ratio: 16/7; }
.tb-ind-photo img { width: 100%; height: 100%; object-fit: cover; }

.tb-ind-body {
    padding: 16px 18px 18px;
}
.tb-ind-name {
    font-family: var(--tb-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--tb-gray-900);
    margin-bottom: 4px;
}
.tb-ind-pain {
    font-size: 0.78rem;
    color: var(--tb-gray-500);
    line-height: 1.45;
    font-style: italic;
}
.tb-ind-tag {
    display: inline-block;
    margin-top: 8px;
    font-family: var(--tb-font-mono);
    font-size: 0.625rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 8px;
    background: var(--tb-gray-50);
    border: 1px solid var(--tb-gray-100);
    border-radius: var(--tb-radius-sm);
    color: var(--tb-gray-500);
}

/* ── Pricing ── */
.tb-pricing-header {
    text-align: center;
    margin-bottom: var(--tb-space-4);
}

.tb-billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--tb-space-3);
    margin-bottom: var(--tb-space-10);
    font-size: 0.875rem;
    color: var(--tb-gray-500);
}

.tb-billing-toggle label {
    cursor: pointer;
    font-weight: 500;
}

.tb-toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    appearance: none;
    -webkit-appearance: none;
    background: var(--tb-gray-200);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}
.tb-toggle-switch:checked { background: var(--tb-blue); }
.tb-toggle-switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--tb-white);
    box-shadow: var(--tb-shadow-xs);
    transition: transform 0.2s;
}
.tb-toggle-switch:checked::before { transform: translateX(20px); }

.tb-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--tb-space-5);
}

.tb-plan {
    background: var(--tb-white);
    border: 1px solid var(--tb-gray-100);
    border-radius: var(--tb-radius-xl);
    padding: var(--tb-space-8) var(--tb-space-6);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}
.tb-plan:hover { box-shadow: var(--tb-shadow-md); }
.tb-plan.popular {
    border-color: var(--tb-blue);
    border-width: 2px;
    box-shadow: var(--tb-shadow-lg);
    transform: scale(1.02);
}

.tb-popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tb-blue);
    color: var(--tb-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: var(--tb-radius-full);
    white-space: nowrap;
}

.tb-plan h4 {
    font-family: var(--tb-font-display);
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.tb-plan-desc {
    font-size: 0.8125rem;
    color: var(--tb-gray-500);
    margin-bottom: var(--tb-space-5);
}
.tb-plan-price {
    font-family: var(--tb-font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--tb-gray-900);
    line-height: 1;
    margin-bottom: var(--tb-space-6);
}
.tb-plan-price span {
    font-family: var(--tb-font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--tb-gray-500);
}

.tb-plan-features {
    flex: 1;
    margin-bottom: var(--tb-space-6);
}
.tb-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--tb-gray-600);
    padding: 5px 0;
    line-height: 1.4;
}
.tb-plan-features li svg {
    width: 16px;
    height: 16px;
    color: var(--tb-green);
    flex-shrink: 0;
    margin-top: 1px;
}

.tb-plan-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--tb-radius-md);
    transition: all var(--tb-duration);
    text-decoration: none;
    margin-top: auto;
}
.tb-plan-cta-primary { background: var(--tb-blue); color: var(--tb-white); }
.tb-plan-cta-primary:hover { background: var(--tb-blue-hover); box-shadow: var(--tb-shadow-md); }
.tb-plan-cta-outline { border: 1.5px solid var(--tb-gray-200); color: var(--tb-gray-700); }
.tb-plan-cta-outline:hover { border-color: var(--tb-blue); color: var(--tb-blue); background: var(--tb-blue-pale); }

/* ── FAQ ── */
.tb-faq-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tb-space-16);
    align-items: start;
}

.tb-faq-item {
    border-bottom: var(--tb-border);
}

.tb-faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--tb-space-4);
    padding: var(--tb-space-5) 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--tb-gray-800);
    text-align: left;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--tb-font-body);
    transition: color var(--tb-duration);
}
.tb-faq-q:hover { color: var(--tb-blue); }
.tb-faq-q svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--tb-gray-400);
    transition: transform 0.2s, color 0.2s;
}

.tb-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--tb-ease), padding 0.3s;
    font-size: 0.875rem;
    color: var(--tb-gray-600);
    line-height: 1.7;
}

.tb-faq-item.open .tb-faq-a { max-height: 300px; padding-bottom: var(--tb-space-5); }
.tb-faq-item.open .tb-faq-q svg { transform: rotate(45deg); color: var(--tb-blue); }
.tb-faq-item.open .tb-faq-q { color: var(--tb-blue); }

/* ── CTA Final ── */
.tb-cta-final {
    position: relative;
    background: var(--tb-gray-900);
    overflow: hidden;
    padding: var(--tb-space-24) 0;
    text-align: center;
    color: var(--tb-white);
}
.tb-cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(37,99,235,0.08), transparent 70%);
    pointer-events: none;
}

.tb-cta-final h2 { color: var(--tb-white); }
.tb-cta-final h2 em { font-style: italic; color: var(--tb-blue-light); }
.tb-cta-final p {
    color: rgba(255,255,255,0.6);
    font-size: 1.0625rem;
    max-width: 520px;
    margin: 0 auto var(--tb-space-8);
    line-height: 1.7;
}

.tb-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: var(--tb-space-8);
}

.tb-cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--tb-space-2);
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
    font-family: var(--tb-font-mono);
}
.tb-cta-trust-sep { color: rgba(255,255,255,0.15); }

/* ── Rotating sentence fade ── */
#rotating-sentence {
    transition: opacity 0.4s;
}
#rotating-sentence.fade-out { opacity: 0; }
#rotating-sentence.fade-in { opacity: 1; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .tb-hero-grid { grid-template-columns: 1fr; min-height: auto; }
    .tb-hero-right { min-height: 50vh; border-left: none; border-top: var(--tb-border); }
    .tb-hero-left { padding: var(--tb-space-8) 0; }
    .tb-two-col { grid-template-columns: 1fr; }
    .tb-how-grid { grid-template-columns: 1fr; }
    .tb-feature-block { grid-template-columns: 1fr; }
    .tb-feature-block.reverse > *:first-child { order: unset; }
    .tb-feature-block.reverse > *:last-child { order: unset; }
    .tb-industries-intro { grid-template-columns: 1fr; gap: var(--tb-space-6); }
    .tb-industries-mosaic { grid-template-columns: repeat(6, 1fr); }
    .tb-ind-col-3, .tb-ind-col-4, .tb-ind-col-5, .tb-ind-col-7 { grid-column: span 3; }
    .tb-ind-col-6 { grid-column: span 6; }
    .tb-faq-layout { grid-template-columns: 1fr; gap: var(--tb-space-8); }
}

@media (max-width: 640px) {
    .tb-industries-mosaic { grid-template-columns: 1fr; }
    .tb-ind-col-3, .tb-ind-col-4, .tb-ind-col-5, .tb-ind-col-6, .tb-ind-col-7 { grid-column: span 1; }
    .tb-hero-stats { flex-wrap: wrap; gap: var(--tb-space-4); }
    .tb-hero-actions { flex-direction: column; align-items: stretch; }
    .tb-hero-actions .tb-btn { justify-content: center; }
    .tb-photo-frame::before { display: none; }
}
