/* ============================================================
   PRIMEON SERVICES — Shared Stylesheet
   styles.css — used by all pages
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── RESET & ROOT ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0B1F3B;
    --blue: #1F6FD6;
    --cyan: #4CC3FF;
    --white: #F2F5F9;
    --grey: #9BA6B2;
    --navy-light: #112645;
    --navy-mid: #0e2748;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--navy);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--navy);
}

::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 2px;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-26px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes barGrow {
    from {
        width: 0 !important;
    }
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 6vw;
    background: rgba(11, 31, 59, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(76, 195, 255, 0.07);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

/* Keep these in case logo text is still used on some pages */
.logo-text {
    font-family: 'Syne', sans-serif;
}

.logo-text .prime {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--white);
    display: block;
    line-height: 1;
}

.logo-text .on {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.logo-text .stag {
    font-size: 9px;
    letter-spacing: 0.18em;
    color: var(--grey);
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--grey);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 100%;
    height: 1px;
    background: var(--cyan);
    transition: right 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    right: 0;
}

.nav-cta {
    background: linear-gradient(135deg, var(--blue), var(--cyan)) !important;
    color: var(--navy) !important;
    font-weight: 600 !important;
    padding: 10px 22px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    letter-spacing: 0.03em;
}

.nav-cta::after {
    display: none !important;
}

/* ── HAMBURGER ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 200;
}

.hamburger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE MENU ── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(9, 22, 45, 0.98);
    backdrop-filter: blur(24px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    display: block;
    padding: 14px 40px;
    font-family: 'Syne', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--grey);
    text-decoration: none;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: color 0.2s, transform 0.4s ease, opacity 0.4s ease;
}

.mobile-menu.open a {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.open a:nth-child(1) {
    transition-delay: 0.05s;
}

.mobile-menu.open a:nth-child(2) {
    transition-delay: 0.10s;
}

.mobile-menu.open a:nth-child(3) {
    transition-delay: 0.15s;
}

.mobile-menu.open a:nth-child(4) {
    transition-delay: 0.20s;
}

.mobile-menu.open a:nth-child(5) {
    transition-delay: 0.25s;
}

.mobile-menu a:hover {
    color: var(--white);
}

.mobile-menu .mob-cta {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: var(--navy) !important;
    border-radius: 8px;
    padding: 14px 52px !important;
    font-size: 18px !important;
    margin-top: 8px;
}

.mob-divider {
    width: 48px;
    height: 1px;
    background: rgba(76, 195, 255, 0.15);
    margin: 8px 0;
    opacity: 0;
    transition: opacity 0.4s 0.2s;
}

.mobile-menu.open .mob-divider {
    opacity: 1;
}

/* ── FOOTER ── */
footer {
    background: rgba(7, 18, 35, 0.95);
    border-top: 1px solid rgba(76, 195, 255, 0.07);
    padding: 36px 6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.foot-copy {
    font-size: 13px;
    color: var(--grey);
}

.foot-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.foot-links a {
    font-size: 13px;
    color: var(--grey);
    text-decoration: none;
    transition: color 0.2s;
}

.foot-links a:hover {
    color: var(--cyan);
}

.foot-logo {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
}

.foot-logo .on {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.foot-logo-img {
    height: 36px;
    width: auto;
    vertical-align: middle;
}

/* ── SHARED COMPONENTS ── */
.section-label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    letter-spacing: -0.01em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--grey);
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--grey);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--cyan);
}

.breadcrumb .sep {
    color: rgba(155, 166, 178, 0.4);
}

.breadcrumb .current {
    color: var(--cyan);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: var(--navy);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(31, 111, 214, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(76, 195, 255, 0.35);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 15px;
    text-decoration: none;
    padding: 13px 22px;
    border: 1px solid rgba(242, 245, 249, 0.15);
    border-radius: 8px;
    transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
    border-color: rgba(76, 195, 255, 0.4);
    background: rgba(76, 195, 255, 0.05);
}

/* Plan buttons (pricing) */
/* .btn-plan {
    display: block;
    text-align: center;
    padding: 13px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.btn-plan-outline {
    border: 1px solid rgba(76, 195, 255, 0.2);
    color: var(--white);
}

.btn-plan-outline:hover {
    border-color: var(--cyan);
    background: rgba(76, 195, 255, 0.05);
}

.btn-plan-fill {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(31, 111, 214, 0.3);
}

.btn-plan-fill:hover {
    box-shadow: 0 8px 28px rgba(76, 195, 255, 0.4);
    transform: translateY(-1px);
} */

/* Page Hero (About, Services, Contact) */
.page-hero {
    min-height: 46vh;
    display: flex;
    align-items: center;
    padding: 130px 6vw 64px;
    position: relative;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-bg-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 111, 214, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 111, 214, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(31, 111, 214, 0.14) 0%, transparent 70%);
    top: -60px;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(76, 195, 255, 0.09) 0%, transparent 70%);
    bottom: 20px;
    left: 2%;
    animation: float 11s ease-in-out infinite reverse;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.page-hero-content h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(34px, 5.5vw, 60px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    animation: fadeUp 0.7s 0.1s ease both;
}

.page-hero-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--grey);
    margin-top: 18px;
    max-width: 500px;
    animation: fadeUp 0.7s 0.2s ease both;
}

/* CTA Strip */
.cta-strip {
    padding: 72px 6vw;
    background: var(--navy-mid);
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 111, 214, 0.07), rgba(76, 195, 255, 0.03));
}

.cta-strip::after {
    content: '';
    position: absolute;
    inset: 0;
    border-top: 1px solid rgba(76, 195, 255, 0.08);
    border-bottom: 1px solid rgba(76, 195, 255, 0.08);
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-text .section-label {
    margin-bottom: 10px;
}

.cta-text h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    color: var(--white);
}

.cta-text p {
    font-size: 14px;
    color: var(--grey);
    margin-top: 7px;
}

.cta-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Forms */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--grey);
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(17, 38, 69, 0.8);
    border: 1px solid rgba(76, 195, 255, 0.1);
    border-radius: 8px;
    padding: 13px 15px;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(155, 166, 178, 0.4);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(76, 195, 255, 0.35);
    box-shadow: 0 0 0 3px rgba(76, 195, 255, 0.06);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select option {
    background: var(--navy-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* Info items (contact page) */
.info-item {
    display: flex;
    gap: 13px;
    align-items: flex-start;
}

.info-dot {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: rgba(31, 111, 214, 0.1);
    border: 1px solid rgba(31, 111, 214, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-dot svg {
    width: 16px;
    height: 16px;
}

.info-row-label {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 2px;
}

.info-row-val {
    font-size: 13px;
    color: var(--white);
}

/* ── GLOBAL RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 16px 5vw;
    }

    .page-hero {
        padding: 110px 5vw 52px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-btns {
        flex-direction: column;
        width: 100%;
    }

    .cta-btns .btn-primary,
    .cta-btns .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
    }
}