:root {
    --bg-color: #080c14;
    --card-bg: rgba(17, 25, 40, 0.65);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    /* Harmonious colors for sectors */
    --color-fin: #10b981; /* Emerald Green */
    --color-fin-glow: rgba(16, 185, 129, 0.25);
    
    --color-imo: #f59e0b; /* Amber Gold */
    --color-imo-glow: rgba(245, 158, 11, 0.25);
    
    --color-log: #f97316; /* Electric Orange */
    --color-log-glow: rgba(249, 115, 22, 0.25);

    --primary-blue: #3b82f6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background glowing blobs */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(160px);
    z-index: -1;
    opacity: 0.45;
    pointer-events: none;
}

.bg-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(16, 185, 129, 0.1) 70%);
    top: -100px;
    right: -100px;
}

.bg-glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, rgba(245, 158, 11, 0.05) 75%);
    bottom: -100px;
    left: -150px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    background: rgba(8, 12, 20, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-dsw {
    color: var(--text-primary);
}

.logo-cons {
    background: linear-gradient(135deg, var(--primary-blue), var(--color-fin));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-link-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link-btn:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 75vh;
    padding: 4rem 5%;
    text-align: center;
}

.hero-content {
    max-width: 850px;
}

.badge {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 2rem;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Sectors Grid */
.sectors-section {
    padding: 6rem 5%;
    position: relative;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sector-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Hover Card behavior */
.sector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255,255,255,0.06), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.sector-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    height: 50px;
    transition: transform 0.4s ease;
}

.sector-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.sector-desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.card-footer i {
    transition: transform 0.3s ease;
}

.sector-card:hover .card-footer i {
    transform: translateX(5px);
}

.sector-card:hover {
    transform: translateY(-8px);
}

/* Specific Cards customization */
.card-financeiro {
    border-top: 2px solid transparent;
}
.card-financeiro .card-icon { color: var(--color-fin); }
.card-financeiro:hover {
    border-color: var(--color-fin);
    box-shadow: 0 10px 30px var(--color-fin-glow);
}

.card-imobiliario {
    border-top: 2px solid transparent;
}
.card-imobiliario .card-icon { color: var(--color-imo); }
.card-imobiliario:hover {
    border-color: var(--color-imo);
    box-shadow: 0 10px 30px var(--color-imo-glow);
}

.card-logistica {
    border-top: 2px solid transparent;
}
.card-logistica .card-icon { color: var(--color-log); }
.card-logistica:hover {
    border-color: var(--color-log);
    box-shadow: 0 10px 30px var(--color-log-glow);
}

/* How it works */
.steps-section {
    padding: 6rem 5%;
    background: rgba(17, 24, 39, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 4rem auto 0 auto;
}

.step-card {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid rgba(59, 130, 246, 0.2);
}

.step-num {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(59, 130, 246, 0.15);
    margin-bottom: 1rem;
}

.step-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 7rem 5%;
    display: flex;
    justify-content: center;
}

.cta-box {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 60%), var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 4.5rem 3rem;
    text-align: center;
    max-width: 900px;
    width: 100%;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.cta-box h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.stripe-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stripe-badge i {
    color: #635bff; /* Stripe original brand color */
    font-size: 1.2rem;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive queries */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    .sectors-grid {
        grid-template-columns: 1fr;
    }
    .cta-box {
        padding: 3rem 1.5rem;
    }
    .cta-box h2 {
        font-size: 2rem;
    }
}
