/* ============================================================
   Invision MuWeb — Home Landing Page CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #080810;
    --bg-2: #0d0d1a;
    --card: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --primary: #7c3aed;
    --primary-glow: #9d5cf6;
    --accent: #f97316;
    --text: #f1f1f5;
    --text-dim: #8b8ba7;
    --success: #22c55e;
    --radius: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ---------- Noise overlay ---------- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: .5;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(8, 8, 16, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background .3s;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.nav-logo .logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #4f2db5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    animation: logoPulse 2.5s ease-in-out infinite !important;
    position: relative;
    z-index: 2;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.15);
        filter: brightness(1.4);
        box-shadow: 0 0 35px rgba(124, 58, 237, 0.8);
    }
}

.nav-logo .logo-text {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.1;
}

.nav-logo .logo-sub {
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: .05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: #b8b8c4;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--text);
}

.btn-nav {
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary-nav {
    background: linear-gradient(135deg, var(--primary), #5b21b6);
    color: #fff;
    border: none;
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.35);
}

.btn-primary-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.55);
}

.btn-outline-nav {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline-nav:hover {
    background: var(--card);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    overflow: hidden;
}

/* Radial glow blobs */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: blobFloat 8s ease-in-out infinite alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(124, 58, 237, 0.15);
    top: -100px;
    left: -150px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(249, 115, 22, 0.08);
    bottom: 0;
    right: -100px;
    animation-delay: -3s;
}

@keyframes blobFloat {
    from {
        transform: translateY(0) scale(1);
    }

    to {
        transform: translateY(30px) scale(1.05);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(124, 58, 237, 0.4);
    background: rgba(124, 58, 237, 0.1);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--primary-glow);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-glow);
    box-shadow: 0 0 8px var(--primary-glow);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

.hero-title {
    font-size: clamp(52px, 10vw, 120px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #dacfec 10%, #a8b2ca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    margin-bottom: 10px;
}

.hero-title span {
    background: linear-gradient(180deg, #d0d3d9 25%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(14px, 2vw, 18px);
    color: var(--text-dim);
    max-width: 700px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-bottom: 80px;
}

.btn-hero-primary {
    padding: 16px 36px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #5b21b6);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
    transition: all .3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.6);
}

.btn-hero-ghost {
    padding: 16px 36px;
    border-radius: 14px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-ghost:hover {
    background: var(--card);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ---------- Hero Mockup ---------- */
.hero-mockup {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

.hero-mockup.visible .mockup-frame {
    animation: mockupFloat 4s ease-in-out infinite !important;
}

@keyframes mockupFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}

.mockup-frame {
    background: linear-gradient(145deg, rgba(30, 20, 60, 0.95), rgba(15, 10, 35, 0.98));
    border: 1px solid rgba(124, 58, 237, 0.4);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(124, 58, 237, 0.15),
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(124, 58, 237, 0.15);
    backdrop-filter: blur(20px);
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.mockup-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-r {
    background: #ff5f57;
}

.dot-y {
    background: #febc2e;
}

.dot-g {
    background: #28c840;
}

.mockup-url {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 16px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.mockup-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 340px;
}

.mockup-img-side {
    position: relative;
    overflow: hidden;
    background: url(https://i.imgur.com/MVIZhm0.jpeg);
    background-position: center;
}

.mockup-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .7;
    filter: saturate(0.7);
}

.mockup-img-side::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 40%, rgba(15, 10, 35, 0.98) 100%);
}

.mockup-login-side {
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mockup-login-side .ml-logo {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--primary-glow);
    margin-bottom: 18px;
}

.mockup-login-side h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.ml-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
    width: 100%;
    outline: none;
    pointer-events: none;
}

.ml-btn {
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), #ea580c);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .06em;
    margin-top: 4px;
    cursor: default;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.35);
}

/* ---------- Features Strip ---------- */
.features {
    padding: 0 20px 100px;
    max-width: 1100px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 25px;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Border Animation - Rotating Gradient */
.feature-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 60%, var(--primary-glow), transparent 100%);
    animation: borderRotate 4s linear infinite;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    transition: opacity .3s;
    z-index: -1;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: #0d0d1a;
    border-radius: inherit;
    z-index: -1;
}

@keyframes borderRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #9e78f4;
}

.feature-card:hover::before {
    opacity: 1;
    animation-duration: 2s;
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 14px;
    display: block;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ---------- Pricing Section ---------- */
.pricing {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-glow);
    letter-spacing: .07em;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 14px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-dim);
    max-width: 500px;
    margin: 0 auto 56px;
    line-height: 1.7;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 36px 28px;
    text-align: left;
    transition: all .3s;
    position: relative;
}

.price-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.25);
}

.price-card.featured.visible {
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.2), rgba(80, 30, 180, 0.15));
    border-color: var(--primary-glow);
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.25);
    animation: featuredPulse 2.5s infinite alternate !important;
}

@keyframes featuredPulse {
    0% {
        box-shadow: 0 0 30px rgba(124, 58, 237, 0.2);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 100px rgba(124, 58, 237, 0.6);
        transform: scale(1.06);
    }
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #5b21b6);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    white-space: nowrap;
}

.price-plan {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: .06em;
    margin-bottom: 12px;
}

.price-amount {
    font-size: 45px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.price-amount sup {
    font-size: 20px;
    vertical-align: top;
    margin-top: 8px;
    font-weight: 600;
}

.price-period {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 28px;
}

.price-features {
    list-style: none;
    margin-bottom: 32px;
}

.price-features li {
    font-size: 14px;
    color: var(--text-dim);
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li i {
    color: var(--success);
    font-size: 16px;
    flex-shrink: 0;
}

.price-features li.dim i {
    color: var(--text-dim);
}

.price-features li.dim {
    opacity: .45;
}

.btn-price {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all .3s;
    border: none;
    cursor: pointer;
}

.btn-price-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-price-outline:hover {
    background: var(--card);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-price-fill {
    background: linear-gradient(135deg, var(--primary), #5b21b6);
    color: #fff;
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.35);
}

.btn-price-fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(124, 58, 237, 0.55);
}

/* ---------- CTA Strip ---------- */
.cta-strip {
    margin: 20px 20px 80px;
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(80, 30, 180, 0.1));
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 24px;
    padding: 60px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-text h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.cta-text p {
    font-size: 15px;
    color: var(--text-dim);
}

/* ---------- Footer ---------- */
footer {
    border-top: 1px solid var(--border);
    padding: 32px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

footer p {
    font-size: 13px;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--text);
}

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
/* ---------- Mockup extras ---------- */
.mockup-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 340px;
    background:
        linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(15, 5, 40, 0.95) 100%),
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.015) 0px,
            rgba(255, 255, 255, 0.015) 1px,
            transparent 1px,
            transparent 20px);
}

.mockup-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 80px;
    background: radial-gradient(ellipse, rgba(124, 58, 237, 0.4) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

.ml-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.ml-hint {
    font-size: 12px;
    color: var(--text-dim);
    cursor: default;
}

/* ---------- Stats Strip ---------- */
.stats-strip {
    max-width: 860px;
    margin: -20px auto 80px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -.02em;
    background: linear-gradient(135deg, #fff, var(--primary-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 500;
    margin-top: 2px;
    display: block;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
    flex-shrink: 0;
}

/* ---------- Section Header ---------- */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

/* ---------- How It Works ---------- */
.how-it-works {
    padding: 80px 20px;
    background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.04), transparent);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 80px;
}

.hiw-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.step-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all .3s;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.3);
    background: rgba(124, 58, 237, 0.07);
}

.step-num {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -.04em;
    background: linear-gradient(135deg, var(--primary), rgba(124, 58, 237, 0.2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
    display: block;
}

.step-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

.step-card code {
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 5px;
    padding: 1px 6px;
    font-size: 12px;
    color: var(--primary-glow);
    font-family: monospace;
}

.step-arrow {
    font-size: 28px;
    color: var(--text-dim);
    opacity: .4;
    text-align: center;
    flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .navbar {
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .mockup-body {
        grid-template-columns: 1fr;
    }

    .mockup-img-side {
        display: none;
    }

    .cta-strip {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }

    footer {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .stats-strip {
        flex-direction: column;
        gap: 16px;
        padding: 28px 24px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .hero-mockup {
        padding: 0 10px;
    }
}

/* ---------- Instagram Floating ---------- */
.insta-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #5b21b6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
    text-decoration: none;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: instaFloat 3s ease-in-out infinite;
}

.insta-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.6);
    background: linear-gradient(135deg, #9d5cf6, var(--primary));
}

@keyframes instaFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .insta-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* ---------- Templates Section ---------- */
.templates-section {
    padding: 100px 10px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.templates-container {
    position: relative;
    padding: 0 50px;
}

.templates-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 0px 0;
    scrollbar-width: none;
    /* Firefox */
}

.templates-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.template-card {
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.template-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-glow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(124, 58, 237, 0.2);
}

.template-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.template-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.template-card:hover .template-img img {
    transform: scale(1.1);
}

.template-info {
    padding: 25px;
    text-align: center;
}

.template-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.template-info p {
    font-size: 13px;
    color: var(--text-dim);
}

.template-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    background: rgba(124, 58, 237, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

/* Slider Nav */
.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.nav-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s;
    font-size: 20px;
}

.nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary-glow);
    transform: scale(1.1);
}

@media (max-width: 900px) {
    .template-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 600px) {
    .template-card {
        flex: 0 0 100%;
    }

    .templates-container {
        padding: 0;
    }

    .slider-nav {
        position: static;
        transform: none;
        margin-top: 20px;
        justify-content: center;
        gap: 20px;
    }
}

/* ---------- Template Preview Lightbox ---------- */
.template-overlay {
    position: absolute;
    inset: 0;
    background: rgba(124, 58, 237, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 3;
}

.template-card:hover .template-overlay {
    opacity: 1;
}

.preview-btn {
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.template-card:hover .preview-btn {
    transform: translateY(0);
}

/* Lightbox Modal */
.modal-preview {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(8, 8, 16, 0.9);
    backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-preview.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-preview.active .modal-content {
    transform: scale(1);
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #fff;
    color: #000;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .modal-preview {
        padding: 20px;
    }

    .modal-close {
        top: -60px;
        right: 50%;
        transform: translateX(50%);
    }

    .modal-preview.active .modal-close:hover {
        transform: translateX(50%) rotate(90deg);
    }
}