/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Brand Colors (Derived from the São Miguel logo) */
    --primary: #2E64E3;       /* Royal Blue */
    --primary-light: #eff4ff;
    --primary-hover: #1e50c4;
    --secondary: #FF9242;     /* Bright Orange */
    --secondary-hover: #e57e32;
    --dark-blue: #1A3066;     /* Deep Accent Blue */
    
    /* Neutral Palette */
    --text-main: #1E293B;     /* Slate 800 */
    --text-muted: #64748B;    /* Slate 500 */
    --bg-main: #F8FAFC;       /* Slate 50 */
    --bg-white: #FFFFFF;
    --bg-dark: #0F172A;       /* Slate 900 */
    
    /* Decorative & Semantic */
    --accent-purple: #8B5CF6;
    --accent-green: #10B981;
    --border-color: #E2E8F0;  /* Slate 200 */
    --error: #EF4444;
    
    /* Shadows */
    --shadow-sm: 0 4px 10px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1);
    
    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Font stacks */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* ==========================================================================
   REUSABLE UTILITIES & COMPONENTS
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.section-header h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--bg-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(46, 100, 227, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 100, 227, 0.5);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(255, 146, 66, 0.3);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 146, 66, 0.4);
}

.btn-outline {
    border: 2px solid var(--border-color);
    color: var(--text-main);
    background-color: transparent;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
}

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

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scroll-shadow {
    box-shadow: var(--shadow-sm);
    background-color: rgba(255, 255, 255, 0.95);
}

.nav-container {
    max-width: var(--container-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.nav-menu ul {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
    transition: color 0.2s ease;
}

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

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

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

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

.btn-nav-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.75rem;
    color: var(--bg-dark);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    background-color: var(--bg-white);
    overflow: hidden;
}

.hero-background-decor {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 100, 227, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.25rem;
    line-height: 1.15;
    color: var(--bg-dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

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

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

.hero-trust-badges {
    display: flex;
    gap: 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

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

.trust-badge i {
    font-size: 1.25rem;
    color: var(--primary);
}

/* Hero OS Tracker Card */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
}

.hero-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-8px);
}

.hero-card-header {
    background-color: var(--bg-main);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border-color);
}

.hero-card-header .circle {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
}

.hero-card-header .circle.red { background-color: #ef4444; }
.hero-card-header .circle.yellow { background-color: #f59e0b; }
.hero-card-header .circle.green { background-color: #10b981; }

.card-title {
    margin-left: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    font-family: var(--font-heading);
}

.hero-card-body {
    padding: 24px;
}

.os-tracker {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.os-item {
    background-color: var(--bg-main);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

.os-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.os-value {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--bg-dark);
}

.os-status-box {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 14px;
    border-radius: var(--radius-sm);
}

.status-label {
    display: block;
    font-size: 0.75rem;
    color: #166534;
    margin-bottom: 2px;
}

.status-value.badge-green {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--accent-green);
    font-size: 0.9rem;
}

.performance-bar-box {
    border-top: 1px dashed var(--border-color);
    padding-top: 16px;
}

.perf-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.perf-bar-wrapper {
    height: 8px;
    background-color: var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 6px;
}

.perf-bar-fill {
    height: 100%;
    background-color: var(--secondary);
    border-radius: var(--radius-full);
    animation: fillBar 1.5s ease-out;
}

@keyframes fillBar {
    from { width: 0%; }
    to { width: 100%; }
}

.perf-percentage {
    display: block;
    text-align: right;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--secondary);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-main);
}

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

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(46, 100, 227, 0.2);
}

.service-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.service-icon-box.blue { background-color: var(--primary-light); color: var(--primary); }
.service-icon-box.dark-blue { background-color: #e8ecf6; color: var(--dark-blue); }
.service-icon-box.green { background-color: #ecfdf5; color: var(--accent-green); }
.service-icon-box.orange { background-color: #fff4ec; color: var(--secondary); }

.service-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--bg-dark);
    line-height: 1.3;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.service-card:hover .service-link {
    color: var(--primary-hover);
    gap: 8px;
}

/* ==========================================================================
   GAMER & UPGRADE SECTION
   ========================================================================== */
.gamer-upgrade-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.upgrade-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

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

.gamer-setup-card {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--dark-blue) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.gamer-setup-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 146, 66, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
}

.gaming-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 24px;
}

.gamer-setup-card h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.gamer-setup-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.hardware-tags {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hardware-tags span {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
}

.hardware-tags span i {
    color: var(--secondary);
}

.upgrade-content h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.25rem;
    color: var(--bg-dark);
    line-height: 1.25;
    margin-bottom: 20px;
}

.upgrade-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.upgrade-list {
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.upgrade-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.95rem;
}

.upgrade-list li i {
    color: var(--accent-green);
    font-size: 1.25rem;
    margin-top: 2px;
}

/* ==========================================================================
   INTERACTIVE BUDGET SIMULATOR
   ========================================================================== */
.calculator-section {
    padding: 100px 0;
    background-color: var(--bg-main);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    background-color: var(--bg-dark);
    color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.calculator-wrapper::before {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46, 100, 227, 0.08) 0%, rgba(15, 23, 42, 0) 70%);
    pointer-events: none;
}

.calculator-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge-accent {
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.calculator-info h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.calculator-info p {
    color: #94A3B8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.results-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.result-item {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: var(--radius-md);
}

.result-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.25rem;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.result-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #CBD5E1;
}

.calculator-cta {
    margin-top: 12px;
}

.calculator-box {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 40px;
    backdrop-filter: blur(10px);
    max-height: 600px;
    overflow-y: auto;
}

/* Custom scrollbar for simulator box */
.calculator-box::-webkit-scrollbar {
    width: 6px;
}
.calculator-box::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}
.calculator-box::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}

.calculator-box h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
    position: sticky;
    top: 0;
    background-color: #0f172a;
    z-index: 10;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkbox-item {
    display: block;
    position: relative;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    transition: all 0.2s ease;
}

.checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-content {
    display: flex;
    flex-direction: column;
    padding-left: 28px;
    position: relative;
}

/* Custom Checkbox Indicators */
.checkbox-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background-color: transparent;
    transition: all 0.2s ease;
}

.checkbox-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.04);
}

.checkbox-item:hover .checkbox-content::before {
    border-color: var(--secondary);
}

/* Checked state styles */
.checkbox-item.checked {
    border-color: var(--secondary);
    background-color: rgba(255, 146, 66, 0.05);
}

.checkbox-item.checked .checkbox-content::before {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.checkbox-item.checked .checkbox-content::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    width: 4px;
    height: 8px;
    border: solid var(--bg-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.service-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--bg-white);
    margin-bottom: 2px;
}

.service-detail {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 6px;
    line-height: 1.4;
}

.service-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
}

/* ==========================================================================
   CROSS LINKING SECTION
   ========================================================================== */
.cross-link-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, #d8e5ff 100%);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.cross-link-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cross-link-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
}

.cross-icon {
    font-size: 2.5rem;
    color: var(--primary);
    background-color: var(--bg-white);
    padding: 12px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.cross-link-content h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--bg-dark);
    margin-bottom: 4px;
}

.cross-link-content p {
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.4;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
    background: var(--bg-main);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.about-logo-large {
    max-height: 220px;
    width: auto;
    object-fit: contain;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.25rem;
    color: var(--bg-dark);
    line-height: 1.25;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 36px;
    display: grid;
    gap: 24px;
}

.about-feature-item {
    display: flex;
    gap: 16px;
}

.about-feature-item .icon-circle {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-feature-item h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--bg-dark);
    margin-bottom: 4px;
}

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

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-main);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.contact-info-block h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--bg-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

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

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

.contact-card-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background-color: var(--bg-main);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-card-item:hover .contact-icon {
    background-color: var(--primary);
    color: var(--bg-white);
}

.contact-card-item span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.contact-card-item strong {
    display: block;
    font-size: 1.15rem;
    color: var(--bg-dark);
    margin-top: 2px;
}

/* Contact Form block */
.contact-form-block {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.contact-form-block h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--bg-dark);
    margin-bottom: 8px;
}

.contact-form-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: var(--bg-dark);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94A3B8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background-color: var(--bg-white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(46, 100, 227, 0.15);
}

.btn-submit {
    margin-top: 12px;
    padding: 16px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
}

.form-status {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.form-status.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Spinner logic */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: var(--bg-dark);
    color: #94A3B8;
    padding: 80px 0 40px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

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

.footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 24px;
    background-color: #fff;
    padding: 4px;
}

.footer-brand p {
    line-height: 1.7;
}

.footer-links h4,
.footer-partners h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 24px;
    font-size: 1rem;
}

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

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

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.partner-tag {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--bg-white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ==========================================================================
   FLOATING WHATSAPP WIDGET
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(6deg);
    background-color: #20ba5a;
}

.whatsapp-tooltip {
    position: absolute;
    right: 76px;
    background-color: var(--bg-dark);
    color: var(--bg-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: var(--bg-dark);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   BLOG GENERAL & CATALOG STYLING
   ========================================================================== */
.blog-hero {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
    background-color: var(--bg-white);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.blog-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    color: var(--bg-dark);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.blog-hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.blog-filter-section {
    padding: 40px 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-box input {
    width: 100%;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 18px 12px 48px;
    color: var(--bg-dark);
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(46, 100, 227, 0.15);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.25rem;
    pointer-events: none;
}

.category-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.category-filter-btn {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.category-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 10px rgba(46, 100, 227, 0.3);
}

.blog-grid-section {
    padding: 60px 0 100px;
    background-color: var(--bg-main);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

/* ==========================================================================
   BLOG CARDS STYLING (REUSABLE)
   ========================================================================== */
.blog-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(46, 100, 227, 0.2);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.blog-card-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

/* Category Colors */
.blog-card-category.tutoriais {
    background-color: var(--primary-light);
    color: var(--primary);
}

.blog-card-category.suporte {
    background-color: #e8ecf6;
    color: var(--dark-blue);
}

.blog-card-category.hardware {
    background-color: #fff4ec;
    color: var(--secondary);
}

.blog-card-read-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.blog-card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.35;
    color: var(--bg-dark);
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
    color: var(--primary);
}

.blog-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.blog-card:hover .blog-card-link {
    color: var(--primary-hover);
    gap: 10px;
}

/* Loading Spinner & No Results */
.blog-loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.blog-loading-spinner p {
    color: var(--text-muted);
    font-weight: 500;
}

.blog-no-results {
    text-align: center;
    padding: 60px 0;
    grid-column: 1 / -1;
}

.blog-no-results i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.blog-no-results h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--bg-dark);
    margin-bottom: 8px;
}

.blog-no-results p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ==========================================================================
   BLOG RECENT SECTION (HOME INDEX)
   ========================================================================== */
.recent-blog-section {
    padding: 100px 0;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   SINGLE POST READER PAGE STYLING
   ========================================================================== */
.post-reader-section {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 100px;
    background-color: var(--bg-white);
}

.back-link-wrapper {
    margin-bottom: 32px;
}

.btn-back-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.btn-back-blog:hover {
    color: var(--primary);
}

.post-meta-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.post-category-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.post-category-tag.tutoriais { background-color: var(--primary-light); color: var(--primary); }
.post-category-tag.suporte { background-color: #e8ecf6; color: var(--dark-blue); }
.post-category-tag.hardware { background-color: #fff4ec; color: var(--secondary); }

.post-read-time-tag {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.post-title-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.75rem;
    line-height: 1.25;
    color: var(--bg-dark);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.post-date-author {
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 32px;
}

.post-date-author .separator {
    margin: 0 10px;
}

.post-cover-image-box {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 48px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.post-cover-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-body-text {
    max-width: 740px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

.post-body-text p {
    margin-bottom: 24px;
}

.post-body-text h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--bg-dark);
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.post-body-text ul, .post-body-text ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.post-body-text li {
    margin-bottom: 10px;
}

.post-body-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.post-body-text th, .post-body-text td {
    border: 1px solid var(--border-color);
    padding: 10px;
    text-align: left;
}

.post-body-text th {
    background-color: var(--bg-main);
    font-weight: 700;
}

/* Article Conversion Card */
.post-conversion-card {
    max-width: 740px;
    margin: 60px auto 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--dark-blue) 100%);
    border-radius: var(--radius-md);
    padding: 48px;
    text-align: center;
    color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.post-conversion-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 146, 66, 0.08) 0%, rgba(15, 23, 42, 0) 70%);
    pointer-events: none;
}

.conversion-icon-circle {
    width: 64px;
    height: 64px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px;
}

.post-conversion-card h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.85rem;
    line-height: 1.3;
    margin-bottom: 16px;
}

.post-conversion-card p {
    color: #94A3B8;
    font-size: 1rem;
    margin-bottom: 32px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.conversion-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.conversion-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
}

.conversion-actions .btn-outline:hover {
    border-color: var(--bg-white);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
}

/* ==========================================================================
   RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-trust-badges {
        justify-content: center;
    }
    
    .hero-card {
        transform: none !important;
    }
    
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 40px;
    }
    
    .upgrade-container,
    .about-container,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .upgrade-image-box,
    .about-image {
        order: 2;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .hero-content h1 {
        font-size: 2.35rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Mobile Navigation */
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        padding: 24px;
        display: none;
    }
    
    .nav-menu.show {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .btn-nav-cta {
        display: none !important;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-block {
        padding: 28px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-logo {
        margin: 0 auto 24px;
    }
    
    .partner-logos {
        justify-content: center;
    }
    
    /* Blog specific responsive overrides */
    .blog-hero h1 {
        font-size: 2.25rem;
    }
    
    .filter-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .category-filters {
        justify-content: center;
    }
    
    .post-title-text {
        font-size: 2rem;
    }
    
    .post-cover-image-box {
        height: 250px;
        margin-bottom: 32px;
    }
    
    .post-conversion-card {
        padding: 32px 24px;
    }
    
    .post-conversion-card h2 {
        font-size: 1.5rem;
    }
}
