﻿.tt-content {
    padding-top: var(--space-5);
    padding-bottom: var(--space-7);
}


.tt-hero {
    margin-bottom: var(--space-6);
}

.tt-hero-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    max-width: 640px;
}

.tt-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 6px 14px;
    background: var(--color-white);
    border: 1px solid var(--color-border-muted);
    border-radius: 50px;
    width: fit-content;
    box-shadow: var(--shadow-raised);
}

.tt-hero-badge svg {
    flex-shrink: 0;
}

.tt-hero-badge span {
    font-family: var(--font-family-body);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    letter-spacing: 0.3px;
}

.tt-hero-title {
    font-family: var(--font-family-display);
    font-size: 32px;
    font-weight: var(--font-weight-regular);
    line-height: 1.2;
    color: var(--color-text-primary);
    letter-spacing: -0.015em;
}

@media (min-width: 640px) {
    .tt-hero-title {
        font-size: 40px;
    }
}

.tt-hero-title em {
    font-style: italic;
    color: var(--color-primary);
}

.tt-hero-desc {
    font-family: var(--font-family-body);
    font-size: 15px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--color-text-secondary);
    max-width: 560px;
}


.tt-input-section {
    margin-bottom: var(--space-6);
}

.tt-input-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-muted);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    box-shadow: var(--shadow-raised);
    max-width: 640px;
}

@media (min-width: 640px) {
    .tt-input-card {
        padding: var(--space-5);
    }
}

.tt-input-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.tt-input-step {
    font-family: var(--font-family-body);
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
    letter-spacing: 0.5px;
    line-height: 24px;
    flex-shrink: 0;
}

.tt-input-title {
    font-family: var(--font-family-display);
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: 1.3;
    color: var(--color-text-primary);
    margin-bottom: 2px;
}

.tt-input-subtitle {
    font-family: var(--font-family-body);
    font-size: 13px;
    font-weight: var(--font-weight-regular);
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.tt-input-group {
    margin-bottom: var(--space-3);
}

.tt-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-white);
    border: 1.5px solid var(--color-border-muted);
    border-radius: var(--radius-md);
    transition: all 250ms ease;
}

.tt-input-wrapper:focus-within {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-focus-ring);
}

.tt-input-icon {
    position: absolute;
    left: 16px;
    font-size: 18px;
    color: var(--color-text-primary);
    flex-shrink: 0;
    pointer-events: none;
}

.tt-input {
    flex: 1;
    padding: 14px 50px 14px 50px;
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    font-family: var(--font-family-body);
    font-size: 15px;
    font-weight: var(--font-weight-regular);
    line-height: 24px;
    outline: none;
    height: 52px;
}

.tt-input::placeholder {
    color: var(--color-text-secondary);
}

.tt-input-clear {
    position: absolute;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--transition-default);
    flex-shrink: 0;
}

.tt-input-clear:hover {
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
}

.tt-btn-process {
    width: 100%;
    gap: var(--space-1);
    margin-bottom: var(--space-2);
}

.tt-btn-process i {
    font-size: 16px;
}

.tt-input-hint {
    display: flex;
    align-items: flex-start;
    gap: var(--space-1);
    font-family: var(--font-family-body);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.tt-input-hint i {
    font-size: 13px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}


.tt-loader {
    display: none;
    margin-bottom: var(--space-6);
}

.tt-loader.is-active {
    display: block;
}

.tt-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-6) var(--space-3);
    background: var(--color-white);
    border: 1px solid var(--color-border-muted);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-raised);
}

.tt-loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--color-bg-primary);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.tt-loader-text {
    font-family: var(--font-family-body);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
}

.tt-loader-steps {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    justify-content: center;
}

.tt-step {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 8px 14px;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border-muted);
    border-radius: var(--radius-md);
    font-family: var(--font-family-body);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
    transition: all var(--transition-default);
}

.tt-step i {
    font-size: 12px;
}

.tt-step.active {
    background: rgba(252, 100, 50, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 12px rgba(252, 100, 50, 0.2);
}

.tt-step.done {
    background: rgba(0, 130, 123, 0.1);
    border-color: #00827B;
    color: #00827B;
}


.tt-result {
    display: none;
    margin-bottom: var(--space-6);
}

.tt-result.is-active {
    display: block;
    animation: slideUp 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tt-result-grid {
    display: grid;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .tt-result-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}


.tt-preview-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-muted);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-raised);
}

.tt-video-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 500px;
    background: var(--color-black);
    overflow: hidden;
}

@media (min-width: 640px) {
    .tt-video-thumb-wrap {
        max-height: 600px;
    }
}

.tt-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-thumb-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    font-family: var(--font-family-body);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    letter-spacing: 0.5px;
}

.tt-thumb-badge i {
    font-size: 12px;
}

.tt-video-meta {
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.tt-video-title {
    font-family: var(--font-family-body);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tt-video-author {
    font-family: var(--font-family-body);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
}


.tt-download-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-muted);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    box-shadow: var(--shadow-raised);
}

@media (min-width: 640px) {
    .tt-download-card {
        padding: var(--space-5);
    }
}

.tt-download-header {
    margin-bottom: var(--space-3);
}

.tt-download-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.tt-dl-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3);
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border-muted);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-default);
    cursor: pointer;
}

.tt-dl-btn:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-floating);
    transform: translateX(4px);
}

.tt-dl-video {
    border-left: 3px solid var(--color-primary);
}

.tt-dl-video:hover {
    border-left-color: var(--color-primary-hover);
}

.tt-dl-audio {
    border-left: 3px solid #00827B;
}

.tt-dl-audio:hover {
    border-left-color: #006B64;
}

.tt-dl-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(252, 100, 50, 0.1);
    border: 1px solid rgba(252, 100, 50, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    font-size: 18px;
    flex-shrink: 0;
}

.tt-dl-icon-audio {
    background: rgba(0, 130, 123, 0.1);
    border-color: rgba(0, 130, 123, 0.2);
    color: #00827B;
}

.tt-dl-info {
    flex: 1;
    min-width: 0;
}

.tt-dl-info strong {
    display: block;
    font-family: var(--font-family-body);
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    line-height: 1.3;
    margin-bottom: 2px;
}

.tt-dl-info span {
    font-family: var(--font-family-body);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.tt-dl-arrow {
    font-size: 14px;
    color: var(--color-text-secondary);
    flex-shrink: 0;
    transition: transform var(--transition-default);
}

.tt-dl-btn:hover .tt-dl-arrow {
    transform: translateY(2px);
}

.tt-btn-reset {
    width: 100%;
    gap: var(--space-1);
}


.tt-howto {
    margin-bottom: var(--space-7);
}

.tt-section-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.tt-section-ordinal {
    font-family: var(--font-family-body);
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
    letter-spacing: 0.5px;
    line-height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.tt-section-title {
    font-family: var(--font-family-display);
    font-size: 24px;
    font-weight: var(--font-weight-regular);
    line-height: 1.3;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}

.tt-section-title em {
    color: var(--color-text-secondary);
    font-style: italic;
}

.tt-section-desc {
    font-family: var(--font-family-body);
    font-size: 13px;
    font-weight: var(--font-weight-regular);
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.tt-steps {
    display: grid;
    gap: var(--space-3);
}

@media (min-width: 640px) {
    .tt-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tt-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tt-step-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-muted);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    box-shadow: var(--shadow-raised);
    transition: all var(--transition-default);
}

.tt-step-card:hover {
    box-shadow: var(--shadow-floating);
    transform: translateY(-4px);
}

.tt-step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-family-display);
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    border-radius: 50%;
    margin-bottom: var(--space-2);
}

.tt-step-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.tt-step-title {
    font-family: var(--font-family-display);
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    color: var(--color-text-primary);
}

.tt-step-text {
    font-family: var(--font-family-body);
    font-size: 13px;
    font-weight: var(--font-weight-regular);
    color: var(--color-text-secondary);
    line-height: 1.6;
}


.tt-features {
    margin-bottom: var(--space-7);
}

.tt-feature-grid {
    display: grid;
    gap: var(--space-3);
}

@media (min-width: 640px) {
    .tt-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tt-feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tt-feature-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-muted);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    box-shadow: var(--shadow-raised);
    transition: all var(--transition-default);
}

.tt-feature-card:hover {
    box-shadow: var(--shadow-floating);
    border-color: var(--color-text-secondary);
}

.tt-feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 18px;
    margin-bottom: var(--space-2);
}

.tt-feature-icon--purple {
    background: rgba(85, 70, 255, 0.1);
    color: var(--color-accent-purple-1);
}

.tt-feature-icon--orange {
    background: rgba(252, 100, 50, 0.1);
    color: var(--color-primary);
}

.tt-feature-icon--cyan {
    background: rgba(0, 130, 123, 0.1);
    color: #00827B;
}

.tt-feature-icon--gold {
    background: rgba(247, 183, 15, 0.12);
    color: var(--color-warning-primary);
}

.tt-feature-title {
    font-family: var(--font-family-display);
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    color: var(--color-text-primary);
    margin-bottom: var(--space-1);
}

.tt-feature-text {
    font-family: var(--font-family-body);
    font-size: 13px;
    font-weight: var(--font-weight-regular);
    color: var(--color-text-secondary);
    line-height: 1.6;
}


.tt-faq {
    margin-bottom: var(--space-7);
}

.tt-faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.tt-faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border-muted);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    box-shadow: var(--shadow-raised);
}

.tt-faq-question {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-family: var(--font-family-display);
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.tt-faq-question i {
    font-size: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.tt-faq-answer {
    font-family: var(--font-family-body);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
    padding-left: 34px;
}


.tt-disclaimer {
    margin-bottom: var(--space-7);
}

.tt-disclaimer-card {
    display: flex;
    gap: var(--space-3);
    background: var(--color-bg-neutral);
    border: 1px solid var(--color-warning-primary);
    border-radius: var(--radius-md);
    padding: var(--space-4);
}

.tt-disclaimer-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 183, 15, 0.15);
    color: var(--color-warning-primary);
    border-radius: var(--radius-md);
    font-size: 18px;
    flex-shrink: 0;
}

.tt-disclaimer-content {
    flex: 1;
}

.tt-disclaimer-title {
    font-family: var(--font-family-display);
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.tt-disclaimer-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.tt-disclaimer-body p {
    font-family: var(--font-family-body);
    font-size: 13px;
    font-weight: var(--font-weight-regular);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.tt-disclaimer-body strong {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-bold);
}

.tt-disclaimer-agree {
    display: flex;
    align-items: flex-start;
    gap: var(--space-1);
    padding: var(--space-2);
    background: rgba(0, 130, 123, 0.08);
    border: 1px solid rgba(0, 130, 123, 0.2);
    border-radius: var(--radius-md);
    font-family: var(--font-family-body);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    color: #00827B;
    line-height: 1.5;
}

.tt-disclaimer-agree i {
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
    text-align: center;
}

.footer-heart {
    color: var(--color-primary);
}


@media (max-width: 639px) {
    .tt-content {
        padding-top: var(--space-4);
    }

    .tt-hero-title {
        font-size: 28px;
    }

    .tt-section-title {
        font-size: 20px;
    }

    .tt-input-card,
    .tt-download-card {
        padding: var(--space-3);
    }

    .tt-video-thumb-wrap {
        max-height: 400px;
    }

    .tt-steps {
        grid-template-columns: 1fr;
    }

    .tt-loader-steps {
        gap: var(--space-1);
    }

    .tt-step {
        font-size: 11px;
        padding: 6px 12px;
    }

    .tt-step span {
        display: none;
    }
}