/* 
   MICROCHIP SISTEMAS INFORMÁTICOS
   Premium Tech Services Design System
*/

:root {
    --bg-dark: #070B14;
    --bg-darker: #04060A;
    --bg-card: rgba(18, 25, 41, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    
    --primary: #0070F3;
    --primary-hover: #0056B3;
    --accent-1: #00F0FF;
    --accent-2: #0052FF;
    
    --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    
    --shadow-glow: 0 0 30px rgba(0, 112, 243, 0.3);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    --radius-md: 12px;
    --radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Gradients/Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,82,255,0.4) 0%, rgba(0,0,0,0) 70%);
}

.blob-2 {
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,240,255,0.3) 0%, rgba(0,0,0,0) 70%);
}

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

.container-narrow {
    max-width: 800px;
}

.section-padding {
    padding: 100px 0;
}

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

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

/* GLASSMORPHISM CARDS */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 82, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

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

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-main);
}

.badge .stars i {
    color: #FBBF24;
    margin-right: 2px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-contact-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-contact-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

.hero-direct-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-direct-contact li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-direct-contact a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.hero-direct-contact a:hover {
    color: var(--accent-1);
}

.hero-map {
    margin-top: 5px;
}

strong {
    color: var(--text-main);
    font-weight: 600;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.cta-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding-left: 16px;
}

/* Hero Graphic Simulation */
.main-graphic {
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.win-controls {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.win-controls span {
    transition: var(--transition);
}

.win-controls span:hover {
    color: var(--text-main);
}

.win-controls span.close:hover {
    color: #EF4444;
}

.status-indicator {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot.green {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
    animation: pulse 2s infinite;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-md);
}

.stat-row i {
    font-size: 2rem;
}

.stat-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.stat-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* TRUST BAR */
.trust-bar {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

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

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 112, 243, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-1);
    margin-bottom: 20px;
}

.trust-item h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* SERVICES SECTION */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    display: block;
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-card {
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.feature-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-list i {
    margin-top: 4px;
}

/* WHY US SECTION */
.why-us {
    background: var(--bg-darker);
    position: relative;
}

.why-us h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.highlight-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 60px;
}

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

.benefit-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.benefit-num {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.benefit-content h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.benefit-content p {
    color: var(--text-muted);
}

/* TESTIMONIALS SECTION */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimonial-card {
    padding: 40px;
}

.testimonial-card .stars {
    color: #FBBF24;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 30px;
}

.author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-info strong {
    display: block;
    margin-bottom: 2px;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* CONTACT SECTION */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.direct-contact h4 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.direct-contact ul {
    list-style: none;
}

.direct-contact li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.direct-contact a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.direct-contact a:hover {
    color: var(--accent-1);
}

.map-container {
    margin-top: 30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-form-wrapper {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

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

.captcha-group {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.captcha-group label i {
    color: var(--accent-1);
    margin-right: 6px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-muted);
}

input, select, textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.2);
}

/* ALERTS */
.alert {
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10B981;
    color: #10B981;
}

.alert.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #EF4444;
    color: #EF4444;
}

/* FOOTER */
footer {
    background: var(--bg-darker);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* ANIMATIONS */
@keyframes pulse {
    0% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.6; transform: scale(0.95); }
}

.pulse-effect {
    animation: button-pulse 2s infinite;
}

@keyframes button-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 112, 243, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 112, 243, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 112, 243, 0); }
}

/* Initial state for JS reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

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

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

/* MEDIA QUERIES */
@media (max-width: 992px) {
    .hero .container, .contact-container {
        grid-template-columns: 1fr;
    }
    .hero {
        text-align: center;
        padding-top: 150px;
    }
    .cta-group {
        align-items: center;
    }
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .benefit-item { flex-direction: column; align-items: center; text-align: center; }
}
