/* =============================================
   KLEAN KORNER COMMERCIAL SOLUTIONS LLC
   Template A: Executive Style
   Brand: Green + Black (client brand, not FEDCON)
   ============================================= */

:root {
    --primary: #0d0f0d;
    --primary-light: #1a1d1a;
    --accent: #059669;
    --accent-light: #10b981;
    --gold: #34d399;

    --white: #ffffff;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --section-pad: 6rem 0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--gray-800); background: var(--white); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); color: var(--primary); }
h2 span { color: var(--accent); }
a { color: inherit; text-decoration: none; }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-header p { color: var(--gray-600); font-size: 1.1rem; margin-top: 1rem; }

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(13, 15, 13, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-img-wrap {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    width: 190px;
    height: 88px;
    overflow: hidden;
}
.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
    background: var(--accent);
    color: var(--white);
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}
.nav-cta:hover { background: var(--accent-light); transform: translateY(-2px); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-toggle span { width: 26px; height: 3px; background: var(--white); border-radius: 2px; }

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-video { position: absolute; inset: 0; z-index: 0; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 15, 13, 0.75) 0%, rgba(26, 29, 26, 0.6) 50%, rgba(5, 150, 105, 0.35) 100%);
}
.hero-content { position: relative; z-index: 1; text-align: center; padding: 0 2rem; max-width: 900px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); color: var(--white); margin-bottom: 1.5rem; font-weight: 800; }
.hero h1 span { color: var(--accent-light); }
.hero-tagline { color: rgba(255, 255, 255, 0.85); font-size: 1.2rem; max-width: 700px; margin: 0 auto 2rem; }

.hero-creds { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.cred-pill {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.cred-label { color: rgba(255, 255, 255, 0.6); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.cred-value { color: var(--gold); font-weight: 700; font-size: 1rem; font-family: 'Courier New', monospace; }
.cred-pill a { color: var(--gold); }
.cred-pill a:hover { text-decoration: underline; }

.hero-stats { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-number { display: block; font-size: 2.25rem; font-weight: 800; color: var(--white); }
.stat-label { display: block; color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 0.25rem; }

.about { padding: var(--section-pad); background: var(--gray-100); }
.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p { color: var(--gray-600); margin-bottom: 1rem; font-size: 1.05rem; }

.cert-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.cert-badge i { color: var(--accent); }

.about-visual { display: flex; flex-direction: column; gap: 1.25rem; }
.glass-card { background: var(--white); border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); transition: all 0.3s ease; }
.feature-card { padding: 1.5rem; display: flex; align-items: flex-start; gap: 1rem; }
.feature-card:hover { transform: translateX(10px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); }
.feature-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.feature-icon i { color: var(--accent-light); font-size: 1.25rem; }
.feature-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.25rem; }
.feature-card p { color: var(--gray-600); font-size: 0.9rem; }

.competencies { padding: var(--section-pad); background: var(--white); }
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.comp-card {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.comp-card:hover { background: var(--white); border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); }
.comp-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
}
.comp-icon i { font-size: 1.75rem; color: var(--accent-light); }
.comp-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.75rem; }
.comp-card p { color: var(--gray-600); font-size: 0.9rem; }

.differentiators { padding: var(--section-pad); background: var(--primary); }
.differentiators .section-tag { background: rgba(255, 255, 255, 0.15); }
.differentiators h2 { color: var(--white); }
.differentiators h2 span { color: var(--gold); }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.diff-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.diff-item:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-3px); }
.diff-icon { width: 45px; height: 45px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.diff-icon i { color: var(--white); font-size: 1.1rem; }
.diff-content h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.25rem; }
.diff-content p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }

.performance { padding: var(--section-pad); background: var(--gray-100); }
.timeline { max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--primary));
}
.timeline-item { display: flex; gap: 2rem; padding: 1.5rem 0; position: relative; }
.timeline-marker {
    width: 60px; height: 60px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    text-align: center;
}
.timeline-content { flex: 1; background: var(--white); padding: 1.5rem; border-radius: 12px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); }
.timeline-content h4 { color: var(--primary); margin-bottom: 0.5rem; }
.timeline-content p { color: var(--gray-600); font-size: 0.95rem; }

.codes { padding: var(--section-pad); background: var(--white); }
.codes-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.codes-header { position: sticky; top: 120px; }
.codes-header h2 { margin-bottom: 1rem; }
.codes-header p { color: var(--gray-600); }
.codes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.code-card { background: var(--gray-100); padding: 1.25rem; border-radius: 10px; transition: all 0.3s ease; position: relative; }
.code-card:hover { background: var(--primary); transform: scale(1.02); }
.code-card:hover .code-number { color: var(--gold); }
.code-card:hover .code-desc { color: rgba(255, 255, 255, 0.9); }
.code-number { display: block; font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 0.25rem; transition: color 0.3s; }
.code-desc { font-size: 0.9rem; color: var(--gray-600); transition: color 0.3s; }
.code-type {
    position: absolute;
    top: 0.5rem; right: 0.5rem;
    background: var(--accent);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.markets { padding: var(--section-pad); background: var(--gray-100); }
.markets-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.market-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.market-item:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.market-item i { font-size: 1.5rem; color: var(--accent); margin-bottom: 0.75rem; display: block; }
.market-item span { font-size: 0.9rem; font-weight: 600; color: var(--primary); }

.contact { padding: var(--section-pad); background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-info .section-tag { background: rgba(255, 255, 255, 0.15); }
.contact-info h2 { color: var(--white); margin-bottom: 1rem; }
.contact-info h2 span { color: var(--gold); }
.contact-info > p { color: rgba(255, 255, 255, 0.8); margin-bottom: 2rem; font-size: 1.1rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-item i {
    width: 45px; height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
}
.contact-item strong { color: var(--white); font-weight: 600; }
.contact-item span, .contact-item a { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.contact-item a:hover { color: var(--gold); }

.credentials-card { background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.12); padding: 2.5rem; border-radius: 16px; }
.credentials-card h3 { color: var(--white); text-align: center; margin-bottom: 1.5rem; }
.cred-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.cred-box { background: rgba(255, 255, 255, 0.08); padding: 1.25rem; border-radius: 10px; text-align: center; }
.cred-box .label { display: block; color: rgba(255, 255, 255, 0.6); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.cred-box .value { display: block; color: var(--gold); font-size: 1.1rem; font-weight: 700; font-family: 'Courier New', monospace; }
.cred-box a { color: var(--gold); }
.cred-box a:hover { text-decoration: underline; }
.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    background: var(--accent);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.download-btn:hover { background: var(--accent-light); transform: translateY(-2px); }

.footer { background: #070807; padding: 2rem 0; text-align: center; }
.footer p { color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; margin: 0.25rem 0; }
.footer a { color: rgba(255, 255, 255, 0.7); }
.footer a:hover { color: var(--white); }

@media (max-width: 1024px) {
    .comp-grid { grid-template-columns: repeat(2, 1fr); }
    .diff-grid { grid-template-columns: repeat(2, 1fr); }
    .codes-layout { grid-template-columns: 1fr; gap: 2rem; }
    .codes-header { position: static; text-align: center; }
    .markets-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.active { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: rgba(13,15,13,0.98); flex-direction: column; padding: 1.5rem 2rem; gap: 1rem; }
    .nav-cta { display: none; }
    .mobile-toggle { display: flex; }
    .section-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .comp-grid, .diff-grid { grid-template-columns: 1fr; }
    .codes-grid { grid-template-columns: 1fr; }
    .cred-row { grid-template-columns: 1fr; }
    .markets-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-stats { gap: 1.5rem; }
    .logo-img-wrap { width: 150px; height: 68px; }
}
