:root {
    --bg: #070707;
    --bg-soft: #101010;
    --bg-header: rgba(8, 6, 5, 0.92);
    --bg-hero: #0a0908;
    --bg-about: #12100e;
    --bg-features: #1a1410;
    --bg-footer: #050403;
    --ink: #fff6ef;
    --muted: rgba(255, 246, 239, 0.64);
    --line: rgba(255, 180, 90, 0.14);
    --yellow: #ffd34d;
    --orange: #ff7a18;
    --red: #e23a1a;
    --fire: linear-gradient(135deg, #ffd34d 0%, #ff7a18 48%, #e23a1a 100%);
    --font-display: "Sora", "Segoe UI", sans-serif;
    --font-body: "Outfit", "Segoe UI", sans-serif;
    --max: 980px;
    --gutter: clamp(1.75rem, 7vw, 5.5rem);
    --radius: 1rem;
    --header-h: 4.75rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

.landing-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.tf {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

.tf__bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: #070707;
    transition: transform 0.15s linear;
}

.tf__noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.tf__progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    height: 2px;
}

.tf__progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--fire);
}

.tf__wrap {
    width: 100%;
    max-width: calc(var(--max) + (var(--gutter) * 2));
    margin-inline: auto;
    padding-inline: var(--gutter);
    box-sizing: border-box;
}

.tf__header,
.tf__screen,
.tf__footer {
    position: relative;
    z-index: 1;
}

.tf__header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--bg-header);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 122, 24, 0.22);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.tf__header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.tf__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink);
    text-decoration: none;
    min-width: 0;
}

.tf__brand > img {
    width: 2.7rem;
    height: 2.7rem;
    object-fit: contain;
    flex-shrink: 0;
}

.tf__brand-name {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(180deg, #ffd34d 0%, #ff7a18 52%, #e23a1a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.tf__burger {
    display: none;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    border: 1px solid rgba(255, 122, 24, 0.35);
    border-radius: 0.55rem;
    background: rgba(255, 122, 24, 0.08);
    cursor: pointer;
}

.tf__burger span {
    display: block;
    width: 1.15rem;
    height: 2px;
    margin: 0.28rem auto;
    border-radius: 2px;
    background: var(--yellow);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.tf.is-nav-open .tf__burger span:nth-child(1) {
    transform: translateY(0.34rem) rotate(45deg);
}

.tf.is-nav-open .tf__burger span:nth-child(2) {
    opacity: 0;
}

.tf.is-nav-open .tf__burger span:nth-child(3) {
    transform: translateY(-0.34rem) rotate(-45deg);
}

.tf__nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem 1.25rem;
}

.tf__nav a {
    position: relative;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.tf__nav a:not(.tf__login)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    background: var(--fire);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.tf__nav a:not(.tf__login):hover,
.tf__nav a.is-active {
    color: var(--ink);
}

.tf__nav a.is-active::after,
.tf__nav a:not(.tf__login):hover::after {
    transform: scaleX(1);
}

.tf__login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0.5rem 1.05rem;
    margin-left: 0.2rem;
    border-radius: 0.5rem;
    background: var(--fire);
    color: #1a0a00 !important;
    font-weight: 700 !important;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.tf__login:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.tf__login::after { display: none !important; }

.tf__screen {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    scroll-margin-top: var(--header-h);
}

.tf__hero {
    position: relative;
    background:
        radial-gradient(ellipse 75% 55% at 70% 35%, rgba(255, 122, 24, 0.16), transparent 58%),
        radial-gradient(ellipse 50% 45% at 12% 80%, rgba(226, 58, 26, 0.1), transparent 55%),
        var(--bg-hero);
}

.tf__hero-grid,
.tf__about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.5rem, 3vw, 2.8rem);
    align-items: center;
    width: 100%;
}

.tf__badge,
.tf__label {
    display: inline-flex;
    margin: 0 0 1rem;
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tf__badge {
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(255, 122, 24, 0.35);
    border-radius: 0.5rem;
    background: rgba(255, 122, 24, 0.08);
}

.tf__hero h1,
.tf__about-grid h2,
.tf__section-head h2,
.tf__footer-top h2 {
    margin: 0 0 1.1rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.tf__hero h1 {
    max-width: 11ch;
    font-size: clamp(2.35rem, 5vw, 3.85rem);
}

.tf__about-grid h2,
.tf__section-head h2,
.tf__footer-top h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.tf__lead,
.tf__about-grid p {
    margin: 0;
    max-width: 34rem;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.18rem);
    line-height: 1.7;
}

.tf__lead { margin-bottom: 1.4rem; }

.tf__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.tf__chips span {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.tf__hero-visual,
.tf__about-visual {
    border: 1px solid rgba(255, 122, 24, 0.22);
    border-radius: 1.2rem;
    overflow: hidden;
    background: #0c0c0c;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.tf__hero-visual img,
.tf__about-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.tf__scroll {
    position: absolute;
    left: 50%;
    bottom: 1.35rem;
    width: 1.45rem;
    height: 2.25rem;
    margin-left: -0.725rem;
    border: 1px solid rgba(255, 122, 24, 0.4);
    border-radius: 1rem;
    text-decoration: none;
}

.tf__scroll span {
    position: absolute;
    top: 0.4rem;
    left: 50%;
    width: 0.28rem;
    height: 0.28rem;
    margin-left: -0.14rem;
    border-radius: 50%;
    background: var(--yellow);
    animation: tf-scroll 1.4s ease-in-out infinite;
}

.tf__section#about {
    background:
        radial-gradient(ellipse 60% 50% at 20% 40%, rgba(255, 211, 77, 0.05), transparent 55%),
        var(--bg-about);
    border-top: 1px solid rgba(255, 180, 90, 0.12);
    border-bottom: 1px solid rgba(255, 180, 90, 0.08);
}

.tf__section--alt {
    border-top: 1px solid rgba(255, 122, 24, 0.2);
    border-bottom: 1px solid rgba(255, 122, 24, 0.16);
    background:
        radial-gradient(ellipse 70% 55% at 80% 20%, rgba(255, 122, 24, 0.1), transparent 55%),
        var(--bg-features);
}

.tf__section-head {
    margin-bottom: 2rem;
    max-width: 28rem;
}

.tf__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.tf__grid article {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.tf__grid article:hover {
    border-color: rgba(255, 122, 24, 0.45);
    background: rgba(255, 122, 24, 0.06);
    transform: translateY(-3px);
}

.tf__grid img {
    width: 3.4rem;
    height: 3.4rem;
    margin-bottom: 0.95rem;
    object-fit: contain;
    border-radius: 0.7rem;
}

.tf__grid h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
}

.tf__grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.tf__networks {
    margin-top: 2.4rem;
    margin-bottom: 3.5rem;
    padding-top: 1.6rem;
    padding-bottom: 1rem;
    border-top: 1px solid var(--line);
}

.tf__networks-head h3 {
    margin: 0 0 0.55rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
}

.tf__networks-head p {
    margin: 0 0 1.4rem;
    max-width: 48rem;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.tf__networks-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tf__networks-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.35rem 0;
    background: transparent;
    border: 0;
}

.tf__networks-list img {
    display: block;
    width: 100%;
    max-width: 9.5rem;
    height: 2.6rem;
    object-fit: contain;
}

.tf__footer {
    padding: 4.5rem 0 1.5rem;
    scroll-margin-top: var(--header-h);
    border-top: 1px solid rgba(255, 122, 24, 0.28);
    background:
        radial-gradient(ellipse 55% 60% at 50% 0%, rgba(255, 122, 24, 0.08), transparent 55%),
        var(--bg-footer);
}

.tf__footer-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}

.tf__footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.9rem;
}

.tf__footer-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink);
    text-decoration: none;
    font-size: 1.12rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.tf__footer-contacts a .fa {
    width: 1.2rem;
    text-align: center;
    color: var(--orange);
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.tf__footer-contacts a:hover {
    color: var(--yellow);
}

.tf__footer-contacts a:hover .fa {
    transform: scale(1.08);
}

.tf__footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.tf__footer-bottom img {
    height: 1.55rem;
    width: auto;
    opacity: 0.9;
}

.tf__top {
    position: fixed;
    right: max(1rem, var(--gutter));
    bottom: 1.25rem;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 122, 24, 0.4);
    border-radius: 999px;
    background: rgba(7, 7, 7, 0.88);
    color: var(--yellow);
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.tf__top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.tf__top:hover {
    background: rgba(255, 122, 24, 0.16);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes tf-scroll {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(0.7rem); opacity: 0.15; }
    100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 980px) {
    .tf__networks-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .tf__hero-grid,
    .tf__about-grid {
        grid-template-columns: 1fr;
        gap: 1.7rem;
    }

    .tf__hero-visual { order: -1; }
    .tf__hero h1 { max-width: none; }
}

@media (max-width: 800px) {
    .tf__burger { display: inline-block; }

    .tf__nav {
        position: absolute;
        top: calc(100% + 0.35rem);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding: 0.85rem;
        border: 1px solid rgba(255, 122, 24, 0.22);
        border-radius: 0.9rem;
        background: rgba(10, 10, 10, 0.96);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    }

    .tf.is-nav-open .tf__nav { display: flex; }

    .tf__nav a {
        padding: 0.75rem 0.85rem;
        border-radius: 0.55rem;
    }

    .tf__nav a:not(.tf__login):hover,
    .tf__nav a.is-active {
        background: rgba(255, 122, 24, 0.08);
    }

    .tf__nav a:not(.tf__login)::after { display: none; }

    .tf__login {
        margin: 0.35rem 0 0;
        width: 100%;
    }

    .tf__screen {
        min-height: auto;
        padding: 3.5rem 0;
        align-items: flex-start;
    }

    .tf__hero {
        min-height: calc(100svh - 4.5rem);
        align-items: center;
        padding-bottom: 4rem;
    }

    .tf__grid { grid-template-columns: 1fr; }

    .tf__footer-top,
    .tf__footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .tf__footer-contacts { align-items: flex-start; }
    .tf__scroll { display: none; }
}

@media (max-width: 520px) {
    .tf__networks-list {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .tf__brand-name {
        font-size: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .tf__scroll span { animation: none; }
}
