/* 
   Finconvex Premium Theme 
   Theme: Dark Elegance with Orange Accents
*/

:root {
    /* Colors */
    --bg-dark: #020617;
    /* Darker Slate */
    --bg-card: rgba(15, 23, 42, 0.6);
    /* Slate 900 Glass */
    --primary: #FF4D00;
    /* New Orange Brand Color */
    --primary-hover: #e04400;
    /* Darker Orange */
    --secondary: #3b82f6;
    /* Blue 500 */
    --text-main: #f8fafc;
    /* Slate 50 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --border: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    --glow: 0 0 20px rgba(255, 77, 0, 0.15);
    /* Orange Glow */

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 5rem 1rem;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.highlight {
    color: var(--primary);
}

.text-gradient {
    /* Updated gradient to use orange */
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn-primary {
    /* Updated gradient for orange */
    background: linear-gradient(135deg, var(--primary) 0%, #ff7b00 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 77, 0, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-text {
    background: transparent;
    color: var(--text-muted);
}

.btn-text:hover {
    color: #fff;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s;
}

.header.scrolled {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-bg-glow::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.1) 0%, transparent 60%);
    filter: blur(80px);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 77, 0, 0.1);
    border: 1px solid rgba(255, 77, 0, 0.2);
    border-radius: 99px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Hero Visual Animation */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-card {
    position: absolute;
    width: 320px;
    height: 220px;
    border-radius: 16px;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.chart-mockup {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100px;
    gap: 8px;
}

.bar {
    width: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.bar.highlight {
    background: var(--primary);
    box-shadow: 0 0 10px rgba(255, 77, 0, 0.3);
}

.floating-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    position: absolute;
    z-index: 3;
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-1 {
    top: 10%;
    right: 0;
    animation: float 5s ease-in-out infinite 0.5s;
}

.badge-2 {
    bottom: 10%;
    left: 0;
    animation: float 7s ease-in-out infinite 1s;
}

.text-success {
    color: #10b981;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Sections */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
}

/* Cards (Sintomas) */
.card {
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.3) 0%, rgba(15, 23, 42, 0.3) 100%);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 77, 0, 0.3);
}

.card-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.card h3 {
    margin-bottom: 1rem;
}

/* Solutions (Features) */
.bg-darker {
    background: rgba(0, 0, 0, 0.2);
}

.solutions-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-card.reverse {
    direction: rtl;
}

.feature-card.reverse .feature-content {
    direction: ltr;
}

.feature-list {
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #cbd5e1;
}

.feature-list i {
    color: var(--primary);
    width: 18px;
}

.feature-visual {
    height: 300px;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.mockup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-text {
    font-weight: 600;
    color: #fff;
}

.skeleton-text {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.w-40 {
    width: 40%;
}

.w-50 {
    width: 50%;
}

.w-60 {
    width: 60%;
}

.badge-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.highlight-text {
    color: var(--primary);
    font-size: 1.1em;
}


/* Benefits */
.center-text {
    text-align: center;
}

.benefit-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem 1rem;
    transition: all 0.3s;
}

.benefit-item:hover {
    background: rgba(255, 77, 0, 0.05);
    border-color: rgba(255, 77, 0, 0.2);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-flex;
    padding: 1rem;
    background: rgba(255, 77, 0, 0.1);
    border-radius: 50%;
}

/* CTA Section */
.cta-box {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 24px;
    background: radial-gradient(circle at top, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 77, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.cta-title {
    margin-bottom: 1rem;
}

.cta-text {
    margin-bottom: 2.5rem;
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg) translateY(-100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateY(-100%);
    }

    20% {
        transform: rotate(45deg) translateY(100%);
    }

    100% {
        transform: rotate(45deg) translateY(100%);
    }
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(2, 6, 23, 0.5);
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #64748b;
}

/* Animations - Fade Up */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: left;
        /* Left align on mobile */
    }

    .hero-subtitle {
        margin: 0 0 2.5rem 0;
        /* Align left */
    }

    .hero-actions {
        justify-content: flex-start;
        /* Align left */
    }

    .hero-visual {
        display: none;
    }

    /* Simplified for mobile */

    .feature-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card.reverse {
        direction: ltr;
    }

    .feature-card.reverse .feature-content {
        direction: ltr;
    }

    .feature-visual {
        height: 200px;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    h1 {
        font-size: 2.25rem;
    }

    /* Hide "Falar com Especialista" in header on mobile */
    .header-container>.btn-outline {
        display: none;
    }

    /* Resize and reduce radius of "Quero meu financeiro organizado" on mobile */
    .hero-actions .btn-primary,
    .cta-box .btn-primary {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
        border-radius: 8px;
        /* Less rounded */
        width: 100%;
        /* Optional: make it full width if desired, or keep auto */
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        /* Stack buttons on mobile */
        align-items: stretch;
        gap: 0.75rem;
    }

    .hero-actions .btn-text {
        justify-content: center;
    }

    /* Footer Mobile Adjustments */
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        /* Increased gap for separation */
        text-align: center;
    }
}

.copyright {
    font-size: 0.75rem;
    /* Smaller text as requested */
    margin-top: 0.5rem;
    /* Ensure spacing from logo if stacked */
    display: block;
}