:root {
    /* Brand Palette based on Logo */
    --bg-white: #FFFFFF;
    --bg-slate: #F5F7FA;
    --text-main: #334155;
    --text-dark: #0E2B49; /* Logo Navy Blue */
    --text-muted: #64748B;
    
    --accent-dark: #0E2B49; /* Logo Navy Blue */
    --accent-bronze: #D35F30; /* Logo Orange */
    
    --border-color: #E2E8F0;
    
    --font-sans: 'Inter', sans-serif;
    
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.text-center { text-align: center; }
.section-slate { background-color: var(--bg-slate); }

h1, h2, h3, h4 {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.2;
}

/* Header */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.logo-img {
    height: 48px;
    width: 48px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--accent-bronze);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-social-icon {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}
.nav-social-icon:hover {
    color: var(--accent-bronze);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--accent-dark);
    color: white;
}
.btn-primary:hover {
    background-color: var(--accent-bronze);
    color: white;
}
.btn-large {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* Hero */
.dark-hero {
    position: relative;
    padding: 160px 0 140px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--text-dark);
    overflow: hidden;
    color: var(--bg-white);
}
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1600607687959-ce8a6c25118c?w=1600&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    mix-blend-mode: overlay;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(14, 43, 73, 0.7) 0%, rgba(14, 43, 73, 1) 100%);
}
.hero-container.relative {
    position: relative;
    z-index: 10;
}
.hero-content-center {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}
.hero-title span {
    color: var(--accent-bronze);
    display: block;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: #94A3B8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.btn-glow {
    background-color: var(--accent-bronze);
    color: #fff;
    font-size: 1.1rem;
    padding: 16px 40px;
    border-radius: 4px;
    box-shadow: 0 10px 30px -10px var(--accent-bronze);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.btn-glow:hover {
    background-color: #e06c3d;
    box-shadow: 0 15px 40px -10px var(--accent-bronze);
    transform: translateY(-2px);
    color: #fff;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sections */
section {
    padding: 100px 0;
}
.section-header {
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Protocol */
.protocol-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.protocol-card {
    background: var(--bg-white);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border-radius: 12px;
    overflow: hidden;
}
.protocol-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-bronze);
    margin-bottom: 16px;
    line-height: 1;
    letter-spacing: -2px;
}
.protocol-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.protocol-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s;
    border-radius: 12px;
    overflow: hidden;
}
.service-card:hover {
    box-shadow: var(--shadow-hover);
}
.service-img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-white);
}
.service-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    cursor: pointer;
    transition: transform 0.3s;
}
.service-img img:hover {
    transform: scale(1.02);
}
.service-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.service-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    flex: 1;
}
.service-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-bronze);
    font-weight: 600;
}

/* Technology Section */
.tech-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.tech-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-bronze);
    display: flex;
    gap: 32px;
    align-items: center;
    box-shadow: var(--shadow-soft);
}
.tech-stat {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--bg-slate);
    -webkit-text-stroke: 2px var(--text-muted);
    line-height: 1;
    min-width: 150px;
    text-align: right;
    letter-spacing: -2px;
}
.tech-content {
    flex: 1;
}
.tech-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.tech-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Footer */
.footer {
    background-color: var(--accent-dark);
    color: white;
    padding-top: 80px;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.footer-brand .footer-logo-img {
    margin-bottom: 24px;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.footer-brand p {
    color: #94A3B8;
}
.footer-contact strong {
    display: block;
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.footer-contact p {
    color: #94A3B8;
    margin-bottom: 8px;
}
.footer-contact a {
    color: var(--accent-bronze);
    text-decoration: none;
}
.footer-contact a:hover {
    color: white;
}
.btn-outline-footer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.btn-outline-footer:hover {
    border-color: var(--accent-bronze);
    background: rgba(211, 95, 48, 0.1);
    color: white;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}
.footer-bottom p {
    color: #64748B;
    font-size: 0.85rem;
    margin-bottom: 4px;
}
.developer-credit {
    font-size: 0.75rem !important;
}
.developer-credit a {
    color: var(--accent-bronze);
    text-decoration: none;
    font-weight: 600;
}
.developer-credit a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .protocol-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    
    /* Show CTA on mobile but smaller */
    .header .btn { 
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* Fix Hero on Mobile */
    .dark-hero {
        padding: 80px 0 60px 0;
        min-height: auto;
    }
    .hero-title { 
        font-size: 2.5rem; 
        margin-bottom: 16px;
    }
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 32px;
    }
    
    .tech-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 24px;
    }
    .tech-stat {
        text-align: left;
        min-width: auto;
        font-size: 3rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.9);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}
.lightbox-close:hover {
    color: var(--accent-bronze);
}
@keyframes zoomIn {
    from {transform: scale(0.95); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}
