:root {
    --primary-color: #3b82f6; /* Azul moderno mais vivo do Tailwind */
    --secondary-color: #0f172a; /* Slate 900 */
    --accent-color: #60a5fa; /* Azul claro do Tailwind */
    --gradient-start: #1e293b; /* Slate 800 */
    --gradient-end: #0f172a; /* Slate 900 */
    --text-color: #f8fafc; /* Slate 50 (texto claro) */
    --text-muted: #94a3b8; /* Slate 400 (texto cinza claro) */
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    --hover-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.15);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    background-attachment: fixed;
}

/* Navbar Customization */
.custom-navbar {
    background-color: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: #cbd5e1 !important; /* Cor clara legível */
    font-size: 1rem;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important; /* Azul claro no hover */
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--gradient-end) 0%, var(--gradient-start) 100%);
    color: white;
    padding: 140px 0 100px;
    /* More top padding for navbar */
    text-align: center;
    position: relative;
    overflow: hidden;
    clip-path: ellipse(150% 100% at 50% 0%);
    /* Subtle curve at the bottom */
}

/* Abstract background shapes */
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.hero-section::before {
    top: -200px;
    left: -200px;
}

.hero-section::after {
    bottom: -200px;
    right: -200px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #a5c9fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 14px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.6);
    color: white;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: transparent;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
    font-weight: 700;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Title underline decoration */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.service-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(96, 165, 250, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 25px;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: white;
}

.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Screenshots Section */
.screenshots-section {
    padding: 100px 0;
    background-color: transparent;
}

#screenshotCarousel {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

#screenshotCarousel .carousel-item img {
    border-radius: 20px;
    max-height: 650px;
    object-fit: contain;
    background-color: rgba(15, 23, 42, 0.4);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(15, 23, 42, 0.85);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    background-size: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: transparent;
    text-align: center;
}

.contact-info {
    font-size: 1.25rem;
    margin: 20px 0;
    display: inline-flex;
    align-items: center;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: var(--card-shadow);
    margin: 10px;
    transition: transform 0.3s;
}

.contact-info:hover {
    transform: translateY(-3px);
    border-color: rgba(96, 165, 250, 0.2);
}

.contact-info a {
    color: #f8fafc !important;
}

.contact-icon {
    margin-right: 15px;
    color: var(--accent-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background-color: transparent;
    position: relative;
}

.pricing-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px 25px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
    color: #f8fafc;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(96, 165, 250, 0.2);
}

.pricing-card.premium-card {
    border: 2px solid var(--primary-color);
    background: rgba(30, 41, 59, 0.75);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2);
}

.pricing-card.premium-card:hover {
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.35);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.pricing-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    min-height: 38px;
}

.pricing-price-box {
    margin-bottom: 20px;
}

.pricing-currency {
    font-size: 1.1rem;
    font-weight: 700;
    vertical-align: super;
    color: var(--text-color);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
}

.pricing-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-top: 5px;
    font-weight: 500;
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-features-list li {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.pricing-features-list li i {
    color: #22c55e;
    font-size: 1rem;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 3px;
}

.pricing-features-list li.muted i {
    color: var(--text-muted);
}

.pricing-btn {
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.pricing-btn-outline {
    border: 2px solid var(--primary-color);
    color: #60a5fa;
    background: transparent;
}

.pricing-btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.pricing-btn-solid {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.pricing-btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    color: white;
}

.pricing-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 12px;
    display: block;
}

/* Footer */
footer {
    background-color: rgba(15, 23, 42, 0.95) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Assinatura Page Styles */
.signature-section {
    padding: 60px 0 80px;
    background: transparent;
    min-height: calc(100vh - 80px);
}

.signature-card {
    background: rgba(30, 41, 59, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease;
    color: #f8fafc;
}

.signature-header {
    text-align: center;
    margin-bottom: 35px;
}

.signature-logo-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.signature-logo-back:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(-5px);
}

.signature-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 8px;
}

.signature-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.form-group-custom {
    margin-bottom: 24px;
}

.form-label-custom {
    font-size: 0.9rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 8px;
    display: block;
}

.form-control-custom {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25) !important;
    outline: none;
    background: rgba(15, 23, 42, 0.8) !important;
}

.form-select-custom {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23f8fafc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px 12px;
}

.signature-submit-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
}

.signature-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    color: white;
}

.input-group:focus-within .input-group-text {
    border-color: #3b82f6 !important;
    background: rgba(15, 23, 42, 0.8) !important;
}

.input-group-text {
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #64748b !important;
}

/* Correção do Autofill do Navegador (Fundo Branco no Preenchimento Automático) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #f8fafc !important;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: 0 0 0px 1000px #0f172a inset !important; /* Fundo escuro do input */
}

/* Melhora a visibilidade dos placeholders no tema escuro */
.form-control-custom::placeholder,
.form-control::placeholder {
    color: #64748b !important;
    opacity: 0.85 !important;
}

/* Hero trial hint */
.hero-trial-hint {
    margin-top: 14px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.3px;
}

/* =============================================
   Seção de Números (Stats)
   ============================================= */
.stats-section {
    padding: 60px 0;
    background: rgba(15, 23, 42, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.stat-item {
    padding: 20px 10px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    display: inline-block;
}

.stat-suffix {
    font-size: 1.4rem;
    font-weight: 700;
    color: #60a5fa;
    vertical-align: top;
    margin-top: 6px;
    display: inline-block;
}

.stat-label {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* =============================================
   Botão WhatsApp Flutuante
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: wpp-pulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65);
    color: white;
    animation: none;
}

@keyframes wpp-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}