/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    --bg-primary: #05020c;
    --bg-secondary: #0a0618;
    --bg-card: rgba(13, 10, 25, 0.65);
    --bg-card-hover: rgba(20, 15, 38, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(6, 182, 212, 0.4);
    
    --color-primary: #3b82f6; /* Blue */
    --color-secondary: #06b6d4; /* Cyan */
    --color-accent: #38bdf8; /* Sky Blue/Cyan */
    
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --text-gradient: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #06b6d4 100%);
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #1f2937;
    
    --glow-purple: rgba(6, 182, 212, 0.25);
    --glow-blue: rgba(59, 130, 246, 0.25);
    
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Global Resets & Scrollbars
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: #03040b;
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 80% 30%, rgba(6, 182, 212, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
    background-attachment: fixed;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(6, 182, 212, 0.4);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 2, 12, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

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

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.logo-svg {
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.4));
    transition: var(--transition-smooth);
}

.logo:hover .logo-svg {
    transform: scale(1.05) rotate(5deg);
}

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

.logo-title {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.8px;
    color: var(--text-main);
}

.logo-n2 {
    color: var(--color-secondary);
}

.logo-subtitle {
    font-size: 0.52rem;
    letter-spacing: 1.2px;
    color: #3b82f6;
    font-weight: 700;
    margin-top: 0.1rem;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.25rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

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

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

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

.nav-dropdown:hover .chevron-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
    z-index: 10;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.dropdown-content a:hover {
    background: rgba(6, 182, 212, 0.1);
    color: var(--text-main);
    padding-left: 1.5rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-cta {
    background: var(--primary-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
    filter: brightness(1.1);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
    transform: translateY(-2px);
}

.btn-icon {
    display: inline-block;
    vertical-align: middle;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    height: calc(100vh - 73px);
    background: var(--bg-primary);
    z-index: 999;
    display: none;
    padding: 2rem;
    box-sizing: border-box;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
}

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

.mobile-cta-btn {
    width: 100%;
    margin-top: 1rem;
}

/* ==========================================================================
   Hero Section Layout
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 8.5rem 2rem 4rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    width: 100%;
    max-width: 1200px;
    align-items: center;
    z-index: 1;
    position: relative;
    flex-grow: 1;
    margin-bottom: 3rem;
}

/* Hero Left Column */
.hero-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-badge {
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.2);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.15);
    opacity: 0.8;
}

.badge-text {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #38bdf8;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1.2px;
    color: #ffffff;
    text-align: left;
}

.gradient-text {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.35));
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-align: left;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0;
    text-align: left;
}

/* Hero Right Column */
.hero-right-col {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: transparent;
}

/* Hero Bottom Feature Grid */
.hero-features-grid-container {
    width: 100%;
    max-width: 1200px;
    margin-top: 0;
    z-index: 1;
    position: relative;
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.hero-feature-card {
    background: rgba(10, 17, 32, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    transition: var(--transition-smooth);
    cursor: pointer;
    min-height: 210px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-feature-card:hover {
    border-color: rgba(6, 182, 212, 0.35);
    transform: translateY(-4px);
    background: rgba(20, 15, 38, 0.5);
    box-shadow: 
        0 15px 35px rgba(6, 182, 212, 0.15), 
        0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.35rem;
}

.feature-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.feature-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.feature-card-arrow {
    position: absolute;
    bottom: 1.5rem;
    left: 1.75rem;
    font-size: 1.1rem;
    color: #475569;
    transition: var(--transition-smooth);
}

.hero-feature-card:hover .feature-card-arrow {
    color: var(--color-secondary);
    transform: translateX(5px);
}
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.feature-tag:hover {
    border-color: var(--border-hover);
    background: rgba(6, 182, 212, 0.05);
    transform: translateY(-2px);
}

.tag-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cyan-glow {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
}

.indigo-glow {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.35);
}

.emerald-glow {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.35);
}

.purple-glow {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.35);
}

.blue-glow {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.35);
}

/* Hero Center Column: Brain visual */
.hero-center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.brain-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brain-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 0 45px rgba(6, 182, 212, 0.6));
    animation: bob 5s ease-in-out infinite alternate;
}

.brain-glow-base {
    position: absolute;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.45) 0%, transparent 70%);
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(20px);
}

.brain-pedestal {
    position: absolute;
    bottom: -15px;
    width: 180px;
    height: 35px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pedestal-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.4);
    transform: rotateX(75deg);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.ring-1 {
    width: 160px;
    height: 50px;
    animation: ring-pulse 4s infinite linear;
}

.ring-2 {
    width: 120px;
    height: 38px;
    border-color: rgba(6, 182, 212, 0.6);
    animation: ring-pulse 4s infinite linear reverse;
}

.ring-3 {
    width: 80px;
    height: 25px;
    border-color: #06b6d4;
    background: radial-gradient(ellipse, rgba(6, 182, 212, 0.4) 0%, transparent 80%);
}

.hud-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(6, 182, 212, 0.45);
    z-index: 1;
    pointer-events: none;
}

.ring-orbit-1 {
    width: 450px;
    height: 450px;
    animation: rotate-ring-clockwise 24s infinite linear;
    border-style: dashed;
}

.ring-orbit-2 {
    width: 380px;
    height: 380px;
    animation: rotate-ring-counter 18s infinite linear;
    border-width: 1px;
    border-color: rgba(59, 130, 246, 0.35);
    border-style: dotted;
}

@keyframes rotate-ring-clockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-ring-counter {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes bob {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-12px) scale(1.02); }
    100% { transform: translateY(0px) scale(1); }
}

@keyframes ring-pulse {
    0% { transform: rotateX(75deg) scale(0.9); opacity: 0.3; }
    50% { transform: rotateX(75deg) scale(1.1); opacity: 0.8; }
    100% { transform: rotateX(75deg) scale(0.9); opacity: 0.3; }
}

/* ==========================================================================
   Operations Dashboard Panel (Premium Showcase)
   ========================================================================== */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-panel {
    width: 100%;
    max-width: 320px;
    height: 440px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.dashboard-panel:hover {
    border-color: var(--border-hover);
    box-shadow: 
        0 20px 40px rgba(6, 182, 212, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dashboard-header {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 8, 20, 0.5);
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.status-indicator-dot.pulsing {
    animation: status-pulse 1.5s infinite ease-in-out;
}

@keyframes status-pulse {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 4px #06b6d4; }
    50% { transform: scale(1.3); opacity: 0.6; box-shadow: 0 0 12px #06b6d4; }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 4px #06b6d4; }
}

.status-text {
    font-size: 0.72rem;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 1px;
}

.dashboard-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

.dashboard-body {
    flex: 1;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: space-between;
}

/* Metric Dial */
.metric-circle-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem 0;
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.6s ease-in-out;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.metric-value-box {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    transition: var(--transition-smooth);
}

.metric-value.boosted {
    color: #10b981;
    text-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.metric-label {
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Operations Log */
.operations-log-box {
    flex: 1;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
}

.log-header {
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.35rem;
}

.log-lines {
    font-family: monospace;
    font-size: 0.68rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: #cbd5e1;
    overflow-y: auto;
}

.log-line {
    line-height: 1.3;
    animation: log-fade-in 0.3s ease-out forwards;
}

.log-line.success {
    color: #10b981;
}

.log-line.boost {
    color: #38bdf8;
    font-weight: bold;
}

@keyframes log-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.log-time {
    color: #64748b;
}

.dashboard-control-btn {
    width: 100%;
    font-size: 0.82rem;
    padding: 0.65rem 1rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* ==========================================================================
   Services Grid Section
   ========================================================================== */
.services-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    scroll-margin-top: 80px;
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

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

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 580px;
    margin: 0 auto;
}

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

/* Service Card Design */
.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(6, 182, 212, 0.08), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    background-color: var(--bg-card-hover);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    position: relative;
    z-index: 2;
}

.service-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
    position: relative;
    z-index: 2;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

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

.service-card:hover .service-link {
    color: var(--text-main);
}

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

/* ==========================================================================
   Stats Bar Section
   ========================================================================== */
.stats-section {
    padding: 3rem 2rem;
    background: #030107;
    border-bottom: 1px solid var(--border-color);
}

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

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

.stat-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 1, 10, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-wrapper {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: rgba(13, 10, 25, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 10;
    padding: 2.5rem;
    animation: modal-enter 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-enter {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--text-main);
    outline: none;
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.05);
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
}

.text-area {
    resize: none;
}

.form-submit-btn {
    margin-top: 0.5rem;
    width: 100%;
}

/* Success State Styles */
.form-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
}

.success-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}

.success-checkmark {
    animation: draw-checkmark 0.5s ease-in-out forwards;
}

@keyframes draw-checkmark {
    from { stroke-dashoffset: 50; }
    to { stroke-dashoffset: 0; }
}

.success-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #22c55e;
}

.success-msg {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.form-success-state .btn {
    width: 120px;
}

/* ==========================================================================
   Floating Chat Button & Footer
   ========================================================================== */
.floating-chat-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    z-index: 998;
    transition: var(--transition-smooth);
}

.floating-chat-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.6);
}

.footer {
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--border-color);
    background: #030107;
    text-align: center;
}

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

/* ==========================================================================
   About Us Section Styling
   ========================================================================== */
.about-section {
    padding: 6rem 2rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    scroll-margin-top: 80px;
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 1.5rem 0 2.5rem;
}

.about-bullets {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.bullet-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.bullet-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bullet-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bullet-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.bullet-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* About Right Column: Metric card */
.about-right {
    display: flex;
    justify-content: center;
}

.about-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.about-card-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    top: -30px;
    right: -30px;
    z-index: 1;
}

.about-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    color: var(--text-main);
    z-index: 2;
    position: relative;
}

.pillar-row {
    margin-bottom: 1.25rem;
    z-index: 2;
    position: relative;
}

.pillar-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.5rem;
}

.pillar-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.pillar-progress {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.about-stats-box {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    z-index: 2;
    position: relative;
}

.about-stat {
    display: flex;
    flex-direction: column;
}

.about-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-accent);
}

.about-stat-lbl {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   Contact Us Section Styling
   ========================================================================== */
.contact-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    scroll-margin-top: 80px;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: stretch;
}

/* Contact Info Column */
.contact-info-col {
    display: flex;
}

.info-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.info-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.info-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.25rem;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.info-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.info-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition-smooth);
    overflow-wrap: break-word;
    word-break: break-word;
}

a.info-value:hover {
    color: var(--color-accent);
}

/* Glowing Mock Map Placeholder */
.mock-map {
    height: 160px;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, rgba(5, 2, 12, 0.3) 100%), 
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M10 20 L20 40 L40 30 L50 60 L70 50 L90 80' stroke='rgba(255,255,255,0.03)' stroke-width='2' fill='none'/%3E%3Cpath d='M20 10 L40 50 L80 20' stroke='rgba(255,255,255,0.03)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.map-glow-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--color-accent);
}

.map-radar {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: map-radar-pulse 2s infinite linear;
    opacity: 0;
}

@keyframes map-radar-pulse {
    0% { width: 10px; height: 10px; opacity: 1; }
    100% { width: 120px; height: 120px; opacity: 0; }
}

/* Contact Form Column */
.contact-form-col {
    display: flex;
    flex-direction: column;
}

.contact-form {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    height: 100%;
    justify-content: center;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-success-state {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    height: 100%;
    justify-content: center;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1120px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        justify-items: center;
    }
    .hero-left-col {
        align-items: center;
        text-align: center;
    }
    .hero-title {
        text-align: center;
        font-size: 3rem;
    }
    .hero-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* Header adjustments */
    .nav-menu {
        display: none;
    }
    .header .btn-cta {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .header-container {
        padding: 1rem 1.5rem;
    }
    .logo-box {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }
    .logo-title {
        font-size: 0.95rem;
    }
    .logo-subtitle {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }

    /* Hero section */
    .hero-section {
        padding: 6rem 1.5rem 3rem;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-left-col {
        align-items: center;
        text-align: center;
    }
    .hero-badge {
        align-self: center;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-desc {
        font-size: 0.95rem;
    }
    .hero-actions {
        justify-content: center;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-features-grid {
        grid-template-columns: 1fr;
    }
    .brain-wrapper {
        max-width: 300px;
    }

    /* Services */
    .services-section {
        padding: 4rem 1.5rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .service-card {
        padding: 1.75rem 1.5rem;
    }
    .section-title {
        font-size: 1.75rem;
    }

    /* Stats */
    .stats-container {
        gap: 1.5rem;
    }
    .stat-item {
        min-width: 45%;
        justify-content: flex-start;
    }

    /* Floating button */
    .floating-chat-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 48px;
        height: 48px;
    }

    /* Modals */
    .modal-wrapper {
        padding: 1.75rem 1.5rem;
    }

    /* About Us Mobile */
    .about-section {
        padding: 4rem 1.5rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Contact Us Mobile */
    .contact-section {
        padding: 4rem 1.5rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .info-card,
    .contact-form {
        padding: 1.5rem;
    }
}
