/* Smart Translation - product landing page (page scoped) */
.tr-page {
    --tr-navy: #0b2a4a;
    --tr-navy-2: #103a63;
    --tr-navy-3: #155088;
    --tr-blue: #2563eb;
    --tr-blue-2: #3b82f6;
    --tr-cyan: #06b6d4;
    --tr-cyan-2: #22d3ee;
    --tr-cyan-deep: #0e7490;
    --tr-ink: #0d2740;
    --tr-text: #33485e;
    --tr-muted: #61788e;
    --tr-line: rgba(13, 39, 64, 0.12);
    --tr-line-soft: rgba(148, 163, 184, 0.32);
    --tr-card: #ffffff;
    --tr-soft: #eef6fc;
    --tr-soft-2: #e4f0f9;
    --tr-radius: 26px;
    --tr-radius-sm: 16px;
    --tr-shadow: 0 24px 60px rgba(13, 39, 64, 0.15);
    --tr-shadow-soft: 0 14px 34px rgba(13, 39, 64, 0.09);
    color: var(--tr-text);
    background:
        radial-gradient(900px 520px at 8% 0%, rgba(6, 182, 212, 0.12), transparent 70%),
        radial-gradient(720px 520px at 96% 2%, rgba(37, 99, 235, 0.14), transparent 66%),
        linear-gradient(180deg, #f5fafe 0%, #f2f8fd 44%, #ecf4fb 100%);
    padding-bottom: 64px;
}

.tr-page, .tr-page * { box-sizing: border-box; }
.tr-page img { max-width: 100%; height: auto; display: block; }
.tr-page a { color: var(--tr-cyan-deep); }
.tr-shell { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }

/* ===== Hero ===== */
.tr-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 64px;
    background:
        radial-gradient(620px 360px at 84% 12%, rgba(6, 182, 212, 0.28), transparent 70%),
        linear-gradient(135deg, var(--tr-navy) 0%, var(--tr-navy-2) 52%, var(--tr-navy-3) 100%);
    color: #eaf3fb;
}
.tr-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}
.tr-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #7fe3f0;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.tr-eyebrow:before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--tr-cyan), var(--tr-cyan-2));
    box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.18);
}
.tr-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.9rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}
.tr-hero h1 .tr-accent {
    background: linear-gradient(135deg, #67e8f9, #22d3ee 60%, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.tr-hero-sub {
    margin: 0 0 18px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #bfe2f5;
}
.tr-hero-lead {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.95;
    color: #d6e6f2;
    max-width: 620px;
}
.tr-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.tr-btn, .tr-btn-secondary, .tr-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 0.97rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tr-btn {
    color: #042f3a !important;
    background: linear-gradient(135deg, #67e8f9, #06b6d4);
    box-shadow: 0 18px 36px rgba(6, 182, 212, 0.34);
}
.tr-btn-secondary {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.tr-btn-ghost {
    color: #eaf3fb !important;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.32);
}
.tr-btn:hover, .tr-btn-secondary:hover, .tr-btn-ghost:hover { transform: translateY(-2px); }

.tr-hero-visual {
    position: relative;
    padding: 16px;
    border-radius: var(--tr-radius);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 70px rgba(8, 22, 38, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.tr-hero-visual img {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

/* ===== Section base ===== */
.tr-section { padding: 56px 0; scroll-margin-top: 110px; }
.tr-section-head { max-width: 820px; margin: 0 auto 36px; text-align: center; }
.tr-section-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--tr-blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.tr-section-head h2 {
    margin: 0 0 12px;
    color: var(--tr-ink);
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
}
.tr-section-head p { margin: 0; color: var(--tr-text); font-size: 1rem; line-height: 1.9; }

/* ===== Features ===== */
.tr-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.tr-feature-card {
    padding: 28px;
    border-radius: var(--tr-radius-sm);
    background: var(--tr-card);
    border: 1px solid var(--tr-line-soft);
    box-shadow: var(--tr-shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tr-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tr-shadow);
    border-color: rgba(6, 182, 212, 0.4);
}
.tr-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--tr-blue), var(--tr-cyan-deep));
    color: #fff;
}
.tr-feature-card h3 { margin: 0 0 8px; color: var(--tr-ink); font-size: 1.18rem; }
.tr-feature-card p { margin: 0; color: var(--tr-muted); line-height: 1.8; font-size: 0.95rem; }

/* ===== Use cases ===== */
.tr-usecase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.tr-usecase {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    padding: 24px 26px;
    border-radius: var(--tr-radius-sm);
    background: var(--tr-soft);
    border: 1px solid var(--tr-line-soft);
}
.tr-usecase span.tr-usecase-emoji { font-size: 1.7rem; line-height: 1; }
.tr-usecase h3 { margin: 0 0 6px; color: var(--tr-ink); font-size: 1.08rem; }
.tr-usecase p { margin: 0; color: var(--tr-muted); line-height: 1.75; font-size: 0.92rem; }

/* ===== Gallery ===== */
.tr-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.tr-shot {
    background: var(--tr-card);
    border: 1px solid var(--tr-line-soft);
    border-radius: var(--tr-radius-sm);
    overflow: hidden;
    box-shadow: var(--tr-shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tr-shot:hover { transform: translateY(-4px); box-shadow: var(--tr-shadow); }
.tr-shot-frame {
    margin: 0;
    background: linear-gradient(180deg, var(--tr-soft), var(--tr-soft-2));
    padding: 14px;
}
.tr-shot-frame img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid var(--tr-line);
    background: #f3f8fc;
    padding: 12px;
}
.tr-shot figcaption { padding: 14px 18px 18px; }
.tr-shot figcaption strong {
    display: block;
    color: var(--tr-ink);
    font-size: 1rem;
    margin-bottom: 4px;
}
.tr-shot figcaption span {
    display: block;
    color: var(--tr-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ===== Try band ===== */
.tr-try-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    padding: 36px;
    border-radius: var(--tr-radius);
    background: linear-gradient(135deg, var(--tr-navy) 0%, var(--tr-navy-2) 56%, var(--tr-cyan-deep) 100%);
    color: #eaf3fb;
    box-shadow: var(--tr-shadow);
}
.tr-try-card h2 { margin: 0 0 12px; color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.tr-try-card p { margin: 0 0 14px; color: #d6e6f2; line-height: 1.9; }
.tr-try-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.tr-try-note {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--tr-radius-sm);
    padding: 22px 24px;
}
.tr-try-note h3 {
    margin: 0 0 10px;
    color: #7fe3f0;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.tr-try-note p { margin: 0; color: #d6e6f2; line-height: 1.85; font-size: 0.94rem; }

/* ===== Contact CTA ===== */
.tr-contact {
    text-align: center;
    padding: 48px 36px;
    border-radius: var(--tr-radius);
    background: var(--tr-card);
    border: 1px solid var(--tr-line-soft);
    box-shadow: var(--tr-shadow-soft);
}
.tr-contact h2 { margin: 0 0 12px; color: var(--tr-ink); font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.tr-contact p { margin: 0 auto 24px; color: var(--tr-text); line-height: 1.9; max-width: 640px; }
.tr-contact .tr-btn { color: #042f3a !important; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .tr-hero-grid { grid-template-columns: 1fr; }
    .tr-hero-visual { order: -1; }
    .tr-feature-grid, .tr-usecase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tr-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tr-try-card { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .tr-hero { padding: 60px 0 44px; }
    .tr-shell { width: min(94%, 1140px); }
    .tr-section { padding: 40px 0; }
    .tr-feature-grid, .tr-usecase-grid, .tr-gallery-grid { grid-template-columns: 1fr; }
    .tr-actions, .tr-try-actions { flex-direction: column; }
    .tr-btn, .tr-btn-secondary, .tr-btn-ghost { width: 100%; }
    .tr-try-card, .tr-contact { padding: 26px; }
}
