@charset "utf-8";

/* ============================================
   ERGOSPHERE - CUSTOM STYLES
   Product Website Colors:
   - Dark Navy: #0a1628
   - Gunmetal: #1a2332
   - Royal Blue Accent: #00d4ff
   - White: #ffffff
   ============================================ */

/* ----- PRELOADER LINE COLOR ----- */
.loader_line:before {
    background-color: #00d4ff !important;
}

.loader_line:after {
    background-color: #00d4ff !important;
}

/* ----- TRADEMARK SYMBOL ----- */
.tm {
    font-size: 0.5em;
    vertical-align: super;
    opacity: 0.7;
}

/* ----- BLUE COLOR THEME (OVERRIDING CYAN) ----- */
.grax_tm_settings .colors li a.blue{background-color: #00d4ff;}

.grax_tm_all_wrap[data-color="blue"] .grax_tm_topbar .menu ul li.current a{color: #00d4ff;}
.grax_tm_all_wrap[data-color="blue"] .grax_tm_topbar .menu ul li a:hover{color: #00d4ff;}
.grax_tm_all_wrap[data-color="blue"] .grax_tm_title_holder span{color: #00d4ff;}
.grax_tm_all_wrap[data-color="blue"] .grax_tm_button a{background-color: #00d4ff;border-color:#00d4ff; color: #ffffff;}
.grax_tm_all_wrap[data-color="blue"] .grax_tm_button a:hover{background-color: transparent; color: #00d4ff;}
.grax_tm_all_wrap[data-color="blue"] .grax_tm_news .news_list ul li .details .title a:hover{color: #00d4ff;}
.grax_tm_all_wrap[data-color="blue"] .grax_tm_news .news_list ul li .details .date a:hover{color: #00d4ff;}
.grax_tm_all_wrap[data-color="blue"] .cursor-inner.cursor-hover{background-color: #00d4ff;}
.grax_tm_all_wrap[data-color="blue"] .cursor-outer{border-color: #00d4ff;}
.grax_tm_all_wrap[data-color="blue"] .cursor-inner{background-color: #00d4ff;}
.grax_tm_all_wrap[data-color="blue"] .progress_inner .background .bar_in{background: #00d4ff;}
.grax_tm_all_wrap[data-color="blue"] .progressbar .line{background-color: #00d4ff;}
.grax_tm_all_wrap[data-color="blue"] .grax_tm_down .line{background-color: #00d4ff;}
.progressbar .text{color: #ffffff;}

/* ----- HEADER MENU CENTERED ----- */
.grax_tm_topbar .container .topbar_inner {
    justify-content: center !important;
    position: relative;
}

.grax_tm_topbar .topbar_inner .logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* ----- SOLID HEADER FOR INNER PAGES ----- */
.solid-header .grax_tm_topbar {
    background-color: #000000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.solid-header .grax_tm_topbar.animate {
    background-color: #000000 !important;
    box-shadow: none !important;
}

.solid-header .grax_tm_topbar.animate .menu ul li a {
    color: #fff !important;
}

.solid-header .grax_tm_topbar.animate .menu ul li a:hover {
    color: #00d4ff !important;
}

.solid-header .grax_tm_mobile_menu .topbar_inner {
    background-color: #000000 !important;
}

.solid-header .grax_tm_mobile_menu .dropdown {
    background-color: #000000 !important;
}

/* ----- HERO - PRODUCT FIRST LAYOUT ----- */
.grax_tm_hero .details .product_prefix {
    display: block;
    font-size: 18px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #00d4ff;
    margin-bottom: 15px;
    font-weight: 500;
}

.grax_tm_hero .details .product_logo {
    max-width: 819px;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.grax_tm_hero .details .tagline {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 300;
    max-width: 500px;
    line-height: 1.6;
}

.grax_tm_hero .details .subtitle {
    display: block;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin-bottom: 50px;
    margin-top: 40px;
}

@media (max-width: 1040px) {
    .grax_tm_hero .details .product_logo {
        max-width: 655px;
    }
}

@media (max-width: 768px) {
    .grax_tm_hero .details .product_logo {
        max-width: 491px;
    }

    .grax_tm_hero .details .product_prefix {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .grax_tm_hero .details .subtitle {
        font-size: 16px;
    }
}

/* ----- FEATURE CARDS ----- */
.feature_card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.feature_card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #00d4ff;
    transform: translateY(-5px);
}

.feature_card h3 {
    color: #00d4ff;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature_card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* ----- LOGIN SECTION STYLING ----- */
.login_container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
}

.login_container h2 {
    color: #00d4ff;
    margin-bottom: 30px;
    text-align: center;
}

.form_group {
    margin-bottom: 20px;
}

.form_group label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-size: 14px;
}

.form_group input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
}

.form_group input:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.08);
}

/* ----- GATED CONTENT NOTICE ----- */
.gated_notice {
    background: rgba(65, 105, 225, 0.1);
    border: 1px solid #00d4ff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
}

.gated_notice h3 {
    color: #00d4ff;
    margin-bottom: 15px;
}

.gated_notice p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

/* ----- RESOURCE CARDS ----- */
.resource_card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.resource_card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #00d4ff;
}

.resource_icon {
    width: 48px;
    height: 48px;
    background: rgba(65, 105, 225, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.resource_icon svg {
    width: 24px;
    height: 24px;
    fill: #00d4ff;
}

.resource_content h4 {
    color: #ffffff;
    font-size: 18px;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.resource_content p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 14px;
}

.resource_badge {
    display: inline-block;
    background: rgba(65, 105, 225, 0.2);
    color: #00d4ff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

/* ----- CHANGELOG/UPDATES STYLING ----- */
.version_block {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #00d4ff;
    padding: 20px 25px;
    margin-bottom: 20px;
}

.version_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.version_number {
    color: #00d4ff;
    font-size: 20px;
    font-weight: 600;
}

.version_date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.version_changes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.version_changes ul li {
    color: rgba(255, 255, 255, 0.7);
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.version_changes ul li:before {
    content: "•";
    color: #00d4ff;
    position: absolute;
    left: 0;
    font-size: 18px;
}

/* ----- COMMUNITY EMBED STYLING ----- */
.community_embed {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    min-height: 600px;
}

/* ----- BACK TO TOP LINK ----- */
.back_to_company {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.back_to_company:hover {
    color: #00d4ff;
}

.back_to_company svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

/* ----- ALTERNATING SECTION BACKGROUNDS ----- */
#product {
    background-color: #0a1628;
    padding-top: 40px;
}

#capabilities {
    background-color: #0d1a2d;
    padding-top: 60px;
}

#community {
    background-color: #0a1628;
    padding-top: 60px;
}

/* Support page alternating backgrounds */
#support-main {
    background-color: #0a1628;
}

#support-contact {
    background-color: #0d1a2d;
}

#support-hours {
    background-color: #0a1628;
}

#product .container {
    display: block;
}

#product .grax_tm_title_holder {
    width: 100%;
}

#community .container {
    display: block;
}

#community .grax_tm_title_holder {
    width: 100%;
}

/* ----- SECTION TITLE STYLING (EE-STYLE) ----- */
.section_number {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    color: #00d4ff;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 500;
}

.grax_tm_title_holder h3 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 0;
    margin-bottom: 30px;
}

.grax_tm_title_holder h3 span {
    color: #00d4ff;
}

.subsection_title {
    color: #00d4ff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ----- WHITE TEXT FOR DARK SECTIONS ----- */
.grax_tm_section h2,
.grax_tm_section p,
.grax_tm_section .text,
.grax_tm_about .text p {
    color: #ffffff;
}

.grax_tm_about .text p,
.grax_tm_section .text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.8;
}

/* ----- FEATURE CARD TITLE STYLING ----- */
.feature_card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature_card h3 span {
    color: #00d4ff;
}

/* ----- GATED NOTICE TITLE STYLING ----- */
.gated_notice h3 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gated_notice h3 span {
    color: #00d4ff;
}

/* ----- RESPONSIVE TITLE ADJUSTMENTS ----- */
@media (max-width: 768px) {
    .grax_tm_title_holder h3 {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .feature_card h3 {
        font-size: 18px;
    }
}

/* ----- FOOTER MODIFICATIONS ----- */
.grax_tm_section.footer_section {
    background-color: #060d18;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 50px;
    padding-bottom: 50px;
}

/* ----- FOOTER ROW 1: LOGOS ----- */
.footer_logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin-bottom: 30px;
}

.footer_logo_left img {
    max-height: 60px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer_logo_right img {
    max-height: 100px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer_logo_left:hover img,
.footer_logo_right:hover img {
    opacity: 1;
}

/* ----- FOOTER ROW 2: NAV LINKS ----- */
.footer_links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer_links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer_links a:hover {
    color: #00d4ff;
}

.footer_divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

/* ----- FOOTER ROW 3: COPYRIGHT ----- */
.footer_copyright {
    text-align: center;
}

.footer_copyright p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    margin: 0;
    letter-spacing: 0.5px;
}

/* ----- RESPONSIVE ADJUSTMENTS ----- */
@media (max-width: 768px) {
    .feature_card {
        padding: 20px;
    }

    .login_container {
        padding: 30px 20px;
    }

    .resource_card {
        flex-direction: column;
    }

    .resource_icon {
        margin-bottom: 15px;
    }

    .footer_logos {
        margin-bottom: 20px;
    }

    .footer_logo_left img,
    .footer_logo_right img {
        max-height: 40px;
    }

    .footer_links {
        gap: 15px;
    }

    .footer_copyright p {
        font-size: 11px;
        line-height: 1.6;
    }
}

/* ----- RIPPLE WATER EFFECT STYLING ----- */
.grax_tm_hero .ripple {
    background-image: url(../img/slider/ergosphere-hero.png);
    animation: breathe 14s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.grax_tm_hero .ripple:before {
    background: transparent;
}

/* Override hidden container for ErgoSphere */
.grax_tm_hero .container.water {
    visibility: visible;
    pointer-events: none;
}

/* Allow mouse events on clickable elements */
.grax_tm_hero .container.water a,
.grax_tm_hero .container.water button,
.grax_tm_hero .container.water .grax_tm_button {
    pointer-events: auto;
}

.grax_tm_hero .content {
    position: relative;
    z-index: 3;
}

/* ----- HERO PAGE LOAD ANIMATIONS ----- */
@keyframes heroFadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.grax_tm_hero .hero-animate {
    display: block;
    opacity: 0;
    -webkit-animation: heroFadeInLeft 1s ease-out forwards;
    animation: heroFadeInLeft 1s ease-out forwards;
}

.grax_tm_hero .hero-delay-1 { -webkit-animation-delay: 2.5s; animation-delay: 2.5s; }
.grax_tm_hero .hero-delay-2 { -webkit-animation-delay: 3.0s; animation-delay: 3.0s; }
.grax_tm_hero .hero-delay-3 { -webkit-animation-delay: 3.5s; animation-delay: 3.5s; }
.grax_tm_hero .hero-delay-4 { -webkit-animation-delay: 4.0s; animation-delay: 4.0s; }
.grax_tm_hero .hero-delay-5 { -webkit-animation-delay: 4.5s; animation-delay: 4.5s; }
.grax_tm_hero .hero-delay-6 { -webkit-animation-delay: 5.0s; animation-delay: 5.0s; }

.grax_tm_hero .buttons.hero-animate {
    display: flex;
}

/* ----- SECTION TAGLINE ----- */
.section_tagline {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* ----- SECTION INTRO ----- */
.section_intro {
    text-align: center;
    max-width: 750px;
    margin: 30px auto 50px auto;
}

.section_intro p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.8;
}

/* ----- PILLARS GRID ----- */
.pillars_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 75px;
}

@media (max-width: 768px) {
    .pillars_grid {
        grid-template-columns: 1fr;
    }
}

/* ----- PILLAR CARD ----- */
.pillar_card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.pillar_card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #00d4ff;
    transform: translateY(-5px);
}

.pillar_icon {
    margin-bottom: 20px;
}

.pillar_icon svg {
    width: 56px;
    height: 56px;
    fill: #00d4ff;
}

.pillar_card h4 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.pillar_card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ----- SECTION SUBHEAD ----- */
.section_subhead {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 30px auto 0 auto;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.6;
}

/* Ensure capabilities section has proper block layout */
#capabilities .container {
    display: block;
}

#capabilities .grax_tm_title_holder {
    width: 100%;
}

/* ----- CAPABILITY BLOCKS ----- */
.capability_blocks {
    margin-top: 40px;
    margin-bottom: 70px;
    width: 100%;
    clear: both;
}

.capability_block {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 50px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.capability_block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Reverse layout for alternating blocks */
.capability_block.reverse {
    flex-direction: row-reverse;
}

/* Content side */
.capability_content {
    flex: 1;
}

.capability_block.reverse .capability_content {
    text-align: right;
}

.capability_content h4 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.capability_content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
}

/* Icon side */
.capability_icon {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.capability_icon svg {
    width: 100px;
    height: 100px;
    fill: #00d4ff;
    opacity: 0.9;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

/* ----- CAPABILITY BLOCKS RESPONSIVE ----- */
@media (max-width: 768px) {
    .capability_block,
    .capability_block.reverse {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }

    .capability_block.reverse .capability_content {
        text-align: center;
    }

    .capability_icon {
        order: -1;
        margin-bottom: 25px;
        flex: 0 0 auto;
    }

    .capability_icon svg {
        width: 70px;
        height: 70px;
    }

    .capability_content {
        max-width: 100%;
    }

    .capability_content h4 {
        font-size: 22px;
    }
}

/* ----- COMMUNITY PANELS ----- */
.community_panels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 75px;
    padding-top: 60px;
    width: 100%;
    clear: both;
}

@media (max-width: 768px) {
    .community_panels {
        grid-template-columns: 1fr;
    }
}

/* ----- COMMUNITY PANEL ----- */
.community_panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.community_panel:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

.community_panel h4 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.community_panel h4 span {
    color: #00d4ff;
}

.community_panel .btn_primary,
.community_panel .btn_secondary {
    margin-top: auto;
    align-self: center;
}

.panel_description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* ----- PANEL FEATURES LIST ----- */
.panel_features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.panel_features li {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 2.2;
    padding-left: 20px;
    position: relative;
}

.panel_features li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #00d4ff;
}

/* ----- COMMUNITY BUTTONS ----- */
.btn_primary {
    display: inline-block;
    background: #00d4ff;
    color: #0a1628;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn_primary:hover {
    background: #33dfff;
    color: #0a1628;
}

.btn_secondary {
    display: inline-block;
    background: transparent;
    color: #00d4ff;
    padding: 14px 30px;
    border: 1px solid #00d4ff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn_secondary:hover {
    background: #00d4ff;
    color: #0a1628;
}