/* ==========================================================================
   SINAP Stylesheet — Futuristic Dark Fintech & AI Orchestrator Theme
   Colors: Dark Space #030712 | Card #111827 (Opacity) | Accent Neon Cyan/Violet
   ========================================================================== */

/* --- Design Tokens --- */
:root {
    --bg-color: #030712;
    --card-bg: rgba(17, 24, 39, 0.55);
    --card-bg-hover: rgba(17, 24, 39, 0.8);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(6, 182, 212, 0.3);
    
    --text-color: #f9fafb;
    --text-muted: #9ca3af;
    
    /* Neons & Gradients */
    --accent-cyan: #06b6d4;
    --accent-blue: #3b82f6;
    --accent-violet: #8b5cf6;
    --accent-green: #10b981;
    --accent-yellow: #f59e0b;
    --accent-red: #ef4444;
    
    --gradient-primary: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-violet) 100%);
    --gradient-glow: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    background-color: var(--bg-color);
}

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

body.loading-active {
    overflow: hidden;
}

li {
    list-style: none;
}

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

/* --- Background Grid Pattern & Glowing Orbs --- */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -2;
    pointer-events: none;
}

.background-glow-top {
    position: fixed;
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.03) 60%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

/* --- Entrance Overlay --- */
.entrance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.entrance-overlay.fade-out {
    opacity: 0;
}

.overlay-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.overlay-brand .logo-mono {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.spinner-glow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-top: 2px solid var(--accent-cyan);
    border-radius: 50%;
    animation: rotateSpinner 0.8s linear infinite;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

@keyframes rotateSpinner {
    100% { transform: rotate(360deg); }
}

/* --- Scroll Entrance Reveals --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- Spotlight Card Effect --- */
.spotlight-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

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

.spotlight-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(6, 182, 212, 0.08), transparent 80%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.spotlight-card:hover .spotlight-glow {
    opacity: 1;
}

.spotlight-card > * {
    position: relative;
    z-index: 2;
}

/* --- Section Formatting --- */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
    max-width: 800px;
}

.section-subtitle {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
    margin-bottom: 16px;
    display: inline-block;
    padding: 4px 10px;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 4px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.85rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.12rem;
    line-height: 1.6;
}

/* --- Header / Navbar (Spacious Glassmorphic) --- */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(3, 7, 18, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: padding var(--transition-normal), background-color var(--transition-normal);
    padding: 12px 0;
}

.navbar-header.scrolled {
    padding: 6px 0;
    background-color: rgba(3, 7, 18, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-wrapper {
    height: 42px;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px;
    transition: transform var(--transition-normal);
}

.logo-brand:hover .logo-icon-wrapper {
    transform: rotate(6deg) scale(1.05);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.brand-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02rem;
    color: var(--text-color);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 6px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-cyan);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-color);
}

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

.nav-link.active {
    color: var(--text-color);
    font-weight: 700;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(6, 182, 212, 0.35);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.btn-cta {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    font-size: 0.88rem;
}

.btn-cta:hover {
    border-color: var(--accent-cyan);
    background-color: rgba(6, 182, 212, 0.05);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.1);
}

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

/* --- Hero Section --- */
.hero-section {
    padding-top: 160px;
    padding-bottom: 60px;
    position: relative;
}

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

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

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.04rem;
    color: var(--text-color);
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    color: var(--text-muted);
    font-size: 1.18rem;
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.65;
}

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

.hero-visual {
    width: 100%;
}

/* Dashboard Mockup Panel */
.dashboard-mockup {
    background: rgba(17, 24, 39, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: transform var(--transition-slow);
}

.dashboard-mockup:hover {
    transform: translateY(-4px) rotateX(1deg);
    border-color: rgba(255, 255, 255, 0.1);
}

.mockup-header {
    background: rgba(3, 7, 18, 0.7);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.mockup-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}
.mockup-header .dot.red { background-color: var(--accent-red); }
.mockup-header .dot.yellow { background-color: var(--accent-yellow); }
.mockup-header .dot.green { background-color: var(--accent-green); }

.mockup-tab {
    margin-left: 20px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.mockup-body {
    padding: 12px;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}

/* --- Pillars Section --- */
.pillars-section {
    position: relative;
}

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

.pillar-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.pillar-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.pillar-num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-cyan);
}

.pillar-card-header i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    opacity: 0.8;
}

.pillar-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.pillar-card-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Services Section --- */
.services-table-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.service-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-size: 1.5rem;
    transition: all var(--transition-fast);
}

.cyan-glow { color: var(--accent-cyan); }
.violet-glow { color: var(--accent-violet); }
.blue-glow { color: var(--accent-blue); }
.green-glow { color: var(--accent-green); }

.service-card:hover .service-icon-box {
    transform: translateY(-2px);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.service-meta {
    margin-bottom: 20px;
}

.service-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    color: var(--accent-cyan);
    margin-bottom: 12px;
    display: inline-block;
}

.service-meta h4 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    margin-top: 8px;
}

.service-body-desc p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-bullets li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
}

.bullet-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
}

/* --- Simulator Section (Visual Pipeline & Flow) --- */
.simulator-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.simulator-visuals {
    display: flex;
    justify-content: center;
}

.pipeline-flowscroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(17, 24, 39, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 24px;
    width: 100%;
    max-width: 380px;
}

.pipeline-node {
    position: relative;
    width: 100%;
    background: rgba(3, 7, 18, 0.6);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s ease;
}

.pipeline-node.active {
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.05);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

.pipeline-node.active .node-icon {
    background: var(--accent-cyan);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.node-icon {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-cyan);
    transition: all 0.4s ease;
}

.node-name {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

.node-pulse {
    position: absolute;
    right: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-muted);
    transition: all 0.4s ease;
}

.pipeline-node.active .node-pulse {
    background-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: nodeActivePulse 1.2s infinite;
}

@keyframes nodeActivePulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.pipeline-arrow {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    transition: color 0.4s ease;
}

.pipeline-arrow.active {
    color: var(--accent-cyan);
    animation: arrowFlow 0.8s infinite alternate;
}

@keyframes arrowFlow {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* Terminal & Controls */
.simulator-panel {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.simulator-terminal {
    background-color: #05070c;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 320px;
}

.terminal-header {
    background: #090d16;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.terminal-dots {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}
.terminal-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.terminal-dots .dot.red { background-color: var(--accent-red); }
.terminal-dots .dot.yellow { background-color: var(--accent-yellow); }
.terminal-dots .dot.green { background-color: var(--accent-green); }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-right: auto;
}

.terminal-tab {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 2px 6px;
    border-radius: 3px;
    color: var(--text-color);
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: #e5e7eb;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.terminal-line {
    animation: lineIn 0.3s ease-out forwards;
}

@keyframes lineIn {
    from { opacity: 0; transform: translateX(-4px); }
    to { opacity: 1; transform: translateX(0); }
}

.time-stamp {
    color: #4b5563;
    margin-right: 8px;
}

.system-msg { color: var(--accent-blue); }
.success-msg { color: var(--accent-green); }
.agent-msg { color: var(--accent-cyan); }

.prompt-line {
    display: flex;
    gap: 8px;
}

.prompt-char {
    color: var(--accent-cyan);
    font-weight: bold;
}

.terminal-footer {
    background-color: #05070c;
    padding: 6px 18px;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #4b5563;
    border-top: 1px solid var(--border-color);
}

.simulator-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sim-status {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.status-ready { color: var(--accent-green); }
.status-running { color: var(--accent-cyan); animation: flash 1s infinite alternate; }

@keyframes flash {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

.simulator-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.metric-box {
    display: flex;
    flex-direction: column;
}

.metric-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Portfolio Section --- */
.portfolio-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background: var(--card-bg);
}

.portfolio-image-container {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.portfolio-case-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-case-image {
    transform: scale(1.05);
}

.case-gradient-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 30%, rgba(3, 7, 18, 0.8) 100%);
    pointer-events: none;
}

.portfolio-editorial-info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

.portfolio-cat {
    color: var(--accent-cyan);
    font-weight: 700;
    text-transform: uppercase;
}

.case-year {
    color: var(--text-muted);
}

.portfolio-editorial-info h4 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.portfolio-editorial-info p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 24px;
    flex-grow: 1;
}

.case-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.case-link i {
    transition: transform var(--transition-fast);
}

.portfolio-card:hover .case-link i {
    transform: translateX(4px);
}

.portfolio-card:hover .case-link {
    color: var(--accent-cyan);
}

/* --- Contact Section --- */
/* --- Contact Section --- */
.contact-layout {
    display: flex;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-layout .contact-info {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 48px;
    background: var(--card-bg);
}

.contact-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.65;
    margin-bottom: 48px;
    max-width: 680px;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 48px;
    text-align: left;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background-color: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.15rem;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text span {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.contact-text strong {
    font-size: 1.12rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-color);
    margin-top: 4px;
}

/* --- Footer --- */
.footer-section {
    background-color: #02040a;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding: 80px 24px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-wrap {
    height: 38px;
    width: 38px;
}

.footer-brand-logo {
    height: 28px;
    width: auto;
}

.footer-brand-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 320px;
}

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

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    color: var(--text-color);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.15);
    background-color: rgba(6, 182, 212, 0.02);
}

.footer-links-column h4 {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

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

.footer-links-column ul a {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.footer-links-column ul a:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Responsive Adaptability (Media Queries)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-content {
        align-items: center;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .dashboard-mockup {
        max-width: 550px;
        margin: 0 auto;
    }
    .simulator-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pillars-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 60px 24px;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .pillars-grid,
    .services-table-grid,
    .portfolio-editorial-grid {
        grid-template-columns: 1fr;
    }
    .contact-layout .contact-info {
        padding: 40px 24px;
    }
    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 24px;
    }
    
    /* Mobile Menu Toggle Styling */
    .btn-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--bg-color);
        overflow: hidden;
        transition: height var(--transition-normal);
        border-bottom: 0 solid var(--border-color);
        z-index: 999;
    }
    
    .nav-menu.mobile-open {
        height: 340px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    
    .nav-list {
        flex-direction: column;
        padding: 32px 24px;
        align-items: flex-start;
        gap: 24px;
        width: 100%;
    }
    
    .header-actions {
        margin-right: 12px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
