﻿/* ==============================================
   analiza-corporala-tanita.css
   Pagina: Analiză Corporală Tanita MC-780
   ============================================== */

/* ========== VARIABLES ========== */
.ta-page {
    --accent: #970c8c;
    --accent-light: #b83db0;
    --accent-bright: #d06ec8;
    --accent-pale: #f3e0f1;
    --accent-glow: #7a0a72;
    --dark: #0e0e0e;
    --charcoal: #1a1a1a;
    --white: #ffffff;
    --muted: #777;
    --text: #444;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', 'Montserrat', sans-serif;
}

.ta-page {
    font-family: var(--font-body);
    color: var(--text);
    overflow-x: hidden;
    background: #fff;
    line-height: 1.6;
}

/* ========== ANIMATIONS ========== */
[data-ta] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    [data-ta].ta-vis {
        opacity: 1;
        transform: none !important;
    }

[data-ta="fade-up"] {
    transform: translateY(40px);
}

[data-ta="fade-down"] {
    transform: translateY(-40px);
}

[data-ta="fade-left"] {
    transform: translateX(-50px);
}

[data-ta="fade-right"] {
    transform: translateX(50px);
}

[data-ta="fade-in"] {
    transform: scale(0.95);
}

[data-ta="zoom-in"] {
    transform: scale(0.85);
}

.ta-d1 {
    transition-delay: .1s;
}

.ta-d2 {
    transition-delay: .2s;
}

.ta-d3 {
    transition-delay: .3s;
}

.ta-d4 {
    transition-delay: .4s;
}

.ta-d5 {
    transition-delay: .5s;
}

/* ========== HERO ========== */
.ta-hero {
    position: relative;
    background: linear-gradient(rgba(14,14,14,0.65), rgba(14,14,14,0.7)), url('/images/Tanita/Header.jpg') center/cover no-repeat;
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

    .ta-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -20%;
        width: 70%;
        height: 200%;
        background: radial-gradient(ellipse, rgba(151,12,140,0.2) 0%, transparent 70%);
        pointer-events: none;
    }

    .ta-hero::after {
        content: '';
        position: absolute;
        bottom: -50%;
        right: -20%;
        width: 60%;
        height: 200%;
        background: radial-gradient(ellipse, rgba(184,61,176,0.12) 0%, transparent 70%);
        pointer-events: none;
    }

.ta-hero-badge {
    display: inline-block;
    background: rgba(151,12,140,0.35);
    border: 1px solid rgba(208,110,200,0.4);
    color: var(--accent-pale);
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.ta-hero h1 {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    position: relative;
    z-index: 1;
}

    .ta-hero h1 span {
        background: linear-gradient(135deg, var(--accent-bright), var(--accent-pale));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.ta-hero p.lead {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    max-width: 740px;
    margin: 0 auto 28px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.ta-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff !important;
    border-radius: 100px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(151,12,140,0.4);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

    .ta-hero-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(151,12,140,0.5);
        color: #fff !important;
    }

.ta-hero-highlight {
    background: linear-gradient(135deg, #e8a0e2, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* ========== SECTIONS ========== */
.ta-section {
    padding: 70px 0;
}

    .ta-section.ta-bg-white {
        background: #fff;
    }

    .ta-section.ta-bg-soft {
        background: #faf3f9;
    }

    .ta-section.ta-bg-dark {
        background: var(--dark);
        color: #fff;
    }

    .ta-section.ta-bg-charcoal {
        background: var(--charcoal);
        color: #fff;
    }

    .ta-section.ta-bg-gradient {
        background: linear-gradient(180deg, #0e0e0e, #1a0a20, #0e0e0e);
        color: #fff;
    }

/* ========== HEADERS ========== */
.ta-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.ta-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

    .ta-section-label::before, .ta-section-label::after {
        content: '';
        width: 30px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--accent));
    }

    .ta-section-label::after {
        background: linear-gradient(90deg, var(--accent), transparent);
    }

.ta-section-header h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.ta-section-header p {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.ta-bg-dark .ta-section-label,
.ta-bg-charcoal .ta-section-label,
.ta-bg-gradient .ta-section-label {
    color: var(--accent-bright);
}

    .ta-bg-dark .ta-section-label::before,
    .ta-bg-charcoal .ta-section-label::before,
    .ta-bg-gradient .ta-section-label::before {
        background: linear-gradient(90deg, transparent, var(--accent-bright));
    }

    .ta-bg-dark .ta-section-label::after,
    .ta-bg-charcoal .ta-section-label::after,
    .ta-bg-gradient .ta-section-label::after {
        background: linear-gradient(90deg, var(--accent-bright), transparent);
    }

.ta-bg-dark .ta-section-header h2,
.ta-bg-charcoal .ta-section-header h2,
.ta-bg-gradient .ta-section-header h2 {
    color: #fff;
}

.ta-bg-dark .ta-section-header p,
.ta-bg-charcoal .ta-section-header p,
.ta-bg-gradient .ta-section-header p {
    color: rgba(255,255,255,0.5);
}

/* ========== ALT TEXT + IMAGE ========== */
.ta-alt-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

    .ta-alt-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s;
    }

    .ta-alt-img:hover img {
        transform: scale(1.03);
    }

.ta-alt-text h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.25;
    color: var(--dark);
}

    .ta-alt-text h3 span {
        color: var(--accent);
    }

.ta-alt-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--text);
    text-align: justify;
}

/* ========== FEATURE CARDS ========== */
.ta-feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(151,12,140,0.08);
    transition: all 0.3s;
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
}

    .ta-feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--accent), var(--accent-light), transparent);
    }

    .ta-feature-card:hover {
        box-shadow: 0 8px 35px rgba(151,12,140,0.12);
        transform: translateY(-4px);
    }

.ta-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    margin: 0 auto 16px;
    box-shadow: 0 4px 15px rgba(151,12,140,0.3);
}

.ta-feature-card h5 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.ta-feature-card p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* ========== HIGHLIGHT CARDS (dark bg) ========== */
.ta-highlight-card {
    background: linear-gradient(145deg, rgba(151,12,140,0.12), rgba(184,61,176,0.06));
    border: 1px solid rgba(151,12,140,0.15);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

    .ta-highlight-card:hover {
        transform: translateY(-3px);
        border-color: rgba(151,12,140,0.3);
    }

.ta-highlight-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(151,12,140,0.3);
}

.ta-highlight-card h5 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.ta-highlight-card p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin: 0;
}

/* ========== CALLOUT ========== */
.ta-callout {
    background: linear-gradient(135deg, rgba(151,12,140,0.06), rgba(184,61,176,0.03));
    border-left: 4px solid var(--accent);
    border-radius: 0 14px 14px 0;
    padding: 20px 24px;
    margin: 20px 0;
}

    .ta-callout p {
        margin: 0;
        font-size: 1.0rem;
        line-height: 1.7;
        color: var(--text);
    }

    .ta-callout.ta-callout-dark {
        background: linear-gradient(135deg, rgba(151,12,140,0.15), rgba(184,61,176,0.08));
        border-left-color: var(--accent-bright);
    }

.ta-callout-dark p {
    color: rgba(255,255,255,0.7);
}

/* ========== PARAM GRID ========== */
.ta-param-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.ta-param-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(151,12,140,0.06);
    border: 1px solid rgba(151,12,140,0.1);
    border-radius: 12px;
    transition: all 0.3s;
    font-size: 0.95rem;
    color: var(--text);
}

    .ta-param-item:hover {
        border-color: rgba(151,12,140,0.25);
        background: rgba(151,12,140,0.1);
        transform: translateY(-2px);
    }

    .ta-param-item i {
        color: var(--accent);
        font-size: 0.9rem;
        flex-shrink: 0;
        width: 20px;
        text-align: center;
    }

/* ========== VIDEO ========== */
.ta-video-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(151,12,140,0.12);
    border: 2px solid rgba(151,12,140,0.12);
}

    .ta-video-wrap video {
        width: 100%;
        display: block;
    }

.ta-video-caption {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    padding: 14px 20px;
    font-size: 0.92rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========== CTA BANNER ========== */
.ta-cta-banner {
    background: linear-gradient(135deg, #970c8c, #b83db0, #970c8c);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .ta-cta-banner::before {
        content: '';
        position: absolute;
        top: -40px;
        right: -40px;
        width: 160px;
        height: 160px;
        background: #fff;
        opacity: 0.06;
        border-radius: 50%;
    }

    .ta-cta-banner h3 {
        font-family: var(--font-display);
        font-size: 1.9rem;
        font-weight: 700;
        margin-bottom: 12px;
        position: relative;
        z-index: 1;
    }

    .ta-cta-banner p {
        font-size: 1.05rem;
        opacity: 0.7;
        margin-bottom: 24px;
        position: relative;
        z-index: 1;
    }

.ta-cta-btn-white {
    background: #fff;
    color: var(--accent) !important;
    -webkit-text-fill-color: var(--accent);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* ========== FAQ ========== */
.ta-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
}

.ta-faq-item {
    background: #fff;
    border: 1px solid rgba(151,12,140,0.08);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s;
    position: relative;
}

    .ta-faq-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, var(--accent), var(--accent-light));
        opacity: 0;
        transition: opacity 0.3s;
        border-radius: 18px 0 0 18px;
    }

    .ta-faq-item:hover {
        border-color: rgba(151,12,140,0.18);
        box-shadow: 0 6px 28px rgba(151,12,140,0.08);
    }

        .ta-faq-item:hover::before {
            opacity: 1;
        }

    .ta-faq-item.ta-open {
        border-color: rgba(151,12,140,0.2);
        box-shadow: 0 8px 32px rgba(151,12,140,0.1);
    }

        .ta-faq-item.ta-open::before {
            opacity: 1;
        }

.ta-faq-question {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.25s;
    line-height: 1.45;
}

    .ta-faq-question:hover {
        color: var(--accent);
    }

    .ta-faq-question:focus {
        outline: none;
    }

    .ta-faq-question span {
        flex: 1;
    }

.ta-faq-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(151,12,140,0.08), rgba(184,61,176,0.04));
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s;
}

.ta-faq-item:hover .ta-faq-num, .ta-faq-item.ta-open .ta-faq-num {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    box-shadow: 0 4px 12px rgba(151,12,140,0.25);
}

.ta-faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(151,12,140,0.06);
    transition: all 0.3s;
    flex-shrink: 0;
}

    .ta-faq-toggle i {
        color: var(--accent-light);
        font-size: 0.75rem;
        transition: transform 0.35s ease;
    }

.ta-faq-item.ta-open .ta-faq-toggle {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    box-shadow: 0 3px 10px rgba(151,12,140,0.25);
}

    .ta-faq-item.ta-open .ta-faq-toggle i {
        color: #fff;
        transform: rotate(180deg);
    }

.ta-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.4s cubic-bezier(0.4,0,0.2,1);
    padding: 0 24px 0 78px;
}

.ta-faq-item.ta-open .ta-faq-answer {
    max-height: 400px;
    padding: 0 24px 22px 78px;
}

.ta-faq-answer p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.75;
    margin: 0;
}

/* ========== PRICE HEADER ========== */
.ta-price-header {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    padding: 20px 0;
    text-align: center;
}

    .ta-price-header h2 {
        font-family: var(--font-display);
        color: #fff;
        font-size: 1.6rem;
        font-weight: 700;
        margin: 0;
    }

/* ========== PRICE SECTION ========== */
.ta-price-img {
    max-width: 100%;
    width: 350px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(151,12,140,0.1);
    aspect-ratio: 1;
}

.ta-price-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #2D2D2D;
    margin-bottom: 12px;
}

.ta-price-subtitle {
    color: var(--muted);
    margin-bottom: 20px;
}

.ta-price-label {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text);
}

.ta-price-note {
    color: var(--muted);
    font-size: 0.92rem;
}

/* ========== CUSTOM LIST ========== */
.ta-list {
    list-style: none;
    padding-left: 0;
}

    .ta-list li {
        padding: 6px 0 6px 22px;
        position: relative;
        font-size: 1.0rem;
        line-height: 1.7;
    }

        .ta-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 14px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent);
            opacity: 0.6;
        }

.ta-bg-dark .ta-list li, .ta-bg-gradient .ta-list li {
    color: rgba(255,255,255,0.7);
}

/* ========== SEGMENT TAGS ========== */
.ta-seg-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 24px 0;
}

.ta-seg-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(151,12,140,0.08);
    border: 1px solid rgba(151,12,140,0.15);
    border-radius: 100px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--dark);
    transition: all 0.3s;
}

    .ta-seg-tag:hover {
        background: linear-gradient(135deg, var(--accent), var(--accent-light));
        color: #fff;
        border-color: transparent;
        transform: scale(1.05);
    }

    .ta-seg-tag i {
        color: var(--accent);
        font-size: 0.8rem;
    }

    .ta-seg-tag:hover i {
        color: #fff;
    }

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .ta-hero h1 {
        font-size: 2rem;
    }

    .ta-section-header h2 {
        font-size: 1.7rem;
    }

    .ta-alt-text h3 {
        font-size: 1.3rem;
    }

    .ta-section {
        padding: 50px 0;
    }

    .ta-param-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ta-hero {
        padding: 80px 0 50px;
    }

        .ta-hero h1 {
            font-size: 1.6rem;
        }

    .ta-param-grid {
        grid-template-columns: 1fr;
    }

    .ta-faq-answer {
        padding: 0 18px 0 18px;
    }

    .ta-faq-item.ta-open .ta-faq-answer {
        padding: 0 18px 18px 18px;
    }

    .ta-faq-question {
        padding: 16px 18px;
        gap: 12px;
        font-size: 0.92rem;
    }

    .ta-faq-num {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .ta-hero-highlight {
        background: linear-gradient(135deg, #f0c0ec, #ffffff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
    }
}
