/* ===== CSS Variables ===== */
:root {
    --color-primary: #3f51b5;      /* Indigo - primary brand color */
    --color-primary-dark: #303f9f;
    --color-secondary: #f58b1f;    /* Orange - accent color */
    --color-secondary-dark: #e67e0f;
    --color-dark-gray: #37474f;
    --color-light-gray: #eceff1;
    --color-text: #263238;
    --color-text-light: #546e7a;
    --color-white: #ffffff;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Bebas Neue', cursive;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--color-white);
}

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

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

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, var(--color-dark-gray) 100%);
    opacity: 0.95;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
}

.hero-text {
    text-align: right;
    color: var(--color-white);
}

.hero-label {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    opacity: 0.9;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    margin: 30px 0;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.logo img {
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 1));
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1.3;
    letter-spacing: 2px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-tagline .highlight {
    color: var(--color-secondary);
    display: inline-block;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn i {
    font-size: 20px;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background-color: var(--color-light-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    background-color: var(--color-white);
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.service-icon i {
    font-size: 40px;
    color: var(--color-white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.service-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* ===== Why Us Section ===== */
.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-light-gray) 0%, var(--color-white) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature {
    position: relative;
    padding-left: 80px;
}

.feature-number {
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--color-secondary);
    opacity: 0.3;
    line-height: 1;
}

.feature h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.feature p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    padding: 60px 0 20px;
    background-color: var(--color-dark-gray);
    color: var(--color-white);
}

.footer-tools {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 24px;
    margin-bottom: 20px;
}

.qr-fiscal img {
    height: 60px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.asistentes {
    display: flex;
    gap: 12px;
}

.btn-tool {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-tool i {
    font-size: 18px;
}

.btn-express {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-express:hover {
    background-color: var(--color-secondary-dark);
    transform: translateY(-2px);
}

.btn-host {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-host:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}



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

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

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 60px 0;
    }

    .hero-text {
        text-align: center;
    }

    .hero-label {
        font-size: 1.5rem;
    }

    .logo img {
        max-width: 100%;
        margin: 20px auto;
    }

    .hero-tagline {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-left: 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .services,
    .why-us,
    .cta-section {
        padding: 60px 0;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-tools {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .asistentes {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 300px;
    }

    .btn-tool {
        width: 100%;
        justify-content: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .feature {
        padding-left: 60px;
    }

    .feature-number {
        font-size: 3rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* ===== User Selection Control (only for buttons and icons) ===== */
.btn, .btn-tool, .material-icons, .service-icon, .feature-number {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
