
:root {
    --color-page-background: #222222;
    --color-text: #cccccc;
    --color-heading: #ffffff;
    --color-border: #444444;

    --color-accent: #f1ba63;
    --color-accent-dark: #ad8647;
    --color-nav-link: #bbbbbb;
    --color-nav-link-active: #f1ba63;
    --color-price-sale: #ff5a4d;

    --color-about-background: hsl(276, 51%, 39%);
    --color-videos-background: hsl(0, 100%, 40%);
    --color-download-background: hsl(24, 100%, 50%);
    --color-contact-background: #000000;

    --navbar-height: 56px;
    --content-max-width: 1000px;
    --font-body: "Lato", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 14px;
    scroll-padding-top: var(--navbar-height);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text);
    background: var(--color-page-background);
    line-height: 1.6;
}

h1, h2, h3 {
    margin: 0 0 0.5em;
    font-weight: 900;
    color: var(--color-heading);
    line-height: 1.15;
}

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

a {
    color: var(--color-accent);
}

a:hover {
    color: var(--color-accent-dark);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.container {
    width: 88%;
    max-width: var(--content-max-width);
    margin: 0 auto;
}


.site-header {
    padding: 14px 0;
    background: var(--color-page-background);
}

.brand {
    display: inline-block;
}

.brand img {
    height: 90px;
    width: auto;
    padding: 6px 14px;
    border-radius: 6px;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-page-background);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 6px 6px -6px rgba(0, 0, 0, 0.35);
}

.site-nav .container {
    display: flex;
    justify-content: flex-end;
    min-height: var(--navbar-height);
}

.nav-toggle {
    display: none;
    margin: 8px 0;
    padding: 0.2em 0.7em;
    font-size: 22px;
    color: var(--color-heading);
    background: #444444;
    border: 0;
    border-radius: 0.25em;
    cursor: pointer;
}

.nav-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list a {
    display: block;
    padding: 0 10px;
    line-height: var(--navbar-height);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.071em;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    color: var(--color-nav-link);
}

.nav-list a:hover {
    color: var(--color-heading);
}

.nav-list a.is-active {
    color: var(--color-nav-link-active);
    box-shadow: inset 0 -3px 0 var(--color-nav-link-active);
}

.site-nav .container {
    display: flex;
    justify-content: space-between; 
    min-height: var(--navbar-height);
}

.nav-brand {
    align-self: center;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
}

.nav-brand img {
    height: 36px;
    width: auto;
}

.site-nav.is-brand-visible .nav-brand {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 300ms ease, transform 300ms ease;
}

/* ---------- Sections ---------- */
.section {
    padding: 65px 0;
}

.section-title {
    margin-bottom: 1em;
    text-align: center;
    font-size: clamp(36px, 7vw, 72px);
}

.section-text {
    font-size: clamp(16px, 2vw, 21px);
}

/* Hero */
.section-hero {
    padding-top: 30px;
    text-align: center;
}

.hero-image {
    width: 50%;
    margin: 0 auto 1.5em;
    padding: 4px;
    border: 1px solid #555555;
    border-radius: 0.25em;
    background: var(--color-page-background);
}

/* About */
.section-about {
    background: var(--color-about-background);
    color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.5rem;
}

.feature-card p {
    margin: 0;
}

/* Fade-in used by softplot.js when a card scrolls into view. */
.fade-in-ready {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 750ms ease, transform 750ms ease;
}

.fade-in-ready.is-visible {
    opacity: 1;
    transform: none;
}

/* Videos */
.section-videos {
    background: var(--color-videos-background);
}

.section-videos .section-title,
.section-videos h3 {
    color: #ffffff;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-card h3 {
    margin-bottom: 0.6em;
    font-size: 1.3rem;
    text-align: center;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Crescit Cloud */
.section-cloud {
    text-align: center;
}

.cloud-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.check-list li {
    position: relative;
    margin-bottom: 0.9em;
    padding-left: 1.8em;
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    font-weight: 900;
    color: var(--color-accent);
}

/* Download + Subscribe */
.section-download {
    background: var(--color-download-background);
    text-align: center;
}

.section-download .section-title {
    color: #ffffff;
}

.section-subscribe {
    text-align: center;
}

.price-original {
    font-weight: 900;
    color: #999999;
    text-decoration: line-through;
}

.price-sale {
    font-weight: 900;
    color: var(--color-price-sale);
}

.button {
    display: inline-block;
    padding: 0.6em 1.1em 0.8em;
    font-size: 19px;
    color: #ffffff;
    background: #444444;
    border-radius: 0.25em;
    box-shadow: 0 0.25em 0 0 #2a2a2a, 0 4px 9px rgba(0, 0, 0, 0.75);
    text-decoration: none;
    text-shadow: 0 0.075em 0.075em rgba(0, 0, 0, 0.5);
}

.button:hover {
    color: #ffffff;
    background: #555555;
}

/* A grey button would vanish on #222222, so on dark sections it uses the accent colour. */
.section-subscribe .button {
    color: #222222;
    background: var(--color-accent);
    box-shadow: 0 0.25em 0 0 var(--color-accent-dark), 0 4px 9px rgba(0, 0, 0, 0.75);
    text-shadow: none;
}

.section-subscribe .button:hover {
    color: #222222;
    background: #f6cd8a;
}

/* Contact */
.section-contact {
    background: var(--color-contact-background);
    color: #ffffff;
    text-align: center;
}

.section-contact .section-title {
    color: #ffffff;
}

.contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: clamp(16px, 2vw, 21px);
}

.contact-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    margin-bottom: 0.8em;
}

.contact-icon {
    width: 26px;
    height: 26px;
    flex: none;
}

.contact-list a {
    color: #ffffff;
}

/* ---------- Responsive ---------- */

/* Navigation collapses to a menu button before the 8 links run out of room. */
@media (max-width: 1024px) {

    .site-header {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-page-background);
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 6px 6px rgba(0, 0, 0, 0.35);
    }

    .nav-list.is-open {
        display: flex;
    }

    .nav-list a {
        line-height: 3rem;
        padding: 0 6%;
    }

    .nav-list a.is-active {
        box-shadow: inset 4px 0 0 var(--color-nav-link-active);
    }

    .nav-brand {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-toggle {
        display: block;
    }
}

@media (max-width: 979px) {
    .about-grid,
    .cloud-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-image {
        width: 80%;
    }
}



@media (prefers-reduced-motion: reduce) {
    .site-nav.is-brand-visible .nav-brand {
        transition: none;
    }
}