/* Base & Variables — palette sampled from the Scalare logo (blue -> purple -> green) */
:root {
    --primary: #2f8fef; /* Scalare Blue */
    --primary-light: #7ec8f7; /* Scalare Light Blue */
    --primary-dark: #2e2565; /* Deep Indigo */
    --secondary: #9b6ef0; /* Scalare Purple */
    --accent-green: #45d08a; /* Scalare Green */
    --dark-bg: #05060f; /* Very dark navy/black */
    --card-bg: rgba(20, 22, 38, 0.6);
    --border: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #a1a1aa;
    --success: #45d08a;
    --warning: #f59e0b;
    --font-sans: 'Outfit', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Spotlight Background Effect */
.spotlight {
    position: fixed;
    top: -50vh;
    left: -50vw;
    width: 200vw;
    height: 200vh;
    background: radial-gradient(circle at 25% 75%, rgba(69, 208, 138, 0.16) 0%, transparent 45%), radial-gradient(circle at 50% 50%, rgba(155, 110, 240, 0.32) 0%, rgba(46, 37, 101, 0.28) 25%, transparent 55%);
    pointer-events: none;
    z-index: -1;
    animation: sweep 15s infinite ease-in-out alternate;
}

@keyframes sweep {
    0% { transform: translate(-30%, -10%); }
    50% { transform: translate(10%, 20%); }
    100% { transform: translate(30%, -10%); }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 999px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); }

.glow-btn {
    box-shadow: 0 0 20px rgba(47, 143, 239, 0.4);
}
.glow-btn:hover {
    box-shadow: 0 0 30px rgba(155, 110, 240, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-text {
    color: var(--text-muted);
    padding: 0.5rem 1rem;
}
.btn-text:hover { color: var(--text-main); }


/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(13, 4, 5, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 700;
}
.logo-icon {
    width: 1.8rem;
    height: 1.8rem;
    object-fit: contain;
    flex-shrink: 0;
}
.logo span { color: var(--primary-light); }

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-main); }
.nav-links a.active { color: var(--primary-light); }

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}
.hero h1 span {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-text > p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.stat-item h3 {
    font-size: 1.75rem;
    color: var(--text-main);
}
.stat-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}
.hero-stats .divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Visuals (Mockups) */
.hero-visual {
    position: relative;
    height: 500px;
}

/* Smartphone Mockup */
.smartphone-mockup {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    height: 600px;
    background: var(--card-bg);
    border: 12px solid #000;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-notch {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #000;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.phone-header {
    background: rgba(0, 0, 0, 0.5);
    padding: 2.5rem 1rem 1rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid var(--border);
}
.phone-header i {
    font-size: 1.8rem;
    color: var(--primary-light);
}
.phone-header div {
    display: flex;
    flex-direction: column;
}
.phone-header strong {
    font-size: 0.9rem;
    line-height: 1.2;
}
.phone-header span {
    font-size: 0.65rem;
    color: var(--success);
}

.chat-mockup {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
}
.chat-mockup::-webkit-scrollbar {
    width: 4px;
}
.chat-mockup::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.chat-bubble {
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    max-width: 85%;
    position: relative;
    animation: fadeInBubble 0.3s ease forwards;
    opacity: 0;
    transform: translateY(10px);
    flex-shrink: 0;
}
.chat-bubble p {
    font-size: inherit;
    color: inherit;
    margin: 0;
    line-height: 1.4;
}
@keyframes fadeInBubble {
    to { opacity: 1; transform: translateY(0); }
}
.chat-bubble.bot {
    background: rgba(47, 143, 239, 0.15);
    border: 1px solid rgba(47, 143, 239, 0.3);
    border-bottom-left-radius: 2px;
    align-self: flex-start;
}
.chat-bubble.user {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-bottom-right-radius: 2px;
    align-self: flex-end;
}
.chat-bubble .sender-name {
    display: block;
    font-size: 0.65rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 2px;
}
.chat-bubble .time {
    display: block;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.7);
    text-align: right;
    margin-top: 2px;
}
.chat-bubble.typing {
    display: inline-flex;
    gap: 4px;
    padding: 0.6rem 0.8rem;
    opacity: 1; 
    transform: none;
    animation: none;
}
.chat-bubble.typing.bot {
    background: rgba(47, 143, 239, 0.15);
    border: 1px solid rgba(47, 143, 239, 0.3);
    border-radius: 12px;
    border-bottom-left-radius: 2px;
    align-self: flex-start;
}
.chat-bubble.typing.user {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 12px;
    border-bottom-right-radius: 2px;
    align-self: flex-end;
}
.chat-bubble.typing.user .dot {
    background: rgba(255, 255, 255, 0.8);
}
.chat-bubble.typing .dot {
    width: 6px; height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}
.chat-bubble.typing .dot:nth-child(1) { animation-delay: -0.32s; }
.chat-bubble.typing .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}



/* General Sections */
section {
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto; margin-right: auto;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.solution-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform 0.3s, border-color 0.3s;
    overflow: hidden;
}

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

.card-glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80%; height: 200px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}
.solution-card:hover .card-glow { opacity: 0.15; }
/* Follow the logo's blue -> purple -> green flow across each 3-card row */
.solution-card:nth-child(2) .card-glow { background: radial-gradient(circle, var(--secondary) 0%, transparent 70%); }
.solution-card:nth-child(3) .card-glow { background: radial-gradient(circle, var(--accent-green) 0%, transparent 70%); }

.icon-wrapper {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
.icon-wrapper.blue { background: rgba(47, 143, 239, 0.12); color: var(--primary); } /* Blue */
.icon-wrapper.purple { background: rgba(155, 110, 240, 0.12); color: var(--secondary); } /* Purple */
.icon-wrapper.green { background: rgba(69, 208, 138, 0.12); color: var(--accent-green); } /* Green */

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative; z-index: 1;
}
.solution-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    position: relative; z-index: 1;
}
.feature-list {
    list-style: none;
    position: relative; z-index: 1;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #cbd5e1;
}
.feature-list i { color: var(--primary-light); }

/* Section "Ver mais" links */
.section-more {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}
.methodology-link {
    padding-left: 0;
    margin-top: 0.5rem;
    color: var(--primary-light);
}
.methodology-link:hover { color: var(--text-main); }

/* Page Hero (inner pages: Soluções, Sobre, Contato) */
.page-hero {
    padding-top: 160px;
    padding-bottom: 3rem;
    text-align: center;
}
.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.page-hero h1 span {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto;
}

/* Detailed Solution Blocks (solucoes.html) */
.solution-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 100px;
}
.solution-detail:last-of-type { border-bottom: none; }
.solution-detail.reverse { direction: rtl; }
.solution-detail.reverse > * { direction: ltr; }
.solution-detail h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.solution-detail > div:first-child p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}
.solution-visual {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.solution-visual i {
    font-size: 6rem;
    color: var(--primary-light);
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-info-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
}
.contact-info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.contact-info-card h3 i { color: var(--primary-light); font-size: 1.3rem; }
.contact-info-card p, .contact-info-card a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
}
.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
}
.contact-form button {
    width: 100%;
    justify-content: center;
    border: none;
    font-family: var(--font-sans);
}
.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    text-align: center;
}

/* Legal Pages (Termos de Uso / Política de Privacidade) */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 4rem;
}
.legal-content .legal-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}
.legal-content h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.legal-content ul {
    color: var(--text-muted);
    margin: 0 0 1rem 1.25rem;
}
.legal-content li { margin-bottom: 0.5rem; }
.legal-content strong { color: var(--text-main); }
.legal-content a { color: var(--primary-light); }

/* Methodology Section */
.methodology-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.methodology-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.methodology-text > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}
.steps::before {
    content: '';
    position: absolute;
    left: 20px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent-green) 90%, transparent);
    z-index: 0;
}
.step {
    display: flex;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}
.step-number {
    width: 42px; height: 42px;
    background: var(--dark-bg);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold;
    font-family: var(--font-display);
    color: var(--primary-light);
    flex-shrink: 0;
}
/* Last step lands on the brand green — the path completes */
.step:last-child .step-number {
    border-color: var(--accent-green);
    color: var(--accent-green);
}
.step-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.dash-header {
    background: rgba(255,255,255,0.03);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
.dash-header strong {
    display: block;
    font-family: var(--font-display);
    font-weight: bold;
}
.dash-header span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}
.dash-body { padding: 2rem; }

/* Chart track: bar groups (value label + bar) sit on a shared baseline */
.dash-chart {
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0;
}
.bar-group {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}
.bar-value {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
}
.dash-chart .bar {
    width: 100%;
    background: rgba(47, 143, 239, 0.18);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease;
}
/* Sequential ramp: each bar a step darker/more saturated than the last,
   reading left-to-right as the trend climbs toward the highlighted month */
.bar-group:nth-child(1) .bar { background: rgba(47, 143, 239, 0.18); }
.bar-group:nth-child(2) .bar { background: rgba(47, 143, 239, 0.38); }
.bar-group:nth-child(3) .bar { background: rgba(47, 143, 239, 0.6); }
.dash-chart .bar.highlight {
    background: linear-gradient(to top, var(--primary), var(--accent-green));
    box-shadow: 0 0 15px rgba(69, 208, 138, 0.4);
}
.bar-group.highlight .bar-value {
    color: var(--accent-green);
}

/* Month axis labels, aligned under each bar */
.dash-axis {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-top: 0.6rem;
}
.dash-axis span {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dash-metrics {
    display: flex;
    gap: 1rem;
}
.metric {
    flex: 1;
    background: rgba(255,255,255,0.02);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.metric i { color: var(--success); font-size: 1.1rem; flex-shrink: 0; }
.metric div { display: flex; flex-direction: column; }
.metric strong {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.2;
}
.metric span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.accordion {
    border-bottom: 1px solid var(--border);
}
.accordion-header {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.accordion-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
}
.accordion-header i {
    transition: transform 0.3s;
}
.accordion.active .accordion-header i {
    transform: rotate(45deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Final CTA */
.final-cta {
    padding: 3rem 2rem 5rem 2rem;
}
.cta-box {
    background: linear-gradient(135deg, rgba(47, 143, 239, 0.1), rgba(155, 110, 240, 0.08));
    border: 1px solid rgba(47, 143, 239, 0.2);
    border-radius: 30px;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(47, 143, 239, 0.15), transparent 70%);
    pointer-events: none;
}
.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.cta-box p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto; margin-right: auto;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding-top: 3rem;
    background: #000;
}
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.3fr 0.6fr 1fr 1.1fr;
    gap: 3rem;
    align-items: stretch;
    margin-bottom: 2rem;
}
.footer-brand p {
    color: var(--text-muted);
    margin: 1.5rem 0;
    font-size: 0.95rem;
    max-width: 300px;
}
.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.footer-links ul {
    list-style: none;
}
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-main); }

.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.footer-contact-info {
    margin-bottom: 1.25rem;
}
.footer-contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.9rem;
}
.footer-contact-info p i {
    color: var(--accent-green);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}
.footer-contact-info a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-contact-info a:hover { color: var(--text-main); }
.footer-map {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    min-height: 180px;
    height: 100%;
}
.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }


/* Responsive */
@media (max-width: 992px) {
    .hero-container, .methodology-container, .solution-detail, .contact-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .solution-detail.reverse { direction: ltr; }
    .solution-visual { order: -1; }
    .hero h1 { font-size: 3rem; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .main-panel { position: relative; transform: none; top: 0; left: 0; margin: 0 auto; }
    .panel-1 { top: -20px; right: 0; }
    .panel-2 { bottom: -20px; left: 0; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .footer-container { grid-template-columns: 1fr; }
    .cta-box h2 { font-size: 2rem; }
    .page-hero h1 { font-size: 2.2rem; }
}
