:root {
    --bg-main: #060407;
    --bg-card: #221932;
    --accent: #722548;
    --accent-soft: #9882B9;
    --text: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.74);
    --line: rgba(152, 130, 185, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(114, 37, 72, 0.22), transparent 32%),
        radial-gradient(circle at top right, rgba(152, 130, 185, 0.12), transparent 28%),
        linear-gradient(180deg, #0b0710 0%, var(--bg-main) 100%);
    color: var(--text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================= HEADER ================= */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px clamp(18px, 4vw, 60px);
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.brand-mark {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    box-shadow: 0 0 16px rgba(152, 130, 185, 0.55);
}

.brand-text {
    font-size: 1.08rem;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

nav a {
    padding: 10px 17px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-soft);
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
    transition: 0.25s ease;
}

nav a:hover,
nav a.active {
    color: white;
    background: rgba(114, 37, 72, 0.28);
    border-color: var(--line);
    box-shadow: 0 0 15px rgba(152, 130, 185, 0.25);
    transform: translateY(-2px);
}

/* ================= HERO ================= */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(40px, 6vw, 80px);
    gap: 50px;
}

.text {
    width: 100%;
    max-width: 540px;
    padding: clamp(28px, 4vw, 42px);
    border-radius: 24px;
    background: rgba(34, 25, 50, 0.65);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(152, 130, 185, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.text h1 {
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    line-height: 1.05;
    margin-bottom: 20px;
}

.text p {
    line-height: 1.75;
    color: #ccc;
    margin-bottom: 26px;
    font-size: 1rem;
}

.buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

button,
.primary,
.secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.3s ease;
    font-weight: 600;
    text-align: center;
}

button,
.primary {
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    color: white;
}

.secondary {
    background: transparent;
    border: 1px solid var(--accent-soft);
    color: var(--accent-soft);
}

button:hover,
.primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 20px rgba(152, 130, 185, 0.45);
}

.secondary:hover {
    background: var(--accent-soft);
    color: #060407;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 16px rgba(152, 130, 185, 0.4);
}

/* ================= IMAGE ================= */
.image {
    width: 100%;
    max-width: 440px;
    display: flex;
    justify-content: center;
}

.image img {
    width: 100%;
    max-width: 420px;
    border-radius: 18px;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* ================= FOOTER ================= */
.footer {
    position: relative;
    margin-top: 80px;
    padding: 60px clamp(18px, 4vw, 60px) 24px;
    background: linear-gradient(180deg, rgba(6, 4, 7, 0.96), rgba(34, 25, 50, 0.98));
    border-top: 1px solid rgba(152, 130, 185, 0.16);
    overflow: hidden;
}

.footer::before,
.footer::after,
.footer-glow {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    opacity: 0.22;
}

.footer::before,
.footer-glow-1 {
    width: 260px;
    height: 260px;
    background: var(--accent);
    top: -80px;
    left: -80px;
}

.footer::after,
.footer-glow-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-soft);
    right: -120px;
    bottom: -120px;
}

.footer-container,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-brand-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-brand h3 {
    font-size: 1.3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    max-width: 36ch;
}

.footer h4 {
    color: var(--accent-soft);
    margin-bottom: 14px;
}

.footer-links a,
.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 10px;
    transition: transform 0.25s ease, color 0.25s ease, filter 0.25s ease;
}

.footer-links a:hover,
.contact-link:hover {
    color: #ffffff;
    transform: translateX(6px);
    filter: drop-shadow(0 0 10px rgba(152, 130, 185, 0.35));
}

.icon-wrap,
.whatsapp-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(152, 130, 185, 0.14);
    transition: 0.25s ease;
    flex: 0 0 auto;
}

.icon-wrap svg,
.whatsapp-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-soft);
    transition: 0.25s ease;
}

.contact-link:hover .icon-wrap,
.whatsapp-float:hover .whatsapp-icon {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 18px rgba(152, 130, 185, 0.28);
    background: rgba(114, 37, 72, 0.22);
}

.contact-link:hover svg,
.whatsapp-float:hover svg {
    fill: #ffffff;
    transform: rotate(-6deg) scale(1.04);
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 16px;
    text-align: center;
    border-top: 1px solid rgba(152, 130, 185, 0.10);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
}

/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    transition: 0.25s ease;
}

.whatsapp-pulse {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(152, 130, 185, 0.25);
    animation: pulse 1.9s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.04);
}

/* ================= ANIMATIONS ================= */
.fade-down {
    animation: fadeDown 1s ease;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.85);
        opacity: 0.8;
    }

    70%,
    100% {
        transform: scale(1.12);
        opacity: 0;
    }
}

/* ================= TABLET ================= */
@media (max-width: 980px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 50px 24px;
    }

    .buttons {
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-brand p {
        max-width: none;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 720px) {
    .site-header {
        flex-direction: column;
        align-items: center;
        padding: 18px 16px;
    }

    .brand {
        justify-content: center;
    }

    nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    nav a {
        padding: 11px 10px;
        text-align: center;
        font-size: 0.9rem;
    }

    .hero {
        padding: 34px 16px 50px;
        gap: 30px;
    }

    .text {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .text h1 {
        font-size: 2.2rem;
    }

    .text p {
        font-size: 0.95rem;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
    }

    .buttons a,
    .buttons button,
    .primary,
    .secondary {
        width: 100%;
    }

    .image img {
        max-width: 330px;
    }

    .footer {
        margin-top: 40px;
        padding: 46px 18px 22px;
    }

    .footer-links a,
    .contact-link {
        width: 100%;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 16px;
        bottom: 16px;
    }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 420px) {
    nav {
        grid-template-columns: 1fr;
    }

    .text h1 {
        font-size: 2rem;
    }

    .text {
        padding: 24px 18px;
    }

    .primary,
    .secondary {
        padding: 12px 20px;
    }
}