/* ==========================================================================
   ENTERPRISE VARIABLES (Based on user palette)
   ========================================================================== */
:root {
    /* Backgrounds */
    --bg-dark: #0B1F3A;         /* Primary Background */
    --bg-card: #0d2546;         /* Slightly lighter for cards */
    --bg-hover: #15335F;        /* The requested hover state */
    
    /* Text */
    --text-main: #FFFFFF;       /* Requested White Text */
    --text-muted: #8b9ab3;      /* For paragraphs and secondary text */
    
    /* Accents & Borders */
    --accent-cyan: #00B8D9;     /* The requested border and primary accent */
    --accent-green: #16C784;    /* The requested secondary accent */
    
    /* Structural */
    --max-width: 1300px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   GLOBAL RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

ul { list-style: none; }

/* ==========================================================================
   ENTERPRISE NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 31, 58, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 184, 217, 0.2);
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--accent-cyan);
}

.brand-text h2 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-text span {
    font-size: 0.7rem;
    color: var(--accent-cyan);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-text {
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-text:hover {
    color: var(--accent-cyan);
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0, 184, 217, 0.1);
}

.btn-primary:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 25px rgba(0, 184, 217, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--bg-hover);
}

/* ==========================================================================
   HERO SECTION (The Split API Gateway Look)
   ========================================================================== */
.hero {
    padding: 160px 24px 100px;
    background: radial-gradient(circle at 80% 20%, rgba(0, 184, 217, 0.08) 0%, transparent 40%);
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 184, 217, 0.1);
    border: 1px solid rgba(0, 184, 217, 0.3);
    border-radius: 50px;
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.text-gradient {
    color: var(--accent-cyan);
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 90%;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.stat-item h2 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visual - Dashboard Mockup */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.dashboard-mockup {
    background: var(--bg-card);
    border: 1px solid var(--accent-cyan);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 184, 217, 0.1);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.dashboard-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #334155;
    margin-right: 6px;
}

.mockup-body {
    padding: 30px;
}

.mockup-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.live-badge {
    background: rgba(22, 199, 132, 0.2);
    color: var(--accent-green);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.mockup-highlight {
    margin-bottom: 30px;
}

.mockup-highlight small {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.mockup-highlight h2 {
    font-size: 2rem;
    color: var(--accent-cyan);
}

.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.mockup-item {
    background: var(--bg-dark);
    padding: 15px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mockup-item i {
    color: var(--accent-cyan);
}

.floating-badge {
    position: absolute;
    background: var(--bg-hover);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.1);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    animation: float 4s ease-in-out infinite;
}

.floating-badge i { color: var(--accent-green); }

.badge-1 { top: 10%; right: -20px; animation-delay: 0s; }
.badge-2 { bottom: 20%; left: -30px; animation-delay: 1s; }
.badge-3 { bottom: 5%; right: 10%; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ==========================================================================
   SERVICE ECOSYSTEM (Flow Diagram)
   ========================================================================== */
.ecosystem {
    padding: 100px 24px;
    background: var(--bg-card);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-title.left-align {
    text-align: left;
    margin: 0 0 50px 0;
    max-width: 100%;
}

.section-title span {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin: 15px 0;
    line-height: 1.2;
}

.section-title p {
    color: var(--text-muted);
}

.flow-diagram {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flow-step {
    flex: 1;
    text-align: center;
    padding: 30px;
    background: var(--bg-dark);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.flow-step.highlight-step {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 184, 217, 0.1);
    transform: scale(1.05);
}

.flow-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--text-main);
}

.brand-icon {
    background: rgba(0, 184, 217, 0.1);
    color: var(--accent-cyan);
}

.flow-step h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.flow-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    opacity: 0.5;
    padding: 0 20px;
}

/* ==========================================================================
   SERVICE DIRECTORY (The Corporate Grid)
   ========================================================================== */
.service-directory {
    padding: 100px 24px;
}

.directory-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--bg-hover);
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 184, 217, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 184, 217, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.service-card ul {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

.service-card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.service-card ul li::before {
    content: "\f054"; /* FontAwesome Chevron Right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.7rem;
    color: var(--accent-green);
}

/* ==========================================================================
   SECURE FOOTER
   ========================================================================== */
.main-footer {
    background: #061326;
    padding: 80px 24px 20px;
    border-top: 1px solid rgba(0, 184, 217, 0.2);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 1.2rem;
    margin: 15px 0;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
    margin-bottom: 20px;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--accent-green);
    background: rgba(22, 199, 132, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-links ul li { margin-bottom: 12px; }

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .status-badge { margin: 0 auto 24px; }
    .flow-diagram { flex-direction: column; gap: 30px; }
    .flow-arrow { transform: rotate(90deg); }
    .floating-badge { display: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; }
    .footer-container { grid-template-columns: 1fr; }
}