@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


:root {
    --background: #080810;
    --background-secondary: #0d0d18;
    --surface: #12121f;
    --surface-light: #191929;

    --text: #f4f3ff;
    --text-muted: #aaa8bd;

    --purple: #9b7cff;
    --purple-light: #c0aaff;
    --blue: #6ca8ff;

    --border: rgba(255, 255, 255, 0.09);

    --container: 1180px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    background: var(--background);
    color: var(--text);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}


.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}


/* HEADER */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}


.nav {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
}


.logo-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;

    border-radius: 10px;

    background:
        linear-gradient(135deg,
            var(--purple),
            var(--blue));

    color: white;
    font-weight: 800;

    box-shadow:
        0 0 25px rgba(155, 124, 255, 0.35);
}


.logo-soft {
    color: var(--text-muted);
    font-weight: 500;
}


nav {
    display: flex;
    gap: 34px;
}


nav a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s ease;
}


nav a:hover {
    color: white;
}


/* HERO */

.hero {
    min-height: 760px;
    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 35%,
            rgba(111, 89, 205, 0.18),
            transparent 32%
        ),
        radial-gradient(
            circle at 25% 70%,
            rgba(74, 126, 214, 0.08),
            transparent 30%
        );
}


.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 70px;
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 7px 13px;

    border: 1px solid var(--border);
    border-radius: 100px;

    background: rgba(255, 255, 255, 0.035);

    color: var(--text-muted);
    font-size: 12px;
}


.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #8cffbd;

    box-shadow:
        0 0 10px rgba(140, 255, 189, 0.7);
}


.hero h1 {
    margin-top: 27px;

    max-width: 900px;

    font-size: clamp(55px, 8vw, 105px);
    line-height: 0.98;
    letter-spacing: -5px;
    font-weight: 800;
}


.hero h1 span {
    background:
        linear-gradient(
            100deg,
            var(--purple-light),
            var(--blue)
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.hero-text {
    max-width: 610px;
    margin-top: 30px;

    color: var(--text-muted);

    font-size: 18px;
    line-height: 1.8;
}


.hero-buttons {
    display: flex;
    gap: 13px;
    margin-top: 38px;
}


.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.button:hover {
    transform: translateY(-2px);
}


.button-primary {
    background:
        linear-gradient(
            135deg,
            #a083ff,
            #628fff
        );

    color: white;

    box-shadow:
        0 10px 35px rgba(115, 101, 230, 0.25);
}


.button-primary:hover {
    box-shadow:
        0 14px 40px rgba(115, 101, 230, 0.38);
}


.button-secondary {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-muted);
}


.button-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    color: white;
}


.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}


.glow-one {
    width: 420px;
    height: 420px;

    right: 5%;
    top: 10%;

    background: rgba(125, 91, 255, 0.13);
}


.glow-two {
    width: 300px;
    height: 300px;

    left: 35%;
    bottom: -100px;

    background: rgba(70, 132, 255, 0.08);
}


.hero-line {
    position: absolute;

    bottom: 0;
    left: 50%;

    width: min(var(--container), calc(100% - 48px));
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.13),
            transparent
        );
}


/* GENERAL SECTIONS */

.section {
    padding: 125px 0;
}


.eyebrow {
    display: block;

    margin-bottom: 15px;

    color: var(--purple-light);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}


.section-heading {
    max-width: 680px;
    margin-bottom: 55px;
}


.section-heading h2 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2.5px;
}


.section-heading p {
    margin-top: 22px;

    color: var(--text-muted);

    font-size: 16px;
}


/* PRODUCT */

.products-section {
    background:
        linear-gradient(
            180deg,
            var(--background),
            var(--background-secondary)
        );
}


.product-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    min-height: 540px;

    border: 1px solid var(--border);
    border-radius: 22px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.015)
        );

    box-shadow:
        0 40px 100px rgba(0,0,0,0.25);
}


.product-info {
    padding: 55px;
}


.product-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin-bottom: 28px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #9d80ff,
            #588eff
        );

    font-size: 25px;
    font-weight: 800;

    box-shadow:
        0 15px 35px rgba(115, 101, 230, 0.25);
}


.product-label {
    color: var(--text-muted);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}


.product-info h3 {
    margin-top: 7px;

    font-size: 46px;
    line-height: 1;

    letter-spacing: -2px;
}


.product-tagline {
    margin-top: 18px;

    color: var(--purple-light);

    font-size: 16px;
    font-weight: 600;
}


.product-description {
    max-width: 450px;

    margin-top: 18px;

    color: var(--text-muted);

    font-size: 14px;
    line-height: 1.8;
}


.product-link {
    display: inline-flex;
    gap: 9px;

    margin-top: 28px;

    color: white;

    font-size: 14px;
    font-weight: 600;
}


.product-link span {
    color: var(--purple-light);
    transition: transform 0.2s ease;
}


.product-link:hover span {
    transform: translateX(4px);
}


/* EDITOR VISUAL */

.product-visual {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background:
        radial-gradient(
            circle at center,
            rgba(126, 104, 225, 0.15),
            transparent 60%
        );
}


.editor-window {
    width: 100%;
    max-width: 580px;

    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;

    overflow: hidden;

    background: #0a0a11;

    box-shadow:
        0 35px 80px rgba(0,0,0,0.55),
        0 0 70px rgba(113, 87, 220, 0.10);

    transform:
        perspective(1200px)
        rotateY(-4deg)
        rotateX(2deg);
}


.editor-titlebar {
    height: 42px;

    display: flex;
    align-items: center;

    padding: 0 15px;

    border-bottom: 1px solid rgba(255,255,255,0.07);

    background: #11111a;

    color: #777689;

    font-size: 11px;
}


.window-dots {
    display: flex;
    gap: 6px;

    margin-right: auto;
}


.window-dots i {
    width: 7px;
    height: 7px;

    display: block;

    border-radius: 50%;

    background: #454453;
}


.editor-body {
    min-height: 310px;

    display: flex;

    padding: 22px 0;

    font-family: Consolas, monospace;
    font-size: 13px;
    line-height: 1.8;
}


.line-numbers {
    width: 55px;

    padding-right: 16px;

    text-align: right;

    color: #41404c;

    user-select: none;
}


.editor-code {
    color: #d6d4e4;
}


.keyword {
    color: #a78bfa;
}


.variable {
    color: #73b5ff;
}


.operator {
    color: #858395;
}


.type {
    color: #73d6c3;
}


.function {
    color: #d7a2ff;
}


.comment {
    color: #555462;
}


.editor-status {
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 18px;

    padding: 0 13px;

    border-top: 1px solid rgba(255,255,255,0.06);

    color: #5e5d6c;

    font-family: Consolas, monospace;
    font-size: 9px;
}


/* FEATURES */

.features-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}


.feature {
    min-height: 245px;

    padding: 30px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition:
        background 0.25s ease;
}


.feature:hover {
    background: rgba(255,255,255,0.025);
}


.feature-number {
    color: #575569;

    font-family: Consolas, monospace;
    font-size: 12px;
}


.feature h3 {
    margin-top: 45px;

    font-size: 20px;
}


.feature p {
    margin-top: 11px;

    color: var(--text-muted);

    font-size: 13px;
    line-height: 1.7;
}


/* ABOUT */

.about-section {
    background: #0a0a12;
}


.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: start;
}


.about-grid h2 {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -3px;
}


.about-text {
    padding-top: 28px;
}


.about-text p {
    color: var(--text-muted);

    font-size: 17px;
    line-height: 1.9;
}


.about-text p + p {
    margin-top: 25px;
}


/* CONTACT */

.contact-section {
    padding-top: 100px;
}


.contact-card {
    min-height: 300px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 60px;

    border: 1px solid var(--border);
    border-radius: 22px;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(117, 92, 220, 0.16),
            transparent 45%
        ),
        rgba(255,255,255,0.025);
}


.contact-card h2 {
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1;
    letter-spacing: -3px;
}


.contact-card p {
    margin-top: 18px;

    color: var(--text-muted);
}


/* FOOTER */

.site-footer {
    padding: 35px 0;

    border-top: 1px solid var(--border);
}


.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #626173;

    font-size: 11px;
}


.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #858394;

    font-weight: 600;
}


.footer-brand .logo-mark {
    width: 27px;
    height: 27px;

    border-radius: 8px;

    font-size: 12px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .hero {
        min-height: 680px;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .product-visual {
        min-height: 430px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}


@media (max-width: 600px) {

    .container {
        width: min(100% - 30px, var(--container));
    }

    .nav {
        height: 72px;
    }

    nav {
        display: none;
    }

    .hero {
        min-height: 650px;
    }

    .hero h1 {
        font-size: 52px;
        letter-spacing: -2.5px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .section {
        padding: 85px 0;
    }

    .section-heading h2 {
        letter-spacing: -1.5px;
    }

    .product-info {
        padding: 35px 25px;
    }

    .product-info h3 {
        font-size: 40px;
    }

    .product-visual {
        min-height: 330px;
        padding: 20px;
    }

    .editor-window {
        transform: none;
    }

    .editor-body {
        min-height: 260px;
        font-size: 10px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .about-grid h2 {
        letter-spacing: -2px;
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 35px 25px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

}

/* =========================================
   DOMANTIS PRODUCT PAGE
   ========================================= */


.product-hero {
    min-height: 720px;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 70% 40%,
            rgba(126, 94, 240, 0.18),
            transparent 38%
        ),
        radial-gradient(
            circle at 20% 70%,
            rgba(75, 130, 240, 0.08),
            transparent 32%
        );
}


.product-hero-content {
    position: relative;
    z-index: 2;

    padding-top: 80px;

    max-width: 850px;
}


.product-icon.large {
    width: 76px;
    height: 76px;

    margin-bottom: 28px;

    display: grid;
    place-items: center;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #a083ff,
            #588eff
        );

    color: white;

    font-size: 34px;
    font-weight: 800;

    box-shadow:
        0 20px 50px rgba(115, 101, 230, 0.3);
}


.product-hero h1 {
    margin-top: 8px;

    font-size: clamp(65px, 9vw, 110px);

    line-height: 0.95;

    letter-spacing: -5px;
}


.product-hero-tagline {
    margin-top: 27px;

    color: var(--purple-light);

    font-size: 21px;
    font-weight: 600;
}


.product-hero-description {
    max-width: 700px;

    margin-top: 17px;

    color: var(--text-muted);

    font-size: 17px;

    line-height: 1.8;
}


/* DOMANTIS PREVIEW */


.domantis-preview {
    padding-top: 75px;

    background:
        linear-gradient(
            180deg,
            var(--background),
            var(--background-secondary)
        );
}


.domantis-editor {
    width: 100%;

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 16px;

    overflow: hidden;

    background: #090910;

    box-shadow:
        0 40px 100px rgba(0,0,0,0.45),
        0 0 80px rgba(112,87,220,0.08);
}


.editor-toolbar {
    height: 36px;

    display: flex;
    align-items: center;

    gap: 23px;

    padding: 0 16px;

    border-bottom: 1px solid rgba(255,255,255,0.05);

    background: #0d0d15;

    color: #777585;

    font-size: 10px;
}


.large-editor {
    min-height: 390px;
}


.domantis-editor .editor-code {
    font-size: 13px;

    line-height: 2;
}


.domantis-editor .editor-status {
    height: 31px;
}


/* FEATURE GRID */


.domantis-feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}


.domantis-feature-card {
    min-height: 280px;

    padding: 35px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background:
        rgba(255,255,255,0.012);

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.domantis-feature-card:hover {
    background:
        rgba(255,255,255,0.035);

    transform: translateY(-3px);
}


.feature-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(155,124,255,0.25);

    border-radius: 10px;

    color: var(--purple-light);

    font-family: Consolas, monospace;

    font-size: 10px;
}


.domantis-feature-card h3 {
    margin-top: 45px;

    font-size: 20px;

    letter-spacing: -0.5px;
}


.domantis-feature-card p {
    margin-top: 12px;

    color: var(--text-muted);

    font-size: 13px;

    line-height: 1.75;
}


/* DARK PRODUCT SECTION */


.domantis-dark-section {
    background:
        #090911;

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);
}


.architecture-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: center;
}


.architecture-grid h2 {
    font-size: clamp(42px, 5vw, 67px);

    line-height: 1;

    letter-spacing: -3px;
}


.architecture-copy p {
    color: var(--text-muted);

    font-size: 17px;

    line-height: 1.9;
}


.architecture-copy p + p {
    margin-top: 25px;
}


/* DOWNLOAD */


.download-card {
    min-height: 290px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding: 55px;

    border:
        1px solid var(--border);

    border-radius: 22px;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(115,91,220,0.14),
            transparent 45%
        ),
        rgba(255,255,255,0.025);
}


.download-card h2 {
    font-size: clamp(40px, 5vw, 60px);

    line-height: 1;

    letter-spacing: -3px;
}


.download-card p {
    max-width: 570px;

    margin-top: 17px;

    color: var(--text-muted);

    font-size: 14px;

    line-height: 1.8;
}


.download-status {
    display: flex;

    align-items: center;

    gap: 9px;

    padding: 12px 16px;

    border:
        1px solid rgba(140,255,189,0.12);

    border-radius: 100px;

    background:
        rgba(140,255,189,0.035);

    color: #8baf9b;

    font-size: 11px;

    white-space: nowrap;
}


/* PRODUCT PAGE MOBILE */


@media (max-width: 900px) {

    .domantis-feature-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .architecture-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

}


@media (max-width: 600px) {

    .product-hero {
        min-height: 650px;
    }


    .product-hero h1 {
        font-size: 60px;

        letter-spacing: -3px;
    }


    .product-hero-tagline {
        font-size: 17px;
    }


    .product-hero-description {
        font-size: 14px;
    }


    .domantis-preview {
        padding-top: 50px;
    }


    .large-editor {
        min-height: 300px;
    }


    .domantis-feature-grid {
        grid-template-columns: 1fr;
    }


    .download-card {
        flex-direction: column;

        align-items: flex-start;

        padding: 35px 25px;
    }

.domantis-screenshot {
    border-radius: 0;
}

}