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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flag-img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.hero {
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #fef3c7;
    color: #92400e;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.partners-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #fddfc7;
    color: #a55625;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.coins-container {
    position: relative;
    height: 500px;
}

.coin {
    position: absolute;
    width: 80px;
    height: 80px;
    animation: float 15s infinite ease-in-out;
}

.coin img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mask-logo-center {
    position: absolute;
    width: 240px;
    height: 240px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.mask-logo-center img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes float {

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

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(-40px) rotate(-5deg);
    }

    75% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.currency-flow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.description-text {
    font-size: larger;
}

.currency {
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.brl {
    background: #d1fae5;
    color: #065f46;
}

.usd {
    background: #dbeafe;
    color: #1e40af;
}

.stable-coin-sandwich-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.stablecoin {
    background: #fef3c7;
    color: #92400e;
}

section {
    padding: 6rem 2rem;
}

.partners-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.partners-section-grid h2 {
    text-align: left;
    margin-bottom: 0;
}

.partners-section-grid p {
    text-align: left;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-icon {
    display: flex;
    width: 5rem;
    height: 5rem;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    margin: 2rem auto 1.5rem;
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.3s;
    --tw-shadow: 0 4px 6px -1px #0000, 0 2px 4px -2px #0000;
    box-shadow: #0000, 0 0 #0000, #0000, 0 0 #0000, #0000, 0 0 #0000, #0000, 0 0 #0000, #0000;
    background-color: #f3f4f6;
    border-radius: 1rem;
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benefits {
    background: #f9fafb;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    display: flex;
    width: 5rem;
    height: 5rem;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    margin: 2rem auto 1.5rem;
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.3s;
    --tw-shadow: 0 4px 6px -1px #0000, 0 2px 4px -2px #0000;
    box-shadow: #0000, 0 0 #0000, #0000, 0 0 #0000, #0000, 0 0 #0000, #0000, 0 0 #0000, #0000;
    background-color: #f3f4f6;
    border-radius: 1rem;
}

.countries {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.country {
    text-align: center;
}

.flag {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.5rem;
    border: 2px solid #e5e7eb;
}

.connector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.line {
    width: 32px;
    height: 2px;
    background: #f97316;
}

.dot {
    width: 12px;
    height: 12px;
    background: #f97316;
    border-radius: 50%;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-btn {
    padding: 1rem 2.5rem;
    background: #000;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: #374151;
    transform: translateY(-2px);
}

footer {
    border-top: 1px solid #e5e7eb;
    padding: 3rem 2rem;
    text-align: center;
}

footer a {
    color: #6b7280;
}

/* Launch Phase */
.launch-section {
    margin-top: 5rem;
}

/* CTA Section */
.cta-title {
    text-align: left;
}

.cta-list {
    list-style: none;
    margin-bottom: 2rem;
}

.cta-list li {
    margin-bottom: 1rem;
}

.cta-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Contact Modal */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-role {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.contact-email {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 28rem;
    width: 100%;
    animation: zoomIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #4b5563;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-input,
.modal-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    color: #374151;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.modal-input:focus,
.modal-select:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.modal-input::placeholder {
    color: #9ca3af;
}

.modal-submit {
    width: 100%;
    padding: 0.75rem;
    background: #000;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
}

.modal-submit:hover {
    background: #374151;
}

.modal-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Success Modal */
.success-modal {
    text-align: center;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease;
}

.success-checkmark svg {
    width: 48px;
    height: 48px;
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    animation: drawCheck 0.5s ease 0.3s forwards;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.success-message {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.success-btn {
    width: 100%;
    padding: 0.75rem;
    background: #000;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.success-btn:hover {
    background: #374151;
}

@media (max-width: 1024px) {
    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.75rem 1rem;
    }

    .logo img {
        height: 60px;
    }

    .hero {
        margin-top: 60px;
        padding: 2rem 1rem;
        min-height: auto;
    }

    .hero-grid,
    .partners-section-grid,
    .steps,
    .benefit-grid,
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-top: 50px;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-grid > div,
    .partners-section-grid > div {
        text-align: center;
    }

    .partners-section-grid h2 {
        text-align: center;
    }

    .partners-section-grid p {
        text-align: center;
    }

    .coins-container {
        height: 400px;
        margin-top: 2rem;
    }

    .coin {
        width: 60px;
        height: 60px;
    }

    .mask-logo-center {
        width: 180px;
        height: 180px;
    }

    section {
        padding: 3rem 1rem;
    }

    .step {
        padding: 2rem 1.5rem;
    }

    .currency-flow,
    .stable-coin-sandwich-flow {
        flex-wrap: wrap;
        justify-content: center;
    }

    .countries {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .connector {
        display: none;
    }

    .cta-title {
        text-align: center;
    }

    .cta-list {
        text-align: center;
        padding: 0;
    }

    .cta-list li {
        text-align: center;
    }

    .cta-btn {
        display: block;
        margin: 0 auto;
        width: fit-content;
    }

    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .badge,
    .partners-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .currency,
    .stablecoin {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }

    .flag {
        width: 48px;
        height: 48px;
    }

    .cta-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .step-icon,
    .benefit-icon {
        width: 4rem;
        height: 4rem;
        margin: 1.5rem auto 1rem;
    }
}
