/* ==========================================
   TECH COSTA - DESIGN SYSTEM & STYLES
   ========================================== */

:root {
    /* Color Tokens (Light Theme Default) */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: rgba(241, 245, 249, 1);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-hover: rgba(245, 118, 20, 0.5);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* Brand Accent: Tech Orange */
    --accent-orange: #f57614;
    --accent-orange-hover: #e06505;
    --accent-orange-glow: rgba(245, 118, 20, 0.25);
    
    /* WhatsApp Green */
    --whatsapp-green: #25d366;
    --whatsapp-green-hover: #1ebd5a;
    --whatsapp-glow: rgba(37, 211, 102, 0.25);
    
    --gradient-brand: linear-gradient(135deg, #f57614 0%, #ff9839 100%);
    --gradient-glow: radial-gradient(circle at 50% 30%, rgba(245, 118, 20, 0.08) 0%, transparent 70%);

    /* Typography */
    --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-logo: 'Oswald', 'Plus Jakarta Sans', sans-serif;
    
    /* Layout */
    --container-max: 1200px;
    --header-height: 85px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
    --bg-primary: #0b0f19;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-hover: rgba(30, 41, 59, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(245, 118, 20, 0.4);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --gradient-glow: radial-gradient(circle at 50% 30%, rgba(245, 118, 20, 0.15) 0%, transparent 70%);
}

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

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

ul {
    list-style: none;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Layout Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 640px;
}

.section-header.center {
    text-align: center;
    margin-bottom: 40px;
}

.section-header.center .section-description {
    margin: 0 auto;
}

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

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

/* LOGO OFICIAL TECH COSTA */
.brand-logo {
    display: inline-block;
}

.logo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 0.95;
    font-family: var(--font-logo);
    padding: 2px 4px;
    text-transform: uppercase;
}

.logo-tech {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--accent-orange);
    letter-spacing: 1px;
}

.logo-tagline {
    font-family: var(--font-family);
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 3.5px;
    color: #0f172a;
    margin: 2px 0;
    text-align: center;
}

[data-theme="dark"] .logo-tagline {
    color: #ffffff;
}

.logo-costa {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--accent-orange);
    letter-spacing: 1px;
}

/* Subpages Page Hero */
.page-hero-section {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 50px;
    background: linear-gradient(180deg, rgba(245, 118, 20, 0.05) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-top: 16px;
    margin-bottom: 16px;
}

.page-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

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

/* Hero Section & IP Widget */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 90px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: var(--gradient-glow);
    pointer-events: none;
    z-index: 0;
}

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

/* PAINEL DE MONITORAMENTO DE IP E TOP 10 DOWNDETECTOR BR */
.status-monitor-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.ip-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    align-self: flex-start;
}

.ip-badge svg {
    width: 16px;
    height: 16px;
    color: var(--accent-orange);
}

.ip-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse 2s infinite;
}

.ip-label {
    color: var(--text-muted);
}

.ip-value {
    color: var(--accent-orange);
    font-family: monospace;
    font-weight: 700;
}

/* Ticker dos 10 Principais Serviços do DownDetector BR */
.services-status-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.825rem;
    flex-wrap: wrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.ticker-header-link {
    font-weight: 800;
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 10px;
    border-right: 1px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.ticker-header-link:hover {
    color: var(--accent-orange-hover);
    transform: scale(1.02);
}

.ticker-header-link svg {
    width: 16px;
    height: 16px;
    color: var(--accent-orange);
}

.ticker-items {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.status-item-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.04);
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    border: 1px solid transparent;
}

[data-theme="dark"] .status-item-pill {
    background: rgba(255, 255, 255, 0.06);
}

.status-item-pill:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(245, 118, 20, 0.15);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-dot.green {
    background-color: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

.status-dot.yellow {
    background-color: #eab308;
    box-shadow: 0 0 6px #eab308;
}

.status-dot.red {
    background-color: #ef4444;
    box-shadow: 0 0 6px #ef4444;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Visual Code Card (IDE Window with Syntax Highlighting) */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.code-card-glass {
    width: 100%;
    max-width: 520px;
    background: #0f172a;
    border: 1px solid rgba(245, 118, 20, 0.3);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.4), 0 0 30px rgba(245, 118, 20, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(12px);
}

.code-card-glass:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.5), 0 0 40px rgba(245, 118, 20, 0.25);
    border-color: rgba(245, 118, 20, 0.6);
}

.code-card-glass .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #1e293b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-card-glass .dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.code-card-glass .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.code-card-glass .dot.red {
    background-color: #ff5f56;
    box-shadow: 0 0 6px rgba(255, 95, 86, 0.5);
}

.code-card-glass .dot.yellow {
    background-color: #ffbd2e;
    box-shadow: 0 0 6px rgba(255, 189, 46, 0.5);
}

.code-card-glass .dot.green {
    background-color: #27c93f;
    box-shadow: 0 0 6px rgba(39, 201, 63, 0.5);
}

.code-card-glass .card-title {
    font-family: 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;
    font-size: 0.825rem;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.code-card-glass .card-body {
    padding: 22px 24px;
    overflow-x: auto;
}

.code-card-glass pre {
    margin: 0;
    font-family: 'Fira Code', 'JetBrains Mono', 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.925rem;
    line-height: 1.65;
    color: #e2e8f0;
    tab-size: 2;
}

.code-card-glass code {
    font-family: inherit;
    white-space: pre;
}

/* Syntax Highlighting Colors */
.code-keyword {
    color: #ff79c6; /* Pink/Magenta */
    font-weight: 600;
}

.code-var {
    color: #38bdf8; /* Bright Cyan */
    font-weight: 500;
}

.code-prop {
    color: #7dd3fc; /* Light Sky Blue */
}

.code-string {
    color: #4ade80; /* Vibrant Emerald Green */
}

.code-comment {
    color: #64748b; /* Slate Gray */
    font-style: italic;
}

.code-fn {
    color: #fbbf24; /* Amber Gold */
    font-weight: 600;
}

.code-method {
    color: #a78bfa; /* Violet/Purple */
    font-weight: 500;
}

.code-card-glass .card-footer {
    padding: 12px 20px;
    background: #090d16;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.code-card-glass .status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #38bdf8;
    letter-spacing: 0.3px;
}

.code-card-glass .status-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: statusPulseGlow 2s infinite ease-in-out;
}

@keyframes statusPulseGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 10px #22c55e;
    }
    50% {
        opacity: 0.45;
        transform: scale(0.85);
        box-shadow: 0 0 4px #22c55e;
    }
}


/* Banners Callout na Home */
.banner-systems-section,
.banner-recom-section {
    padding: 60px 0;
}

.banner-systems-card {
    background: linear-gradient(135deg, rgba(245, 118, 20, 0.08) 0%, rgba(245, 118, 20, 0.02) 100%);
    border: 1px solid rgba(245, 118, 20, 0.3);
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.banner-recom-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.badge-systems, .badge-recom {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.badge-systems {
    background: var(--accent-orange);
    color: white;
}

.badge-recom {
    background: rgba(0,0,0,0.06);
    color: var(--text-muted);
}

[data-theme="dark"] .badge-recom {
    background: rgba(255,255,255,0.1);
}

.banner-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.banner-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
}

/* CENTRAL DE DOWNLOADS - BOTÕES COMPACTOS LADO A LADO */
.downloads-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.download-search-wrapper {
    position: relative;
    max-width: 480px;
    margin: 0 auto 36px;
    display: flex;
    align-items: center;
}

.download-search-wrapper svg {
    position: absolute;
    left: 18px;
    width: 20px;
    height: 20px;
    color: var(--accent-orange);
}

.download-search-wrapper input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.download-search-wrapper input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px var(--accent-orange-glow);
}

/* Grade de Botões Lado a Lado (Flex Wrap) */
.dl-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 16px;
    justify-content: center;
    align-items: center;
    max-width: 1050px;
    margin: 0 auto;
}

.dl-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f57614;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid #e06505;
    box-shadow: 0 4px 12px rgba(245, 118, 20, 0.2);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    cursor: pointer;
}

.dl-pill-btn:hover {
    background: #e06505;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(245, 118, 20, 0.35);
    border-color: #c95600;
}

/* Subpages Detailed Grids */
.systems-catalog-section,
.recommendations-catalog-section {
    padding: 80px 0;
}

.systems-grid-full,
.products-grid-expanded {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.system-detail-card,
.product-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.system-detail-card:hover,
.product-detail-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.system-detail-card.highlight-border {
    border-color: var(--accent-orange);
    background: rgba(245, 118, 20, 0.03);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-brand);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--accent-orange-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-orange-glow);
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--whatsapp-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(248, 250, 252, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background: rgba(11, 15, 25, 0.88);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

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

.nav-link.highlight-link {
    color: var(--accent-orange);
    font-weight: 700;
    position: relative;
}

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

.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

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

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

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card.highlighted {
    border-color: var(--accent-orange);
    background: rgba(245, 118, 20, 0.03);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(245, 118, 20, 0.1);
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.detail-value:hover {
    color: var(--accent-orange);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper svg {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    pointer-events: none;
}

.textarea-wrapper svg {
    top: 16px;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: var(--transition);
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px var(--accent-orange-glow);
}

.form-alert {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
}

.form-alert.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-alert h4 {
    font-weight: 700;
    margin-bottom: 4px;
}

.form-alert p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hidden {
    display: none !important;
}

/* FOOTER (HIGH-CONTRAST TYPOGRAPHY) */
.footer {
    background: #090d16;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 80px;
    color: #e2e8f0;
}

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

.footer-brand-desc {
    margin-top: 16px;
    max-width: 360px;
    font-size: 1rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.footer-links h4,
.footer-contact h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

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

.footer-links a {
    color: #cbd5e1;
    font-size: 0.975rem;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1rem;
    color: #e2e8f0;
}

.footer-contact p svg {
    color: var(--accent-orange);
    flex-shrink: 0;
}

.footer-contact-link {
    color: #ffffff;
    font-weight: 600;
}

.footer-contact-link:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

.footer-domain {
    color: #cbd5e1;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    font-size: 0.9rem;
    color: #94a3b8;
    background: #06090e;
}

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

.hosting-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-orange);
    font-weight: 600;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 36px;
    }

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

    .services-grid,
    .systems-grid-full,
    .products-grid-expanded {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-systems-card,
    .banner-recom-card {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

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

    .services-grid,
    .systems-grid-full,
    .products-grid-expanded {
        grid-template-columns: 1fr;
    }

    .dl-pills-container {
        gap: 10px;
    }

    .dl-pill-btn {
        padding: 10px 18px;
        font-size: 0.875rem;
        width: 100%;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 30px;
        border-bottom: 1px solid var(--border-color);
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: circle(140% at 100% 0);
    }

    .nav-cta {
        display: none;
    }

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