/* ========================================
   CLIQUE AGORA - MOBILE-FIRST REDESIGN
   Clean, Professional, Minimal
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #030712;
    --surface: #0f172a;
    --border: rgba(255, 255, 255, 0.05);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --success: #10b981;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.text-accent {
    color: var(--accent);
}

.text-gradient {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2rem;
    margin-bottom: 16px;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ===== HEADER ===== */
.header {
    padding: 24px 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
}

/* ===== HERO ===== */
@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-10px, 15px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes glow-move {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        var(--bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: var(--accent);
    filter: blur(180px);
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    animation: glow-move 20s linear infinite;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-muted);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 14px;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

/* ===== CARDS ===== */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: border-color 0.2s;
}

.card:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
    display: grid;
    gap: 16px;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95), rgba(10, 10, 15, 0.4) 40%, transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 1;
    /* Keep visible on mobile for better accessibility, or change to 0 if preferred */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(10, 10, 15, 0.98), rgba(10, 10, 15, 0.7) 60%, rgba(59, 130, 246, 0.2));
}

.portfolio-overlay h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.portfolio-overlay span {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.portfolio-overlay i.view-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 20px var(--accent-glow);
}

.portfolio-item:hover i.view-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ===== PRICING ===== */
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
}

.price-old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-new {
    font-size: 3rem;
    font-weight: 700;
    margin: 8px 0;
}

.price-info {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list .icon {
    color: var(--success);
    font-size: 1rem;
}

/* ===== FAQ ===== */
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px 20px;
    font-size: 0.875rem;
    color: var(--text-muted);
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-logo img {
    height: 32px;
    margin-bottom: 16px;
}

.footer p {
    font-size: 0.8125rem;
    margin-bottom: 8px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--accent);
}

/* ===== ANIMATIONS & STAGGER ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: var(--transition-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

/* Pulse animation for CTA */
@keyframes pulse-soft {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.pulse-primary {
    animation: pulse-soft 2s infinite;
}

/* ===== HERO TRUST ===== */
.hero-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.hero-trust span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trust-badge-floating {
    width: 24px;
    height: 24px;
    background: var(--success);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: center;
}

.stat-item {
    padding: 16px;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ===== ICON BOX ===== */
.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    gap: 16px;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
}

.testimonial-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.testimonial-header strong {
    display: block;
    font-size: 0.9375rem;
}

.testimonial-header span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 12px;
}

.testimonial-text strong {
    color: var(--accent);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-top: 8px;
    display: flex;
    gap: 2px;
}

.testimonial-result {
    margin-top: 12px;
    padding: 8px 12px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== CHECKLIST ===== */
.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.checklist-item i {
    color: var(--success);
    font-size: 1.125rem;
}

.checklist-item span {
    font-size: 0.9375rem;
}

/* ===== GUARANTEE ===== */
.guarantee-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
}

.guarantee-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.guarantee-content h3 {
    color: var(--success);
    margin-bottom: 8px;
}

.guarantee-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===== PRICING CARD ===== */
.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 16px;
}

.pricing-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.pricing-trust i {
    color: var(--success);
    margin-right: 6px;
}

/* ===== TABLET & DESKTOP ===== */
@media (min-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 80px 0;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .pricing-card {
        max-width: 450px;
        margin: 0 auto;
    }

    .section {
        padding: 100px 0;
    }
}

/* ===== NEUROMARKETING ADDITIONS ===== */
.contrast-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .contrast-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

.contrast-card {
    padding: 32px;
    border-radius: 16px;
    height: 100%;
}

.contrast-card.pain {
    background: rgba(239, 68, 68, 0.03);
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.contrast-card.pleasure {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.contrast-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fbbf24;
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

.contrast-list {
    list-style: none;
    margin-top: 20px;
}

.contrast-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.contrast-list .icon-pain {
    color: #ef4444;
}

.contrast-list .icon-pleasure {
    color: #22c55e;
}

.bonus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .bonus-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .bonus-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.bonus-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #fbbf24;
}

.bonus-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.bonus-value {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.bonus-status {
    color: #fbbf24;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

@media (min-width: 1024px) {
    .bonus-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Improve testimonial spacing if text is long */
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== NEW TRUST BOOSTERS ===== */

/* Authority Ticker */
.authority-bar {
    background: #000;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.ticker-item {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    flex-shrink: 0;
}

.ticker-item i {
    font-size: 0.9rem;
    color: var(--accent);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Process Map */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.process-step {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
}

.process-step:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px var(--accent-glow);
}

.step-title {
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Social Proof Toast */
.social-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: #1e293b;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transform: translateX(-120%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 320px;
}

.social-toast.active {
    transform: translateX(0);
}

.toast-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.toast-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--accent);
}

.toast-content {
    flex: 1;
    overflow: hidden;
}

.toast-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.toast-msg {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .social-toast {
        left: 12px;
        right: 12px;
        bottom: 85px;
        max-width: calc(100% - 24px);
    }
}

/* ===== STICKY MOBILE CTA ===== */
.sticky-cta-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0) 0%, rgba(3, 7, 18, 0.95) 30%);
    z-index: 999;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
}

.sticky-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    animation: pulse-soft 2s infinite;
}

.sticky-cta-text {
    color: white;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.sticky-cta-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .sticky-cta-mobile {
        display: block;
    }

    /* Add padding to footer so sticky doesn't cover content */
    .footer {
        padding-bottom: 100px;
    }

    /* Move WhatsApp button above sticky CTA */
    .ai-chat-button,
    .whatsapp-float,
    .chat-trigger,
    .ai-chat-widget .chat-trigger,
    [class*="whatsapp"],
    #whatsapp-button,
    .chat-widget-btn {
        bottom: 75px !important;
    }

    .ai-chat-widget {
        bottom: 75px !important;
    }
}