/* =========================
   MEDIEU — DESIGN SYSTEM
========================= */

:root {
    --background: #0b1020;
    --surface: #11182b;
    --surface-light: #161f35;
    --border: rgba(255, 255, 255, 0.09);

    --text: #f2f5ff;
    --muted: #929db6;

    --accent: #8b9dff;
    --accent-bright: #a4b1ff;
    --accent-glow: rgba(139, 157, 255, 0.15);

    --radius: 18px;
    --container: 1120px;
}


/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding: 110px 0;
}


/* =========================
   HEADER
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 16, 32, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-icon,
.brand-icon svg {
    display: block;
    width: 39px;
    height: 39px;
}

.brand-icon {
    color: var(--accent);
}

.brand-name {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -1.2px;
}

.brand-name > span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a,
.footer-links a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--text);
}

.nav-button {
    padding: 10px 17px;
    border: 1px solid var(--border);
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    transition: 0.25s ease;
}

.nav-button span {
    margin-left: 8px;
    color: var(--accent);
}

.nav-button:hover {
    background: var(--surface-light);
    border-color: var(--accent);
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 95px;
    border-bottom: 1px solid var(--border);
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    top: -250px;
    right: 5%;
    border-radius: 50%;
    background: rgba(107, 126, 255, 0.12);
    filter: blur(100px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 13px;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: #c5cfff;
    font-size: 11px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.025);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8ee4b2;
    box-shadow: 0 0 12px rgba(142, 228, 178, 0.5);
}

.hero h1 {
    margin-top: 29px;
    font-size: clamp(45px, 7vw, 83px);
    line-height: 1.1;
    letter-spacing: -5px;
    font-weight: 800;
}

.hero h1 span,
.about-grid h2 span,
.contact-intro h2 span {
    color: var(--accent);
}

.hero-description {
    max-width: 560px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 13px 19px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease;
}

.primary-button {
    color: #0b1020;
    background: var(--accent);
}

.primary-button:hover {
    background: var(--accent-bright);
    transform: translateY(-2px);
}

.secondary-button {
    border: 1px solid var(--border);
    color: var(--text);
}

.secondary-button:hover {
    background: var(--surface-light);
    transform: translateY(-2px);
}

.hero-decoration {
    width: fit-content;
    max-width: 100%;
    margin-top: 65px;
    padding: 21px 25px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(17, 24, 43, 0.7);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.code-line {
    display: block;
    color: #d5dcff;
    font-family: monospace;
    font-size: 12px;
    line-height: 2.1;
}

.code-line > span {
    margin-right: 17px;
    color: #66718d;
}

.code-line.indent {
    padding-left: 22px;
    color: var(--accent);
}


/* =========================
   SECTION LABELS
========================= */

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-label > span {
    width: 19px;
    height: 2px;
    background: var(--accent);
}


/* =========================
   ABOUT
========================= */

.about-section {
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: start;
}

.about-grid h2,
.contact-intro h2,
.location-heading h2 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -2px;
}

.about-copy {
    padding-top: 6px;
}

.about-copy p {
    margin-bottom: 17px;
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 65px;
}

.feature-card {
    padding: 28px 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.035),
        rgba(255, 255, 255, 0.008)
    );
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 157, 255, 0.45);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    margin-bottom: 23px;
    border-radius: 12px;
    color: var(--accent);
    background: var(--accent-glow);
    font-size: 19px;
    font-weight: 700;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 15px;
}

.feature-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}


/* =========================
   CONTACT
========================= */

.contact-section {
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(
            ellipse at 0% 50%,
            rgba(139, 157, 255, 0.045),
            transparent 45%
        );
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 75px;
}

.contact-intro > p {
    max-width: 420px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

.contact-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 38px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.note-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 11px;
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 18px;
}

.contact-note strong {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
}

.contact-note p {
    color: var(--muted);
    font-size: 11px;
}

.contact-form {
    padding: 31px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(17, 24, 43, 0.75);
}

.form-heading {
    margin-bottom: 27px;
}

.form-heading h3 {
    margin-bottom: 5px;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.form-heading p {
    color: var(--muted);
    font-size: 12px;
}

.form-group {
    margin-bottom: 21px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    font-size: 12px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: none;
    background: #0c1325;
    color: var(--text);
    font-size: 12px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64708b;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 157, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 135px;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 17px;
    border: none;
    border-radius: 9px;
    background: var(--accent);
    color: #0b1020;
    cursor: pointer;
    font-size: 12px;
    font-weight: 750;
    transition: background 0.25s ease, transform 0.25s ease;
}

.submit-button:hover {
    background: var(--accent-bright);
    transform: translateY(-2px);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.button-arrow {
    font-size: 17px;
}

.form-disclaimer {
    margin-top: 13px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
    text-align: center;
}

.form-feedback {
    display: none;
    margin-top: 15px;
    padding: 11px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.7;
}

.form-feedback.visible {
    display: block;
}

.form-feedback.success {
    color: #a7f3c4;
    background: rgba(74, 222, 128, 0.08);
}

.form-feedback.error {
    color: #ffb4b4;
    background: rgba(248, 113, 113, 0.08);
}


/* =========================
   LOCATION
========================= */

.location-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
    margin-bottom: 32px;
}

.location-heading h2 {
    font-size: clamp(27px, 3.5vw, 39px);
}

.location-heading h2 > span {
    color: var(--accent);
}

.location-heading p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
}

.map-link {
    flex-shrink: 0;
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.map-link:hover {
    color: var(--accent-bright);
}

.map-container {
    position: relative;
    height: 370px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--surface);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.8) invert(0.9) hue-rotate(180deg) brightness(0.85);
}

.map-address {
    position: absolute;
    bottom: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: calc(100% - 36px);
    padding: 13px 17px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(11, 16, 32, 0.94);
    backdrop-filter: blur(12px);
}

.location-pin {
    color: var(--accent);
    font-size: 25px;
}

.map-address strong {
    font-size: 12px;
}

.map-address p {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}


/* =========================
   FOOTER
========================= */

.footer {
    padding: 35px 0 20px;
    border-top: 1px solid var(--border);
    background: #090e1b;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    padding-bottom: 30px;
}

.footer-brand .brand-icon,
.footer-brand .brand-icon svg {
    width: 34px;
    height: 34px;
}

.footer-brand .brand-name {
    font-size: 20px;
}

.footer-tagline {
    color: var(--muted);
    font-size: 11px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 23px;
}

.footer-links a {
    font-size: 11px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: #75809a;
    font-size: 10px;
}

.heart {
    color: #ff8da1;
}


/* =========================
   RESPONSIVE DESIGN
========================= */

@media (min-width: 1400px) {
    :root {
        --container: 1160px;
    }
}

@media (max-width: 900px) {
    .section {
        padding: 85px 0;
    }

    .about-grid {
        gap: 35px;
    }

    .contact-grid {
        gap: 35px;
    }

    .feature-grid {
        gap: 14px;
    }

    .feature-card {
        padding: 22px 18px;
    }

    .footer-main {
        gap: 20px;
    }
}

@media (max-width: 680px) {
    .container {
        width: calc(100% - 36px);
    }

    .section {
        padding: 70px 0;
    }

    .navbar {
        min-height: 70px;
        gap: 12px;
    }

    .brand {
        gap: 8px;
    }

    .brand-icon,
    .brand-icon svg {
        width: 33px;
        height: 33px;
    }

    .brand-name {
        font-size: 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-button {
        padding: 9px 11px;
        font-size: 10px;
    }

    .hero {
        padding: 85px 0 65px;
    }

    .hero h1 {
        font-size: clamp(43px, 10vw, 62px);
        letter-spacing: -2.7px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-decoration {
        margin-top: 45px;
        padding: 16px;
        overflow-x: auto;
    }

    .code-line {
        font-size: 10px;
        white-space: nowrap;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-grid h2,
    .contact-intro h2 {
        font-size: 36px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .feature-card {
        padding: 23px;
    }

    .feature-icon {
        margin-bottom: 15px;
    }

    .contact-form {
        padding: 23px 18px;
    }

    .location-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .map-container {
        height: 330px;
    }

    .map-address {
        bottom: 12px;
        left: 12px;
        padding: 10px 12px;
    }

    .footer-main {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .footer-links {
        gap: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}