:root {
    --brand-blue: #005A9C;
    --brand-blue-dark: #004272;
    --accent-orange: #F28C28;
    --bg-main: #ffffff;
    --bg-light: #F8FAFC;
    --bg-alt: #F1F5F9;
    --bg-card: #ffffff;
    --text-main: #0F172A;
    --text-muted: #475569;
    --border-color: #E2E8F0;
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow-soft: 0 20px 40px rgba(0,0,0,0.08);
    --transition: all 0.35s ease;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-dark);
    background: #ffffff;
    line-height: 1.65;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5.5rem 0;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E2E8F0;
    z-index: 100;
}

.nav {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--brand-blue);
}

.logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-image: url('../images/logoliuham.png');
    background-size: cover; /* Ensures the image covers the entire element */
    background-position: center; /* Centers the image within the element */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    flex-shrink: 0;
}

    .logo-placeholder::after {
        font-size: 0.6rem;
        font-weight: 700;
        color: rgba(255,255,255,0.85);
        letter-spacing: 0.05em;
    }

.brand-text {
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

    .nav-links a {
        position: relative;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 0;
            height: 2px;
            background: var(--accent-orange);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

/* Hero */
.hero {
    background: linear-gradient(135deg, #F8FBFF, #FFFFFF);
    padding: 6.5rem 0 5.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

    .hero h1 span {
        color: var(--brand-blue);
    }

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--brand-blue);
    color: #fff;
    padding: 0.9rem 1.7rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 32px rgba(0,90,156,0.25);
    }

.btn-secondary {
    border: 1.5px solid var(--brand-blue);
    color: var(--brand-blue);
    padding: 0.9rem 1.7rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

    .btn-secondary:hover {
        background: var(--brand-blue);
        color: #fff;
    }

.hero-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.6rem;
    box-shadow: var(--shadow-soft);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.hero-card ul {
    list-style: none;
    display: grid;
    gap: 1.25rem;
}

.hero-card li {
    display: flex;
    gap: 0.8rem;
    font-weight: 500;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--accent-orange);
    border-radius: 50%;
    margin-top: 0.4rem;
}

/* Section header */
.section-header {
    max-width: 700px;
    margin: 0 auto 3.8rem;
    text-align: center;
}

    .section-header h2 {
        font-size: clamp(2.1rem, 3vw, 2.7rem);
        font-weight: 800;
        letter-spacing: -0.02em;
        margin-bottom: 1rem;
    }

    .section-header p {
        color: var(--text-muted);
        font-size: 1.05rem;
    }

/* Services */
#services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    transition: var(--transition);
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-soft);
    }

    .service-card h3 {
        font-size: 1.4rem;
        font-weight: 700;
        margin-bottom: 0.9rem;
        color: var(--brand-blue);
    }

    .service-card p {
        color: var(--text-muted);
        font-size: 0.95rem;
    }

/* Products */
#products {
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    transition: var(--transition);
    border-left: 4px solid var(--brand-blue);
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-soft);
    }

/*Metraen Product Logo*/
.product-logo-metra {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-image: url('../images/logometraen.png');
    background-size: cover; /* Ensures the image covers the entire element */
    background-position: center; /* Centers the image within the element */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    flex-shrink: 0;
}


/*A JAMES Admin Product Logo*/
.product-logo-aja {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-image: url('../images/logoajames.png');
    background-size: cover; /* Ensures the image covers the entire element */
    background-position: center; /* Centers the image within the element */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    flex-shrink: 0;
}


/*Norveq Product Logo*/
.product-logo-norveq {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-image: url('../images/logonorveq.png');
    background-size: cover; /* Ensures the image covers the entire element */
    background-position: center; /* Centers the image within the element */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    flex-shrink: 0;
}

.product-logo::after {
    font-size: 0.55rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.05em;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

    .product-meta span {
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        color: var(--accent-orange);
    }


.product-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--brand-blue);
}

.product-card span {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-orange);
    margin-bottom: 0.8rem;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Approach */
#approach {
    background: var(--bg-alt);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.approach-step {
    background: #fff;
    padding: 2.2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

    .approach-step span {
        font-weight: 800;
        color: var(--accent-orange);
        font-size: 0.9rem;
        letter-spacing: 0.08em;
    }

    .approach-step h4 {
        margin: 0.6rem 0 0.8rem;
        font-size: 1.25rem;
    }

    .approach-step p {
        color: var(--text-muted);
        font-size: 0.95rem;
    }

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
    color: #fff;
    padding: 5.5rem 1.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 3.5rem;
}

.contact-content h2 {
    font-size: clamp(2.1rem, 3vw, 2.9rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.contact-content p {
    max-width: 520px;
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 2.4rem;
}

.contact-btn {
    background: var(--accent-orange);
    color: #fff;
    padding: 1rem 1.9rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
}

    .contact-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 32px rgba(242,140,40,0.45);
    }

.contact-details {
    text-align: right;
    font-size: 0.95rem;
    opacity: 0.95;
}

    .contact-details h4 {
        font-size: 0.9rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 1rem;
        color: var(--accent-orange);
    }

    .contact-details address {
        font-style: normal;
        line-height: 1.7;
        margin-bottom: 0.9rem;
    }

.contact-email {
    font-weight: 600;
}

.footer-links {
    margin: 14px 0 14px 0;
}

footer {
    padding: 2.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid #E2E8F0;
}

@media (max-width: 900px) {
    .hero-grid,
    .services-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-main: #0B1220;
        --bg-light: #0F172A;
        --bg-alt: #020617;
        --bg-card: #020617;
        --text-main: #E5E7EB;
        --text-muted: #94A3B8;
        --border-color: #1E293B;
        --shadow-soft: 0 20px 40px rgba(0,0,0,0.6);
    }

    body {
        background: var(--bg-main);
        color: var(--text-main);
    }

    header {
        background: rgba(2, 6, 23, 0.85);
        border-bottom: 1px solid var(--border-color);
    }

    section,
    #services,
    #products,
    #approach {
        background: var(--bg-light);
    }

    .hero {
        background: linear-gradient(135deg, #020617, #0B1220);
    }

    .hero-card,
    .service-card,
    .product-card,
    .approach-step {
        background: var(--bg-card);
        border-color: var(--border-color);
    }

    footer {
        border-top: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    header {
        position: relative;
    }

    .nav {
        flex-wrap: wrap;
        height: auto;
        gap: 1rem;
        padding: 1rem 0;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 1.25rem;
        flex-wrap: wrap;
        font-size: 0.95rem;
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-group {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-details {
        text-align: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    .services-grid,
    .products-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-card {
        padding: 2rem;
    }
}

 
/* Store chips container */
.store-chips {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

/* Base chip */
.store-chip {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-card);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
}

    /* Hover effect */
    .store-chip:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    }

    /* Microsoft Store logo */
    .store-chip.ms-store {
        background-image: url('../images/logoappstore.png');
    }

    /* Google Play logo */
    .store-chip.g-play {
        background-image: url('../images/logoplaystore.png');
    }

/* Dark mode refinement */
@media (prefers-color-scheme: dark) {
    .store-chip {
        background-color: #020617;
        border-color: #1E293B;
        box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    }
}
 

/* Gradient animated button */
.site-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 12px auto;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
    box-shadow: 0 8px 20px rgba(0, 90, 156, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

    /* Hover / focus effects */
    .site-pill:hover {
        transform: translateY(-1px) scale(1.02);
        box-shadow: 0 4px 12px rgba(0, 90, 156, 0.45);
    }

    /* Gradient animation on hover */
    .site-pill::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient( 10deg, rgba(255,255,255,0.15), rgba(255,255,255,0) 10% );
        transform: rotate(25deg);
        transition: transform 0.5s ease;
        pointer-events: none;
    }

    .site-pill:hover::before {
        transform: rotate(25deg) translateX(20px);
    }

    /* Subtle bounce animation on click */
    .site-pill:active {
        transform: translateY(1px) scale(0.18);
    }

    /* Keyboard accessibility */
    .site-pill:focus-visible {
        outline: 2px solid var(--accent-orange);
        outline-offset: 3px;
    }

/* Dark mode refinement */
@media (prefers-color-scheme: dark) {
    .site-pill {
        box-shadow: 0 12px 30px rgba(0,0,0,0.6);
    }
}
