/* ========================================
   Fuel Solution Web Faturas - Styles
   ======================================== */

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary-orange: #F7A41B;
    --primary-yellow: #F5C842;
    --primary-teal: #1B4D5C;
    --primary-teal-light: #2D7A8C;

    /* Gradients */
    --gradient-orange: linear-gradient(135deg, #F5C842 0%, #F7A41B 100%);
    --gradient-teal: linear-gradient(135deg, #1B4D5C 0%, #2D7A8C 100%);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Typography */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.3;
}

.gradient-text {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 164, 27, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.btn-outline:hover {
    background: var(--primary-teal);
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-icon {
    width: 45px;
    height: 45px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-teal);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-teal);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-teal);
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

/* Dashboard Preview */
.hero-image {
    position: relative;
    z-index: 2;
}

.dashboard-preview {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dashboard-dots span:nth-child(1) { background: #ef4444; }
.dashboard-dots span:nth-child(2) { background: #f59e0b; }
.dashboard-dots span:nth-child(3) { background: #10b981; }

.dashboard-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}

.dashboard-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
    transition: var(--transition);
}

.dashboard-card:hover {
    background: var(--gray-100);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon.water { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.card-icon.energy { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.card-icon.internet { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.card-icon.phone { background: linear-gradient(135deg, #10b981, #34d399); }

.card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 14px;
    color: var(--gray-500);
}

.card-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
}

.card-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.card-status.paid {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.card-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

/* Hero Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-yellow);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-teal-light);
    bottom: -100px;
    left: -100px;
}

/* Section Styles */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(247, 164, 27, 0.1);
    color: var(--primary-orange);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
}

/* Features Section */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-orange);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.feature-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: var(--gray-500);
}

/* How it Works Section */
.how-it-works {
    background: var(--gray-50);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover {
    box-shadow: var(--shadow-lg);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-orange);
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.step-desc {
    color: var(--gray-500);
}

.step-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius);
}

.step-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-teal);
}

/* Benefits Section */
.benefits {
    background: var(--white);
}

.benefits-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefits-content .section-tag,
.benefits-content .section-title {
    text-align: left;
}

.benefits-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.benefit-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-orange);
    border-radius: 50%;
}

.benefit-check svg {
    width: 14px;
    height: 14px;
    color: var(--white);
}

.benefit-text h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.benefit-text p {
    font-size: 15px;
    color: var(--gray-500);
}

.benefits-image {
    display: flex;
    justify-content: center;
}

.benefits-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 400px;
}

.savings-display {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.savings-label {
    font-size: 14px;
    color: var(--gray-500);
}

.savings-value {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-teal);
}

.savings-percent {
    font-size: 14px;
    color: var(--success);
    font-weight: 500;
}

.chart-placeholder {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.chart-placeholder .bar {
    flex: 1;
    background: var(--gray-200);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: var(--transition);
}

.chart-placeholder .bar.active {
    background: var(--gradient-orange);
}

.chart-placeholder .bar:hover {
    background: var(--gradient-teal);
}

/* Pricing Section */
.pricing {
    background: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.pricing-card {
    position: relative;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-orange);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.07);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-orange);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-name {
    font-size: 24px;
    margin-bottom: 4px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--gray-500);
}

.pricing-price {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-price .currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-700);
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-teal);
    line-height: 1;
}

.pricing-price .period {
    font-size: 16px;
    color: var(--gray-500);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-600);
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

/* CTA Section */
.cta {
    background: var(--gradient-teal);
    color: var(--white);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-input {
    padding: 16px 20px;
    font-family: var(--font-family);
    font-size: 15px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.15);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

select.form-input option {
    color: var(--gray-800);
}

.cta .btn-primary {
    background: var(--gradient-orange);
    margin-top: 8px;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-desc {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: var(--radius);
    color: var(--gray-400);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-orange);
    color: var(--white);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-links h4 {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 15px;
    color: var(--gray-400);
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 14px;
    color: var(--gray-400);
}

.footer-legal a:hover {
    color: var(--primary-orange);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-wrapper {
        grid-template-columns: 1fr;
    }

    .benefits-content .section-tag,
    .benefits-content .section-title {
        text-align: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-icon {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-lg {
        padding: 14px 24px;
    }

    .dashboard-preview {
        margin: 0 -10px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.animate-on-scroll.visible {
    animation: fadeInUp 0.6s ease forwards;
}
