/* ============================================
   SecureGuard – Portfolio Demo
   Standalone styles (no dependency on main site)
   ============================================ */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #1a202c;
    background: #ffffff;
}

/* Security Company Theme – Dark Navy */
:root {
    --sg-dark: #0f172a;
    --sg-primary: #1e3a5f;
    --sg-accent: #2563eb;
    --sg-light: #f1f5f9;
    --sg-text: #475569;
}

a {
    text-decoration: none;
}

/* Container */
.sg-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Portfolio Badge */
.sg-portfolio-badge {
    position: fixed;
    bottom: 1.5rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 4px;
    z-index: 100;
}

.sg-portfolio-badge a {
    color: #93c5fd;
}

.sg-portfolio-badge a:hover {
    color: #fff;
}

/* Header */
.sg-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 99;
}

.sg-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sg-logo {
    font-weight: 700;
    font-size: 1.35rem;
    color: #fff;
}

.sg-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sg-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9375rem;
}

.sg-nav a:hover {
    color: #fff;
}

.sg-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.sg-btn-primary {
    background: #2563eb;
    color: #fff;
    border: 2px solid #2563eb;
}

.sg-btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

/* Hero */
.sg-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 4rem 0 5rem;
}

.sg-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.sg-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin: 0 0 1.5rem 0;
    max-width: 500px;
}

.sg-hero-buttons {
    display: flex;
    gap: 1rem;
}

.sg-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.sg-btn-outline:hover {
    background: #fff;
    color: #0f172a;
}

/* Services */
.sg-services {
    padding: 4rem 0;
    background: #f8fafc;
}

.sg-services h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2rem 0;
}

.sg-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sg-service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.sg-service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

.sg-service-card p {
    font-size: 0.9375rem;
    color: #475569;
    margin: 0;
}

/* About */
.sg-about {
    padding: 4rem 0;
    background: #fff;
}

.sg-about h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem 0;
}

.sg-about p {
    font-size: 1.0625rem;
    color: #475569;
    max-width: 60ch;
    margin: 0;
}

/* CTA */
.sg-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    text-align: center;
}

.sg-cta h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.sg-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem 0;
}

.sg-btn-white {
    background: #fff;
    color: #0f172a;
    border: 2px solid #fff;
}

.sg-btn-white:hover {
    background: transparent;
    color: #fff;
}

/* Footer */
.sg-footer {
    background: #0f172a;
    padding: 2.5rem 0;
}

.sg-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sg-footer-brand span {
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
}

.sg-footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0.5rem 0 0 0;
}

.sg-footer-links {
    display: flex;
    gap: 2rem;
}

.sg-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.sg-footer-links a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .sg-services-grid {
        grid-template-columns: 1fr;
    }
    
    .sg-nav a:not(.sg-btn) {
        display: none;
    }
    
    .sg-footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
