/* ============================================================
   OV Studio — PREMIUM Link na Bio  |  style.css
   Inspired by high-end designer portfolios
   ============================================================ */

/* ─── Fonts ─── */
@font-face {
    font-family: 'Linear Grotesk';
    src: url('../fonts/LinearGrotesk-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Linear Grotesk';
    src: url('../fonts/LinearGrotesk-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Linear Grotesk';
    src: url('../fonts/LinearGrotesk-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ─── Reset & Variables ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --clr-bg: #060608;
    --clr-surface: rgba(22, 22, 28, 0.4);
    --clr-surface-h: rgba(30, 30, 40, 0.6);
    --clr-border: rgba(255, 255, 255, 0.08);
    --clr-border-h: rgba(255, 255, 255, 0.2);
    --clr-accent: #2219f1;
    --clr-accent-g: linear-gradient(135deg, #2219f1, #6e4af8);
    --clr-text: #f0f0f5;
    --clr-muted: #8888a0;
    --clr-white: #ffffff;

    --font-main: 'Linear Grotesk', system-ui, sans-serif;
    --font-ui: 'Space Grotesk', system-ui, sans-serif;

    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.5);
    --transition: .4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--clr-bg);
    color: var(--clr-text);
    font-family: var(--font-ui);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 64px 20px 80px;
    position: relative;
    overflow-x: hidden;
}

/* ─── Mesh Background ─── */
.mesh-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 0% 0%, rgba(34, 25, 241, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(110, 74, 248, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 0%, #060608 100%);
}

.bg-glow {
    display: none;
}

/* Hide old glow */

/* ─── Page Container ─── */
.page {
    position: relative;
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* ─── Logo ─── */
.logo-top {
    margin-bottom: 8px;
    animation: fade-down 1s ease backwards;
}

.logo-top__svg {
    filter: drop-shadow(0 0 15px rgba(34, 25, 241, 0.3));
}

@keyframes fade-down {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Profile ─── */
.profile {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.profile__avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 8px;
}

.profile__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #000;
    position: relative;
    z-index: 2;
}

.avatar-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--clr-accent-g);
    z-index: 1;
    animation: rotate-ring 6s linear infinite;
    opacity: 0.6;
}

@keyframes rotate-ring {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.profile__name {
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile__tagline {
    font-size: 1.05rem;
    color: var(--clr-muted);
}

.profile__tagline strong {
    color: #fff;
    font-weight: 700;
}

.profile__bio-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.profile__bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--clr-muted);
    max-width: 340px;
}

.profile__badge {
    padding: 6px 14px;
    background: rgba(34, 25, 241, 0.1);
    border: 1px solid rgba(34, 25, 241, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── Main CTA ─── */
.cta-section {
    width: 100%;
    padding: 0 10px;
}

.btn-whatsapp-premium {
    position: relative;
    display: block;
    width: 100%;
    padding: 20px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.05rem;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.btn-whatsapp-premium:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 60px rgba(34, 25, 241, 0.3);
}

.btn-whatsapp-premium__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

/* Shimmer Animation */
.shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateX(-100%);
    animation: shimmer-effect 3s infinite;
    z-index: 1;
}

@keyframes shimmer-effect {
    0% {
        transform: translateX(-100%) skew(-20deg);
    }

    30% {
        transform: translateX(200%) skew(-20deg);
    }

    100% {
        transform: translateX(200%) skew(-20deg);
    }
}

/* ─── Cards Grid ─── */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card {
    position: relative;
    background: var(--clr-surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--clr-border);
    border-radius: 24px;
    padding: 24px;
    text-decoration: none;
    color: #fff;
    transition: var(--transition);
    overflow: hidden;
    display: flex;
}

.card:hover {
    background: var(--clr-surface-h);
    border-color: var(--clr-border-h);
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
}

/* Card Banner (OV Studio) */
.card--banner {
    padding: 40px 32px;
    flex-direction: column;
    background: linear-gradient(135deg, #101018, #050505);
}

.card--banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/img/logo.svg') no-repeat center right / 150px;
    opacity: 0.03;
}

.card__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--clr-accent);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.card--banner .card__title {
    font-family: var(--font-main);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.card--banner .card__desc {
    color: var(--clr-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 80%;
}

.card__button {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
}

.card:hover .card__button {
    background: #fff;
    color: #000;
}

/* Grid Row */
.grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.card--mini {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
}

.card__icon {
    font-size: 1.5rem;
    color: var(--clr-accent);
}

.card--mini .card__title {
    font-size: 1rem;
    font-weight: 700;
}

.card--mini .card__desc {
    font-size: 0.75rem;
    color: var(--clr-muted);
}

/* Card Horizontal */
.card--horizontal {
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
}

.card__text {
    flex: 1;
}

.card--horizontal .card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.card--horizontal .card__desc {
    font-size: 0.8rem;
    color: var(--clr-muted);
}

.card__arrow {
    font-size: 1.2rem;
    color: var(--clr-muted);
    transition: transform 0.3s;
}

.card:hover .card__arrow {
    transform: translateX(5px);
    color: #fff;
}

/* ─── Social ─── */
.social {
    display: flex;
    gap: 24px;
    margin-top: 20px;
}

.social__link {
    color: var(--clr-muted);
    transition: var(--transition);
}

.social__link:hover {
    color: #fff;
    transform: translateY(-3px);
}

.credits {
    font-size: 0.7rem;
    color: var(--clr-muted);
    opacity: 0.4;
    margin-top: 40px;
}

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

/* ─── Product Logos ─── */
.card__logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.card:hover .card__logo {
    transform: scale(1.1);
}

.card__logo--small {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.card:hover .card__logo--small {
    transform: scale(1.1) rotate(-5deg);
}

/* ─── Premium Footer ─── */
.premium-footer {
    width: 100%;
    margin-top: 60px;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    opacity: 0.6;
    filter: grayscale(1);
    transition: 0.4s;
}

.premium-footer:hover .footer-logo {
    opacity: 1;
    filter: grayscale(0);
    transform: rotate(180deg);
}

.footer-tagline {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    font-weight: 700;
    color: var(--clr-muted);
    text-transform: uppercase;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-border), transparent);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--clr-muted);
    font-weight: 500;
}

.footer-legal {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 400;
}

/* Entrance Animations */
.profile,
.cta-section,
.card,
.social,
.premium-footer {
    opacity: 0;
    transform: translateY(30px);
    animation: entrance 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes entrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile {
    animation-delay: 0.1s;
}

.cta-section {
    animation-delay: 0.2s;
}

.card[id="link-ov-studio"] {
    animation-delay: 0.3s;
}

.grid-row .card:nth-child(1) {
    animation-delay: 0.4s;
}

.grid-row .card:nth-child(2) {
    animation-delay: 0.5s;
}

.card[id="link-nanofield"] {
    animation-delay: 0.6s;
}

.card[id="link-alicerce"] {
    animation-delay: 0.7s;
}

.social {
    animation-delay: 0.8s;
}

.premium-footer {
    animation-delay: 0.9s;
}

/* Responsive */
@media (max-width: 400px) {
    body {
        padding: 40px 16px;
    }

    .card--banner .card__title {
        font-size: 1.8rem;
    }

    .card--banner {
        padding: 32px 24px;
    }
}