/* ============================================
   SM ENGENHARIA ELETRICA - DESIGN SYSTEM
   Tema: Tecnologico Futurista
   ============================================ */

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

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

body {
    font-family: 'Inter', 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   CSS VARIABLES - TEMA FUTURISTA
   ============================================ */
:root {
    /* Cores Primarias - Azul Ciano Tecnologico */
    --primary-color: #00d4ff;
    --primary-hover: #00b8e6;
    --primary-dark: #0099cc;
    --secondary-color: #0066ff;
    --accent-color: #00f5ff;

    /* Backgrounds Escuros */
    --dark-bg: #030712;
    --darker-bg: #010409;
    --light-bg: #0d1117;
    --surface: #161b22;
    --surface-hover: #1c2128;

    /* Textos */
    --text-primary: #ffffff;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;

    /* Bordas */
    --border-color: rgba(48, 54, 61, 0.8);
    --border-glow: rgba(0, 212, 255, 0.3);

    /* Estados */
    --success-color: #2ea043;
    --warning-color: #d29922;
    --error-color: #f85149;

    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    --gradient-secondary: linear-gradient(135deg, #00f5ff 0%, #00d4ff 100%);
    --gradient-dark: linear-gradient(180deg, #030712 0%, #0d1117 100%);
    --gradient-surface: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 102, 255, 0.05) 100%);

    /* Sombras */
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 16px 48px rgba(0, 212, 255, 0.2);

    /* Layout */
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    --border-radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-logo {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.preloader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-progress {
    height: 100%;
    background: var(--gradient-primary);
    animation: preloader-progress 1.5s ease-in-out infinite;
}

@keyframes preloader-progress {
    0% { width: 0%; margin-left: 0; }
    50% { width: 100%; margin-left: 0; }
    100% { width: 0%; margin-left: 100%; }
}

/* ============================================
   HEADER / NAVEGACAO
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(3, 7, 18, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon-container {
    position: relative;
}

.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.logo-icon {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.logo-subtext {
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    font-size: 0.65rem;
    color: var(--primary-color);
    letter-spacing: 3px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Nav CTA */
.nav-cta .btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.bar {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   BOTOES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--darker-bg);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-glow {
    animation: btn-glow 2s ease-in-out infinite;
}

@keyframes btn-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(0, 212, 255, 0.6); }
}

.btn-product {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    width: 100%;
    margin-top: auto;
}

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

.btn-whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #22c55e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #25d366;
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    position: relative;
}

.whatsapp-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: #25d366;
    border-radius: 50px;
    animation: whatsapp-pulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn i {
    font-size: 1.5rem;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
}

.hero-grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-move 40s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: 10%;
    right: 10%;
    animation: float-orb 8s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: 20%;
    left: 5%;
    animation: float-orb 10s ease-in-out infinite reverse;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    top: 50%;
    left: 50%;
    animation: float-orb 6s ease-in-out infinite;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Hero Content */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-badge span {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    animation: slideInLeft 0.8s ease;
    animation-fill-mode: both;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.3s; }
.title-line:nth-child(3) { animation-delay: 0.5s; }

.title-highlight .gradient-text {
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.6s both;
}

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

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.8s ease 1s both;
}

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

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.stat-icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.stat-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-number-plus {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border-color);
}

/* Hero Visual - Inverter Showcase */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.5s both;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.inverter-showcase {
    position: relative;
    width: 400px;
    height: 400px;
}

.showcase-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: showcase-pulse 3s ease-in-out infinite;
}

@keyframes showcase-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.inverter-3d {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float-inverter 4s ease-in-out infinite;
}

@keyframes float-inverter {
    0%, 100% { transform: translate(-50%, -50%) translateY(0) rotateY(0deg); }
    50% { transform: translate(-50%, -50%) translateY(-20px) rotateY(5deg); }
}

.inverter-front {
    width: 280px;
    height: 200px;
    background: linear-gradient(145deg, #1a1f2e 0%, #0d1117 100%);
    border-radius: 20px;
    border: 2px solid var(--border-color);
    padding: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.inverter-screen {
    background: linear-gradient(180deg, #0a0f1a 0%, #050810 100%);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    height: 120px;
}

.screen-data {
    margin-bottom: 12px;
}

.data-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-value {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
}

.data-value small {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.screen-graph {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 40px;
}

.graph-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 3px 3px 0 0;
    animation: graph-animate 2s ease-in-out infinite;
}

.graph-bar:nth-child(1) { animation-delay: 0s; }
.graph-bar:nth-child(2) { animation-delay: 0.2s; }
.graph-bar:nth-child(3) { animation-delay: 0.4s; }
.graph-bar:nth-child(4) { animation-delay: 0.6s; }
.graph-bar:nth-child(5) { animation-delay: 0.8s; }

@keyframes graph-animate {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.inverter-leds {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.led {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.led.active.led-green { background: #2ea043; box-shadow: 0 0 10px #2ea043; }
.led.active.led-blue { background: var(--primary-color); box-shadow: 0 0 10px var(--primary-color); }
.led.active.led-yellow { background: #d29922; box-shadow: 0 0 10px #d29922; }

.inverter-brand {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: var(--shadow-card);
}

.icon-sun { top: 10%; left: 10%; animation: float-icon 4s ease-in-out infinite; }
.icon-bolt { top: 20%; right: 5%; animation: float-icon 5s ease-in-out infinite 0.5s; }
.icon-home { bottom: 20%; left: 5%; animation: float-icon 4.5s ease-in-out infinite 1s; }
.icon-leaf { bottom: 10%; right: 15%; animation: float-icon 5.5s ease-in-out infinite 1.5s; }

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

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeIn 1s ease 1.5s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-scroll-indicator span {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    animation: scroll-bounce 2s ease-in-out infinite;
    color: var(--primary-color);
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

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

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--light-bg);
    position: relative;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 1.2rem;
}

.feature-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Numbers Card */
.about-numbers {
    position: relative;
}

.numbers-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.numbers-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

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

.number {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.number-suffix {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.number-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
    padding: 120px 0;
    background: var(--dark-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.product-card:hover .product-glow {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-badge.badge-new {
    background: linear-gradient(135deg, #2ea043 0%, #3fb950 100%);
}

.product-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.product-icon .icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transform: rotate(10deg);
}

.product-icon i {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.product-content {
    flex: 1;
}

.product-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 6px 0;
}

.product-features li i {
    color: var(--success-color);
    font-size: 0.8rem;
}

.product-specs {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.spec {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.spec i {
    color: var(--primary-color);
}

.product-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
}

.product-featured .product-icon {
    margin-bottom: 0;
}

.product-featured .btn-product {
    width: auto;
}

/* Products CTA */
.products-cta {
    text-align: center;
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
}

.products-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* ============================================
   DIFFERENTIALS SECTION
   ============================================ */
.differentials {
    padding: 120px 0;
    background: var(--light-bg);
}

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

.diff-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.diff-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
}

.diff-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 212, 255, 0.1);
}

.diff-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.8rem;
    color: white;
}

.diff-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.diff-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   CASES SECTION
   ============================================ */
.cases {
    padding: 120px 0;
    background: var(--dark-bg);
}

.cases-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.case-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.case-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.case-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-overlay i {
    font-size: 2rem;
    color: var(--primary-color);
}

.case-info {
    padding: 24px;
}

.case-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.case-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.case-power,
.case-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

.case-power i,
.case-location i {
    color: var(--primary-color);
    width: 16px;
}

/* Cases Empty State */
.cases-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--text-secondary);
}

.cases-empty i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Cases CTA */
.cases-cta {
    text-align: center;
}

/* ============================================
   SIMULATOR SECTION
   ============================================ */
.simulator {
    padding: 120px 0;
    background: var(--light-bg);
}

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

.simulator-form {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
}

/* Toggle para modo de simulacao */
.simulator-mode-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    padding: 6px;
    background: var(--dark-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.mode-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-radius: var(--border-radius-sm);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.mode-btn i {
    font-size: 1.1rem;
}

.mode-btn:hover {
    color: var(--text-primary);
    background: rgba(0, 212, 255, 0.05);
}

.mode-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.mode-btn.active i {
    color: white;
}

.simulator-field {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.simulator-form h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group small {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

/* Simulator Results */
.simulator-results {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
}

.simulator-results h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.result-card:hover {
    border-color: var(--primary-color);
}

.result-highlight {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.05);
}

.result-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-surface);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.result-icon i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.result-card h4 {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.result-value {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.result-unit {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.system-config {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 30px;
}

.system-config h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 16px;
}

.config-details p {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.config-details p:last-child {
    border-bottom: none;
}

.config-label {
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================
   QUOTE SECTION
   ============================================ */
.quote {
    padding: 120px 0;
    background: var(--dark-bg);
    position: relative;
}

.quote-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.quote-info .section-tag {
    margin-bottom: 16px;
}

.quote-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.quote-info > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.quote-benefits {
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
}

.benefit-item i {
    color: var(--success-color);
    font-size: 1.1rem;
}

.quote-contact h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

/* Quote Form */
.quote-form-container {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
}

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

/* File Upload */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: var(--dark-bg);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.file-upload:hover .file-upload-label {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.05);
}

.file-upload-label i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.file-upload-label span {
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.file-upload-label small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.form-disclaimer i {
    color: var(--success-color);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.contact-details a:hover {
    color: var(--primary-color);
}

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

.social-link {
    width: 48px;
    height: 48px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form-container {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
}

.footer-top {
    padding: 80px 0 40px;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo-text {
    display: block;
    font-family: 'Orbitron', monospace;
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-primary);
}

.footer-logo-subtext {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 0.6rem;
    color: var(--primary-color);
    letter-spacing: 3px;
}

.footer-brand > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-certifications {
    display: flex;
    gap: 20px;
}

.footer-certifications span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-certifications i {
    color: var(--primary-color);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--primary-color);
    width: 16px;
}

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

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

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--error-color);
    border-color: var(--error-color);
    color: white;
}

/* Case Modal */
.modal-case {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 960px;
}

.case-modal-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}

.case-modal-image {
    height: 100%;
    min-height: 400px;
}

.case-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
}

.case-modal-info {
    padding: 40px;
}

.case-modal-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.case-modal-info > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.case-modal-specs {
    margin-bottom: 30px;
}

.case-modal-specs .spec {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.case-modal-specs .spec:last-child {
    border-bottom: none;
}

.case-modal-specs .spec i {
    color: var(--primary-color);
    width: 20px;
}

/* Case Photo Count Badge (on card overlay) */
.case-photo-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Case Modal Gallery */
.case-modal-gallery {
    display: flex;
    flex-direction: column;
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 400px;
    background: #000;
    overflow: hidden;
    border-radius: var(--border-radius-lg) 0 0 0;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 5;
}

.gallery-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.gallery-prev {
    left: 12px;
}

.gallery-next {
    right: 12px;
}

.gallery-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.gallery-thumbs {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.9);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.gallery-thumb {
    width: 64px;
    height: 48px;
    min-width: 64px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.gallery-thumb:hover {
    opacity: 0.8;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary-color);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    z-index: 10001;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid var(--success-color);
}

.toast.error {
    border-left: 4px solid var(--error-color);
}

.toast i {
    font-size: 1.3rem;
}

.toast.success i {
    color: var(--success-color);
}

.toast.error i {
    color: var(--error-color);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

section {
    opacity: 0;
    transform: translateY(30px);
}

section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .product-featured {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
    }
}

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

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-subtitle {
        max-width: 100%;
        margin: 0 auto 32px;
    }

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

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

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

    .simulator-container {
        grid-template-columns: 1fr;
    }

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

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

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

    .case-modal-content {
        grid-template-columns: 1fr;
    }

    .case-modal-image {
        min-height: 250px;
    }

    .case-modal-image img {
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    }

    .gallery-main {
        height: 280px;
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    }

    .gallery-thumb {
        width: 52px;
        height: 40px;
        min-width: 52px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--darker-bg);
        flex-direction: column;
        padding: 30px;
        gap: 0;
        transform: translateX(-100%);
        transition: var(--transition);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu .nav-item {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu .nav-link {
        display: block;
        padding: 16px 0;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .inverter-showcase {
        width: 300px;
        height: 300px;
    }

    .inverter-front {
        width: 220px;
        height: 160px;
    }

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

    .numbers-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

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

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

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

    .footer-logo {
        justify-content: center;
    }

    .footer-certifications {
        justify-content: center;
    }

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

    .whatsapp-text {
        display: none;
    }

    .whatsapp-btn {
        padding: 16px;
        border-radius: 50%;
    }

    .simulator-mode-toggle {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    section {
        padding: 80px 0;
    }

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

    .hero-title {
        font-size: 1.8rem;
    }

    .product-card {
        padding: 24px;
    }

    .simulator-form,
    .quote-form-container,
    .contact-form-container {
        padding: 24px;
    }

    .case-modal-info {
        padding: 24px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ============================================
   SECAO FINANCIAMENTO
   ============================================ */
.financing {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
}

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

.financing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.financing-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.financing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.financing-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.financing-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.financing-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.financing-icon-alt {
    background: linear-gradient(135deg, #ff9500, #ff6b00);
}

.financing-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 700;
    margin: 0;
}

.financing-brand {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.financing-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.financing-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.financing-benefits li i {
    color: var(--success-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.financing-benefits li strong {
    color: var(--text-primary);
}

.financing-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    padding: 12px;
    border-left: 3px solid var(--primary-color);
    background: rgba(0, 212, 255, 0.05);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.financing-actions {
    display: flex;
    gap: 12px;
}

.btn-financing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.btn-financing-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    color: #25d366;
    border: 1px solid #25d366;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-financing-secondary:hover {
    background: rgba(37, 211, 102, 0.1);
}

.financing-cta {
    text-align: center;
    margin-top: 48px;
    padding: 32px;
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.financing-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1rem;
}

.financing-cta p i {
    color: var(--primary-color);
    margin-right: 6px;
}

/* ============================================
   SECAO REGULATORIO (GD2 / FAST TRACK)
   ============================================ */
.regulatory {
    padding: 100px 0;
    background: var(--darker-bg);
    position: relative;
}

.regulatory-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.regulatory-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    transition: var(--transition);
}

.regulatory-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-hover);
}

.regulatory-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.regulatory-icon-alt {
    background: rgba(0, 245, 255, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.regulatory-card h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 4px;
}

.regulatory-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.regulatory-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.regulatory-content strong {
    color: var(--text-primary);
}

.regulatory-timeline {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.timeline-item {
    flex: 1;
    min-width: 80px;
    text-align: center;
    padding: 12px 8px;
    background: var(--light-bg);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.timeline-item.active {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
}

.timeline-year {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-value {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.timeline-item.active .timeline-value {
    color: var(--primary-color);
    font-weight: 600;
}

.regulatory-benefits {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.regulatory-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.regulatory-benefits li i {
    color: var(--accent-color);
    margin-top: 3px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.regulatory-benefits li strong {
    color: var(--text-primary);
}

.regulatory-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--border-radius);
    margin-top: 16px;
}

.regulatory-highlight > i {
    color: var(--warning-color);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.regulatory-highlight p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.regulatory-cta {
    margin-top: 48px;
}

.regulatory-cta-box {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 36px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
}

.regulatory-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.regulatory-cta-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.regulatory-cta-text {
    flex: 1;
}

.regulatory-cta-text h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.regulatory-cta-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.regulatory-cta-text strong {
    color: var(--primary-color);
}

/* ============================================
   RESPONSIVO - FINANCIAMENTO E REGULATORIO
   ============================================ */
@media (max-width: 768px) {
    .financing-grid,
    .regulatory-grid {
        grid-template-columns: 1fr;
    }

    .financing-card,
    .regulatory-card {
        padding: 24px;
    }

    .financing-actions {
        flex-direction: column;
    }

    .regulatory-timeline {
        gap: 8px;
    }

    .timeline-item {
        min-width: 60px;
        padding: 8px 4px;
    }

    .regulatory-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .regulatory-cta-box .btn {
        width: 100%;
        justify-content: center;
    }

    .financing,
    .regulatory {
        padding: 60px 0;
    }
}
