/* ═══════════════════════════════════════════════
   NetMkd Portfolio — style.css  (Electric Blue)
   ═══════════════════════════════════════════════ */

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

:root {
    --accent:      #0066FF;
    --accent-dk:   #0052CC;
    --accent-lt:   #EBF2FF;
    --accent-glow: rgba(0, 102, 255, 0.22);

    --bg:          #FFE0B2;
    --bg-card:     #FFFFFF;
    --bg-alt:      #C8E6C9;
    --bg-gradient: linear-gradient(135deg, #FFE0B2 0%, #C8E6C9 100%);

    --text:        #0A0F1E;
    --text-2:      #4A5578;
    --text-3:      #8494B8;
    --border:      rgba(0, 60, 180, 0.09);
    --border-h:    rgba(0, 102, 255, 0.25);

    --shadow:      0 2px 16px rgba(0, 40, 120, 0.07);
    --shadow-h:    0 8px 40px rgba(0, 60, 200, 0.14);
    --shadow-blue: 0 4px 20px rgba(0, 102, 255, 0.28);

    --r:           13px;
    --max:         1100px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #FFE0B2 0%, #C8E6C9 100%);
    background-attachment: fixed;
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── TOPBAR ── */
.topbar {
    background: var(--text);
    padding: 8px 0;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.04em;
}
.topbar-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar a { color: rgba(255,255,255,0.45); transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 1.75rem; }

/* ── NAVBAR ── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 220, 185, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}
.navbar-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-2);
    transition: all .18s;
    letter-spacing: -0.01em;
}
.nav-links a:hover { background: var(--bg-alt); color: var(--text); }
.nav-links .nav-cta {
    background: var(--accent);
    color: #fff;
    margin-left: 8px;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: var(--shadow-blue);
}
.nav-links .nav-cta:hover {
    background: var(--accent-dk);
    box-shadow: 0 6px 28px rgba(0,102,255,0.38);
}

/* ── WRAP ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .18s;
    text-decoration: none;
    letter-spacing: -0.01em;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
    background: var(--accent-dk);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,102,255,0.38);
}
.btn-ghost {
    background: rgba(255,255,255,0.9);
    color: var(--text);
    border: 1.5px solid var(--border);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover {
    background: var(--bg-alt);
    border-color: var(--border-h);
    transform: translateY(-1px);
}

/* ── SECTION LABELS ── */
.sec-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.sec-label::before {
    content: '';
    display: block;
    width: 18px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.sec-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}
.sec-sub {
    font-size: 1rem;
    color: var(--text-2);
    max-width: 520px;
    line-height: 1.75;
}
.sec-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.75rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.sec-action a {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap .18s;
}
.sec-action a:hover { gap: 9px; }

/* ── HERO ── */
.hero {
    position: relative;
    padding: 7rem 0 5.5rem;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #FFCCBC 0%, #DCEDC8 100%);
}

/* Top accent line */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #0066FF, #38BDF8, #0066FF, transparent);
    background-size: 200% 100%;
    animation: topline 4s linear infinite;
    pointer-events: none;
}
@keyframes topline {
    0%   { background-position: 200%; }
    100% { background-position: -200%; }
}

/* Matrix canvas — positioned by JS */
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0052CC;
    background: rgba(235,242,255,0.92);
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0,102,255,0.2);
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(4px);
}
.hero-eyebrow::before {
    content: '';
    width: 5px; height: 5px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.hero .wrap { position: relative; z-index: 2; }

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--text);
    max-width: 680px;
    margin: 0 auto 1.4rem;
}
.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-2);
    max-width: 450px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    font-weight: 400;
    background: rgba(255,255,255,0.75);
    border-radius: 8px;
    padding: 4px 12px;
    backdrop-filter: blur(2px);
    display: inline-block;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

/* ── STATS STRIP ── */
.stats-strip {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat-item {
    padding: 1.75rem 1.5rem;
    border-right: 1px solid var(--border);
    text-align: center;
    transition: background .2s;
}
.stat-item:hover { background: var(--bg-alt); }
.stat-item:last-child { border-right: none; }
.stat-n {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.04em;
}
.stat-n span { color: var(--accent); }
.stat-l {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── SECTION ── */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-card); }

/* ── APP CARDS ── */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.app-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: all .22s;
    box-shadow: var(--shadow);
}
.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-h);
    border-color: var(--border-h);
}
.app-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.app-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
.badge {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 20px;
}
.badge-new  { background: rgba(0,102,255,0.10); color: var(--accent); }
.badge-free { background: rgba(0,160,80,0.1);  color: #0A7A3C; }
.badge-soon { background: var(--bg-alt); color: var(--text-3); }

.app-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 7px;
    letter-spacing: -0.02em;
}
.app-desc {
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.25rem;
}
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 1.25rem; }
.tag {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--bg-alt);
    color: var(--text-2);
    border: 1px solid var(--border);
}
.app-card-foot {
    border-top: 1px solid var(--border);
    padding-top: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap .15s;
}
.card-link:hover { gap: 8px; }
.app-platform { font-size: 11px; color: var(--text-3); font-weight: 500; }

.app-card.soon {
    border-style: dashed;
    border-color: rgba(0,102,255,0.18);
    box-shadow: none;
    background: transparent;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 200px;
}
.soon-plus {
    width: 48px; height: 48px;
    border-radius: 13px;
    border: 1.5px dashed var(--text-3);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--text-3);
    margin: 0 auto 12px;
}
.soon-text { font-size: 13px; color: var(--text-3); font-weight: 500; }

/* ── WEB CARDS ── */
.web-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.web-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .22s;
    box-shadow: var(--shadow);
}
.web-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-h);
    border-color: var(--border-h);
}
.web-preview {
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.web-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.web-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 7px;
    letter-spacing: -0.02em;
}
.web-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.7; flex: 1; margin-bottom: 1.1rem; }
.web-foot {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.web-url { font-size: 12px; color: var(--text-3); font-family: monospace; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text h2 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin-bottom: 1rem;
}
.about-text h2 em { font-style: normal; color: var(--accent); }
.about-body { font-size: 15px; color: var(--text-2); line-height: 1.85; margin-bottom: 2rem; }
.values { display: flex; flex-direction: column; gap: 15px; }
.value { display: flex; align-items: flex-start; gap: 13px; font-size: 14px; color: var(--text-2); line-height: 1.65; }
.value-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.value strong { color: var(--text); font-weight: 600; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.6rem;
    box-shadow: var(--shadow);
    transition: border-color .2s, box-shadow .2s;
    text-align: center;
}
.about-stat:hover { border-color: var(--border-h); box-shadow: var(--shadow-h); }
.about-stat-n {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 7px;
    letter-spacing: -0.04em;
}
.about-stat-n span { color: var(--accent); }
.about-stat-l { font-size: 13px; color: var(--text-2); line-height: 1.4; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.contact-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-bottom: 0.75rem;
}
.contact-info > p { font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 2.25rem; }
.contact-rows { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; align-items: center; gap: 13px; }
.c-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
}
.c-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 2px; }
.c-val { font-size: 14px; font-weight: 500; color: var(--text); }
.c-val a { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-2); }
.field input,
.field textarea,
.field select {
    padding: 12px 15px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color .18s, background .18s, box-shadow .18s;
}
.field input:focus,
.field textarea:focus {
    border-color: var(--accent);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(0,102,255,0.10);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.form-note { font-size: 12px; color: var(--text-3); }

/* ── FOOTER ── */
.site-footer { background: var(--text); color: rgba(255,255,255,0.4); font-size: 13px; }
.footer-top {
    max-width: var(--max);
    margin: 0 auto;
    padding: 3rem 2rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 3rem;
    align-items: start;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo img { height: 30px; width: auto; margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.3); max-width: 220px; line-height: 1.6; }
.footer-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.3); margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,0.4); font-size: 13px; margin-bottom: 9px; transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    max-width: var(--max);
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ── SOCIAL ICONS ── */
.topbar-social { display: inline-flex; align-items: center; color: rgba(255,255,255,0.45); transition: color .2s; padding: 0 2px; }
.topbar-social:hover { color: #fff; }
.c-icon-fb { background: #1877F2; color: #fff; border-color: #1877F2; }
.c-icon-ig { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); color: #fff; border-color: transparent; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .apps-grid { grid-template-columns: 1fr 1fr; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .apps-grid, .web-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .topbar-right { display: none; }
    .nav-links a:not(.nav-cta) { display: none; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}