/* ============================================
   AGÊNCIA ZYNK — Custom Styles
   Cyber Tech Theme + Premium Vibe
   ============================================ */

/* ── CSS Variables ─────────────────────────── */
:root {
    --primary-color: #ccff02;
    --bg-color: #000000;
    --text-color: #e4e4e4;
    --surface-color: #111111;
    --primary-rgb: 204, 255, 2;
}

/* ── Logo Responsive ───────────────────────── */
.logo-header {
    width: 100px;
    height: auto;
}

@media (min-width: 640px) {
    .logo-header {
        width: 180px;
    }
}

.logo-footer {
    width: 100px;
    height: auto;
}

@media (min-width: 640px) {
    .logo-footer {
        width: 150px;
    }
}

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

/* ── Typography: Sora (Headings) & Inter (Body) ── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

h1 {
    font-weight: 800;
}

h2 {
    font-weight: 700;
}

button,
.btn {
    font-family: 'Sora', sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-color);
    overflow-x: hidden;
}

::selection {
    background: rgba(var(--primary-rgb), 0.3);
    color: #000;
}

/* ── Animated Background ──────────────────── */
.bg-animated {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.06) 0%, transparent 70%);
    animation: blobFloat 20s ease-in-out infinite alternate;
}

.bg-blob-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.04) 0%, transparent 70%);
    animation: blobFloat 25s ease-in-out infinite alternate-reverse;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    100% {
        transform: translate(10px, -30px) scale(1.05);
    }
}

/* ── Text Gradient ────────────────────────── */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #aacc00 50%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Buttons ──────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: #000;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-family: 'Sora', sans-serif;
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.2);
    transform: translateY(-2px);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), #aacc00);
    color: #000;
    font-weight: 600;
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 25px rgba(var(--primary-rgb), 0.3);
    position: relative;
    overflow: hidden;
    font-family: 'Sora', sans-serif;
}

.btn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-hero:hover::before {
    transform: translateX(100%);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(var(--primary-rgb), 0.5);
}

/* CTA Pulsante */
.btn-cta-pulse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #aacc00);
    color: #000;
    font-weight: 700;
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.4s ease;
    animation: ctaPulse 2.5s ease-in-out infinite;
    position: relative;
    white-space: nowrap;
}

.btn-cta-pulse:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 40px rgba(var(--primary-rgb), 0.5);
    animation: none;
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3);
    }

    50% {
        box-shadow: 0 4px 40px rgba(var(--primary-rgb), 0.6);
    }
}

/* ── Header ───────────────────────────────── */
#main-header.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ── Comparison Cards ─────────────────────── */
.comparison-card-bad {
    background: var(--surface-color);
    border: 1px solid #1a1a1a;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.comparison-card-bad:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.comparison-card-good {
    position: relative;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), var(--surface-color));
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.comparison-card-good:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
    box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.1);
}

/* ── Feature Cards ────────────────────────── */
.feature-card {
    background: var(--surface-color);
    border: 1px solid #1a1a1a;
    border-radius: 1rem;
    padding: 1.75rem;
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.08);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.15);
}

/* ── Bonus Card ───────────────────────────── */
.bonus-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), var(--surface-color));
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.bonus-card:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
    box-shadow: 0 0 60px rgba(var(--primary-rgb), 0.08);
}

/* ── Portfolio Cards ──────────────────────── */
.portfolio-card {
    background: var(--surface-color);
    border: 1px solid #1a1a1a;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s ease;
}

.portfolio-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.portfolio-img img {
    transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 1.25rem;
}

.speed-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ── Pricing Card ─────────────────────────── */
.pricing-card {
    background: var(--surface-color);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
}

.pricing-card:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
    box-shadow: 0 0 60px rgba(var(--primary-rgb), 0.1);
}

/* ── About Photo ──────────────────────────── */
.about-photo-wrapper {
    position: relative;
    display: inline-block;
    padding: 12px;
}

.about-photo-glow {
    position: absolute;
    inset: -12px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.3), transparent, rgba(var(--primary-rgb), 0.15));
    z-index: -1;
    filter: blur(15px);
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.about-photo-wrapper:hover .about-photo-glow {
    opacity: 1;
}

/* ── FAQ ──────────────────────────────────── */
.faq-item {
    background: var(--surface-color);
    border: 1px solid #1a1a1a;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.faq-item.active {
    border-color: rgba(var(--primary-rgb), 0.3);
}

.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-align: left;
}

.faq-toggle:hover {
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
    color: var(--primary-color);
}

/* ── Mobile Menu ──────────────────────────── */
#mobile-menu.open {
    transform: translateX(0);
}

.mobile-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--primary-color);
}

/* ── Reveal Animations ────────────────────── */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Utility Animations ───────────────────── */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ── Scrollbar ────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ── Responsive Tweaks ────────────────────── */
@media (max-width: 640px) {
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .bonus-card {
        padding: 1.75rem;
    }

    /* WhatsApp button in header - smaller on mobile */
    #main-header .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    /* About section - image left aligned with text on mobile */
    #sobre .max-w-4xl {
        align-items: center;
    }

    .btn-cta-pulse {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }

    /* Hero button - more presentable on mobile */
    .btn-hero {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
        gap: 0.5rem;
    }

    .btn-hero span {
        font-size: 0.875rem;
    }

    /* "Disponível gratuitamente..." - center aligned on mobile */
    .text-primary.font-semibold.text-sm {
        justify-content: center;
        text-align: center;
    }

    /* "Seu Webmaster por assinatura" - body text centered on mobile */
    #sobre p.text-gray-400 {
        text-align: center;
    }
}

/* ── Scrolling Marquee ────────────────────── */
.marquee-container {
    width: 100%;
    max-width: 1200px;
    /* Limited width */
    margin: 0 auto;
    /* Centered */
    overflow: hidden;
    background: transparent;
    padding: 1rem 0;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Mask for smooth fade edges based on container width */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Common styles for rows */
.marquee-row-left,
.marquee-row-right {
    display: flex;
    gap: 2rem;
    width: max-content;
}

/* Left scroll animation */
.marquee-row-left {
    animation: scrollLeft 60s linear infinite;
    /* Slower speed */
}

/* Right scroll animation */
.marquee-row-right {
    animation: scrollRight 60s linear infinite;
    /* Slower speed */
}

.badge-item {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    position: relative;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.badge-item:hover {
    color: var(--primary-color);
    border-color: rgba(var(--primary-rgb), 0.4);
    background: rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.15);
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Gradient Fade for Marquee - Removed in favor of mask-image */
.marquee-container::before,
.marquee-container::after {
    content: none;
}