/* =========================================================
   ovniTEK Solutions
   Main Site Stylesheet
   ================================================= */


/* ---------------------------------------------------------
   Base
   --------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(165, 255, 238, 0.08),
            transparent 35%
        ),
        #050505;
    color: white;
    font-family: "Roboto", Arial, sans-serif;
}

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

h1,
h2,
h3,
p {
    margin-top: 0;
}


/* ---------------------------------------------------------
   Shared Container
   --------------------------------------------------------- */

.site-container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}


/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.header {
    position: sticky;
    top: 0;
    z-index: 1100;

    width: 100%;
    padding: 15px 0;

    background-color: rgba(5, 5, 5, 0.92);
    border-bottom: 1px solid rgba(165, 255, 238, 0.1);

    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 40px;
}

.header a.logo {
    display: block;
    flex: 0 0 auto;
    text-decoration: none;
}

.header .logo img {
    display: block;
    width: 100px;
    height: auto;
    object-fit: contain;
}


/* ---------------------------------------------------------
   Links
   --------------------------------------------------------- */

a {
    color: #A5FFEE;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: white;
}

a:focus-visible {
    outline: 2px solid #A5FFEE;
    outline-offset: 4px;
}


/* ---------------------------------------------------------
   Typography
   --------------------------------------------------------- */

.eyebrow {
    margin-bottom: 15px;
    color: #A5FFEE;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
}

h2 {
    margin-bottom: 20px;
    color: #A5FFEE;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
}

p {
    line-height: 1.7;
}


/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 24px;

    border: 1px solid transparent;
    border-radius: 4px;

    font-family: inherit;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;

    text-decoration: none !important;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.1s ease;
}

.primary-button,
.primary-button:link,
.primary-button:visited {
    background-color: #A5FFEE;
    color: #050505 !important;
}

.primary-button:hover {
    background-color: white;
    color: #050505 !important;
}

.primary-button:active {
    transform: scale(0.98);
}

.secondary-button,
.secondary-button:link,
.secondary-button:visited {
    background-color: transparent;
    border: 1px solid #A5FFEE;
    color: #A5FFEE !important;
}

.secondary-button:hover {
    background-color: rgba(165, 255, 238, 0.1);
    border-color: white;
    color: white !important;
}

.secondary-button:active {
    transform: scale(0.98);
}


/* ---------------------------------------------------------
   Site Navigation
   --------------------------------------------------------- */

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
    margin: 0;
}

.site-nav a {
    color: #d8d8d8;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.3px;
    text-decoration: none;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;

    transition:
        color 0.25s ease,
        text-decoration-color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: #A5FFEE;
}

.site-nav a.active,
.site-nav a[aria-current="page"] {
    color: #A5FFEE;
    text-decoration: underline;
}

.site-nav-account {
    color: #A5FFEE !important;
}


/* ---------------------------------------------------------
   Mobile Navigation Toggle
   --------------------------------------------------------- */

.mobile-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 9px;

    background: transparent;
    border: 1px solid rgba(165, 255, 238, 0.25);
    border-radius: 4px;

    cursor: pointer;
    position: relative;
    z-index: 1100;
}

.mobile-menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background-color: #A5FFEE;

    transition:
        transform 0.3s ease,
        opacity 0.2s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.assessment-hero {
    min-height: 650px;

    display: flex;
    align-items: center;

    padding: 80px 0;

    border-top: 1px solid rgba(165, 255, 238, 0.1);
    border-bottom: 1px solid rgba(165, 255, 238, 0.1);
}

.assessment-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: nowrap;
}

.assessment-hero-content {
    width: auto;
    text-align: left;
}

.assessment-hero h1 {
    margin: 0;

    color: white;
    font-size: clamp(42px, 7vw, 66px);
    line-height: 1.05;
}

.hero-lead {
    max-width: 800px;

    margin: 30px 0 15px;

    color: #A5FFEE;

    font-size: clamp(20px, 3vw, 30px);
    font-weight: bold;
}

.hero-text {
    max-width: 750px;
    margin: 0;

    color: #d4d4d4;
    font-size: 18px;
}

.assessment-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.assessment-hero-actions a {
    width: max-content;
    min-width: 100%;
}


/* ---------------------------------------------------------
   General Sections
   --------------------------------------------------------- */

.assessment-section {
    padding: 100px 0;
}

.section-heading {
    max-width: 800px;
    margin-bottom: 55px;
    text-align: left;
}

.section-heading p {
    color: #d0d0d0;
    font-size: 18px;
}


/* ---------------------------------------------------------
   Floating Contact
   --------------------------------------------------------- */

.floating-contact {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    width: 48px;
    height: 48px;

    padding: 0 13px;

    overflow: hidden;

    background-color: rgba(5, 5, 5, 0.92);
    border: 1px solid rgba(165, 255, 238, 0.45);
    border-radius: 24px;

    color: #A5FFEE;

    backdrop-filter: blur(8px);

    transition:
        width 0.3s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        opacity 0.3s ease,
        transform 0.25s ease;
}

.floating-contact:hover {
    width: 178px;

    background-color: rgba(165, 255, 238, 0.08);
    border-color: #A5FFEE;
    color: white;
}

.floating-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    min-width: 20px;
    height: 20px;

    font-size: 18px;
    line-height: 1;
}

.floating-contact-label {
    max-width: 0;

    margin-right: 0;

    overflow: hidden;

    color: #A5FFEE;
    font-size: 13px;
    font-weight: bold;

    opacity: 1;

    white-space: nowrap;

    transition:
        max-width 0.3s ease,
        margin-right 0.3s ease,
        opacity 0.2s ease;
}

.floating-contact:hover .floating-contact-label {
    max-width: 125px;
    margin-right: 10px;
    opacity: 1;
}

.floating-contact.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}


/* ---------------------------------------------------------
   Assessment Cards
   --------------------------------------------------------- */

.assessment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.assessment-card {
    position: relative;

    padding: 35px;

    background:
        linear-gradient(
            145deg,
            rgba(165, 255, 238, 0.08),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid rgba(165, 255, 238, 0.18);
    border-radius: 8px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.assessment-card:hover {
    transform: translateY(-4px);
    border-color: rgba(165, 255, 238, 0.5);
}

.card-number {
    margin-bottom: 25px;

    color: #A5FFEE;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
}

.assessment-card h3 {
    margin-bottom: 15px;
    color: white;
    font-size: 25px;
}

.assessment-card p {
    margin-bottom: 0;
    color: #c8c8c8;
    font-size: 16px;
}


/* ---------------------------------------------------------
   Report Section
   --------------------------------------------------------- */

.report-section {
    width: 100%;

    padding: 100px 0;

    background-color: rgba(165, 255, 238, 0.035);

    border-top: 1px solid rgba(165, 255, 238, 0.08);
    border-bottom: 1px solid rgba(165, 255, 238, 0.08);
}

.report-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;

}

.report-content {
    max-width: 700px;
    text-align: left;
}

.report-content p {
    color: #d0d0d0;
    font-size: 18px;
}

.report-list {
    margin-top: 30px;
}

.report-list div {
    margin: 14px 0;
    color: #e5e5e5;
    font-size: 16px;
}

.report-list span {
    margin-right: 10px;
    color: #A5FFEE;
    font-weight: bold;
}


/* ---------------------------------------------------------
   Example Score Panel
   --------------------------------------------------------- */

.score-panel {
    padding: 35px;

    background-color: #080808;

    border: 1px solid rgba(165, 255, 238, 0.25);
    border-radius: 8px;

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

.score-panel > p {
    color: #A5FFEE;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.score {
    margin: 20px 0 5px;

    color: #A5FFEE;
    font-size: 90px;
    font-weight: bold;
    line-height: 1;
}

.score-label {
    margin-bottom: 30px;
    color: white;
    font-size: 17px;
}

.score-bars > div {
    margin-bottom: 20px;
}

.score-bars span {
    display: block;

    margin-bottom: 7px;

    color: #cfcfcf;
    font-size: 14px;
}

.bar {
    height: 6px;
    overflow: hidden;

    background-color: #252525;
    border-radius: 5px;
}

.bar div {
    height: 100%;
    background-color: #A5FFEE;
}

.score-panel small {
    display: block;

    margin-top: 25px;

    color: #777;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   Process
   --------------------------------------------------------- */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-step {
    padding-top: 20px;

    border-top: 2px solid #A5FFEE;

    text-align: left;
}

.process-step span {
    color: #A5FFEE;
    font-size: 13px;
    font-weight: bold;
}

.process-step h3 {
    margin: 15px 0 10px;
    color: white;
    font-size: 22px;
}

.process-step p {
    color: #bdbdbd;
    font-size: 15px;
}


/* ---------------------------------------------------------
   Next Step & Cyber Education
   --------------------------------------------------------- */

.next-step-section,
.cyber-education-section {
    width: 100%;
    padding: 90px 0;
}

.next-step-section {
    background-color: rgba(165, 255, 238, 0.08);
}

.cyber-education-section {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(165, 255, 238, 0.08),
            transparent 55%
        );
}

.next-step-inner,
.cyber-education-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;

    text-align: left;
}

.next-step-content,
.cyber-education-content {
    width: 100%;
    max-width: 800px;
}

.next-step-content p,
.cyber-education-content p {
    color: #d0d0d0;
    font-size: 18px;
}

.next-step-actions,
.cyber-education-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;

    flex: 0 0 auto;
}

.next-step-actions a,
.cyber-education-actions a {
    width: max-content;
    min-width: 100%;
}


/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.footer {
    padding: 20px 0;
    margin-top: 10px;

    background-color: #050505;

    color: goldenrod;
    text-align: center;

    font-size: 18px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a,
.privacy-preferences-link {
    padding: 5px;

    background: none;
    border: none;

    color: #A5FFEE !important;

    font-size: 14px;
    font-weight: normal;

    text-decoration: none !important;

    cursor: pointer;
}

.footer-links a:hover,
.privacy-preferences-link:hover {
    color: white !important;
    text-decoration: underline !important;
}

.footer-bottom {
    margin-top: 10px;
}

.footer-bottom p {
    margin: 0;
    color: goldenrod;
    font-size: 14px;
}


/* ---------------------------------------------------------
   Accessibility
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .floating-contact,
    .floating-contact-label {
        transition: none;
    }
}


/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media screen and (max-width: 800px) {

    .site-container {
        width: min(calc(100% - 40px), 1200px);
    }

    .header-inner {
        gap: 25px;
    }

    .header .logo img {
        width: 80px;
    }

    .site-nav {
        gap: 20px;
        flex-wrap: wrap;
    }

    /* Mobile Navigation */
    .header-inner {
        position: relative;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 10px;

        background: rgba(5, 5, 5, 0.97);

        border: 1px solid rgba(165, 255, 238, 0.2);
        border-radius: 6px;

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

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-10px);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;

        z-index: 1000;
    }

    .site-nav a {
        display: block;
        padding: 14px 12px;
        font-size: 15px;
    }

    .site-nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* Hero */
    .assessment-hero {
        padding: 60px 0;
    }

    .assessment-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
    }

    .assessment-hero-content {
        max-width: 100%;
    }

    .assessment-hero-actions {
        width: 100%;
        align-items: flex-start;
    }

    /* Assessment */
    .assessment-grid {
        grid-template-columns: 1fr;
    }

    /* Report */
    .report-section {
        padding: 70px 0;
    }

    .report-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Process */
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Next Step & Cyber Education */
    .next-step-section,
    .cyber-education-section {
        padding: 70px 0;
    }

    .next-step-inner,
    .cyber-education-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
    }

    .next-step-content,
    .cyber-education-content {
        max-width: 100%;
    }

    .next-step-actions,
    .cyber-education-actions {
        width: 100%;
        align-items: flex-start;
    }

    /* General */
    .assessment-section {
        padding: 70px 0;
    }
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media screen and (max-width: 500px) {

    .site-container {
        width: min(calc(100% - 30px), 1200px);
    }

    .header {
        padding: 12px 0;
    }

    .header-inner {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .header .logo img {
        width: 65px;
    }

    .site-nav {
        gap: 12px 18px;
        margin: 0;
        justify-content: flex-start;
    }

    .site-nav a {
        font-size: 13px;
    }

    /* Hero */
    .assessment-hero {
        padding: 50px 0;
    }

    .assessment-hero h1 {
        font-size: 38px;
    }

    /* Report */
    .report-section {
        padding: 60px 0;
    }

    /* Process */
    .process-grid {
        grid-template-columns: 1fr;
    }

    /* Next Step & Cyber Education */
    .next-step-section,
    .cyber-education-section {
        padding: 60px 0;
    }

    /* Assessment */
    .assessment-section {
        padding: 60px 0;
    }

    .assessment-card {
        padding: 28px;
    }

    /* Score */
    .score-panel {
        padding: 28px;
    }

    .score {
        font-size: 70px;
    }

    /* Floating Contact */
    .floating-contact {
        right: 18px;
        bottom: 18px;

        width: 44px;
        height: 44px;

        padding: 0 11px;
    }

    .floating-contact:hover {
        width: 44px;
    }

    .floating-contact-label {
        display: none;
    }
}
