/* =====================================================
   LANDING: TRIKids Triatlon — /trikids
   Pagina pentru PĂRINȚI, copii 6-13 ani
   Design: mobile-first, dark theme, ton cald
   Palette: orange #FF4500 × cyan #00D4FF
   Fonts: Bebas Neue (display) + Inter (body)
   ===================================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #FF4500;
    --color-primary-dim: rgba(255, 69, 0, 0.15);
    --color-secondary: #00D4FF;
    --color-secondary-dim: rgba(0, 212, 255, 0.12);
    --bg-dark: #0A0E1A;
    --bg-darker: #050812;
    --text-primary: #F5F5F5;
    --text-secondary: rgba(245, 245, 245, 0.65);
    --text-muted: rgba(245, 245, 245, 0.45);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-darker);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---- CONTAINERS ---- */
.tk-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.tk-container--narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- SECTION BASE ---- */
.tk-section {
    padding: 80px 0;
    position: relative;
}

/* ---- REVEAL ANIMATIONS ---- */
.tk-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.tk-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.tk-d1 { transition-delay: 0.1s; }
.tk-d2 { transition-delay: 0.2s; }
.tk-d3 { transition-delay: 0.3s; }
.tk-d4 { transition-delay: 0.4s; }

/* ---- BUTTONS ---- */
.tk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
}
.tk-btn-primary {
    background: var(--color-primary);
    color: var(--text-primary);
    padding: 16px 36px;
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.3);
}
.tk-btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 8px 32px rgba(255, 69, 0, 0.45);
    transform: translateY(-2px);
}
.tk-btn-lg {
    padding: 18px 44px;
    font-size: 15px;
}

/* ---- SECTION TITLE ---- */
.tk-section-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 6vw, 48px);
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 48px;
}

/* =====================================================
   S1. HERO
   ===================================================== */
.tk-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--bg-dark);
}
.tk-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.tk-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: 0;
}
.tk-hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255, 69, 0, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0, 212, 255, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, rgba(5, 8, 18, 0.25) 0%, rgba(5, 8, 18, 0.35) 100%);
}
.tk-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(5, 8, 18, 0.2) 0%,
        rgba(5, 8, 18, 0.1) 35%,
        rgba(5, 8, 18, 0.35) 65%,
        rgba(5, 8, 18, 0.8) 100%);
    z-index: 2;
}
.tk-hero-content {
    position: relative;
    z-index: 3;
    padding: 0 20px;
    max-width: 700px;
}
.tk-hero-logo {
    max-width: 360px;
    height: auto;
    margin: 0 auto 0;
    filter: drop-shadow(0 0 24px rgba(0, 212, 255, 0.15)) drop-shadow(0 0 60px rgba(255, 69, 0, 0.08));
    animation: tk-float 5s ease-in-out infinite;
}
@keyframes tk-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.tk-hero-separator {
    width: 140px;
    height: 1px;
    margin: 24px auto 28px;
    border: none;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    opacity: 0.5;
}
.tk-hero-headline {
    font-family: var(--font-display);
    font-size: clamp(36px, 8vw, 64px);
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.tk-hero-sub {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
}
.tk-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.tk-hero-actions .tk-btn {
    width: 100%;
    max-width: 360px;
}
.tk-hero-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom: 2px;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tk-hero-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
}
.tk-hero-age {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
}
.tk-hero-proof {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.tk-scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(245, 245, 245, 0.35);
    animation: tk-bounce 2.4s ease-in-out infinite;
}
@keyframes tk-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* =====================================================
   S2. CE FACE COPILUL (3 pași)
   ===================================================== */
.tk-steps {
    background: var(--bg-darker);
}
.tk-steps-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}
.tk-step-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 28px 20px;
    overflow: hidden;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.tk-step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.tk-step-icon {
    color: var(--color-secondary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.tk-step-number {
    position: absolute;
    top: -10px;
    right: 12px;
    font-family: var(--font-display);
    font-size: 100px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
    user-select: none;
}
.tk-step-title {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 0.02em;
    color: var(--color-secondary);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}
.tk-step-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}
.tk-steps-note {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =====================================================
   S3. CE PRIMEȘTE
   ===================================================== */
.tk-includes {
    background: var(--bg-dark);
}
.tk-includes-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}
.tk-includes-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
}
.tk-includes-item:first-child {
    border-top: 1px solid var(--border-subtle);
}
.tk-includes-item--highlight {
    color: var(--color-secondary);
    font-weight: 600;
}
.tk-includes-icon {
    flex-shrink: 0;
    color: var(--color-secondary);
    margin-top: 2px;
}
.tk-includes-note {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 32px;
    padding: 16px;
    border-radius: 8px;
    background: var(--color-primary-dim);
}

/* =====================================================
   S4. DE CE VINE (emoțional)
   ===================================================== */
.tk-why {
    background: var(--bg-darker);
}
.tk-why-text {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-secondary);
    text-align: center;
}

/* =====================================================
   S5. FAQ
   ===================================================== */
.tk-faq {
    background: var(--bg-dark);
}
.tk-faq-list {
    display: flex;
    flex-direction: column;
}
.tk-faq-item {
    border-bottom: 1px solid var(--border-subtle);
}
.tk-faq-item:first-child {
    border-top: 1px solid var(--border-subtle);
}
.tk-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    min-height: 48px;
    transition: color 0.2s;
}
.tk-faq-trigger:hover {
    color: var(--color-secondary);
}
.tk-faq-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s var(--ease);
}
.tk-faq-item.is-open .tk-faq-chevron {
    transform: rotate(180deg);
}
.tk-faq-answer {
    overflow: hidden;
}
.tk-faq-answer p {
    padding-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* =====================================================
   S6. CTA FINAL
   ===================================================== */
.tk-final {
    min-height: 80vh;
    min-height: 80dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 0 0;
    background: var(--bg-darker);
    overflow: hidden;
}
.tk-final-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 50%, rgba(255, 69, 0, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 30% 60%, rgba(0, 212, 255, 0.04) 0%, transparent 50%);
    z-index: 0;
}
.tk-final-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}
.tk-final-headline {
    font-family: var(--font-display);
    font-size: clamp(30px, 7vw, 56px);
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    margin-bottom: 32px;
    max-width: 560px;
}
.tk-final-actions {
    margin-bottom: 24px;
}
.tk-final-actions .tk-btn {
    width: 100%;
    max-width: 400px;
}
.tk-final-proof {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.tk-final-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    text-decoration: none;
    margin-bottom: 40px;
    transition: gap 0.2s var(--ease);
}
.tk-final-link:hover {
    gap: 12px;
}
.tk-final-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(0.3);
}

/* Footer */
.tk-footer {
    position: relative;
    z-index: 1;
    width: 100%;
    border-top: 1px solid var(--border-subtle);
    padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.tk-footer-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    opacity: 0.4;
}
.tk-footer-link {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.tk-footer-link:hover {
    color: var(--text-primary);
}

/* =====================================================
   MOBILE STICKY CTA
   ===================================================== */
.tk-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(5, 8, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
    transform: translateY(100%);
    transition: transform 0.3s var(--ease);
}
.tk-sticky-cta.is-visible {
    transform: translateY(0);
}
.tk-btn-sticky {
    width: 100%;
    padding: 14px 24px;
}

/* =====================================================
   DESKTOP BREAKPOINTS
   ===================================================== */

@media (min-width: 768px) {
    .tk-container { padding: 0 40px; }
    .tk-container--narrow { padding: 0 40px; }
    .tk-section { padding: 120px 0; }

    .tk-hero-headline {
        font-size: clamp(48px, 7vw, 64px);
    }
    .tk-hero-sub {
        font-size: 18px;
    }
    .tk-hero-actions .tk-btn {
        width: auto;
    }

    .tk-steps-grid {
        flex-direction: row;
        gap: 20px;
    }
    .tk-step-card {
        flex: 1;
    }

    .tk-final-actions .tk-btn {
        width: auto;
    }

    .tk-sticky-cta {
        display: none;
    }
}

@media (min-width: 1024px) {
    .tk-container { padding: 0 48px; }
    .tk-container--narrow { padding: 0 48px; }
    .tk-section { padding: 140px 0; }

    .tk-hero-sub {
        font-size: 18px;
        line-height: 1.8;
    }

    .tk-step-card {
        padding: 32px 24px;
    }
    .tk-step-number {
        font-size: 120px;
    }

    .tk-faq-trigger {
        font-size: 17px;
        padding: 24px 0;
    }

    .tk-includes-item {
        font-size: 17px;
        padding: 22px 0;
    }

    .tk-why-text {
        font-size: 19px;
    }

    .tk-final-headline {
        font-size: 56px;
    }
}

@media (min-width: 1280px) {
    .tk-steps-grid {
        gap: 28px;
    }
}
