﻿/* HERO – dark theme like Forma */

.section-title {
    padding-bottom: 40px;
}

.header {
    padding: 12px 0;
}

#header .logo .sitename {
    display: block; /* key difference vs span */
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    margin: 0;
}

#hero.hero {
    /* dark color variables for this section */
    --background-color: #050713;
    --default-color: #e3e8f5;
    --heading-color: #ffffff;
    --surface-color: #111827;
    --contrast-color: #ffffff;
    /* kill the light hero-bg.png and use a dark gradient */
    background: radial-gradient(circle at top, #1f2937 0%, #050713 55%, #020308 100%);
    background-size: cover;
}

.navmenu > ul > li {
    white-space: nowrap;
    padding: 10px 10px;
}

span.sitename {
    font-size: 22px !important;
}

/* =========================================
   HERO – ARD LOGO (CLEAN, NO BACKGROUND)
   ========================================= */

#hero .ard-hero-logo-wrap {
    position: relative;
    width: 320px; /* overall footprint */
    max-width: 90vw; /* responsive */
    margin: -50px auto 1px; /* raise logo up */
}

#hero .ard-hero-logo {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    animation: hero-float 2.5s ease-in-out infinite alternate;
}

/* gentle vertical float */
@keyframes hero-float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

#services .service-item .img {
    border: 1px solid rgba(0, 0, 0, 0.08); /* was 0.06 */
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background-color: #fff;
}

#services .service-item .details {
    padding-top: 24px; /* or whatever looks best */
    border: none; /* remove any inner border */
    border-radius: 0 0 12px 12px; /* match the top image radius */
    background-color: #ffffff; /* keep it clean against the drop shadow */
}

#services .service-item {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: none; /* ensure no outer card border */
}

/* PHOND MOCK */

/* =========================================================
   ARD Device Cluster (tight, pro, inward tilt)
   ========================================================= */

.ard-devices-strip {
    margin-top: 1.25rem;
    margin-bottom: 1.75rem;
    /* center the grid block itself */
    display: flex;
    justify-content: center;
    width: 100%;
}

.ard-devices-grid {
    /* knobs */
    --deviceScale: .70; /* overall size */
    --groupX: -70px; /* optical centering (phone adds weight on right) */

    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    /* reserve vertical space so it doesn't overlap above/below */
    height: clamp(260px, 30vw, 520px);
}

.ard-device {
    position: absolute;
    height: auto;
    max-width: none;
    display: block;
    user-select: none;
    pointer-events: none; /* purely decorative */
    filter: drop-shadow(0 18px 28px rgba(0,0,0,.18));
}

/* Hide laptop (we're ditching it) */
.ard-device-laptop {
    display: none !important;
}

/* iPad is the hero: big, laying down image */
.ard-device-ipad {
    position: absolute;
    left: calc(50% + var(--groupX));
    top: 50%;
    transform: translate(-55%, -50%);
    width: calc(clamp(420px, 70vw, 980px) * var(--deviceScale));
    z-index: 1;
}

/* Phone upright on the right, slightly smaller */
.ard-device-phone {
    position: absolute;
    left: calc(50% + var(--groupX));
    top: 50%;
    transform: translate(210px, -55%);
    width: calc(clamp(140px, 18vw, 260px) * var(--deviceScale));
    z-index: 2;
}

.ard-features-bridge {
    margin: 0.25rem auto 1.25rem auto;
    max-width: 860px;
    font-size: 1.05rem;
    line-height: 1.45;
    opacity: 0.92;
}

/* Responsive: tighter + stack-ish on small screens */
@media (max-width: 768px) {
    .ard-devices-grid {
        height: clamp(260px, 60vw, 420px);
    }

    .ard-device-ipad {
        transform: translate(-50%, -50%);
        width: calc(min(92vw, 740px) * var(--deviceScale));
    }

    .ard-device-phone {
        transform: translate(120px, -45%);
        width: calc(clamp(120px, 26vw, 210px) * var(--deviceScale));
    }
}

@media (max-width: 420px) {
    .ard-device-phone {
        transform: translate(90px, -40%);
        width: calc(clamp(110px, 34vw, 190px) * var(--deviceScale));
    }
}

/* Pricing: tighten list spacing */
.pricing ul li {
    padding: 5px 0;
}

.pricing .pricing-item {
    padding-bottom: 10px !important
}

/* About Page */

/* =========================
   About Page (DROP-IN)
   ========================= */

/* Optional: tiny background wash for the section (very subtle) */
#about {
    background: radial-gradient(1200px 600px at 50% -10%, rgba(0,91,105,.07), rgba(255,255,255,0) 60%);
}

/* Title row */
.ard-about-titlewrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 6px;
}

/* NEW: logo “badge” so it feels intentional, not like a tiny stamp */
.ard-about-mark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0,91,105,.10), rgba(0,0,0,0));
    border: 1px solid rgba(0,91,105,.18);
    box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

/* Logo sizing (small but crisp) */
.ard-about-logo {
    width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    object-fit: contain;
    display: block;
    opacity: .98;
}

.ard-about-tagline {
    margin: 0 auto;
    max-width: 760px;
    font-size: 1.05rem;
}

.ard-about-lead {
    margin-top: 10px;
    font-size: 1.05rem;
    line-height: 1.65;
    text-align: center;
}

/* Cards / panels (slightly “cleaner” border + a touch more depth) */
.ard-about-card,
.ard-about-panel {
    border: 1px solid rgba(0,91,105,.12);
    border-radius: 16px;
    padding: 22px 20px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(0,0,0,.045);
    height: 100%;
    position: relative;
    overflow: hidden;
}

    /* Thin accent bar */
    .ard-about-card::before,
    .ard-about-panel::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: rgba(0,91,105,.55);
    }

/* Icon chip */
.ard-about-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,91,105,.10);
    margin-bottom: 14px;
}

    .ard-about-icon i {
        font-size: 22px;
        color: rgba(0,91,105,.95);
    }

/* Lists */
.ard-about-list {
    list-style: none;
    padding-left: 0;
    margin: 12px 0 0;
}

    .ard-about-list li {
        display: flex;
        gap: 10px;
        padding: 7px 0;
        align-items: flex-start;
    }

        .ard-about-list li i {
            font-size: 18px;
            line-height: 1.2;
            color: #005b69;
            margin-top: 2px;
        }

/* CTA panel */
.ard-about-cta {
    border: 1px solid rgba(0,91,105,.12);
    border-radius: 18px;
    padding: 24px 22px;
    background: linear-gradient(180deg, rgba(0,91,105,.06), rgba(255,255,255,0));
}

/* Links */
.ard-about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.ard-about-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0,91,105,.18);
    background: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* Optional: tiny hover polish (only where hover exists) */
@media (hover:hover) {
    .ard-about-card:hover,
    .ard-about-panel:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(0,0,0,.08);
    }
}

/* footer */

.footer .copyright {
    padding: 18px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

    .footer .copyright strong {
        font-weight: 600;
    }
