/* =====================================================
   MCCodes — Responsive Redesign
   ===================================================== */

:root {
    --blue:        #4db8d8;
    --blue-light:  #7fd0ea;
    --blue-dark:   #1a6a9a;
    --accent:      #e6755b;
    --accent-dark: #c85a40;
    --dark:        #111111;
    --surface:     #181818;
    --surface-2:   #1f1f1f;
    --text:        #75a3bd;
    --text-light:  #a8c8d8;
    --text-dim:    #4a6070;
    --border:      rgba(255,255,255,0.07);
    --max-w:       1100px;
}

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

html { -webkit-appearance: none; scroll-behavior: smooth; }

body {
    background: #0d0d0d;
    color: var(--text);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

/* ─── FONTS ──────────────────────────────────────── */
@font-face {
    font-family: Cibreo;
    src: url('inc/fonts/cibreo_-webfont.eot');
    src: url('inc/fonts/cibreo_-webfont.eot?#iefix') format('embedded-opentype'),
         url('inc/fonts/cibreo_-webfont.woff') format('woff'),
         url('inc/fonts/cibreo_-webfont.ttf') format('truetype'),
         url('inc/fonts/cibreo_-webfont.svg#cibreoRegular') format('svg');
    font-weight: normal; font-style: normal;
}
@font-face {
    font-family: 'Font Light';
    src: url('inc/fonts/petitalight-webfont.eot');
    src: url('inc/fonts/petitalight-webfont.eot?#iefix') format('embedded-opentype'),
         url('inc/fonts/petitalight-webfont.woff') format('woff'),
         url('inc/fonts/petitalight-webfont.ttf') format('truetype'),
         url('inc/fonts/petitalight-webfont.svg#PetitaLightRegular') format('svg');
    font-weight: normal; font-style: normal;
}
@font-face {
    font-family: 'Font Bold';
    src: url('inc/fonts/petitabold-webfont.eot');
    src: url('inc/fonts/petitabold-webfont.eot?#iefix') format('embedded-opentype'),
         url('inc/fonts/petitabold-webfont.woff') format('woff'),
         url('inc/fonts/petitabold-webfont.ttf') format('truetype');
    font-weight: normal; font-style: normal;
}

a { color: var(--blue-light); text-decoration: none; }
a:hover { color: #fff; }
img { border: none; max-width: 100%; height: auto; }

/* ─── SITE WRAPPER ───────────────────────────────── */
#site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--dark) url('images/bg.png') repeat-x;
}

/* ─── HEADER (header_bg.png as hero) ─────────────── */
#site-header {
    width: 100%;
    height: 140px;
    background: url('images/header_bg.png') no-repeat left center;
    background-size: cover;
    background-color: #3a8fb5;
}

/* ─── NAVIGATION ─────────────────────────────────── */
#main-nav {
    background: rgba(8, 17, 28, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(77, 184, 216, 0.18);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}
.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li a {
    display: block;
    padding: 13px 22px;
    color: #b8ceda;
    font-family: Cibreo, Helvetica, sans-serif;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-right: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s, background 0.2s;
}
.nav-links li:first-child a {
    border-left: 1px solid rgba(255,255,255,0.05);
}
.nav-links li a:hover,
.nav-links li a.active {
    color: var(--accent);
    background: rgba(230, 117, 91, 0.08);
}
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(77,184,216,0.5);
    color: var(--blue-light);
    padding: 6px 12px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    margin: 8px 0 8px auto;
    line-height: 1;
}

/* ─── MAIN CONTENT GRID ──────────────────────────── */
#main-content {
    max-width: var(--max-w);
    width: 100%;
    margin: 0 auto;
    flex: 1;
}
.content-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    min-height: 600px;
}
.col-main { min-width: 0; }
.col-sidebar {
    background: #0d1a24;
    border-left: 1px solid rgba(77,184,216,0.1);
}

/* ─── SLIDESHOW ──────────────────────────────────── */
.slideshow-wrap {
    position: relative;
    overflow: hidden;
    background: #1b1b1b;
}
.banner-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.banner-slide {
    min-width: 100%;
    height: 236px;
    background-size: cover;
    background-position: left top;
    background-repeat: no-repeat;
    position: relative;
    flex-shrink: 0;
}
#slide-1 { background-image: url('images/banner1.png'); }
#slide-2 { background-image: url('images/banner2.png'); }
#slide-3 { background-image: url('images/banner3.png'); }
#slide-4 { background-image: url('images/banner4.png'); }
#slide-5 { background-image: url('images/banner5.png'); }
#slide-6 { background-image: url('images/banner6.png'); }

.banner-overlay {
    position: absolute;
    inset: 0;
    padding: 28px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.banner-headline {
    font-family: 'Font Light', Helvetica, sans-serif;
    font-size: 26px;
    letter-spacing: 1px;
    width: 55%;
    color: #c8d8e0;
    line-height: 1.3;
    padding-top: 10px;
}
.banner-headline .alt1 { font-family: 'Font Bold', Helvetica, sans-serif; color: #e6755b; }
.banner-headline .alt2 { font-family: 'Font Bold', Helvetica, sans-serif; color: #5bcbe6; }
.banner-desc {
    width: 36%;
    color: #dde8ee;
    font-size: 12px;
    line-height: 1.55;
    background: rgba(0,0,0,0.38);
    padding: 10px 14px;
    border-radius: 4px;
    border-left: 2px solid rgba(77,184,216,0.45);
}
.banner-desc strong { color: #a0b0b8; display: block; margin-bottom: 4px; font-size: 13px; }

.slide-dots {
    position: absolute;
    bottom: 12px;
    right: 18px;
    display: flex;
    gap: 7px;
    z-index: 10;
}
.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.slide-dot.active {
    background: var(--blue);
    transform: scale(1.25);
}

/* ─── CONTENT SECTION ────────────────────────────── */
.section-top {
    background: url('images/c_bg_02.png') repeat-y;
}
.section-top-inner {
    background: url('images/c_bg_01.png') no-repeat top;
    padding: 22px 28px 20px;
}
.section-title {
    font-family: Cibreo, Helvetica, sans-serif;
    color: #d8705e;
    font-size: 16px;
    margin-bottom: 12px;
}
.section-title span { color: #c8dae1; }
.news-link {
    display: block;
    color: #90caea;
    line-height: 1.9;
    font-size: 13px;
}
.news-link:hover { color: #e4edf1; }
.welcome-text {
    color: #959595;
    font-size: 13px;
    line-height: 1.7;
    margin-top: 14px;
}
.welcome-text strong { color: #c8dae1; }

/* ─── FEATURE CARDS ──────────────────────────────── */
.feature-strip {
    background: #131313;
    padding: 22px 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.feature-card {
    background: rgba(77, 184, 216, 0.05);
    border: 1px solid rgba(77, 184, 216, 0.1);
    border-radius: 6px;
    padding: 16px 14px;
    transition: border-color 0.25s, background 0.25s;
}
.feature-card:hover {
    border-color: rgba(77, 184, 216, 0.3);
    background: rgba(77, 184, 216, 0.09);
}
.fc-icon { font-size: 22px; margin-bottom: 7px; }
.fc-title {
    font-family: Cibreo, Helvetica, sans-serif;
    color: #c8dae1;
    font-size: 13px;
    margin-bottom: 5px;
}
.fc-text { color: var(--text-dim); font-size: 11px; line-height: 1.55; }

/* ─── SUPPORTS SECTION ───────────────────────────── */
.supports-section {
    background: #111111;
    padding: 22px 28px;
}
.supports-section h2 {
    font-family: Cibreo, Helvetica, sans-serif;
    color: #babdbf;
    font-size: 20px;
    margin-bottom: 12px;
}
.supports-section h2 span.red { color: #d8705e; }

/* ─── BOTTOM BLOCK ───────────────────────────────── */
.bottom-block {
    background: #090909;
    padding: 22px 28px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.bottom-block h2 {
    font-family: Cibreo, Helvetica, sans-serif;
    color: #d8705e;
    font-size: 15px;
    margin-bottom: 10px;
}
.two-col-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.press-links { list-style: none; }
.press-links li {
    border-bottom: 1px dotted #1e2e38;
    padding: 5px 0;
}
.press-links li a { color: var(--text); font-size: 12px; }
.press-links li a:hover { color: var(--text-light); }

/* ─── SIDEBAR ────────────────────────────────────── */
.sidebar-inner { padding: 18px 14px; }
.sidebar-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sidebar-section:last-child { border-bottom: none; margin-bottom: 0; }
.sidebar-title {
    font-family: Cibreo, Helvetica, sans-serif;
    color: #c8dae1;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
}

/* Since badge */
.since-badge {
    background: linear-gradient(135deg, rgba(26,106,154,0.22), rgba(77,184,216,0.08));
    border: 1px solid rgba(77,184,216,0.2);
    border-radius: 7px;
    padding: 14px;
    text-align: center;
    margin-bottom: 18px;
}
.since-year {
    display: block;
    font-family: Cibreo, Helvetica, sans-serif;
    font-size: 32px;
    color: var(--blue);
    line-height: 1;
}
.since-label {
    display: block;
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 5px;
}

/* Stat grid */
.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}
.stat-item {
    background: rgba(77,184,216,0.05);
    border: 1px solid rgba(77,184,216,0.12);
    border-radius: 5px;
    padding: 10px 8px;
    text-align: center;
}
.stat-value {
    display: block;
    font-family: Cibreo, Helvetica, sans-serif;
    font-size: 20px;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 3px;
}
.stat-label {
    display: block;
    font-size: 9px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA button */
.cta-button {
    display: block;
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: #fff !important;
    text-align: center;
    border-radius: 5px;
    font-family: Cibreo, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: opacity 0.2s, transform 0.1s;
}
.cta-button:hover { opacity: 0.88; transform: translateY(-1px); }

/* Feature list */
.feature-list { list-style: none; }
.feature-list li {
    display: flex;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 12px;
    color: #7a9aaa;
    line-height: 1.4;
    align-items: flex-start;
}
.feature-list li:last-child { border-bottom: none; }
.fl-dot { color: var(--blue); font-size: 7px; margin-top: 5px; flex-shrink: 0; }

/* Quick links */
.quick-links { list-style: none; }
.quick-links li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 0;
    color: #90caea;
    font-size: 12px;
    border-bottom: 1px dotted #162230;
    transition: color 0.2s;
}
.quick-links li:last-child a { border-bottom: none; }
.quick-links li a::before { content: '›'; color: var(--accent); font-size: 15px; line-height: 1; }
.quick-links li a:hover { color: #fff; }

.account-mini { font-size: 11px; color: #4a6a7a; margin-top: 10px; }
.account-mini strong { color: #90caea; }

/* ─── FORMS / ALERTS ──────────────────────────────── */
input, textarea, select {
    border-radius: 4px;
    border: 1px solid #2a3a4a;
    padding: 6px 10px;
    background: #0d1c26;
    color: #c8d8e0;
    font-size: 13px;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); }
input:hover, textarea:hover, select:hover { border-color: cyan; }

.info, .success, .warning, .error, .validation {
    border: 1px solid;
    margin: 10px 0;
    padding: 12px 15px 12px 45px;
    background-repeat: no-repeat;
    background-position: 12px center;
    border-radius: 4px;
}
.info    { color: #00529B; background-color: #BDE5F8; background-image: url('images/info.png'); }
.success { color: #4F8A10; background-color: #DFF2BF; background-image: url('images/success.png'); }
.warning { color: #9F6000; background-color: #FEEFB3; background-image: url('images/warning.png'); }
.error   { color: #D8000C; background-color: #FFBABA; background-image: url('images/error.png'); }

/* ─── TABLES ──────────────────────────────────────── */
.rows td, .rowsB td { font-size: 12px; padding: 5px 10px; }
.rowsB td { border-top: 1px solid #424242; }
.rows a, .rowsB a { font-size: 12px; }
.rows:hover, .rowsB:hover { background-color: #000; }

/* product_style kept for inner pages */
.product_style { font-size: 11pt; padding: 16px; }

/* spacer utility */
.spacer { clear: both; }

/* ─── SITE FOOTER ─────────────────────────────────── */
.site-footer {
    background: #060e14;
    text-align: center;
    padding: 18px 20px;
    font-family: Cibreo, Helvetica, sans-serif;
    color: #2e4050;
    font-size: 12px;
    border-top: 1px solid rgba(77,184,216,0.08);
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
    .content-grid { grid-template-columns: 1fr; }
    .col-sidebar { border-left: none; border-top: 1px solid rgba(77,184,216,0.1); }
    .sidebar-inner { padding: 20px; }
    .stat-grid { grid-template-columns: repeat(4, 1fr); }
    .feature-strip { grid-template-columns: 1fr 1fr; }
    .two-col-links { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    .nav-links { display: none; flex-direction: column; width: 100%; background: rgba(5,14,22,0.98); }
    .nav-links.open { display: flex; }
    .nav-links li a { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 13px 20px; }
    .nav-links li:first-child a { border-left: none; }
    #site-header { height: 100px; background-size: auto 100%; background-position: left center; }
    .banner-slide { height: 160px; }
    .banner-headline { font-size: 18px; width: 60%; }
    .banner-desc { display: none; }
    .feature-strip { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .two-col-links { grid-template-columns: 1fr; }
    .section-top-inner { padding: 16px; }
    .bottom-block { padding: 16px; }
}
