/* ------------------------------------------------------------------
   Aqua-Info — homepage (intro/index.html)
   Self-contained modern stylesheet. Does not touch style.css, which
   is still used by the legacy about/gallery/services/contact pages.
------------------------------------------------------------------- */

:root {
    --navy-950: #050b1f;
    --navy-900: #071033;
    --brand-700: #07319b;
    --brand-500: #1450d6;
    --accent-400: #22d3ee;
    --accent-300: #5eead4;
    --ink-900: #0b1220;
    --ink-600: #57647a;
    --paper: #ffffff;
    --paper-soft: #f2f7ff;
    --radius-lg: 28px;
    --radius-md: 18px;
    --shadow-soft: 0 24px 60px -24px rgba(7, 20, 60, .35);
    --shadow-btn: 0 14px 30px -12px rgba(20, 80, 214, .55);
    --ease: cubic-bezier(.22, .68, 0, 1.01);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--ink-600);
    background: var(--paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-500);
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-400), var(--brand-500));
}

h1, h2, h3 {
    margin: 0;
    color: var(--ink-900);
    font-weight: 700;
    line-height: 1.15;
}

.section-title {
    font-size: clamp(26px, 3.4vw, 38px);
    margin: 14px 0 18px;
}

.section-text {
    font-size: 16px;
    line-height: 1.85;
    font-weight: 300;
    max-width: 46ch;
}

/* ---------- buttons ---------- */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform .35s var(--ease);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(120deg, var(--brand-700), var(--brand-500) 55%, var(--accent-400));
    background-size: 180% 180%;
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    background-position: 100% 0;
    box-shadow: 0 20px 40px -14px rgba(20, 80, 214, .65);
}

.btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .35);
    backdrop-filter: blur(6px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .6);
}

.btn-dark {
    color: #fff;
    background: var(--navy-900);
}

.btn-dark:hover {
    background: var(--brand-700);
}

/* ---------- floating glass nav ---------- */

.site-nav {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 10px 14px 10px 18px;
    border-radius: 999px;
    background: rgba(5, 11, 31, .55);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 34px -16px rgba(0, 0, 0, .55);
    transition: background .35s ease, box-shadow .35s ease;
}

.site-nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #fff;
    font-size: 15px;
    letter-spacing: .01em;
}

.site-nav__brand img {
    height: 26px;
    width: auto;
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__links a {
    position: relative;
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
    font-weight: 500;
    padding: 4px 2px;
}

.site-nav__links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-400), var(--accent-300));
    transition: right .3s var(--ease);
}

.site-nav__links a:hover {
    color: #fff;
}

.site-nav__links a:hover::after {
    right: 0;
}

.site-nav .btn {
    padding: 10px 20px;
    font-size: 13px;
}

@media (max-width: 760px) {
    .site-nav__links {
        display: none;
    }

    .site-nav {
        gap: 14px;
    }
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
    overflow: hidden;
    background: radial-gradient(120% 140% at 15% 0%, #0c1c52 0%, var(--navy-950) 55%, #020614 100%);
    isolation: isolate;
}

.hero__aurora {
    position: absolute;
    inset: -20%;
    z-index: -2;
    pointer-events: none;
}

.hero__aurora span {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .55;
    animation: drift 22s ease-in-out infinite;
}

.hero__aurora span:nth-child(1) {
    width: 46vw;
    height: 46vw;
    top: -10%;
    left: -8%;
    background: radial-gradient(circle, var(--brand-500), transparent 70%);
}

.hero__aurora span:nth-child(2) {
    width: 38vw;
    height: 38vw;
    bottom: -14%;
    right: -6%;
    background: radial-gradient(circle, var(--accent-400), transparent 70%);
    animation-duration: 26s;
    animation-delay: -6s;
}

.hero__aurora span:nth-child(3) {
    width: 26vw;
    height: 26vw;
    top: 34%;
    left: 46%;
    background: radial-gradient(circle, var(--accent-300), transparent 72%);
    animation-duration: 18s;
    animation-delay: -3s;
    opacity: .35;
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(4%, -6%) scale(1.08);
    }
}

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

.hero__bubbles span {
    position: absolute;
    bottom: -10%;
    display: block;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .05) 70%);
    border: 1px solid rgba(255, 255, 255, .25);
    animation: rise linear infinite;
}

@keyframes rise {
    from {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: .8;
    }

    90% {
        opacity: .5;
    }

    to {
        transform: translateY(-115vh) translateX(30px);
        opacity: 0;
    }
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 40px;
}

.hero__logo {
    display: flex;
    justify-content: center;
    animation: float 5s ease-in-out infinite;
}

.hero__logo img {
    width: 100%;
    max-width: 300px;
    filter: drop-shadow(0 30px 45px rgba(0, 0, 0, .45));
}

@keyframes float {

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

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

.hero__title {
    font-size: clamp(44px, 6vw, 74px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.01em;
    background: linear-gradient(100deg, #ffffff 40%, var(--accent-300));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__text {
    margin: 22px 0 34px;
    max-width: 46ch;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(255, 255, 255, .82);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero__scroll svg {
    width: 18px;
    height: 18px;
    animation: bounce 1.8s ease-in-out infinite;
}

@keyframes bounce {

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

    50% {
        transform: translateY(8px);
        opacity: 1;
    }
}

.wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    line-height: 0;
}

.wave svg {
    width: 100%;
    height: 90px;
    display: block;
}

@media (max-width: 900px) {
    .hero {
        padding-top: 120px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__logo {
        order: -1;
    }

    .hero__logo img {
        max-width: 200px;
    }

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

    .hero__actions {
        justify-content: center;
    }
}

/* ---------- showcase sections ---------- */

.showcase-section {
    position: relative;
    padding: 110px 0;
}

.showcase-section--tint {
    background: var(--paper-soft);
}

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

.showcase--reverse .showcase__media {
    order: 2;
}

.showcase__media {
    position: relative;
    display: flex;
    justify-content: center;
}

.showcase__media::before {
    content: '';
    position: absolute;
    inset: 6%;
    z-index: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-400), var(--brand-500));
    filter: blur(60px);
    opacity: .28;
}

.showcase__media img {
    position: relative;
    z-index: 1;
    max-height: 380px;
    width: auto;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform .6s var(--ease);
}

.showcase:hover .showcase__media img {
    transform: translateY(-6px) scale(1.015);
}

.showcase__body .btn {
    margin-top: 30px;
}

@media (max-width: 860px) {
    .showcase, .showcase--reverse .showcase__media {
        order: initial;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .showcase {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 36px;
    }

    .section-text {
        margin-left: auto;
        margin-right: auto;
    }

    .eyebrow {
        justify-content: center;
    }
}

/* ---------- reveal-on-scroll ---------- */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1.is-visible { transition-delay: .1s; }
.reveal-delay-2.is-visible { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {

    .reveal,
    .hero__logo,
    .hero__aurora span,
    .hero__bubbles span,
    .hero__scroll svg {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ---------- footer ---------- */

.site-footer {
    position: relative;
    background: var(--navy-950);
    color: rgba(255, 255, 255, .65);
    padding: 70px 0 30px;
}

.site-footer__top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.site-footer__brand img {
    height: 32px;
}

.site-footer__links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.site-footer__links a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, .65);
    transition: color .3s ease;
}

.site-footer__links a:hover {
    color: var(--accent-300);
}

.site-footer__bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .4);
}

/* ---------- back to top ---------- */

.to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-700), var(--accent-400));
    color: #fff;
    box-shadow: var(--shadow-btn);
    opacity: 0;
    transform: translateY(12px) scale(.9);
    pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.to-top.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.to-top:hover {
    transform: translateY(-4px) scale(1.05);
}

.to-top svg {
    width: 18px;
    height: 18px;
}
