:root {
    --tron-red: #ff0013;
    --tron-dark: #111111;
    --tron-text: #6f6f6f;
    --tron-bg: #f4f4f4;
}

.tron-mlm-hero {
    position: relative;
    background: var(--tron-bg);
    padding: 90px 5% 70px;
    overflow: hidden;
    min-height: 88vh;
    display: flex;
    align-items: center;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.tm-hero-container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    align-items: center;
    gap: 40px;
}

.tm-hero-content {
    max-width: 560px;
    position: relative;
    z-index: 2;
}

.tm-hero-title {
    margin: 0 0 24px;
    font-size: 76px;
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -3px;
    text-transform: uppercase;
    color: var(--tron-dark);
}

.tm-hero-subtitle {
    margin: 0 0 34px;
    max-width: 520px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--tron-text);
    font-weight: 400;
}

.tm-hero-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tm-btn-primary,
.tm-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 54px;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.tm-btn-primary {
    background: var(--tron-red);
    color: #fff;
    border: 2px solid var(--tron-red);
}

.tm-btn-primary:hover {
    background: #d80010;
    border-color: #d80010;
    color: #fff;
}

.tm-btn-outline {
    background: transparent;
    color: var(--tron-dark);
    border: 2px solid var(--tron-dark);
}

.tm-btn-outline:hover {
    background: var(--tron-dark);
    color: #fff;
}

.tm-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
}

.tm-hero-img {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    object-fit: contain;
    filter: none;
}

/* remove old visual effects if present */
.tm-visual-wrapper,
.tm-main-sphere,
.tm-floating-ring,
.tm-floating-element-1 {
    display: none !important;
}

/* Large screens */
@media (max-width: 1440px) {
    .tm-hero-title {
        font-size: 66px;
    }

    .tm-hero-img {
        max-width: 680px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .tron-mlm-hero {
        padding: 70px 5% 60px;
        min-height: auto;
    }

    .tm-hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tm-hero-content {
        max-width: 100%;
        text-align: center;
        order: 1;
    }

    .tm-hero-visual {
        order: 2;
        min-height: auto;
    }

    .tm-hero-title {
        font-size: 54px;
        letter-spacing: -2px;
    }

    .tm-hero-subtitle {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .tm-hero-btns {
        justify-content: center;
    }

    .tm-hero-img {
        max-width: 620px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .tron-mlm-hero {
        padding: 50px 20px 45px;
    }

    .tm-hero-title {
        font-size: 40px;
        line-height: 0.98;
        letter-spacing: -1.5px;
    }

    .tm-hero-subtitle {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 26px;
    }

    .tm-hero-btns {
        flex-direction: column;
        gap: 12px;
    }

    .tm-btn-primary,
    .tm-btn-outline {
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }

    .tm-hero-img {
        max-width: 100%;
    }
}


/* Variables & Global Styles */
:root {
    --tr-red: #FF0013;
    --tr-dark: #111111;
    --tr-gray: #666666;
    --tr-bg: #ffffff;
}

.tron-software-page {
    font-family: 'Inter', sans-serif;
    background-color: var(--tr-bg);
    color: var(--tr-dark);
    overflow-x: hidden;
}

.tr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HERO SECTION --- */
.tr-hero-section {
    padding: 100px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.tr-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 40px;
}

.tr-hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.tr-text-outline {
    color: var(--tr-dark);
    display: block;
}

.tr-hero-desc {
    font-size: 1.2rem;
    color: var(--tr-gray);
    max-width: 500px;
    margin-bottom: 40px;
}

.tr-btn-main {
    background: var(--tr-red);
    color: #fff;
    padding: 18px 35px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
    transition: 0.3s;
}

.tr-btn-link {
    margin-left: 20px;
    color: var(--tr-dark);
    text-decoration: none;
    font-weight: 700;
}

/* Hero Visuals */
.tr-hero-visual { position: relative; }
.tr-visual-box { position: relative; width: 100%; height: 450px; }

.tr-sphere-main img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    position: relative;
    z-index: 5;
    box-shadow: 0 30px 60px rgba(255, 0, 19, 0.2);
}

.tr-ring-decoration {
    position: absolute;
    width: 450px;
    height: 450px;
    border: 15px solid #eee;
    border-radius: 50%;
    top: -20px;
    left: -20px;
    transform: rotateX(65deg) rotateY(10deg);
    z-index: 1;
}

/* --- STATS SECTION --- */
.tr-stats-section {
    padding: 100px 0;
    background: #fdfdfd;
}

.tr-section-heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 80px;
    letter-spacing: -1px;
}

.tr-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.tr-stats-text p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #333;
}

.tr-red-text { color: var(--tr-red); }
.tr-red-bold { color: var(--tr-red); font-weight: 800; }

/* Orbit Visual */
.tr-orbit-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.tr-core-sphere img {
    width: 280px;
    border-radius: 50%;
    z-index: 10;
}

.tr-dashed-orbit {
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px dashed var(--tr-red);
    border-radius: 50%;
    animation: rotateOrbit 20s linear infinite;
}

.tr-orbiting-ball {
    width: 25px;
    height: 25px;
    background: var(--tr-red);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: -12px;
}

@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Floating Animation */
.tr-floating-img {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Responsive */
@media (max-width: 992px) {
    .tr-hero-grid, .tr-stats-grid { grid-template-columns: 1fr; text-align: center; }
    .tr-hero-desc { margin: 0 auto 30px; }
    .tr-hero-visual, .tr-stats-visual { margin-top: 50px; display: flex; justify-content: center; }
}



/* Unique Section Styles */
.tr-features-section {
    background-color: #f6f6f6; /* Off-white background from image */
    padding: 100px 20px;
    font-family: 'Inter', sans-serif;
}

.tr-features-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.tr-features-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.tr-features-main-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.tr-learn-btn {
    background-color: #111;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.tr-learn-btn:hover {
    background-color: #ff0013; /* Tron Red on hover */
}

/* Grid & Cards */
.tr-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 cards */
    gap: 30px;
}

.tr-feature-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 40px; /* Large rounded corners from image */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.tr-feature-card:hover {
    transform: translateY(-10px);
}

/* Icon Area */
.tr-card-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.tr-3d-icon {
    width: 120px;
    height: auto;
    object-fit: contain;
}

/* Typography in Card */
.tr-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

.tr-card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .tr-features-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    .tr-features-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .tr-features-main-title {
        font-size: 2rem;
    }
}

.tron-software-page {
    background: #f4f4f4;
}

.tr-stats-section,
.tr-features-section,
.tr-service-section,
.tr-why-section,
.tr-cta-section {
    padding: 90px 5%;
}

.tr-container,
.tr-features-container,
.tr-service-container,
.tr-cta-container {
    max-width: 1380px;
    margin: 0 auto;
}

.tr-section-heading,
.tr-features-main-title,
.tr-service-title,
.tr-why-title,
.tr-cta-content h2 {
    color: #111;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin: 0;
}

.tr-section-heading {
    font-size: 52px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.tr-stats-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 50px;
    align-items: center;
}

.tr-stats-text p {
    font-size: 20px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 35px;
    max-width: 640px;
}

.tr-red-text {
    color: #ff0013;
    font-weight: 600;
}

.tr-red-bold {
    color: #111;
    font-weight: 800;
}

.tr-mini-stats {
    display: grid;
    gap: 18px;
    max-width: 580px;
}

.tr-mini-stat {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 20px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.tr-mini-stat strong {
    display: block;
    font-size: 18px;
    color: #111;
    margin-bottom: 6px;
}

.tr-mini-stat span {
    display: block;
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.tr-stats-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tr-orbit-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tr-core-sphere img,
.tr-center-img {
    max-width: 480px;
    width: 100%;
    height: auto;
    display: block;
}

.tr-features-section {
    background: #fff;
}

.tr-features-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 45px;
}

.tr-features-main-title {
    font-size: 48px;
    text-transform: uppercase;
}

.tr-header-right {
    flex-shrink: 0;
}

.tr-learn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    border: 2px solid #111;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.tr-learn-btn:hover {
    background: #111;
    color: #fff;
}

.tr-features-grid,
.tr-service-grid,
.tr-why-grid {
    display: grid;
    gap: 24px;
}

.tr-features-grid {
    grid-template-columns: repeat(3, 1fr);
}

.tr-feature-card,
.tr-service-card,
.tr-why-item {
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tr-feature-card:hover,
.tr-service-card:hover,
.tr-why-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.tr-card-icon {
    margin-bottom: 18px;
}

.tr-3d-icon {
    width: 110px;
    max-width: 100%;
    height: auto;
    display: block;
}

.tr-card-title,
.tr-service-card h3,
.tr-why-item h3 {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    color: #111;
    margin: 0 0 14px;
}

.tr-card-text,
.tr-service-card p,
.tr-why-item p,
.tr-service-text,
.tr-cta-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

.tr-service-section {
    background: #f8f8f8;
}

.tr-service-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 40px;
    align-items: start;
}

.tr-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff0013;
    margin-bottom: 16px;
}

.tr-service-title {
    font-size: 48px;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.tr-service-text {
    max-width: 500px;
}

.tr-service-grid {
    grid-template-columns: repeat(2, 1fr);
}

.tr-why-section {
    background: #fff;
}

.tr-why-header {
    max-width: 900px;
    margin-bottom: 40px;
}

.tr-why-title {
    font-size: 46px;
    text-transform: uppercase;
}

.tr-why-grid {
    grid-template-columns: repeat(2, 1fr);
}

.tr-cta-section {
    background: #f4f4f4;
    padding-bottom: 110px;
}

.tr-cta-container {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 28px;
    padding: 48px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.05);
}

.tr-cta-content {
    max-width: 760px;
}

.tr-cta-content h2 {
    font-size: 42px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.tr-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    flex-shrink: 0;
}

@media (max-width: 1199px) {
    .tr-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tr-service-container,
    .tr-stats-grid {
        grid-template-columns: 1fr;
    }

    .tr-service-grid,
    .tr-why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tr-features-header,
    .tr-cta-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .tr-stats-section,
    .tr-features-section,
    .tr-service-section,
    .tr-why-section,
    .tr-cta-section {
        padding: 60px 20px;
    }

    .tr-section-heading,
    .tr-features-main-title,
    .tr-service-title,
    .tr-why-title,
    .tr-cta-content h2 {
        font-size: 32px;
        line-height: 1.1;
    }

    .tr-features-grid,
    .tr-service-grid,
    .tr-why-grid {
        grid-template-columns: 1fr;
    }

    .tr-stats-text p {
        font-size: 17px;
    }

    .tr-card-title,
    .tr-service-card h3,
    .tr-why-item h3 {
        font-size: 21px;
    }

    .tr-cta-container {
        padding: 34px 24px;
    }

    .tr-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .tr-cta-actions .tm-btn-primary,
    .tr-cta-actions .tm-btn-outline {
        width: 100%;
        max-width: 280px;
    }
}


/* =========================
   SCROLL ANIMATION STYLES
========================= */

.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.92);
}

.reveal-active {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* smoother image motion */
.tm-hero-img,
.tr-center-img,
.tr-3d-icon {
    transition: transform 0.25s ease-out;
    will-change: transform;
}

/* feature card hover premium effect */
.tr-feature-card,
.tr-service-card,
.tr-why-item,
.tr-mini-stat {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tr-feature-card:hover,
.tr-service-card:hover,
.tr-why-item:hover,
.tr-mini-stat:hover {
    transform: translateY(-6px);
}

/* optional floating effect */
.tm-hero-img {
    animation: tmFloat 5s ease-in-out infinite;
}

.tr-center-img {
    animation: tmFloatTwo 6s ease-in-out infinite;
}

@keyframes tmFloat {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes tmFloatTwo {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}