/* ==============================
   GOGSON LLC — Landing Page Styles
   Dark corporate theme with blue accent
   ============================== */

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

:root {
    /* Colors */
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #141c2b;
    --bg-card-hover: #1a2540;
    --accent: #00a3ff;
    --accent-dark: #0070cc;
    --accent-glow: rgba(0, 163, 255, 0.15);
    --accent-glow-strong: rgba(0, 163, 255, 0.3);
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(0, 163, 255, 0.2);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-py: 100px;
    --section-py-mobile: 64px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

/* ---------- CONTAINER ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow-strong);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

/* ---------- SECTION TITLE ---------- */
.section__title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    letter-spacing: -0.02em;
}

.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    border-radius: 3px;
    margin: 16px auto 0;
}

.section__subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 56px;
    line-height: 1.7;
}

/* When section__title is the only heading (no subtitle), add bottom spacing */
.services .section__title,
.about__content .section__title {
    margin-bottom: 56px;
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo__img {
    height: 44px;
    width: auto;
    filter: invert(1) drop-shadow(0 0 8px rgba(0, 163, 255, 0.3));
    transition: filter var(--transition), transform var(--transition);
}

.logo:hover .logo__img {
    filter: invert(1) drop-shadow(0 0 14px rgba(0, 163, 255, 0.5));
    transform: scale(1.05);
}

.logo__img--footer {
    height: 36px;
}

/* Navigation */
.nav__list {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--accent);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.header__cta {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* Mobile extras hidden on desktop */
.nav__mobile-extras {
    display: none;
}

.nav__backdrop {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1003;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 60%, rgba(0, 163, 255, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 30%, rgba(0, 112, 204, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 100% 100% at 50% 100%, rgba(0, 163, 255, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #080c18 0%, #0d1525 40%, #0a0e1a 100%);
    z-index: 0;
}

.hero__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

/* Animated grid lines on hero */
.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 163, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 163, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 50% at 40% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 40% 50%, black 20%, transparent 70%);
    animation: grid-drift 20s linear infinite;
    z-index: 1;
}

@keyframes grid-drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 26, 0.6) 0%,
            rgba(10, 14, 26, 0.85) 60%,
            var(--bg-primary) 100%);
    z-index: 1;
}

.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero__content {
    max-width: 700px;
}

.hero__title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #c8d6e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero__cta {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 20px var(--accent-glow);
    }

    50% {
        box-shadow: 0 4px 40px var(--accent-glow-strong);
    }
}

/* ---------- SERVICES ---------- */
.services {
    padding: var(--section-py) 0;
    background: var(--bg-secondary);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.4;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    color: var(--accent);
    margin-bottom: 24px;
    transition: all var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--accent-glow-strong);
    transform: scale(1.05);
}

.service-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- ABOUT ---------- */
.about {
    padding: var(--section-py) 0;
    background: var(--bg-primary);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__content .section__title {
    text-align: left;
}

.about__content .section__title::after {
    margin: 16px 0 0;
}

.about__text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat__number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat__label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.about__image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 360px;
}

.about__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 163, 255, 0.08) 0%, rgba(10, 14, 26, 0.3) 100%);
    pointer-events: none;
}

/* ---------- PROCESS ---------- */
.process {
    padding: var(--section-py) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 163, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.process__timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease;
    will-change: transform;
    display: flex;
    flex-direction: column;
}

.process__card:hover {
    border-color: var(--border-accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--accent-glow);
}

.process__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0;
    transition: opacity var(--transition);
}

.process__card:hover::before {
    opacity: 1;
}

.process__card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.process__number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.25;
    line-height: 1;
    letter-spacing: -0.02em;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.process__card:hover .process__number {
    opacity: 0.5;
}

.process__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    color: var(--accent);
    transition:
        background 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.process__card:hover .process__icon {
    background: var(--accent-glow-strong);
    transform: scale(1.05);
}

.process__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.process__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.process__arrow {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 16px;
    color: var(--accent);
    opacity: 0.3;
    transition: opacity var(--transition);
}

.process__card:hover .process__arrow {
    opacity: 0.7;
}

.process__card:last-child .process__arrow {
    display: none;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding-top: 64px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer__tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 280px;
    line-height: 1.6;
}

.footer__heading {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer__link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color var(--transition);
}

.footer__link:hover {
    color: var(--accent);
}

.footer__address {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer__social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--accent-glow);
    border-color: var(--border-accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.footer__bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
}

.footer__bottom-inner {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---------- ANIMATIONS ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Particle animation */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 8s infinite ease-in-out;
}

@keyframes float-particle {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }

    20% {
        opacity: 0.6;
    }

    80% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: translateY(-200px) scale(1);
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 2.8rem;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process__timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .process__card:nth-child(2) .process__arrow,
    .process__card:last-child .process__arrow {
        display: none;
    }

    .about__inner {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: var(--section-py-mobile);
    }

    .section__title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    /* Header Mobile */
    .hamburger {
        display: flex;
    }

    .header__cta {
        display: none;
    }

    .logo__img {
        height: 36px;
    }

    /* ===== SLIDE-IN MOBILE DRAWER ===== */
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 14, 26, 0.92);
        backdrop-filter: blur(30px) saturate(1.6);
        -webkit-backdrop-filter: blur(30px) saturate(1.6);
        border-left: 1px solid rgba(0, 163, 255, 0.12);
        display: flex;
        flex-direction: column;
        padding: 100px 32px 40px;
        z-index: 1002;
        transform: translateX(100%);
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.15, 1);
        overflow-y: auto;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    }

    .nav.open {
        transform: translateX(0);
    }

    /* Backdrop overlay */
    .nav__backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .nav__backdrop.visible {
        opacity: 1;
        visibility: visible;
    }

    /* Nav links in drawer */
    .nav__list {
        flex-direction: column;
        gap: 0;
    }

    .nav__list li {
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .nav.open .nav__list li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav__link {
        font-size: 1.2rem;
        font-weight: 600;
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        color: var(--text-secondary);
        transition: color 0.3s ease, padding-left 0.3s ease;
    }

    .nav__link:hover,
    .nav__link.active {
        color: var(--accent);
        padding-left: 8px;
    }

    .nav__link::after {
        display: none;
    }

    /* Mobile extras */
    .nav__mobile-extras {
        display: flex;
        flex-direction: column;
        gap: 28px;
        margin-top: auto;
        padding-top: 32px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease 0.35s, transform 0.5s ease 0.35s;
    }

    .nav.open .nav__mobile-extras {
        opacity: 1;
        transform: translateY(0);
    }

    .nav__mobile-cta {
        text-align: center;
        padding: 14px 24px;
        font-size: 1rem;
        border-radius: var(--radius-md);
    }

    .nav__mobile-contact {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .nav__mobile-contact-link {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.9rem;
        color: var(--text-secondary);
        transition: color 0.3s ease;
    }

    .nav__mobile-contact-link:hover {
        color: var(--accent);
    }

    .nav__mobile-social {
        display: flex;
        gap: 12px;
    }

    /* Hamburger active → X animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(10px);
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero__inner {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    /* Services Mobile */
    .services__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 28px 24px;
    }

    /* About Mobile */
    .about__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__content .section__title {
        text-align: center;
    }

    .about__content .section__title::after {
        margin: 16px auto 0;
    }

    .about__stats {
        justify-content: center;
    }

    /* Process Mobile */
    .process__timeline {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .process__arrow {
        display: none !important;
    }

    /* Footer Mobile */
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer__tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .footer__link,
    .footer__address {
        justify-content: center;
    }

    .footer__social-links {
        justify-content: center;
    }

    .logo--footer {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.7rem;
    }

    .btn--lg {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .about__stats {
        gap: 24px;
    }

    .stat__number {
        font-size: 1.8rem;
    }
}