/* ========== VARIÁVEIS (SEMPRE PRIMEIRO!) ========== */
:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #10b981;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-muted: #94a3b8;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
    color: #f1f5f9;
}

/* ========== HEADER ========== */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    transition: color 0.3s;
    margin: 0 0.5rem;
}

.nav-link:hover {
    color: #fff !important;
}

/* ========== HERO SECTION ========== */
.hero-section {
    padding: 4rem 0 6rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* ========== MOCKUP DEVICES ========== */
.mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.device-frame {
    background: linear-gradient(135deg, var(--bg-card) 0%, #334155 100%);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.device-screen {
    background: #1e293b;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #0f172a;
}

.device-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.laptop-mockup {
    width: 600px;
    max-width: 100%;
}

.tablet-mockup {
    width: 280px;
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%) rotate(-5deg);
    z-index: 2;
}

/* ========== LOGIN CARD ========== */
.login-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.login-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.login-card .subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-label {
    color: #e2e8f0;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-select, .form-control {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s;
}

.form-select:focus, .form-control:focus {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    color: #fff;
}

.form-select option {
    background: #1e293b;
    color: #fff;
}

.form-control {
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.3);
    color: #fff;
    padding: 1rem 1.25rem;
    border-radius: 12px 0 0 12px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    color: #fff;
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s;
    width: 100%;
    font-size: 1rem;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-primary-custom:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.domain-suffix {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.input-group .form-select {
    border-radius: 10px 0 0 10px !important;
}

.input-group .form-control {
    border-radius: 10px 0 0 10px !important;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 4rem 0;
    background: rgba(15, 23, 42, 0.5);
}

.feature-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.feature-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ========== PRICING SECTION ========== */
.pricing-section {
    padding: 5rem 0;
    background: rgba(15, 23, 42, 0.5);
}

.pricing-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(30, 41, 59, 0.95) 100%);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.pricing-badge i {
    margin-right: 0.25rem;
}

.pricing-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.pricing-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.pricing-value {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.pricing-value .currency {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.pricing-value .amount {
    font-size: 5rem;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-value .cents {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.pricing-value .period {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 2.5rem;
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.pricing-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.pricing-features li {
    padding: 0.875rem 0;
    color: #e2e8f0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pricing-features li i {
    color: var(--secondary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.btn-pricing {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #fff;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    border: none;
}

.btn-pricing:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
    color: #fff;
}

.btn-pricing i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.btn-pricing:hover i {
    transform: translateX(5px);
}

.pricing-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.pricing-footer i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: 4rem 0;
    background: rgba(15, 23, 42, 0.3);
}

.contact-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s;
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s;
}

.contact-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 2rem;
    color: #fff;
}

.contact-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.25rem;
}

.contact-info {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.contact-card:hover .contact-action {
    gap: 0.75rem;
}

.contact-card:hover .contact-action i {
    transform: translateX(3px);
}

/* ========== FOOTER ========== */
.footer {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-text {
    color: var(--text-muted);
    margin: 0;
}

/* ========== LOADING STATE ========== */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ========== MOCKUP DASHBOARD ========== */
.mock-dashboard {
    background: #1a1f2e;
    padding: 1rem;
    height: 100%;
    overflow: hidden;
    font-size: 0.7rem;
}

.mock-dashboard.mobile {
    font-size: 0.6rem;
    padding: 0.75rem;
}

/* Header */
.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.mock-title {
    color: #e2e8f0;
    font-weight: 700;
    font-size: 1.2em;
}

.mock-btn {
    background: #10b981;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
}

.mock-menu-icon {
    color: #94a3b8;
    font-size: 1.5em;
}

/* Cards Desktop */
.mock-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mock-card {
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
}

.mock-card.blue { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.mock-card.cyan { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }
.mock-card.yellow { background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%); }
.mock-card.green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }

.mock-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75em;
    margin-bottom: 0.3rem;
}

.mock-value {
    color: white;
    font-size: 1.8em;
    font-weight: 800;
}

/* Cards Mobile */
.mock-cards-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mock-card-mobile {
    padding: 0.75rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-card-mobile .mock-label {
    font-size: 0.85em;
}

.mock-card-mobile .mock-value {
    font-size: 1.5em;
}

/* Gráficos */
.mock-charts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mock-chart-box {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 8px;
    padding: 0.75rem;
}

.mock-chart-title {
    color: #94a3b8;
    font-size: 0.85em;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Barras */
.mock-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 80px;
    gap: 0.25rem;
}

.mock-bar {
    flex: 1;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 4px 4px 0 0;
    min-height: 20%;
    transition: all 0.3s;
}

.mock-bars-mini {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 60px;
    gap: 0.2rem;
}

.mock-bar-mini {
    flex: 1;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 3px 3px 0 0;
    min-height: 20%;
}

.mock-mini-chart {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 8px;
    padding: 0.75rem;
}

/* Donut Chart */
.mock-donut {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(
        #ef4444 0% 60%,
        #3b82f6 60% 100%
    );
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-donut-inner {
    width: 50px;
    height: 50px;
    background: #1a1f2e;
    border-radius: 50%;
}

/* Tabela */
.mock-table {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 8px;
    padding: 0.75rem;
}

.mock-table-header {
    color: #e2e8f0;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.9em;
}

.mock-table-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 6px;
    margin-bottom: 0.3rem;
}

.mock-col {
    color: #cbd5e1;
    font-size: 0.85em;
}

.mock-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 600;
    display: inline-block;
}

.mock-badge.blue {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.mock-badge.green {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.mock-badge.yellow {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
}

/* Hover Effects */
.laptop-mockup:hover .mock-bar {
    transform: scaleY(1.1);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .tablet-mockup {
        display: none;
    }

    .laptop-mockup {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .login-card {
        padding: 1.5rem;
    }

    .mockup-container {
        padding: 1rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-value .amount {
        font-size: 4rem;
    }

    .pricing-value .cents {
        font-size: 2rem;
    }
}
