@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bonuz-cyan: #2DD4BF;
    /* Adjusted to be slightly more teal/cyan */
    --bonuz-dark-bg: #111827;
    --bonuz-dark-card: #1F2937;
    --bonuz-gold: #cfaa65;
    --bonuz-text-main: #111827;
    --bonuz-text-muted: #6b7280;
    --bg-light-blue: #EFFDFB;
    /* Light cyan hint */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--bonuz-text-main);
    overflow-x: hidden;
}

/* Utilities */
.text-cyan {
    color: var(--bonuz-cyan) !important;
}

.text-gold {
    color: var(--bonuz-gold) !important;
}

.bg-cyan-light {
    background-color: var(--bg-light-blue);
}


.bg-gradient-bonuz-dark {
    background: linear-gradient(135deg, #111827 0%, #1a3a4a 50%, #1a4a4a 100%);
}

.btn-primary-custom {
    background-color: var(--bonuz-cyan);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background-color: #00b8ab;
    transform: translateY(-2px);
}

.btn-outline-info {
    border-color: var(--bonuz-cyan);
    color: var(--bonuz-cyan);
}

.btn-outline-info:hover {
    background-color: var(--bonuz-cyan);
    color: white;
}

/* Floating Elements (Coins) */
/* Floating Elements (Coins) */
.floating-coin {
    position: absolute;
    width: 100px;
    /* Slightly larger for images */
    height: auto;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
    /* Shadow for the image */
}

/* Removed pseudo-element for 'b' letter since we are using images */

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.coin-left {
    top: 150px;
    left: 10%;
    animation-delay: 0s;
}

.coin-right {
    top: 100px;
    right: 10%;
    animation-delay: 2s;
}

.coin-lower-right {
    top: 400px;
    right: 20%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    animation-delay: 4s;
}


/* Header */
.navbar {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--bonuz-cyan) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 100px;
    padding-bottom: 150px;
    text-align: left;
    /* Changed to left align */
    overflow: visible;
    /* Allow elements to pop out if needed */
}

/* Ring Background */
/* Ring Background */
.hero-ring-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Center horizontally */
    transform: translate(-50%, -50%);
    /* Center perfectly */
    width: 600px;
    height: 600px;
    border: 80px solid var(--bonuz-cyan);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.9;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background-color: #fff;
    border: 12px solid #111;
    border-radius: 45px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    transform: rotate(-5deg);
    /* Slight rotation if desired, or keep straight. Image looks straight. */
    transform: none;
}

/* New Search Input Design */
.search-container {
    max-width: 500px;
    /* Wider */
    margin: 2rem 0;
    /* Left aligned margin */
    position: relative;
}

.search-input {
    border-radius: 12px;
    /* Less rounded, more rect */
    padding: 1.2rem 1.5rem;
    border: 1px solid #D1D5DB;
    box-shadow: none;
    width: 100%;
    font-size: 1.2rem;
    color: #374151;
}

.search-input::placeholder {
    color: #9CA3AF;
}

.search-input:focus {
    outline: none;
    border-color: var(--bonuz-cyan);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    bottom: 8px;
    background: var(--bonuz-cyan);
    color: white;
    border: none;
    border-radius: 8px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.search-btn:hover {
    background-color: #00b8ab;
}

.hero-link {
    font-weight: 600;
    color: #374151;
    text-decoration: underline;
    font-size: 1.1rem;
}

.timeline-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bonuz-dark-bg);
    border: 2px solid var(--bonuz-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 5;
    /* Above line */
}

.timeline-card {
    background-color: rgba(31, 41, 55, 0.6);
    /* Translucent dark */
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    color: #D1D5DB;
    width: 100%;
    transition: all 0.3s;
}

.timeline-card:hover {
    border-color: var(--bonuz-cyan);
    background-color: rgba(31, 41, 55, 0.9);
}

/* Stats Section */
.stat-card {
    background-color: var(--bg-light-blue);
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    transition: transform 0.3s;
    border: 1px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(45, 212, 191, 0.3);
}

/* Business Section */
.business-card {
    background: #0F172A;
    /* Very dark blue */
    border-radius: 30px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    border: 1px solid #1E293B;
}

/* Overlay for glow */
.business-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Partners Section */
.partner-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: visible;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.partner-card-img {
    height: 140px;
    position: relative;
    background-color: #f3f4f6;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.partner-card-img img {
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-card-img img {
    transform: scale(1.3);
}

.partner-logo-img {
    border: 2px solid #f3f4f6;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo-img {
    transform: scale(1.05);
}

.partner-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--bonuz-cyan);
}

/* ===========================
   Modal de Transição de Marca
   =========================== */
.rebranding-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: rebrandOverlayIn 0.3s ease-out;
}

.rebranding-overlay.closing {
    animation: rebrandOverlayOut 0.25s ease-in forwards;
}

@keyframes rebrandOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rebrandOverlayOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.rebranding-card {
    background: #fff;
    border-radius: 24px;
    max-width: 460px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    animation: rebrandCardIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rebranding-overlay.closing .rebranding-card {
    animation: rebrandCardOut 0.25s ease-in forwards;
}

@keyframes rebrandCardIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes rebrandCardOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
}

/* Header gradient */
.rebranding-header {
    background: linear-gradient(135deg, #111827 0%, #1a3a4a 50%, #1a4a4a 100%);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rebranding-header::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -80px;
    pointer-events: none;
}

.rebranding-header::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.1) 0%, transparent 70%);
    bottom: -60px;
    left: -40px;
    pointer-events: none;
}

/* Sparkles decorativas */
.rebranding-sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--bonuz-cyan);
    border-radius: 50%;
    opacity: 0.6;
    animation: sparkle 2s ease-in-out infinite;
}

.rebranding-sparkle:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.rebranding-sparkle:nth-child(2) { top: 30%; right: 12%; animation-delay: 0.5s; width: 4px; height: 4px; }
.rebranding-sparkle:nth-child(3) { bottom: 25%; left: 25%; animation-delay: 1s; width: 5px; height: 5px; }
.rebranding-sparkle:nth-child(4) { top: 15%; right: 25%; animation-delay: 1.5s; width: 3px; height: 3px; }

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.5); }
}

.rebranding-logo-icon {
    width: 56px;
    height: 56px;
    background: rgba(45, 212, 191, 0.15);
    border: 2px solid rgba(45, 212, 191, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}

.rebranding-logo-icon span {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--bonuz-cyan);
}

.rebranding-title {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Conteúdo do modal */
.rebranding-body {
    padding: 2rem;
    text-align: center;
}

/* Transição de nome */
.rebranding-transition {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.rebranding-old-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #9CA3AF;
    text-decoration: line-through;
    text-decoration-color: #EF4444;
    text-decoration-thickness: 2px;
    opacity: 0.7;
}

.rebranding-arrow {
    color: var(--bonuz-cyan);
    font-size: 1.4rem;
}

.rebranding-new-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--bonuz-cyan);
    position: relative;
}

.rebranding-new-name::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bonuz-cyan), transparent);
    border-radius: 2px;
}

.rebranding-message {
    color: #4B5563;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.rebranding-btn {
    display: inline-block;
    background: var(--bonuz-cyan);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.85rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    width: 100%;
    max-width: 280px;
}

.rebranding-btn:hover {
    background: #00b8ab;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 212, 191, 0.3);
}

.rebranding-dismiss-link {
    display: block;
    margin-top: 1rem;
    color: #9CA3AF;
    font-size: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.rebranding-dismiss-link:hover {
    color: #6B7280;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .rebranding-card {
        border-radius: 18px;
    }

    .rebranding-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .rebranding-title {
        font-size: 1.35rem;
    }

    .rebranding-body {
        padding: 1.5rem;
    }

    .rebranding-old-name {
        font-size: 1rem;
    }

    .rebranding-new-name {
        font-size: 1.2rem;
    }
}