/* ==========================================================================
   CSS Variables & Design Tokens (Awwwards / Premium Theme)
   ========================================================================== */
:root {
    /* Colors - Linear/Vercel inspired */
    --bg-white: #ffffff;
    --bg-offwhite: #fafafa;
    --bg-slate: #f1f5f9;
    
    --text-primary: #09090b;
    --text-secondary: #52525b;
    --text-tertiary: #a1a1aa;
    
    --brand-dark: #0f172a;
    --brand-blue: #2563eb;
    --brand-accent: #f59e0b;
    --brand-accent-hover: #d97706;
    
    /* Layout */
    --container-width: 1280px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    /* Glassmorphism & Shadows */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-blur: blur(16px);
    
    --shadow-subtle: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    --shadow-hover: 0 20px 40px -8px rgba(15, 23, 42, 0.1);
    --shadow-accent: 0 8px 30px rgba(245, 158, 11, 0.3);
    
    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom cursor */
}

html {
    scroll-behavior: auto; /* Let JS handle smooth scroll if needed, or native if no Lenis */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   Custom Cursor & Scroll Progress
   ========================================================================== */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-blue);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(37, 99, 235, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-accent));
    width: 0%;
    z-index: 10000;
    transform-origin: left;
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: var(--bg-white);
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-content {
    text-align: center;
    overflow: hidden;
}

.loader-content .logo-text {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(20px);
}

.loader-content .logo-text span {
    color: var(--brand-accent);
}

.loading-line {
    width: 0;
    height: 2px;
    background: var(--brand-blue);
    margin-top: 10px;
}

/* ==========================================================================
   Background Effects
   ========================================================================== */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(37, 99, 235, 0.15);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: rgba(245, 158, 11, 0.08);
    bottom: 20%;
    left: -200px;
}

/* ==========================================================================
   Shared Components
   ========================================================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-bounce);
    z-index: 1;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-giant {
    padding: 20px 48px;
    font-size: 1.25rem;
}

.btn-primary {
    background-color: var(--brand-accent);
    color: var(--brand-dark);
    box-shadow: var(--shadow-accent);
}

.btn-primary .btn-hover-bg {
    position: absolute;
    inset: 0;
    background-color: var(--brand-accent-hover);
    border-radius: inherit;
    transform: scale(0);
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn-primary:hover .btn-hover-bg {
    transform: scale(2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--brand-dark);
    border: 1px solid rgba(15, 23, 42, 0.2);
}

.btn-outline:hover {
    border-color: var(--brand-dark);
    background-color: rgba(15, 23, 42, 0.03);
}

.sub-heading {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-blue);
    margin-bottom: 16px;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 16px 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    box-shadow: var(--shadow-subtle);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    background: rgba(255,255,255,0.5);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--brand-dark);
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-slate);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.burger-line {
    width: 20px;
    height: 2px;
    background: var(--brand-dark);
    transition: 0.3s;
}

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

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 32px;
    box-shadow: var(--shadow-subtle);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
}

.hero-title {
    font-size: 3.5rem; /* Reduced from 4.5rem for better proportions */
    margin-bottom: 24px;
    text-wrap: balance;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.15rem; /* Slightly reduced */
    max-width: 540px;
    margin-bottom: 40px;
}

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

/* Abstract Tech Artwork */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.art-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.glass-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.2));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.orb-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.orb-2 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 10%;
    animation: float 4s ease-in-out infinite reverse;
}

.main-glass-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(-15deg) rotateX(10deg);
    width: 350px;
    height: 450px;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: var(--radius-lg);
    box-shadow: -20px 20px 50px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: transform 0.1s ease-out;
}

.glass-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 10;
    opacity: 1;
    background: #000;
}

.blueprint-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
}

.panel-data {
    position: relative;
    z-index: 1;
}

.data-row {
    height: 8px;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    margin-bottom: 12px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-accent));
    border-radius: 4px;
}

.w-70 { width: 70%; }
.w-40 { width: 40%; }
.w-90 { width: 90%; }

.floating-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brand-blue);
    box-shadow: var(--shadow-hover);
}

.el-1 { top: 30%; left: 15%; animation: float 5s infinite; }
.el-2 { bottom: 30%; right: 15%; animation: float 7s infinite reverse; }
.el-3 { top: 15%; right: 40%; animation: float 6s infinite alternate; }

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-tertiary);
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-tertiary);
    border-radius: 12px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: var(--text-tertiary);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 10px); opacity: 0; }
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats {
    padding: 80px 0;
    background: var(--bg-white);
    position: relative;
    z-index: 2;
}

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

.stat-card {
    padding: 32px 24px;
    text-align: center;
    border-top: 3px solid transparent;
    transition: var(--transition-bounce);
}

.stat-card:hover {
    border-top-color: var(--brand-accent);
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 2rem;
    color: var(--brand-blue);
    margin-bottom: 16px;
}

.stat-card h2 {
    font-size: 3rem;
    margin-bottom: 8px;
}

.stat-card p {
    font-size: 0.95rem;
    font-weight: 500;
}

/* ==========================================================================
   Services Section (3D Tilt)
   ========================================================================== */
.services {
    padding: 120px 0;
    background: var(--bg-offwhite);
}

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

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.services-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card-premium {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 40px;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-subtle);
    transition: box-shadow 0.5s ease;
}

.service-card-premium:hover {
    box-shadow: var(--shadow-hover);
}

.card-bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
}

.service-card-premium:hover .card-bg-gradient {
    opacity: 1;
}

.card-inner {
    transform: translateZ(30px);
}

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

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--bg-slate);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brand-blue);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card-premium:hover .icon-wrapper {
    transform: rotate(10deg) scale(1.1);
    background: var(--brand-blue);
    color: var(--bg-white);
}

.service-card-premium h3 {
    font-size: 1.5rem;
}

.card-media {
    height: 220px;
    border-radius: var(--radius-md);
    background: var(--bg-slate);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    /* Fix for Safari border radius on scale */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.card-media img, 
.card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.service-card-premium:hover .card-media img,
.service-card-premium:hover .card-media video {
    transform: scale(1.08);
}

.card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.service-card-premium:hover .card-media::after {
    opacity: 1;
}

/* Abstract Patterns for Services */
.wire-pattern {
    position: absolute; inset: 0;
    background: linear-gradient(45deg, transparent 48%, var(--brand-blue) 49%, var(--brand-blue) 51%, transparent 52%);
    background-size: 20px 20px;
    opacity: 0.1;
}
.circuit-pattern {
    position: absolute; inset: 0;
    background: radial-gradient(circle, var(--brand-accent) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.card-content p {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.benefits {
    margin-bottom: 24px;
}

.benefits li {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.benefits i {
    color: #10b981;
}

.service-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-link i {
    transition: transform 0.3s;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   Process (Timeline)
   ========================================================================== */
.process {
    padding: 120px 0;
    background: var(--bg-white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: var(--bg-slate);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 15px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--bg-white);
    border: 3px solid var(--brand-blue);
    border-radius: 50%;
    z-index: 1;
}

.pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.timeline-content {
    padding: 24px;
}

.step-num {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-accent);
    margin-bottom: 8px;
    display: block;
}

/* ==========================================================================
   Areas (Stylized Map)
   ========================================================================== */
.areas {
    padding: 120px 0;
    background: var(--brand-dark);
    color: var(--bg-white);
    overflow: hidden;
}

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

.areas h2 {
    color: var(--bg-white);
}

.areas p {
    color: var(--text-tertiary);
}

.area-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.area-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-smooth);
}

.area-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(10px);
}

.area-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-accent);
}

.area-card h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.area-card span {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.cyber-map {
    position: relative;
    width: 100%;
    height: 400px;
}

.map-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    border-radius: 20px;
    transform: perspective(1000px) rotateX(45deg);
}

.map-connection {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.path-line {
    fill: none;
    stroke: rgba(37, 99, 235, 0.4);
    stroke-width: 2;
    stroke-dasharray: 10;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to { stroke-dashoffset: 1000; }
}

.pin {
    position: absolute;
    width: 12px;
    height: 12px;
    cursor: pointer;
}

.pin-core {
    width: 100%;
    height: 100%;
    background: var(--brand-accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--brand-accent);
}

.pin-radar {
    position: absolute;
    top: -14px;
    left: -14px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--brand-accent);
    border-radius: 50%;
    animation: radar 2s infinite;
    opacity: 0;
}

@keyframes radar {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.sp { top: 30%; left: 40%; }
.litoral-sul { top: 60%; left: 60%; }
.litoral-norte { top: 70%; left: 80%; }

.pin[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-white);
    color: var(--brand-dark);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.pin:hover::after {
    opacity: 1;
    top: -40px;
}

/* ==========================================================================
   Projects Gallery
   ========================================================================== */
.projects {
    padding: 120px 0;
    background: var(--bg-offwhite);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: none;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.g-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pattern-1 { background: linear-gradient(135deg, #cbd5e1, #94a3b8); }
.pattern-2 { background: linear-gradient(135deg, #93c5fd, #3b82f6); }
.pattern-3 { background: linear-gradient(135deg, #fcd34d, #f59e0b); }
.pattern-4 { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }

.g-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .g-img {
    transform: scale(1.05);
}

.gallery-item:hover .g-overlay {
    opacity: 1;
}

.g-overlay h4 {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 4px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.g-overlay p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-item:hover .g-overlay h4,
.gallery-item:hover .g-overlay p {
    transform: translateY(0);
}

/* ==========================================================================
   Testimonials Slider
   ========================================================================== */
.testimonials {
    padding: 120px 0;
    background: var(--bg-white);
    overflow: hidden;
}

.slider-container {
    width: 100%;
}

.slider-track {
    display: flex;
    gap: 32px;
    width: max-content;
    /* JS will animate this */
}

.slide {
    width: 400px;
    padding: 40px;
}

.quote-icon {
    font-size: 2rem;
    color: var(--bg-slate);
    margin-bottom: 24px;
}

.review {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 32px;
}

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

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client strong {
    display: block;
    color: var(--brand-dark);
}

.client span {
    font-size: 0.85rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
    padding: 120px 0;
    background: var(--bg-offwhite);
}

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

.faq-text h2 {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

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

.accordion-item {
    padding: 24px;
    cursor: pointer;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.acc-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-slate);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.accordion-item.active .acc-icon {
    transform: rotate(45deg);
    background: var(--brand-dark);
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
}

.accordion-content p {
    padding-top: 16px;
    color: var(--text-secondary);
}

/* ==========================================================================
   Super CTA Final
   ========================================================================== */
.super-cta {
    padding: 150px 0;
    position: relative;
    background: var(--brand-dark);
    overflow: hidden;
}

.cta-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}

.particles {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.cta-container {
    text-align: center;
    padding: 80px 40px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
}

.cta-container h2 {
    color: var(--bg-white);
    font-size: 4rem;
    margin-bottom: 24px;
}

.cta-container p {
    color: var(--text-tertiary);
    font-size: 1.25rem;
    margin-bottom: 48px;
}

/* ==========================================================================
   Footer Modern
   ========================================================================== */
.footer {
    background: #020617; /* Slate 950 */
    color: var(--text-tertiary);
    padding-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-brand .logo {
    color: var(--bg-white);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition-bounce);
}

.social-links a:hover {
    background: var(--brand-blue);
    transform: translateY(-5px);
}

.footer h4 {
    color: var(--bg-white);
    margin-bottom: 24px;
}

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

.footer-links a {
    transition: color 0.3s;
}

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-card i {
    font-size: 1.5rem;
    color: #10b981;
}

.contact-card span {
    display: block;
    font-size: 0.85rem;
}

.contact-card strong {
    color: var(--bg-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.mt-4 { margin-top: 24px; }
.mt-2 { margin-top: 16px; }

/* ==========================================================================
   Floating Elements
   ========================================================================== */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.wa-ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #10b981;
    z-index: -1;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% { transform: scale(1.5); opacity: 0; }
}

.float-wa .tooltip {
    position: absolute;
    right: 80px;
    background: var(--bg-white);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: 0.3s;
    box-shadow: var(--shadow-subtle);
}

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

.back-to-top {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border: 1px solid var(--bg-slate);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--shadow-subtle);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.4s;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container, .faq-container, .areas-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 3.5rem; }
    .hero-visual { height: 400px; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    .cursor-dot, .cursor-outline { display: none; } /* Disable custom cursor on mobile */
    * { cursor: auto; }
    
    .nav-links { display: none; }
    .navbar .btn { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    
    .services-wrapper { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.large, .gallery-item.wide { grid-column: span 1; grid-row: span 1; }
    
    .super-cta h2 { font-size: 2.5rem; }
    
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
