﻿@charset "utf-8";

:root {
    --primary: #00d8b3;
    --secondary: #ffbe55;
    --accent: #5ea8ff;
    --dark-1: #08131f;
    --dark-2: #102033;
    --dark-3: #13283f;
    --text: #f8fbff;
    --muted: rgba(231, 242, 255, 0.72);
    --glass-bg: rgba(255, 255, 255, 0.045);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glow-primary: rgba(0, 216, 179, 0.35);
    --glow-secondary: rgba(255, 190, 85, 0.28);
    --glow-accent: rgba(94, 168, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 20% 20%, #142c45 0%, var(--dark-1) 42%), var(--dark-1);
    overflow-x: hidden;
}

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

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

.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    animation: float 18s ease-in-out infinite;
}

.orb-1 {
    width: 520px;
    height: 520px;
    top: -180px;
    left: -140px;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 68%);
}

.orb-2 {
    width: 460px;
    height: 460px;
    bottom: -150px;
    right: -130px;
    background: radial-gradient(circle, var(--glow-secondary) 0%, transparent 68%);
    animation-delay: -6s;
}

.orb-3 {
    width: 380px;
    height: 380px;
    top: 40%;
    left: 55%;
    background: radial-gradient(circle, var(--glow-accent) 0%, transparent 68%);
    animation-delay: -11s;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(35px, -30px) scale(1.05); }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 19, 31, 0.9);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
}

.nav-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-stack {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
}

.text-logo-main {
    font-family: "Syne", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffffff;
}

.text-logo-sub {
    font-size: 0.64rem;
    letter-spacing: 0.2em;
    color: var(--secondary);
    margin-top: 0.2rem;
    font-weight: 700;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.nav-link,
.dropdown-toggle {
    border: 0;
    background: transparent;
    font: inherit;
    color: rgba(232, 244, 255, 0.84);
    font-size: 0.94rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: color 0.25s ease;
}

.nav-link:hover,
.dropdown-toggle:hover,
.nav-link.active,
.has-dropdown.open > .dropdown-toggle {
    color: #fff;
}

.nav-cta {
    padding: 0.48rem 0.95rem;
    border: 1px solid rgba(255, 190, 85, 0.55);
    border-radius: 999px;
    color: var(--secondary);
}

.has-dropdown {
    position: relative;
}

.dropdown-toggle i {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.has-dropdown.open .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    list-style: none;
    padding: 0.45rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(16, 32, 51, 0.97);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
}

.dropdown-menu a {
    display: block;
    padding: 0.58rem 0.62rem;
    border-radius: 8px;
    color: var(--muted);
}

.dropdown-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.has-dropdown.open .dropdown-menu,
.has-dropdown:hover .dropdown-menu {
    display: block;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 21px;
    height: 2px;
    background: #fff;
}

main {
    position: relative;
    z-index: 5;
    padding-top: 84px;
}

.container-standard {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

section {
    padding: 6rem 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    padding: 0.45rem 1rem;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.74rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.hero-title,
.section-title {
    font-family: "Syne", sans-serif;
    letter-spacing: -0.02em;
}

.hero-title {
    font-size: clamp(2.1rem, 5vw, 3.8rem);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-description {
    color: var(--muted);
    max-width: 60ch;
    margin-bottom: 1.4rem;
}

.hero-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.7rem;
}

.btn {
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.72rem 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.btn-primary {
    color: #042017;
    background: linear-gradient(135deg, var(--primary), #67ffd9);
    box-shadow: 0 12px 26px rgba(0, 216, 179, 0.3);
}

.btn-secondary {
    color: #fff;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.06);
}

.btn-full {
    width: 100%;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.hero-metrics div {
    border: 1px solid var(--glass-border);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.8rem;
}

.hero-metrics strong {
    display: block;
    font-family: "Syne", sans-serif;
    font-size: 1.1rem;
    color: var(--secondary);
}

.hero-metrics span {
    color: var(--muted);
    font-size: 0.86rem;
}

.hero-media {
    position: relative;
}

.img-fluid {
    width: 100%;
    height: auto;
    border-radius: 22px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.35);
}

.floating-note {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    background: rgba(8, 19, 31, 0.9);
    font-size: 0.84rem;
}

.floating-note i {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.note-a { top: 8%; left: -6%; }
.note-b { bottom: 10%; right: -5%; }

.services-section,
.contact-section {
    background: rgba(255, 255, 255, 0.02);
}

.section-header-center {
    text-align: center;
    margin-bottom: 2.2rem;
}

.section-title {
    font-size: clamp(1.9rem, 3.3vw, 3rem);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 216, 179, 0.55);
}

.service-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.service-content {
    padding: 1rem;
}

.service-content h3 {
    margin-bottom: 0.4rem;
}

.service-content p {
    color: var(--muted);
    font-size: 0.94rem;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.work-item {
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    overflow: hidden;
    background: var(--glass-bg);
}

.work-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.about-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.5rem;
    align-items: center;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 0.9rem;
}

.contact-layout .section-header-center {
    margin-bottom: 1.4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
}

.contact-form,
.contact-info {
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    padding: 1rem;
}

.form-group {
    margin-bottom: 0.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    font: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 216, 179, 0.2);
}

.form-message {
    margin-top: 0.65rem;
    font-weight: 600;
    color: var(--muted);
}

.form-message.success { color: #8dffd1; }
.form-message.error { color: #ff9f8f; }

.contact-item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-item:last-child { margin-bottom: 0; }

.contact-item i {
    width: 18px;
    height: 18px;
    color: var(--secondary);
    margin-top: 0.15rem;
}

.contact-item h4 {
    font-size: 0.96rem;
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: var(--muted);
    font-size: 0.9rem;
}

.footer {
    position: relative;
    z-index: 5;
    border-top: 1px solid var(--glass-border);
    padding: 2.4rem 0;
    background: rgba(8, 19, 31, 0.86);
}

.footer-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.5rem;
}

.footer-brand-name {
    font-family: "Syne", sans-serif;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    letter-spacing: 0.08em;
}

.footer-brand-sub {
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    color: var(--secondary);
    margin-bottom: 0.45rem;
    font-weight: 700;
}

.footer-brand-block span {
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-links-group h4 {
    margin-bottom: 0.55rem;
    color: var(--secondary);
}

.footer-links-group ul {
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.footer-links-group a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.footer-links-group a:hover {
    color: #fff;
}

.legal-main {
    padding: 8rem 0 4rem;
}

.legal-card {
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    padding: 1.6rem;
}

.legal-card h1 {
    font-family: "Syne", sans-serif;
    margin-bottom: 0.4rem;
}

.legal-card .updated {
    color: var(--muted);
    margin-bottom: 1rem;
}

.legal-card h2 {
    margin-top: 1.1rem;
    margin-bottom: 0.45rem;
}

.legal-card p,
.legal-card li {
    color: var(--muted);
}

.legal-card ul {
    margin-left: 1.2rem;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1040px) {
    .hero-layout,
    .about-layout,
    .contact-grid,
    .footer-layout {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .note-a,
    .note-b {
        position: static;
        margin-top: 0.7rem;
    }
}

@media (max-width: 820px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        gap: 0.2rem;
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        padding: 0.6rem;
        background: rgba(16, 32, 51, 0.98);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-link,
    .dropdown-toggle,
    .nav-cta {
        width: 100%;
        border-radius: 8px;
        padding: 0.52rem 0.58rem;
        justify-content: space-between;
    }

    .nav-cta {
        border: 1px solid rgba(255, 190, 85, 0.5);
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 0.2rem;
        background: rgba(8, 19, 31, 0.85);
        border-color: rgba(255, 255, 255, 0.18);
    }

    .has-dropdown:hover .dropdown-menu {
        display: none;
    }

    .has-dropdown.open .dropdown-menu {
        display: block;
    }
}

@media (max-width: 640px) {
    section {
        padding: 4.6rem 0;
    }

    .services-grid,
    .work-grid,
    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}
