/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --bg-main: #0b0f19;
    --bg-surface: #111827;
    --bg-card: #1f2937;
    --bg-card-hover: #374151;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(37, 99, 235, 0.4);
    
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-glow: rgba(37, 99, 235, 0.25);
    
    --accent: #10b981;
    --accent-hover: #059669;
    --accent-glow: rgba(16, 185, 129, 0.25);
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-white: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.25;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
}

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

.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent-text {
    color: var(--primary);
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

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

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

.btn-cta {
    background-color: var(--accent);
    color: var(--text-white);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.btn-cta:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   LAYOUT SECTIONS
   ========================================================================== */
.section {
    padding: 6.5rem 1.5rem;
    position: relative;
}

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

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

.section-header h2 {
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    display: inline-block;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 10rem 1.5rem 6.5rem 1.5rem;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08) 0%, rgba(11, 15, 25, 0) 50%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--primary);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 2.2rem;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    width: 100%;
}

.visual-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.hero-mockup-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Channels Bar */
.channels-bar {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.01);
    padding: 2.5rem 1.5rem;
    margin-top: 6rem;
}

.channels-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.channels-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.channels-grid {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    flex-wrap: wrap;
}

.channel-logo {
    color: var(--text-muted);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    opacity: 0.55;
    transition: opacity 0.3s ease;
}

.channel-logo:hover {
    opacity: 0.95;
    color: var(--text-white);
}

/* ==========================================================================
   SOLUÇÕES / SEGMENTOS
   ========================================================================== */
.solutions-section {
    background-color: var(--bg-surface);
}

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

.solution-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(37, 99, 235, 0.05);
}

.solution-icon {
    color: var(--primary);
    background-color: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
}

.solution-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.solution-card p {
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.solution-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.solution-list li {
    font-size: 0.85rem;
    color: var(--text-main);
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-weight: 500;
}

.solution-list li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
}

/* ==========================================================================
   CALCULADORA DE ROI
   ========================================================================== */
.calc-section {
    background: radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.05) 0%, rgba(11, 15, 25, 0) 50%);
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.calc-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.calc-info h2 {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.calc-info p {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.calc-benefit-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    margin-bottom: 1.8rem;
}

.bullet-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.calc-card {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.calc-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
}

.range-input-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.range-input-container input[type="range"] {
    flex-grow: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
}

.range-input-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-glow);
    transition: transform 0.1s ease;
}

.range-input-container input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.calc-val-display {
    min-width: 110px;
    text-align: right;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-white);
}

.calc-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2.2rem 0;
}

.calc-results {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    margin-bottom: 2.2rem;
}

.result-box {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.2rem;
    text-align: center;
}

.res-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 0.4rem;
}

.res-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.55rem;
    display: block;
    color: var(--text-white);
}

.res-value.text-green {
    color: var(--accent);
}

.res-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ==========================================================================
   MÉTODO
   ========================================================================== */
.method-section {
    background-color: var(--bg-surface);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.timeline-item {
    position: relative;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.timeline-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.8rem;
    color: rgba(37, 99, 235, 0.15);
    position: absolute;
    top: 1.5rem;
    right: 1.8rem;
}

.timeline-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
    padding-right: 2rem; /* prevent overlap with the absolute number */
}

.timeline-content p {
    font-size: 0.9rem;
}

/* ==========================================================================
   DIFERENCIAIS
   ========================================================================== */
.differences-grid-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.align-left {
    text-align: left;
    margin: 0;
}

.stat-highlight-box {
    margin-top: 2.5rem;
    border-left: 3px solid var(--primary);
    padding-left: 1.8rem;
}

.stat-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.differences-cards {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.diff-card {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 2.2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.diff-card:hover {
    background-color: var(--bg-surface);
    border-color: var(--border-hover);
}

.diff-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.diff-card p {
    font-size: 0.95rem;
}

/* ==========================================================================
   CAPTURA / FORMULÁRIO
   ========================================================================== */
.contact-section {
    background: radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.05) 0%, rgba(11, 15, 25, 0) 50%);
}

.contact-card-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-surface);
}

.contact-info-panel {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    padding: 4.5rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-panel h2 {
    font-size: 2.1rem;
    margin-bottom: 1.5rem;
}

.contact-info-panel p {
    font-size: 1rem;
    margin-bottom: 3.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.contact-icon-small {
    font-size: 1.6rem;
    color: var(--primary);
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-weight: 600;
}

.detail-val {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-white);
}

.contact-form-panel {
    padding: 4.5rem 3.5rem;
    background-color: var(--bg-surface);
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-white);
}

.form-group input,
.form-group select {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1rem;
    border-radius: 8px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

.submit-btn {
    margin-top: 1rem;
    gap: 0.8rem;
    font-size: 1.05rem;
}

.submit-btn:hover .arrow-icon {
    transform: translateX(5px);
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.form-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    margin-top: 1.2rem;
    color: var(--text-muted);
}

/* Success Alert Styles */
.success-alert {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-surface);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.5rem;
    text-align: center;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.success-text h4 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.success-text p {
    font-size: 1rem;
    max-width: 420px;
    margin: 0 auto;
}

.hide {
    display: none !important;
}

/* ==========================================================================
   WHATSAPP CTA & SEPARATOR
   ========================================================================== */
.whatsapp-cta-box {
    margin-bottom: 2rem;
    text-align: center;
    background-color: rgba(16, 185, 129, 0.05);
    border: 1px dashed rgba(16, 185, 129, 0.3);
    padding: 2.2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.whatsapp-cta-box:hover {
    background-color: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.5);
}

.whatsapp-cta-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.whatsapp-cta-box p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    font-weight: 700;
    gap: 0.8rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    width: 100%;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

.form-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.form-separator::before,
.form-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.form-separator:not(:empty)::before {
    margin-right: 1em;
}

.form-separator:not(:empty)::after {
    margin-left: 1em;
}

/* ==========================================================================
   BRAND LOGO CUSTOM STYLE
   ========================================================================== */
.brand-logo-full {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.7rem;
    color: var(--text-white);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.brand-title-accent {
    color: var(--primary);
}

.brand-subtitle {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 0.25rem;
    gap: 0.4rem;
}

.brand-subtitle .subtitle-txt {
    font-size: 0.52rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.16em;
    white-space: nowrap;
    text-transform: uppercase;
}

.brand-subtitle .subtitle-line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--border-color);
    min-width: 10px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-main);
    padding: 4.5rem 1.5rem 2.5rem 1.5rem;
}

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

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

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

.footer-slogan {
    font-size: 0.9rem;
    margin-top: 0.8rem;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-nav a:hover {
    color: var(--text-white);
}

.footer-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
}

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

/* ==========================================================================
   BLOG GRID (HOME PAGE) & SINGLE POST LAYOUT
   ========================================================================== */
.blog-section {
    background-color: var(--bg-main);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 1rem;
}

.blog-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(37, 99, 235, 0.05);
}

.blog-card-meta {
    padding: 1.5rem 1.8rem 0.5rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.blog-tag {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card-content {
    padding: 0.5rem 1.8rem 2rem 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    line-height: 1.35;
}

.blog-card-content p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card:hover .read-more-link {
    color: var(--text-white);
}

.blog-card:hover .read-more-link svg {
    transform: translateX(4px);
}

.read-more-link svg {
    transition: transform 0.2s ease;
}

/* Single Blog Post Reading styles */
.blog-post-page {
    padding: 10rem 1.5rem 6.5rem 1.5rem;
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.06) 0%, rgba(11, 15, 25, 0) 50%);
}

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

.post-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.post-back-link:hover {
    color: var(--text-white);
}

.post-header {
    margin-bottom: 3.5rem;
}

.post-meta-top {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.post-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.post-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-white);
    opacity: 0.85;
}

.post-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
}

.post-body h2 {
    font-size: 1.6rem;
    margin-top: 3.5rem;
    margin-bottom: 1.2rem;
}

.post-body h3 {
    font-size: 1.3rem;
    margin-top: 2.2rem;
    margin-bottom: 0.8rem;
}

.post-body p {
    margin-bottom: 1.8rem;
    color: #d1d5db;
}

.post-body ul, .post-body ol {
    margin-bottom: 1.8rem;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.post-body ul {
    list-style-type: disc;
}

.post-body ol {
    list-style-type: decimal;
}

.post-body li {
    color: #d1d5db;
}

.post-body strong {
    color: var(--text-white);
}

/* Callout Box inside post */
.post-callout {
    background-color: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--primary);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
    margin: 2.5rem 0;
}

.post-callout p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--text-white);
}

/* Article CTA Footer Box */
.post-cta-box {
    margin-top: 5rem;
    background: linear-gradient(135deg, #111827 0%, #1e3a8a 100%);
    border: 1px solid var(--border-color);
    padding: 3.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.post-cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.post-cta-box p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet layout */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-features-list {
        align-items: center;
    }
    
    .calc-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .differences-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .align-left {
        text-align: center;
    }
    
    .stat-highlight-box {
        border-left: none;
        border-top: 2px solid var(--primary);
        padding-left: 0;
        padding-top: 1.5rem;
        max-width: 400px;
        margin: 2rem auto 0 auto;
    }
    
    .contact-card-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info-panel {
        padding: 3.5rem 2.5rem;
    }
    
    .contact-form-panel {
        padding: 3.5rem 2.5rem;
    }
}

/* Mobile responsive navigation & controls */
@media (max-width: 768px) {
    .section {
        padding: 4.5rem 1.2rem;
    }
    
    .nav-links {
        display: none; /* simple mobile setup, toggle active class using JS */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-surface);
        border-bottom: 1px solid var(--border-color);
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-cta {
        display: none; /* simplify navbar for mobile */
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .channels-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .channels-grid {
        justify-content: center;
        gap: 2rem;
    }
    
    .range-input-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .calc-val-display {
        text-align: left;
    }
    
    .calc-results {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
