/* =========================================
   MIND SOLUTIONS
   Main Website Styles
   ========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #07111f;
    color: #f2f5f8;
    font-family: Tahoma, Arial, sans-serif;
}


/* =========================================
   HERO
   ========================================= */

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(38, 79, 118, 0.17),
            transparent 34%
        ),
        #07111f;
}


/* =========================================
   NAVIGATION
   ========================================= */

.navbar {
    width: 100%;
    height: 82px;

    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(255,255,255,0.06);
}


.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    text-decoration: none;
    color: inherit;
}


.brand-name {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 4px;
}


.brand-subtitle {
    font-size: 9px;
    letter-spacing: 2px;
    color: #718397;
    padding-top: 5px;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}


.nav-links a {
    color: #aebbc8;

    text-decoration: none;

    font-size: 13px;

    transition: color 0.25s ease;
}


.nav-links a:hover {
    color: #ffffff;
}


/* =========================================
   LANGUAGE
   ========================================= */

.language-switch {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-left: 10px;

    font-size: 11px;
    color: #536274;
}


.language-switch button {
    border: none;
    background: none;

    color: #536274;

    font-size: 11px;
    font-family: inherit;

    cursor: pointer;

    padding: 3px;
}


.language-switch button.active {
    color: #ffffff;
}


/* =========================================
   HERO CONTENT
   ========================================= */

.hero-content {
    width: 86%;
    max-width: 1450px;

    min-height: calc(100vh - 82px);

    margin: auto;

    display: grid;

    grid-template-columns: 48% 52%;

    align-items: center;
}


/* =========================================
   HERO TEXT
   ========================================= */

.hero-text {
    max-width: 650px;

    padding-bottom: 35px;
}


.eyebrow {
    color: #6e8297;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 3px;

    margin-bottom: 26px;
}


.hero-text h1 {
    margin: 0;

    font-size: clamp(44px, 5vw, 76px);

    line-height: 1.06;

    font-weight: 400;

    letter-spacing: -3px;
}


.hero-text h1 span {
    display: block;

    color: #7899b8;
}


.hero-text p {
    max-width: 580px;

    margin-top: 30px;

    color: #9aa9b8;

    font-size: 16px;

    line-height: 1.9;
}


/* =========================================
   TAGLINE
   ========================================= */

.mind-tagline {
    margin-top: 28px;

    padding-left: 18px;

    border-left: 1px solid rgba(126,153,178,0.35);

    display: flex;

    flex-direction: column;

    gap: 7px;
}


.mind-tagline strong {
    color: #d0dbe4;

    font-size: 15px;

    font-weight: 500;

    letter-spacing: 0.3px;
}


.mind-tagline span {
    color: #65788b;

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================
   BUTTONS
   ========================================= */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 35px;
}


.hero-buttons a {
    text-decoration: none;

    padding: 13px 23px;

    font-size: 13px;

    border-radius: 3px;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}


.btn-primary {
    background: #dce5ed;

    color: #07111f;
}


.btn-primary:hover {
    transform: translateY(-2px);

    background: #ffffff;
}


.btn-secondary {
    border: 1px solid rgba(255,255,255,0.15);

    color: #c4ced8;
}


.btn-secondary:hover {
    transform: translateY(-2px);

    border-color: rgba(255,255,255,0.35);
}


/* =========================================
   HERO VISUAL
   "WINDOW INTO MIND CMMS"
   ========================================= */

.hero-visual {
    position: relative;

    width: 100%;

    height: 610px;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* =========================================
   APP WINDOW
   ========================================= */

.app-window {
    position: relative;

    width: min(470px, 86%);

    height: 500px;

    overflow: hidden;

    border-left: 1px solid rgba(126,153,178,0.12);

    border-right: 1px solid rgba(126,153,178,0.12);

    background:
        linear-gradient(
            180deg,
            rgba(9,24,40,0.96),
            rgba(5,15,27,0.98)
        );

    box-shadow:
        0 30px 100px rgba(0,0,0,0.25);
}


/* =========================================
   WINDOW TOP
   ========================================= */

.app-window-top {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 58px;

    padding: 0 22px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 20;

    border-bottom: 1px solid rgba(126,153,178,0.10);

    background:
        linear-gradient(
            180deg,
            rgba(7,17,31,0.98),
            rgba(7,17,31,0.80)
        );

    backdrop-filter: blur(8px);
}


.app-window-title {
    color: #aebdca;

    font-size: 9px;

    letter-spacing: 2.5px;
}


.app-window-status {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #536678;

    font-size: 8px;

    letter-spacing: 1px;
}


.app-window-status::before {
    content: "";

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: rgba(127,160,187,0.65);

    box-shadow:
        0 0 8px rgba(127,160,187,0.35);
}


/* =========================================
   WINDOW FADE / APERTURE
   ========================================= */

.app-window::before {
    content: "";

    position: absolute;

    left: 0;
    top: 58px;

    width: 100%;
    height: 90px;

    z-index: 15;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            #07111f 0%,
            rgba(7,17,31,0.90) 30%,
            rgba(7,17,31,0.00) 100%
        );
}


.app-window::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 125px;

    z-index: 15;

    pointer-events: none;

    background:
        linear-gradient(
            0deg,
            #07111f 0%,
            rgba(7,17,31,0.90) 35%,
            rgba(7,17,31,0.00) 100%
        );
}


/* =========================================
   APP CAROUSEL
   ========================================= */

.app-carousel {
    position: absolute;

    inset: 0;

    overflow: hidden;
}


/* =========================================
   APP CARDS
   ========================================= */

.app-card {
    position: absolute;

    left: 50%;

    width: min(300px, 72%);

    min-height: 275px;

    padding: 28px 24px 25px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    transform:
        translateX(-50%)
        translateY(560px);

    opacity: 0;

    border: 1px solid rgba(126,153,178,0.15);

    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(18,37,56,0.98),
            rgba(8,22,37,0.98)
        );

    box-shadow:
        0 25px 70px rgba(0,0,0,0.30);

    animation:
        appCardFloat 30s linear infinite;
}


/* =========================================
   CARD TIMING
   ========================================= */

.app-card:nth-child(1) {
    animation-delay: 0s;
}


.app-card:nth-child(2) {
    animation-delay: 5s;
}


.app-card:nth-child(3) {
    animation-delay: 10s;
}


.app-card:nth-child(4) {
    animation-delay: 15s;
}


.app-card:nth-child(5) {
    animation-delay: 20s;
}


.app-card:nth-child(6) {
    animation-delay: 25s;
}


/* =========================================
   APPLICATION ICON CARD
   ========================================= */

.app-icon-card {
    width: 150px;

    height: 150px;

    padding: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    border: 1px solid rgba(30,45,60,0.12);

    background: #ffffff;

    box-shadow:
        0 14px 35px rgba(0,0,0,0.16);
}


.app-icon-card img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;
}


/* =========================================
   CARD TITLE
   ========================================= */

.app-card-title {
    margin-top: 22px;

    color: #d7e0e7;

    font-size: 17px;

    font-weight: 400;

    text-align: center;
}


/* =========================================
   CARD NUMBER
   ========================================= */

.app-card-number {
    position: absolute;

    right: 20px;

    top: 17px;

    color: #344a5e;

    font-size: 9px;

    letter-spacing: 1px;
}


/* =========================================
   CARD ANIMATION
   ========================================= */

@keyframes appCardFloat {

    0% {
        opacity: 0;

        transform:
            translateX(-50%)
            translateY(560px);
    }


    5% {
        opacity: 0;

        transform:
            translateX(-50%)
            translateY(470px);
    }


    12% {
        opacity: 1;

        transform:
            translateX(-50%)
            translateY(245px);
    }


    18% {
        opacity: 1;

        transform:
            translateX(-50%)
            translateY(165px);
    }


    35% {
        opacity: 1;

        transform:
            translateX(-50%)
            translateY(150px);
    }


    45% {
        opacity: 1;

        transform:
            translateX(-50%)
            translateY(145px);
    }


    52% {
        opacity: 0;

        transform:
            translateX(-50%)
            translateY(-170px);
    }


    100% {
        opacity: 0;

        transform:
            translateX(-50%)
            translateY(-170px);
    }

}



/* =========================================
   INTRO
   ========================================= */

.intro {
    min-height: 58vh;

    display: flex;

    align-items: center;

    background: #0a1625;

    border-top: 1px solid rgba(255,255,255,0.04);
}


.intro-inner {
    width: 70%;

    max-width: 900px;

    margin: auto;

    text-align: center;
}


.intro-label {
    color: #71869c;

    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 22px;
}


.intro h2 {
    margin: 0;

    font-size: clamp(35px, 4vw, 58px);

    line-height: 1.15;

    font-weight: 400;

    letter-spacing: -1.5px;
}


.intro h2 span {
    display: block;

    color: #7899b8;
}


.intro p {
    max-width: 680px;

    margin: 30px auto 0;

    color: #8f9dac;

    font-size: 15px;

    line-height: 2;
}


/* =========================================
   SOLUTIONS
   ========================================= */

.solutions-section {
    padding: 135px 7% 145px;

    background: #081321;

    border-top: 1px solid rgba(255,255,255,0.04);
}


.section-heading {
    max-width: 850px;

    margin: 0 auto 75px;

    text-align: center;
}


.section-label {
    color: #71869c;

    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 20px;
}


.section-heading h2 {
    margin: 0;

    font-size: clamp(38px, 4vw, 60px);

    line-height: 1.12;

    font-weight: 400;

    letter-spacing: -1.5px;
}


.section-heading h2 span {
    color: #7899b8;
}


.section-heading > p {
    margin: 16px 0 0;

    color: #607386;

    font-size: 11px;

    letter-spacing: 1.5px;
}


/* =========================================
   CMMS INTRO
   ========================================= */

.cmms-intro {
    max-width: 1200px;

    margin: 0 auto 110px;

    padding: 55px 60px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;

    border-top: 1px solid rgba(126,153,178,0.14);

    border-bottom: 1px solid rgba(126,153,178,0.14);
}


.cmms-intro-title span {
    display: block;

    color: #64798e;

    font-size: 10px;

    letter-spacing: 2.5px;

    margin-bottom: 15px;
}


.cmms-intro-title strong {
    display: block;

    color: #d7e0e7;

    font-size: clamp(27px, 3vw, 42px);

    font-weight: 400;

    line-height: 1.25;
}


.cmms-intro-text p {
    margin: 0;

    color: #8594a3;

    font-size: 14px;

    line-height: 2;
}


/* =========================================
   FLOW HEADING
   ========================================= */

.flow-heading {
    max-width: 1200px;

    margin: 0 auto 45px;
}


.flow-heading > span {
    color: #63788d;

    font-size: 10px;

    letter-spacing: 2.5px;
}


.flow-heading h3 {
    margin: 14px 0 0;

    max-width: 750px;

    color: #c9d4de;

    font-size: clamp(25px, 3vw, 38px);

    line-height: 1.25;

    font-weight: 400;
}


.flow-heading h3 strong {
    color: #7899b8;

    font-weight: 400;
}


/* =========================================
   MAINTENANCE FLOW
   ========================================= */

.maintenance-flow {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1fr 70px
        1fr 70px
        1fr 70px
        1fr;

    align-items: center;
}


.flow-item {
    position: relative;

    min-height: 230px;

    padding: 30px;

    border: 1px solid rgba(126,153,178,0.12);

    background: rgba(255,255,255,0.015);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}


.flow-item:hover {
    transform: translateY(-5px);

    border-color: rgba(126,153,178,0.30);
}


.flow-number {
    position: absolute;

    right: 20px;
    top: 18px;

    color: #263b50;

    font-size: 12px;
}


.flow-icon {
    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(126,153,178,0.25);

    color: #7e96ad;

    font-size: 11px;

    margin-bottom: 30px;
}


.flow-item h3 {
    margin: 0 0 12px;

    font-size: 17px;

    font-weight: 500;
}


.flow-item p {
    margin: 0;

    color: #718294;

    font-size: 12px;

    line-height: 1.8;
}


.flow-connector {
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(126,153,178,0.3),
            transparent
        );
}


/* =========================================
   FEATURES
   ========================================= */

.features-section {
    padding: 140px 7%;

    background: #07111f;
}


.features-grid {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1px;

    background: rgba(126,153,178,0.12);

    border: 1px solid rgba(126,153,178,0.12);
}


.feature-card {
    min-height: 255px;

    padding: 35px;

    background: #07111f;

    position: relative;

    transition:
        background 0.3s ease;
}


.feature-card:hover {
    background: #0b1929;
}


.feature-number {
    color: #34495d;

    font-size: 11px;

    margin-bottom: 55px;
}


.feature-card h3 {
    margin: 0 0 15px;

    font-size: 18px;

    font-weight: 500;
}


.feature-card p {
    margin: 0;

    color: #718294;

    font-size: 12px;

    line-height: 1.9;
}


/* =========================================
   KNOWLEDGE
   ========================================= */

.knowledge-section {
    min-height: 650px;

    padding: 140px 7%;

    display: flex;

    align-items: center;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(44,82,113,0.17),
            transparent 42%
        ),
        #091625;
}


.knowledge-content {
    max-width: 900px;

    margin: auto;

    text-align: center;
}


.knowledge-label {
    color: #71869c;

    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 25px;
}


.knowledge-content h2 {
    margin: 0;

    font-size: clamp(38px, 5vw, 68px);

    line-height: 1.08;

    font-weight: 400;

    letter-spacing: -2px;
}


.knowledge-content h2 span {
    display: block;

    color: #7899b8;
}


.knowledge-content p {
    max-width: 700px;

    margin: 35px auto 0;

    color: #81909f;

    font-size: 15px;

    line-height: 2;
}


.knowledge-phrase {
    margin-top: 55px;
}


.knowledge-phrase span {
    color: #c5d1dc;

    font-size: 20px;

    letter-spacing: 0.5px;
}


/* =========================================
   ABOUT
   ========================================= */

.about-section {
    padding: 140px 7%;

    background: #07111f;

    border-top: 1px solid rgba(255,255,255,0.04);
}


.about-grid {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}


.about-title h2 {
    margin: 0;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.12;

    font-weight: 400;

    letter-spacing: -1.5px;
}


.about-title h2 span {
    display: block;

    color: #7899b8;
}


.about-text {
    color: #82909f;

    font-size: 14px;

    line-height: 2;
}


.about-text p {
    margin: 0 0 25px;
}


/* =========================================
   CTA
   ========================================= */

.cta-section {
    padding: 150px 7%;

    background: #0a1726;

    text-align: center;

    border-top: 1px solid rgba(255,255,255,0.05);
}


.cta-inner {
    max-width: 900px;

    margin: auto;
}


.cta-label {
    color: #71869c;

    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 25px;
}


.cta-inner h2 {
    margin: 0 0 45px;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.1;

    font-weight: 400;

    letter-spacing: -2px;
}


.cta-inner h2 span {
    display: block;

    color: #7899b8;
}


.cta-button {
    display: inline-block;
}


/* =========================================
   FOOTER
   ========================================= */

.footer {
    min-height: 100px;

    padding: 30px 7%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #050d17;

    border-top: 1px solid rgba(255,255,255,0.05);

    color: #566678;

    font-size: 11px;
}


.footer-brand {
    display: flex;

    align-items: center;

    gap: 15px;
}


.footer-mind {
    color: #d4dce4;

    font-size: 18px;

    letter-spacing: 3px;
}


/* =========================================
   RTL
   ========================================= */

html[dir="rtl"] .navbar {
    direction: rtl;
}


html[dir="rtl"] .nav-links {
    direction: rtl;
}


html[dir="rtl"] .hero-content {
    direction: rtl;
}


html[dir="rtl"] .hero-text {
    text-align: right;
}


html[dir="rtl"] .hero-text h1 span {
    display: inline;
}


html[dir="rtl"] .mind-tagline {
    padding-left: 0;

    padding-right: 18px;

    border-left: none;

    border-right: 1px solid rgba(126,153,178,0.35);
}


html[dir="rtl"] .hero-buttons {
    justify-content: flex-start;
}


html[dir="rtl"] .cmms-intro {
    direction: rtl;
}


html[dir="rtl"] .flow-number {
    right: auto;

    left: 20px;
}


html[dir="rtl"] .about-grid {
    direction: rtl;
}


html[dir="rtl"] .footer {
    direction: rtl;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1000px) {

    .hero-content {
        grid-template-columns: 1fr 1fr;
    }


    .maintenance-flow {
        grid-template-columns:
            1fr 50px
            1fr;
    }


    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .about-grid {
        gap: 50px;
    }
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 800px) {

    .hero-content {
        grid-template-columns: 1fr;

        padding-top: 70px;
        padding-bottom: 80px;
    }


    .hero-text {
        margin: auto;

        text-align: center;
    }


    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }


    .mind-tagline {
        width: fit-content;

        margin-left: auto;
        margin-right: auto;

        text-align: left;
    }


    .hero-buttons {
        justify-content: center;
    }


    .hero-visual {
        height: 540px;

        margin-top: 25px;
    }


    .app-window {
        height: 470px;

        width: min(470px, 90%);
    }


    .cmms-intro {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 45px 35px;
    }


    .about-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .navbar {
        padding: 0 5%;
    }


    .nav-links a {
        display: none;
    }


    .hero-content {
        width: 90%;
    }


    .hero-text h1 {
        letter-spacing: -2px;
    }


    .solutions-section,
    .features-section,
    .about-section {
        padding: 95px 6%;
    }


    .maintenance-flow {
        display: block;
    }


    .flow-item {
        margin-bottom: 15px;
    }


    .flow-connector {
        display: none;
    }


    .features-grid {
        grid-template-columns: 1fr;
    }


    .knowledge-section {
        min-height: 560px;

        padding: 100px 6%;
    }


    .cta-section {
        padding: 110px 6%;
    }


    .footer {
        flex-direction: column;

        gap: 20px;

        text-align: center;
    }
}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 500px) {

    .brand-subtitle {
        display: none;
    }


    .hero {
        min-height: auto;
    }


    .hero-text h1 {
        font-size: 39px;
    }


    .hero-text p {
        font-size: 14px;
    }


    .hero-buttons {
        flex-direction: column;
    }


    .hero-buttons a {
        width: 210px;

        text-align: center;
    }


    .hero-visual {
        height: 430px;
    }


    .app-window {
        width: 92%;

        height: 400px;
    }


    .app-window-top {
        padding: 0 16px;
    }


    .app-window-title {
        font-size: 8px;
    }


    .app-card {
        width: 78%;

        min-height: 245px;

        padding: 22px 18px;
    }


    .app-icon-card {
        width: 125px;

        height: 125px;

        border-radius: 15px;

        padding: 13px;
    }


    .app-card-title {
        margin-top: 18px;

        font-size: 15px;
    }


    .app-card-description {
        font-size: 10px;
    }


    .intro-inner {
        width: 86%;
    }


    .intro {
        min-height: 520px;
    }


    .cmms-intro {
        padding: 35px 25px;
    }


    .section-heading {
        margin-bottom: 55px;
    }


    .knowledge-content h2 {
        letter-spacing: -1px;
    }


    .knowledge-phrase {
        margin-top: 40px;
    }


    html[dir="rtl"] .mind-tagline {
        padding-right: 15px;
    }
}