﻿:root {
    /* Dark phthalo green themed palette */
    --bg: #001a14;        /* deep green-black */
    --surface: #021c16;   /* slightly lighter green-black for cards/sections */
    --primary: #0ef5d7;
    --accent: #2ab4ff;
    --ember: #ff8f5c;
    --shadow: rgba(0, 0, 0, 0.7);
    --muted: #9bb5ad;     /* muted greenish-grey for better contrast */
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    /* Replace any lighter tones with a deep phthalo green gradient */
    background: radial-gradient(circle at 20% 0%, rgba(0, 70, 55, 0.25), transparent 40%),
                linear-gradient(150deg, #001a14 0%, #00201a 50%, #001511 100%);
    color: white;
    min-height: 100vh;
    position: relative;
}

.orb {
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(65px);
    z-index: 0;
    opacity: 0.75;
}

.orb-one {
    background: radial-gradient(circle, rgba(14, 245, 215, 0.6), transparent 70%);
    top: -80px;
    right: -120px;
}

.orb-two {
    /* tone down warm glow to avoid apparent light patches */
    background: radial-gradient(circle, rgba(0, 60, 48, 0.55), transparent 65%);
    bottom: -80px;
    left: -100px;
}

.hero {
    padding: clamp(1.5rem, 3vw, 3rem);
    position: relative;
    z-index: 1;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-mark {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #020203;
}

.logo-tag {
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.logo-sub {
    margin: 0;
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-nav {
    display: flex;
    gap: 0.5rem;
}

.hero-nav button {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
    border-radius: 999px;
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(1.4rem, 4vw, 2.3rem);
    margin-bottom: 1rem;
}

.hero-copy .subhead {
    color: var(--muted);
    margin-bottom: 1.5rem;
    max-width: 50ch;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

button {
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    letter-spacing: 0.06em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta {
    background: linear-gradient(120deg, var(--primary), var(--accent));
    color: #020203;
    font-weight: 600;
    box-shadow: 0 15px 45px rgba(14, 245, 215, 0.35);
}

.cta:hover {
    transform: translateY(-2px);
}

.ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: white;
}

.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(3, 3, 3, 0.95), rgba(10, 10, 10, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    box-shadow: 0 30px 60px var(--shadow);
}

.hero-card h2 {
    margin: 0.5rem 0;
    font-size: 2rem;
}

.pulse-ring {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: absolute;
    animation: pulse 6s ease-in-out infinite;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.7rem;
    margin: 1rem auto;
    width: 60px;
}

.scroll-indicator .line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary), transparent);
    animation: scrollLine 1.5s infinite;
}

main {
    padding: 0 clamp(1rem, 3vw, 3rem) 4rem;
}

section {
    margin-bottom: 4rem;
    background: var(--surface);
    border-radius: 32px;
    padding: clamp(1.5rem, 3vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px var(--shadow);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-heading h2 {
    margin: 0.2rem 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-heading p {
    color: var(--muted);
    margin: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-grid article {
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 180px;
}

.package-card ul {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.package-card li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.package-card small {
    display: block;
    font-size: 0.7rem;
    color: var(--muted);
}

.breakdown-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.breakdown-grid div {
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.01);
}

.gallery-window {
    margin-top: 2rem;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    animation: galleryScroll 35s linear infinite;
}

.gallery-track figure {
    width: 220px;
    margin: 0;
    min-width: 220px;
    text-align: center;
}

.gallery-track img {
    width: 100%;
    height: 132px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.gallery-track figcaption {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.portfolio-grid article {
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-grid article .screenshot {
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    text-align: center;
}

.portfolio-grid img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-grid p {
    margin: 0.8rem 0 0;
    color: var(--muted);
}

.caption {
    font-size: 0.8rem;
}

.cta-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(14, 245, 215, 0.15), rgba(255, 143, 92, 0.12));
}

.cta-panel h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.cta-panel p {
    color: var(--muted);
}

.contact {
    background: linear-gradient(160deg, rgba(2, 2, 4, 0.85), rgba(10, 11, 16, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-card {
    display: grid;
    gap: 0.6rem;
    text-align: center;
    align-items: center;
    max-width: 640px;
    margin: 0 auto;
}

.contact-sub {
    margin: 0;
    color: var(--muted);
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.contact a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom: 0.15rem;
}

.contact a:hover {
    border-bottom-color: var(--primary);
}

.microcopy {
    margin-top: 1rem;
    display: grid;
    gap: 0.7rem;
    font-size: 10pt;
    line-height: 1.6;
    color: var(--muted);
    text-align: left;
}

.site-footer {
    padding: 2.5rem clamp(1.5rem, 3vw, 3rem) 2rem;
    background: linear-gradient(160deg, rgba(2, 2, 4, 0.9), rgba(10, 11, 16, 0.95));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: -1rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(14, 245, 215, 0.08), transparent 35%),
        radial-gradient(circle at 80% 0%, rgba(255, 143, 92, 0.08), transparent 40%);
    pointer-events: none;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.footer-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #020203;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-title {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.footer-tag {
    margin: 0.1rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-links {
    display: grid;
    gap: 0.35rem;
    align-content: start;
}

.footer-heading {
    margin: 0;
    color: white;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 0.1rem;
    width: fit-content;
}

.footer-links a:hover {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.35);
}

.footer-bottom {
    margin-top: 1.8rem;
    color: var(--muted);
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

@keyframes galleryScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.5;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.5;
    }
}

@keyframes scrollLine {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(15px);
    }
}

@media (max-width: 768px) {
    .hero-top {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-body {
        grid-template-columns: 1fr;
    }

    section {
        padding: 1.5rem;
    }

    .cta-panel {
        flex-direction: column;
        gap: 1rem;
    }

    .gallery-track {
        flex-wrap: nowrap;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .microcopy {
        text-align: center;
    }
}
