/* ===================================================================
   ONEBYTE SOLUTIONS - Corporate Brand Styling & Design System
   Colors Extracted from Logo:
   - Primary Navy: #0B1728
   - Secondary Tech Dark: #070E1B
   - Electric Azure: #00A3FF
   - Digital Blue: #0066FF
   - Accent Emerald: #10B981
   =================================================================== */

:root {
    --brand-navy: #0B1728;
    --brand-navy-dark: #060D18;
    --brand-navy-light: #132238;
    --brand-blue: #0084FF;
    --brand-blue-hover: #006ED6;
    --brand-cyan: #00D2FF;
    --brand-gradient: linear-gradient(135deg, #00A3FF 0%, #0051FF 100%);
    --brand-gradient-soft: linear-gradient(135deg, rgba(0, 163, 255, 0.08) 0%, rgba(0, 81, 255, 0.04) 100%);
    --brand-gradient-dark: linear-gradient(135deg, #0B1728 0%, #060D18 100%);
    
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --text-light: #F8FAFC;
    
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-slate: #F1F5F9;
    --border-color: #E2E8F0;
    --border-light: #EEF2F6;
    
    --emerald: #10B981;
    --emerald-light: #ECFDF5;
    --amber: #F59E0B;
    --rose: #EF4444;
    --purple: #8B5CF6;
    
    --shadow-sm: 0 1px 3px rgba(11, 23, 40, 0.06), 0 1px 2px rgba(11, 23, 40, 0.04);
    --shadow-md: 0 4px 12px rgba(11, 23, 40, 0.08), 0 2px 4px rgba(11, 23, 40, 0.03);
    --shadow-lg: 0 12px 30px rgba(11, 23, 40, 0.12), 0 4px 10px rgba(11, 23, 40, 0.05);
    --shadow-glow: 0 8px 24px rgba(0, 163, 255, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background-color: #FFFFFF;
    line-height: 1.65;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--brand-navy);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* ===================================================================
   Navigation & Header
   =================================================================== */

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo-img {
    height: 44px;
    width: auto;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.brand-logo-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    color: var(--brand-navy);
    line-height: 1.1;
    margin: 0;
}

.brand-logo-title span {
    color: var(--brand-blue);
}

.brand-logo-tagline {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}

.nav-menu-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.25rem 0;
}

.nav-menu-links a:hover,
.nav-menu-links a.active {
    color: var(--brand-blue);
}

.nav-menu-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--brand-gradient);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-menu-links a:hover::after,
.nav-menu-links a.active::after {
    width: 100%;
}

/* ===================================================================
   Buttons & Badges
   =================================================================== */

.btn-brand-primary {
    background: var(--brand-gradient);
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-md);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 163, 255, 0.3);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-brand-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 163, 255, 0.45);
    color: #FFFFFF;
}

.btn-brand-primary:active {
    transform: translateY(0);
}

.btn-brand-outline {
    background: transparent;
    color: var(--brand-navy) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-brand-outline:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue) !important;
    background: rgba(0, 163, 255, 0.04);
    transform: translateY(-2px);
}

.badge-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(0, 163, 255, 0.08);
    color: var(--brand-blue);
    border: 1px solid rgba(0, 163, 255, 0.2);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--emerald);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: pulse-ring 2s infinite cubic-bezier(0.66, 0, 0, 1);
    display: inline-block;
}

.pulse-dot-cyan {
    background-color: var(--brand-cyan);
    box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.6);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ===================================================================
   Sections & Layout
   =================================================================== */

.section-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 5.5rem 1.5rem;
}

.section-title-wrap {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3.5rem auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.2;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 auto;
}

/* Background Variations */
.bg-section-white {
    background-color: #FFFFFF;
}

.bg-section-light {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.bg-section-dark {
    background: var(--brand-navy-dark);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.bg-section-dark .section-title {
    color: #FFFFFF;
}

.bg-section-dark .section-subtitle {
    color: #94A3B8;
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    padding: 4.5rem 1.5rem 5rem 1.5rem;
    background: radial-gradient(circle at 80% 20%, rgba(0, 163, 255, 0.08) 0%, rgba(255, 255, 255, 0) 60%),
                radial-gradient(circle at 10% 80%, rgba(0, 81, 255, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
}

.hero-headline {
    font-size: 3.1rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--brand-navy);
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

.hero-headline .text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.hero-stat-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.2s ease;
}

.hero-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-stat-number {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--brand-blue);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
}

/* ===================================================================
   Cards & UI Components
   =================================================================== */

.card-feature {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.card-feature:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 163, 255, 0.4);
    box-shadow: var(--shadow-lg);
}

.card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--brand-gradient-soft);
    border: 1px solid rgba(0, 163, 255, 0.2);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.card-feature h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Solutions Showcase */
.solution-showcase-box {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 3.5rem;
    transition: all 0.3s ease;
}

.solution-showcase-box:hover {
    border-color: rgba(0, 163, 255, 0.35);
    box-shadow: var(--shadow-lg);
}

.solution-header-bar {
    padding: 1.75rem 2.25rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.solution-title-group h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.solution-body {
    padding: 2.5rem 2.25rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.check-icon {
    color: var(--emerald);
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.3;
    flex-shrink: 0;
}

/* Dashboard Mockup Component */
.mockup-window {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mockup-bar {
    background: #F1F5F9;
    border-bottom: 1px solid var(--border-color);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot.red { background: #EF4444; }
.mockup-dot.yellow { background: #F59E0B; }
.mockup-dot.green { background: #10B981; }

.mockup-content {
    padding: 1.5rem;
    background: #FAFAFC;
}

.kpi-tile {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
}

.kpi-tile-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.kpi-tile-val {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--brand-navy);
}

/* Form Styles */
.contact-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.form-control-custom {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-primary);
    background-color: #FFFFFF;
    transition: all 0.2s ease;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.15);
}

.form-label-custom {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-navy);
    margin-bottom: 0.35rem;
    display: block;
}

/* Footer */
.site-footer {
    background: var(--brand-navy-dark);
    color: #94A3B8;
    padding: 4.5rem 1.5rem 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
}

.footer-bottom {
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* ===================================================================
   Responsive Utilities
   =================================================================== */

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero-headline {
        font-size: 2.35rem;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .nav-menu-links {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
}

@media (min-width: 992px) {
    .mobile-nav-toggle {
        display: none;
    }
}