/* =========================================================
   SULIX TECHNOLOGY
   MAIN WEBSITE CSS
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

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


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Inter", Arial, sans-serif;
    background: #07080c;
    color: #f5f7ff;
    line-height: 1.6;
    overflow-x: hidden;
}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input {
    font: inherit;
}


button {
    cursor: pointer;
}


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --background: #07080c;

    --background-two: #0c0e14;

    --card: #10121b;

    --card-two: #141722;

    --border: rgba(255,255,255,0.09);

    --border-bright: rgba(255,255,255,0.15);

    --text: #f5f7ff;

    --muted: #9ca3b5;

    --muted-two: #73798a;

    --accent: #7c5cff;

    --accent-two: #a78bfa;

    --blue: #20a4ff;

    --green: #4ade80;

    --max-width: 1200px;

}


/* =========================================================
   GENERAL
   ========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin: 0 auto;
}


.section {
    padding: 110px 0;
}


.eyebrow {
    display: inline-block;

    color: var(--accent-two);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 16px;
}


.section-heading {
    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 40px;

    margin-bottom: 50px;
}


.section-heading h2 {
    font-size: clamp(32px, 5vw, 52px);

    line-height: 1.05;

    letter-spacing: -2px;
}


.section-heading > p {
    max-width: 430px;

    color: var(--muted);

    font-size: 15px;
}


.section-heading.centered {
    display: block;

    text-align: center;
}


.section-heading.centered p {
    margin: 0 auto;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(7,8,12,0.88);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}


.nav-inner {
    height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* BRAND */

.brand {
    display: flex;

    align-items: center;

    gap: 12px;
}


.brand-logo {
    width: 44px;

    height: 44px;

    object-fit: contain;

    border-radius: 50%;
}


.brand-text {
    display: flex;

    flex-direction: column;
}


.brand-name {
    font-size: 16px;

    font-weight: 800;
}


.brand-tagline {
    color: var(--muted-two);

    font-size: 10px;
}


/* DESKTOP NAV */

.desktop-nav {
    display: flex;

    align-items: center;

    gap: 30px;
}


.desktop-nav a {
    color: #b6bbc9;

    font-size: 14px;

    transition: 0.25s ease;
}


.desktop-nav a:hover {
    color: white;
}


/* MOBILE BUTTON */

.menu-button {
    display: none;

    width: 44px;

    height: 44px;

    border: 1px solid var(--border);

    background: var(--card);

    border-radius: 10px;
}


.menu-button span {
    display: block;

    width: 20px;

    height: 2px;

    margin: 4px auto;

    background: white;
}


.mobile-nav {
    display: none;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 720px;

    display: flex;

    align-items: center;

    overflow: hidden;

    border-bottom: 1px solid var(--border);
}


.hero::before {
    content: "";

    position: absolute;

    width: 700px;

    height: 700px;

    background: radial-gradient(
        circle,
        rgba(124,92,255,0.16),
        transparent 70%
    );

    top: -300px;

    right: -250px;

    pointer-events: none;
}


.hero-grid {
    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    gap: 80px;

    align-items: center;
}


.hero-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 13px;

    border: 1px solid var(--border);

    border-radius: 999px;

    color: #bfc4d2;

    background: rgba(255,255,255,0.025);

    font-size: 12px;

    margin-bottom: 25px;
}


.badge-dot {
    width: 7px;

    height: 7px;

    background: #4ade80;

    border-radius: 50%;

    box-shadow: 0 0 12px #4ade80;
}


.hero h1 {
    font-size: clamp(52px, 7vw, 86px);

    line-height: 0.98;

    letter-spacing: -5px;

    max-width: 760px;
}


.hero h1 span {
    background: linear-gradient(
        90deg,
        #ffffff,
        #8d6cff,
        #45b9ff
    );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}


.hero-description {
    max-width: 650px;

    color: var(--muted);

    font-size: 17px;

    margin-top: 28px;
}


.hero-description strong {
    color: white;
}


.hero-buttons {
    display: flex;

    gap: 14px;

    margin-top: 35px;
}


.button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 52px;

    padding: 0 22px;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 700;

    transition: 0.25s ease;
}


.button-primary {
    background: white;

    color: #08090d;
}


.button-primary:hover {
    transform: translateY(-2px);

    box-shadow: 0 12px 35px rgba(255,255,255,0.15);
}


.button-secondary {
    border: 1px solid var(--border-bright);

    background: rgba(255,255,255,0.03);

    color: white;
}


.button-secondary:hover {
    background: rgba(255,255,255,0.07);
}


.hero-stats {
    display: flex;

    gap: 40px;

    margin-top: 55px;
}


.hero-stats div {
    display: flex;

    flex-direction: column;
}


.hero-stats strong {
    font-size: 18px;
}


.hero-stats span {
    color: var(--muted-two);

    font-size: 12px;
}


/* HERO VISUAL */

.hero-visual {
    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.logo-glow {
    position: absolute;

    width: 380px;

    height: 380px;

    background: radial-gradient(
        circle,
        rgba(124,92,255,0.30),
        transparent 65%
    );

    filter: blur(15px);
}


.hero-logo-card {
    position: relative;

    width: 310px;

    height: 310px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--border-bright);

    border-radius: 35px;

    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.07),
        rgba(255,255,255,0.015)
    );

    box-shadow:
        0 40px 100px rgba(0,0,0,0.45),
        inset 0 1px rgba(255,255,255,0.07);
}


.hero-logo-card img {
    width: 210px;

    height: 210px;

    object-fit: contain;

    border-radius: 30px;
}


.floating-card {
    position: absolute;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 17px;

    background: rgba(15,17,24,0.90);

    border: 1px solid var(--border);

    border-radius: 14px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.35);

    backdrop-filter: blur(10px);
}


.floating-card span {
    font-size: 24px;
}


.floating-card strong {
    display: block;

    font-size: 12px;
}


.floating-card small {
    color: var(--muted-two);

    font-size: 10px;
}


.floating-card-one {
    left: 0;

    top: 100px;
}


.floating-card-two {
    right: 0;

    bottom: 100px;
}


/* =========================================================
   SEARCH
   ========================================================= */

.search-section {
    padding: 35px 0;

    border-bottom: 1px solid var(--border);

    background: #090a0f;
}


.search-box {
    max-width: 800px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 12px;

    overflow: hidden;
}


.search-icon {
    padding-left: 18px;

    color: var(--muted);
}


.search-box input {
    flex: 1;

    height: 55px;

    border: 0;

    outline: 0;

    background: transparent;

    color: white;

    padding: 0 14px;

    font-size: 14px;
}


.search-box input::placeholder {
    color: #656b7b;
}


.search-box button {
    height: 55px;

    padding: 0 22px;

    border: 0;

    background: white;

    color: black;

    font-weight: 700;
}


.search-message {
    max-width: 800px;

    margin: 12px auto 0;

    color: var(--muted);

    font-size: 13px;

    text-align: center;
}


/* =========================================================
   TOPICS
   ========================================================= */

.topic-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}


.topic-card {
    padding: 28px;

    min-height: 220px;

    background: linear-gradient(
        145deg,
        #11131d,
        #0c0e14
    );

    border: 1px solid var(--border);

    border-radius: 18px;

    transition: 0.3s ease;
}


.topic-card:hover {
    transform: translateY(-5px);

    border-color: rgba(124,92,255,0.4);

    background: #131622;
}


.topic-icon {
    font-size: 30px;

    margin-bottom: 20px;
}


.topic-card h3 {
    font-size: 19px;

    margin-bottom: 8px;
}


.topic-card p {
    color: var(--muted);

    font-size: 13px;

    margin-bottom: 20px;
}


.topic-card span {
    color: var(--accent-two);

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   APPS
   ========================================================= */

.apps-section {
    background: #090a0f;
}


.app-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}


.app-card {
    overflow: hidden;

    background: linear-gradient(
        145deg,
        #11131d,
        #0c0e14
    );

    border: 1px solid var(--border);

    border-radius: 22px;

    transition: 0.3s ease;
}


.app-card:hover {
    transform: translateY(-5px);

    border-color: rgba(124,92,255,0.4);
}


.app-image {
    height: 280px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        radial-gradient(
            circle,
            rgba(124,92,255,0.15),
            transparent 65%
        );

    border-bottom: 1px solid var(--border);
}


.app-image img {
    width: 155px;

    height: 155px;

    object-fit: contain;

    border-radius: 28px;

    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}


.app-content {
    padding: 30px;
}


.app-category,
.tutorial-category {
    color: var(--accent-two);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.8px;
}


.app-content h3 {
    font-size: 27px;

    margin: 10px 0;
}


.app-content p {
    color: var(--muted);

    font-size: 14px;

    max-width: 500px;

    margin-bottom: 25px;
}


.app-link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    font-size: 13px;

    font-weight: 800;

    color: white;
}


.app-link span {
    transition: 0.2s ease;
}


.app-link:hover span {
    transform: translateX(4px);
}


/* COMING SOON */

.coming-soon {
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-height: 500px;

    border-style: dashed;
}


.coming-icon {
    width: 90px;

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 20px;

    border: 1px dashed #454a5b;

    border-radius: 50%;

    color: #70778a;

    font-size: 40px;
}


.coming-soon .app-content {
    text-align: center;
}


.disabled {
    color: var(--muted-two);

    cursor: default;
}


/* =========================================================
   TUTORIALS
   ========================================================= */

.tutorial-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}


.tutorial-card {
    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 20px;

    padding: 27px;

    min-height: 250px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 18px;

    transition: 0.3s ease;
}


.tutorial-card:hover {
    transform: translateY(-4px);

    border-color: rgba(124,92,255,0.35);
}


.tutorial-number {
    color: #5f6576;

    font-size: 13px;

    font-weight: 800;
}


.tutorial-card h3 {
    font-size: 19px;

    margin: 9px 0;
}


.tutorial-card p {
    color: var(--muted);

    font-size: 13px;

    margin-bottom: 20px;
}


.read-link {
    color: white;

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   WHY SECTION
   ========================================================= */

.why-section {
    background: #090a0f;
}


.why-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}


.why-content h2 {
    max-width: 600px;

    font-size: clamp(35px, 5vw, 58px);

    line-height: 1.05;

    letter-spacing: -2px;
}


.why-content p {
    max-width: 600px;

    color: var(--muted);

    margin-top: 25px;

    font-size: 15px;
}


.benefits {
    display: grid;

    gap: 20px;
}


.benefit {
    display: flex;

    gap: 18px;

    padding: 22px;

    border: 1px solid var(--border);

    background: var(--card);

    border-radius: 15px;
}


.benefit > span {
    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(74,222,128,0.1);

    color: #4ade80;

    border-radius: 50%;

    flex-shrink: 0;
}


.benefit h3 {
    font-size: 14px;

    margin-bottom: 3px;
}


.benefit p {
    color: var(--muted-two);

    font-size: 12px;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-box {
    display: grid;

    grid-template-columns: 300px 1fr;

    gap: 70px;

    align-items: center;

    padding: 70px;

    border: 1px solid var(--border);

    border-radius: 25px;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(124,92,255,0.10),
            transparent 40%
        ),
        var(--card);
}


.about-logo {
    display: flex;

    justify-content: center;
}


.about-logo img {
    width: 210px;

    height: 210px;

    object-fit: contain;

    border-radius: 35px;
}


.about-content h2 {
    font-size: clamp(34px, 5vw, 55px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 22px;
}


.about-content p {
    color: var(--muted);

    max-width: 700px;

    font-size: 15px;

    margin-bottom: 15px;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
    background: #090a0f;
}


.faq-list {
    max-width: 850px;

    margin: 0 auto;
}


.faq-list details {
    border-top: 1px solid var(--border);

    padding: 22px 0;
}


.faq-list details:last-child {
    border-bottom: 1px solid var(--border);
}


.faq-list summary {
    display: flex;

    justify-content: space-between;

    align-items: center;

    cursor: pointer;

    list-style: none;

    font-size: 15px;

    font-weight: 700;
}


.faq-list summary::-webkit-details-marker {
    display: none;
}


.faq-list summary span {
    color: var(--muted);

    font-size: 22px;

    transition: 0.2s;
}


.faq-list details[open] summary span {
    transform: rotate(45deg);
}


.faq-list details p {
    color: var(--muted);

    font-size: 14px;

    max-width: 750px;

    padding-top: 15px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    padding: 80px 0;
}


.cta-box {
    text-align: center;

    padding: 80px 30px;

    border: 1px solid var(--border);

    border-radius: 25px;

    background:
        radial-gradient(
            circle at center,
            rgba(124,92,255,0.15),
            transparent 60%
        ),
        var(--card);
}


.cta-box h2 {
    font-size: clamp(35px, 5vw, 55px);

    line-height: 1;

    letter-spacing: -2px;

    margin-bottom: 20px;
}


.cta-box p {
    color: var(--muted);

    max-width: 600px;

    margin: 0 auto 30px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);
}


.contact-grid {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 50px;
}


.contact-grid h2 {
    font-size: clamp(32px, 5vw, 50px);

    line-height: 1;

    letter-spacing: -2px;
}


.contact-grid p {
    max-width: 600px;

    color: var(--muted);

    margin-top: 15px;
}


.contact-button {
    display: inline-flex;

    align-items: center;

    gap: 20px;

    padding: 18px 22px;

    border: 1px solid var(--border-bright);

    border-radius: 12px;

    background: var(--card);

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

    transition: 0.25s ease;
}


.contact-button:hover {
    border-color: var(--accent);

    transform: translateY(-2px);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #05060a;

    padding: 65px 0 25px;
}


.footer-top {
    display: flex;

    justify-content: space-between;

    gap: 70px;

    padding-bottom: 55px;
}


.footer-brand {
    display: flex;

    align-items: center;

    gap: 14px;
}


.footer-brand img {
    width: 50px;

    height: 50px;

    object-fit: contain;

    border-radius: 50%;
}


.footer-brand strong {
    font-size: 15px;
}


.footer-brand p {
    color: var(--muted-two);

    font-size: 11px;
}


.footer-links {
    display: flex;

    gap: 100px;
}


.footer-links div {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.footer-links h3 {
    color: white;

    font-size: 12px;

    margin-bottom: 7px;
}


.footer-links a {
    color: var(--muted-two);

    font-size: 12px;

    transition: 0.2s ease;
}


.footer-links a:hover {
    color: white;
}


.footer-bottom {
    padding-top: 22px;

    border-top: 1px solid var(--border);

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: var(--muted-two);

    font-size: 11px;
}


.footer-bottom div {
    display: flex;

    gap: 20px;
}


.footer-bottom a:hover {
    color: white;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-to-top {
    position: fixed;

    right: 22px;

    bottom: 22px;

    z-index: 900;

    width: 45px;

    height: 45px;

    border: 1px solid var(--border-bright);

    border-radius: 50%;

    background: #12141c;

    color: white;

    opacity: 0;

    pointer-events: none;

    transform: translateY(15px);

    transition: 0.25s ease;
}


.back-to-top.show {
    opacity: 1;

    pointer-events: auto;

    transform: translateY(0);
}


/* =========================================================
   SEARCH HIDDEN ITEMS
   ========================================================= */

.search-hidden {
    display: none !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .desktop-nav {
        display: none;
    }


    .menu-button {
        display: block;
    }


    .mobile-nav {
        display: flex;

        flex-direction: column;

        max-height: 0;

        overflow: hidden;

        border-top: 0 solid var(--border);

        transition:
            max-height 0.3s ease,
            border-top 0.3s ease;
    }


    .mobile-nav.open {
        max-height: 400px;

        border-top: 1px solid var(--border);
    }


    .mobile-nav a {
        padding: 15px 20px;

        color: var(--muted);

        font-size: 14px;
    }


    .mobile-nav a:hover {
        color: white;

        background: rgba(255,255,255,0.03);
    }


    .hero-grid {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 80px 0;
    }


    .hero {
        min-height: auto;
    }


    .hero-visual {
        min-height: 450px;
    }


    .topic-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .tutorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .why-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .about-box {
        grid-template-columns: 1fr;

        text-align: center;

        padding: 50px 30px;
    }


    .about-content p {
        margin-left: auto;

        margin-right: auto;
    }


    .contact-grid {
        flex-direction: column;

        align-items: flex-start;
    }

}


@media (max-width: 650px) {

    .container {
        width: min(
            calc(100% - 28px),
            var(--max-width)
        );
    }


    .section {
        padding: 75px 0;
    }


    .section-heading {
        display: block;

        margin-bottom: 35px;
    }


    .section-heading > p {
        margin-top: 18px;
    }


    .hero h1 {
        font-size: 50px;

        letter-spacing: -3px;
    }


    .hero-description {
        font-size: 15px;
    }


    .hero-buttons {
        flex-direction: column;
    }


    .button {
        width: 100%;
    }


    .hero-stats {
        gap: 25px;

        margin-top: 35px;
    }


    .hero-visual {
        min-height: 360px;
    }


    .hero-logo-card {
        width: 235px;

        height: 235px;

        border-radius: 25px;
    }


    .hero-logo-card img {
        width: 160px;

        height: 160px;
    }


    .logo-glow {
        width: 300px;

        height: 300px;
    }


    .floating-card {
        padding: 9px 12px;
    }


    .floating-card-one {
        left: 0;

        top: 55px;
    }


    .floating-card-two {
        right: 0;

        bottom: 50px;
    }


    .topic-grid,
    .app-grid,
    .tutorial-grid {
        grid-template-columns: 1fr;
    }


    .app-image {
        height: 250px;
    }


    .coming-soon {
        min-height: 400px;
    }


    .tutorial-card {
        min-height: auto;
    }


    .about-logo img {
        width: 170px;

        height: 170px;
    }


    .cta-box {
        padding: 55px 20px;
    }


    .contact-button {
        width: 100%;

        justify-content: space-between;

        white-space: normal;

        word-break: break-word;
    }


    .footer-top {
        flex-direction: column;
    }


    .footer-links {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 35px;
    }


    .footer-bottom {
        flex-direction: column;
    }

}