html {
    scroll-behavior: smooth;
}

/* ================================
   Home Hero Section
================================ */

.tr-hero-section {
    padding: 36px 0 24px;
    background: var(--color-bg);
}

.tr-hero-box {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 32px;
    overflow: hidden;
    padding: 42px;
    border: 1px solid #f6d8d0;
    border-radius: 32px;
    background: linear-gradient(180deg, #fff8f6 0%, #ffffff 100%);
}

.tr-hero-box::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(228, 113, 79, 0.08);
    filter: blur(10px);
    pointer-events: none;
}

.tr-hero-box::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(228, 113, 79, 0.05);
    filter: blur(12px);
    pointer-events: none;
}

/* ================================
   Hero Content
================================ */

.tr-hero-content {
    position: relative;
    z-index: 2;
}

.tr-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid #f7d2c8;
    border-radius: 999px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.tr-hero-title {
    margin: 0 0 18px;
    color: var(--color-heading);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.tr-hero-title span {
    display: block;
    color: var(--color-primary);
}

.tr-hero-text {
    max-width: 650px;
    margin: 0 0 26px;
    color: var(--color-text-light);
    font-size: 17px;
    line-height: 2;
}

/* ================================
   Hero Buttons
================================ */

.tr-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

/* ================================
   Hero Features
================================ */

.tr-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tr-hero-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #f3ddd7;
    border-radius: 14px;
    background: #ffffff;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
    box-shadow: 0 8px 20px rgba(56, 56, 56, 0.04);
}

.tr-hero-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
}

/* ================================
   Hero Visual Card
================================ */

.tr-hero-visual {
    position: relative;
    z-index: 2;
}

.tr-hero-card {
    padding: 24px;
    border: 1px solid #f5ddd8;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(228, 113, 79, 0.08);
}

.tr-hero-card-top {
    margin-bottom: 22px;
}

.tr-hero-card-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}

.tr-hero-card-top strong {
    display: block;
    color: var(--color-heading);
    font-size: 24px;
    line-height: 1.5;
}

/* ================================
   Hero Steps / Linked Tabs
================================ */

.tr-hero-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tr-hero-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid #f7e2dc;
    border-radius: 18px;
    background: #fffaf8;
    color: inherit;
    text-decoration: none;
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.tr-hero-step:hover {
    transform: translateY(-3px);
    border-color: rgba(228, 113, 79, 0.35);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(228, 113, 79, 0.10);
    color: inherit;
    text-decoration: none;
}

.tr-hero-step:focus {
    outline: none;
}

.tr-hero-step:focus-visible {
    outline: 3px solid rgba(228, 113, 79, 0.25);
    outline-offset: 3px;
}

.tr-hero-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.25s ease;
}

.tr-hero-step:hover .tr-hero-step-number {
    transform: scale(1.05);
}

.tr-hero-step-content h3 {
    margin: 0 0 6px;
    color: var(--color-heading);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 800;
}

.tr-hero-step-content p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.9;
}

/* ================================
   Tablet
================================ */

@media (max-width: 1100px) {
    .tr-hero-box {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .tr-hero-text {
        max-width: 100%;
    }
}

/* ================================
   Mobile
================================ */

@media (max-width: 768px) {
    .tr-hero-section {
        padding: 20px 0 10px;
    }

    .tr-hero-box {
        gap: 24px;
        padding: 22px;
        border-radius: 24px;
    }

    .tr-hero-content {
        text-align: center;
    }

    .tr-hero-badge {
        margin-right: auto;
        margin-left: auto;
        font-size: 13px;
    }

    .tr-hero-title {
        text-align: center;
        font-size: 30px;
        line-height: 1.45;
    }

    .tr-hero-text {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
        font-size: 15px;
        line-height: 2;
    }

    .tr-hero-actions {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 24px;
    }

    .tr-hero-actions .tr-btn {
        width: 100%;
    }

    .tr-hero-features {
        flex-direction: column;
        justify-content: center;
    }

    .tr-hero-feature {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .tr-hero-card {
        padding: 18px;
        border-radius: 20px;
    }

    .tr-hero-card-top {
        text-align: center;
    }

    .tr-hero-card-label {
        margin-right: auto;
        margin-left: auto;
    }

    .tr-hero-card-top strong {
        font-size: 20px;
    }

    .tr-hero-steps {
        gap: 12px;
    }

    .tr-hero-step {
        padding: 14px;
        border-radius: 16px;
        text-align: right;
    }

    .tr-hero-step-number {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .tr-hero-step-content h3 {
        font-size: 15px;
    }

    .tr-hero-step-content p {
        font-size: 13px;
    }
}

/* ================================
   Small Mobile
================================ */

@media (max-width: 420px) {
    .tr-hero-box {
        padding: 18px;
        border-radius: 20px;
    }

    .tr-hero-title {
        font-size: 27px;
    }

    .tr-hero-text {
        font-size: 14px;
    }

    .tr-hero-step {
        gap: 10px;
    }

    .tr-hero-step-number {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}
