@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@600;700;800;900&display=swap');

/* ==========================================================================
   DAVID MICHAEL DOMBROWSKI - DIFFERENTIAL WEB DESIGNS (V2 EXECUTIVE DARK)
   Restyled in the exact aesthetic of ClipLogic & The 11 Autonomous Programs
   ========================================================================== */

:root {
    --bg-dark: #060913;
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-sidebar: rgba(10, 15, 29, 0.9);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(56, 189, 248, 0.3);
    --accent-blue: #0284c7;
    --accent-cyan: #38bdf8;
    --accent-purple: #c084fc;
    --accent-green: #34d399;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --font-display: 'Outfit', 'Aptos Display', -apple-system, sans-serif;
    --font-body: 'Inter', 'Aptos', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 0% 50%, rgba(56, 189, 248, 0.05) 0%, transparent 40%);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ~~ Global Resets ~~ */
ul, ol, dl {
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6, fm, p {
    margin-top: 0;
    padding-right: 0;
    padding-left: 0;
    color: var(--text-primary);
}

/* ~~ Top Status Ribbon (smt) ~~ */
.smt {
    background: rgba(2, 6, 23, 0.95);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.smt a {
    color: var(--accent-cyan);
    text-decoration: none;
    margin: 0 6px;
    transition: color 0.2s;
}
.smt a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--accent-cyan);
}

/* ~~ Top Header ~~ */
.topheader {
    background: rgba(10, 15, 29, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 0;
}

.headcontainer {
    width: 1020px;
    max-width: 96vw;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dwd {
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.35));
    transition: filter 0.3s;
}
.dwd:hover {
    filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.65));
}

/* ~~ Main Layout Container ~~ */
.container {
    width: 1040px;
    max-width: 96vw;
    margin: 24px auto 50px auto;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 1px 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}
.container::after {
    content: "";
    display: table;
    clear: both;
}

/* ~~ Top Button Navigation Row ~~ */
.container > div > div:first-child {
    background: rgba(2, 6, 23, 0.65);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.container > div > div:first-child a img {
    border-radius: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.container > div > div:first-child a img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

/* ~~ Left Sidebar Navigation (sidebar1) ~~ */
.sidebar1 {
    float: left;
    width: 200px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-subtle);
    padding: 24px 12px;
    box-sizing: border-box;
    min-height: 850px;
}

.sidebar1 nav ul {
    list-style: none;
    margin-bottom: 25px;
}

.sidebar1 nav ul li {
    margin-bottom: 6px;
}

.sidebar1 nav ul a, 
.sidebar1 nav ul a:visited {
    display: block;
    padding: 9px 14px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar1 nav ul a:hover, 
.sidebar1 nav ul a:active, 
.sidebar1 nav ul a:focus {
    color: var(--accent-cyan);
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.25);
    transform: translateX(4px);
}

.sidebar1 nav ul li.lit {
    display: block;
    padding: 9px 14px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    border: 1px solid var(--accent-cyan);
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.sidebar1 aside.parent {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 14px;
    margin-top: 20px;
}

.sidebar1 aside.parent p {
    color: #64748b !important;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 5px 0;
    line-height: 1.4;
}

/* ~~ Center Main Content Area (content) ~~ */
.content {
    float: left;
    width: 630px;
    padding: 28px 24px;
    box-sizing: border-box;
    min-height: 850px;
    color: var(--text-secondary);
}

.h1 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin: 0 0 14px 0;
    background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
}

.h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin: 24px 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.2px;
}

.h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.h4 { font-size: 0.95rem; font-weight: 700; color: var(--accent-purple); }
.h5, .h6 { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); }

.p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-align: left;
}

.p strong {
    color: #ffffff;
    font-weight: 700;
}

.p em {
    color: var(--accent-cyan);
    font-style: normal;
    font-weight: 600;
}

.p a, a:link, a:visited {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}

.p a:hover, a:hover, a:active, a:focus {
    color: #7dd3fc;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
    text-decoration: underline;
}

/* ~~ Right Aside Column (aside) ~~ */
aside:not(.parent) {
    float: left;
    width: 210px;
    background: var(--bg-sidebar);
    border-left: 1px solid var(--border-subtle);
    padding: 28px 16px;
    box-sizing: border-box;
    min-height: 850px;
}

aside:not(.parent) h4.h2 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0 0 10px 0;
    border-bottom: 1px solid rgba(192, 132, 252, 0.25);
    padding-bottom: 6px;
}

aside:not(.parent) p.p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 14px;
}

/* ~~ Interactive Direct-Response Widgets ~~ */
input[type="radio"] {
    accent-color: var(--accent-cyan);
    cursor: pointer;
    margin: 0 6px 0 2px;
    transform: scale(1.15);
}

input.nav2 {
    background: rgba(15, 23, 42, 0.95) !important;
    border: 1px solid var(--accent-cyan) !important;
    color: var(--accent-cyan) !important;
    font-weight: 800;
    border-radius: 8px;
    padding: 6px 12px;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
    font-family: var(--font-display);
    transition: all 0.2s;
}
input.nav2:focus {
    outline: none;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.6);
    border-color: #fff !important;
}

/* ~~ Images & Media ~~ */
.MainImage {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    margin: 8px 0 14px 16px;
    float: right;
    transition: all 0.3s ease;
}
.MainImage:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(56, 189, 248, 0.3);
    border-color: var(--accent-cyan);
}

/* ~~ Dark Glass Venture Cards (Autonomous Showcase) ~~ */
.dwd-venture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 14px;
    margin: 20px 0 30px 0;
}

.dwd-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.dwd-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.2);
}

.dwd-card-featured {
    border: 2px solid var(--accent-blue);
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.2);
}

/* ~~ Footer ~~ */
footer {
    clear: both;
    width: 100%;
    background: rgba(2, 6, 23, 0.95);
    border-top: 1px solid var(--border-subtle);
    padding: 24px 20px;
    text-align: center;
    box-sizing: border-box;
}

footer p.f a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    margin: 0 6px;
    transition: color 0.2s;
}
footer p.f a:hover {
    color: var(--accent-cyan);
}

footer address p.fa {
    color: #64748b;
    font-size: 0.78rem;
    margin-top: 10px;
}

.clearfloat {
    clear: both;
    height: 0;
    font-size: 1px;
    line-height: 0px;
}
