* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: #0b0b0e;
    color: #ffffff;
    overflow-x: hidden;
}

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

/* Layout */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    background: rgba(11, 11, 14, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1c1c22;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 14px;
}

nav a {
    margin-left: 32px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.85;
}

nav a:hover {
    opacity: 1;
}

main {
    padding-top: 90px; /* offset for fixed header */
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* Hero */

.hero {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-inner {
    max-width: 720px;
}

.hero-title {
    font-size: 52px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 18px;
    color: #d0d0d6;
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    background: #6c5ce7;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 14px 30px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    background: #8e8df5;
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(108, 92, 231, 0.4);
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(250, 250, 255, 0.08);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: #b0b0ba;
}

/* About */

.section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 15px;
    color: #b8b8c4;
    margin-bottom: 32px;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 40px;
    align-items: start;
}

.about-text {
    font-size: 15px;
    color: #d0d0d6;
    line-height: 1.6;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: #15151c;
    border: 1px solid #262634;
    font-size: 12px;
    color: #d0d0dd;
}

.about-card {
    background: radial-gradient(circle at top left, #201b35, #111117);
    border-radius: 16px;
    padding: 24px 22px;
    border: 1px solid #262634;
}

.about-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-card p {
    font-size: 13px;
    color: #c7c7d6;
    margin-bottom: 18px;
}

.link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.link-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #0f0f16;
    border: 1px solid #333344;
    font-size: 13px;
    color: #e0e0ff;
}

.link-chip span.icon {
    font-size: 14px;
}

/* Services */

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.card {
    background: #111117;
    border-radius: 14px;
    padding: 22px 20px;
    border: 1px solid #262634;
    transition: border 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
    border-color: #6c5ce7;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: #cfd0dd;
    margin-bottom: 12px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.tag {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #181822;
    color: #d0d0e5;
}

/* Activity (GitHub + Balena) */

.activity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.activity-block h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.stat-line {
    font-size: 13px;
    color: #cfd0dd;
    margin-bottom: 4px;
}

.activity-list {
    margin-top: 12px;
    list-style: none;
    font-size: 13px;
    color: #d6d6e4;
}

.activity-list li {
    padding: 6px 0;
    border-bottom: 1px solid #1c1c25;
}

.activity-list li:last-child {
    border-bottom: none;
}

.activity-meta {
    font-size: 11px;
    color: #9a9ab0;
    margin-top: 2px;
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
    gap: 32px;
}

.contact-card {
    background: #111117;
    border-radius: 16px;
    padding: 24px 22px;
    border: 1px solid #262634;
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

form label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
}

input,
textarea,
select {
    width: 100%;
    background: #0b0b10;
    border-radius: 10px;
    border: 1px solid #262634;
    color: #ffffff;
    padding: 10px 11px;
    font-size: 14px;
    margin-bottom: 14px;
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #6c5ce7;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-note {
    font-size: 13px;
    color: #b8b8c4;
    margin-top: 12px;
}

/* Footer */

footer {
    padding: 26px 24px 40px;
    text-align: center;
    font-size: 12px;
    color: #8b8b9c;
    border-top: 1px solid #181822;
    margin-top: 20px;
}

/* Responsive */

@media (max-width: 960px) {
    header {
        padding: 16px 18px;
    }

    nav a {
        margin-left: 18px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .about-grid,
    .activity-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .cards {
        grid-template-columns: minmax(0, 1fr);
    }

    main {
        padding-top: 78px;
    }
}
.activity-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 34px;
}

.activity-card {
    background: #111118;
    border-radius: 14px;
    padding: 26px;
    border: 1px solid #2a2a35;
    box-shadow: 0 0 18px rgba(120, 80, 255, 0.08);
    transition: 0.2s ease;
}

.activity-card:hover {
    border-color: #6c5ce7;
    box-shadow: 0 0 22px rgba(108, 92, 231, 0.25);
}

.activity-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid #333345;
}

.initials {
    background: #6c5ce7;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: 600;
    color: white;
}

.profile-stats p {
    font-size: 13px;
    margin-bottom: 4px;
    color: #d0d0d9;
}

.activity-subtitle {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ddd;
}

.repo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.repo-card {
    background: #1a1a24;
    border: 1px solid #29293a;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    transition: 0.2s ease;
}

.repo-card:hover {
    border-color: #6c5ce7;
    background: #232336;
}

.activity-list li {
    padding: 8px 0;
    border-bottom: 1px solid #1d1d27;
}

.activity-list li:last-child {
    border: none;
}

.badge-accepted {
    background: #2ecc71;
    color: #0b0b0e;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 10px;
    margin-left: 6px;
    font-weight: 600;
}
.repo-card {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    background: #13131a;
    border: 1px solid #272733;
    margin-bottom: 10px;
    transition: transform .15s ease, border .15s ease;
}

.repo-card:hover {
    transform: translateY(-2px);
    border-color: #6c5ce7;
}

.repo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.repo-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.repo-desc {
    margin-top: 6px;
    font-size: 12px;
    color: #b8b8c7;
    line-height: 1.4;
}

.repo-badge {
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}

.repo-badge.public {
    background: #3d4fff;
}

.repo-badge.archived {
    background: #777;
}
.terminal {
    font-family: "JetBrains Mono", monospace;
    background: #0f0f16;
    padding: 8px 14px;
    border-radius: 6px;
    border-left: 3px solid #6c5ce7;
    color: #cfd0dd;
}

.terminal::after {
    content: "▌";
    animation: blink 1s infinite;
    margin-left: 4px;
    opacity: 0.7;
}

@keyframes blink {
    0%, 50% { opacity: 0; }
    51%, 100% { opacity: 1; }
}
.about-terminal {
    background: #0e0e14;
    border: 1px solid #2e2e3d;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(108,92,231,0.15);
    backdrop-filter: blur(6px);
    margin-top: 20px;
}

.term-header {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: #16161f;
    border-bottom: 1px solid #262635;
    position: relative;
}

.term-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.term-header .title {
    position: absolute;
    right: 14px;
    font-size: 12px;
    color: #6f6f82;
    letter-spacing: 0.05em;
}

.term-body {
    padding: 20px;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    color: #dcdced;
    line-height: 1.7;
}

.term-body .cmd {
    color: #6c5ce7;
    font-weight: 600;
}
/* SUCCESS BOX */
#success-box {
  opacity: 0;
  transition: 0.4s ease;
  margin-top: 15px;
  padding: 18px 20px;
  border-radius: 10px;
  background: rgba(0, 200, 0, 0.15);
  border: 1px solid #00ff6a;
  font-size: 14px;
  color: #d3ffd3;
  font-family: "Fira Code", monospace;
}

#success-box.visible {
  opacity: 1;
}

#success-box.error {
  background: rgba(255, 50, 50, 0.15);
  border-color: #ff4d4d;
  color: #ffd4d4;
}

.success-title {
  font-weight: 700;
  margin-bottom: 5px;
}

/* ========================= */
/*  SYSTEMCTL PANEL — V2     */
/* ========================= */

.info-card {
    background: linear-gradient(145deg, #0d0d13 0%, #111118 100%);
    border: 1px solid #2b2b38;
    border-radius: 16px;
    padding: 26px 26px 30px;
    box-shadow: 0 0 28px rgba(108, 92, 231, 0.10);
    font-family: "JetBrains Mono", monospace;
    position: relative;
}

.info-card h3 {
    font-size: 15px;
    margin-bottom: 18px;
    color: #e8e8f5;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.prompt {
    color: #6dfc8f;
}

.syslog p {
    margin-bottom: 4px;
}

.ok {
    color: #6dfc8f;
    margin-right: 6px;
    font-weight: 600;
}

.green {
    color: #6dfc8f;
}

/* ---- CAPABILITY + LOG TITLES ---- */
.log-section {
    margin-top: 22px;
}

.log-title {
    font-size: 12px;
    color: #9c9cb5;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
    opacity: 0.75;
}

/* ---- BULLET LIST ---- */
.log-list {
    list-style: none;
}

.log-list li {
    padding: 4px 0;
    font-size: 13px;
    color: #d2d2df;
}

.arrow {
    color: #6dfc8f;
    font-size: 14px;
}

/* ---- DYNAMIC LOGS BOX ---- */
.dyn-logs {
    background: #0c0c12;
    padding: 14px 16px;
    border-radius: 10px;
    border-left: 3px solid #6c5ce7;
    box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.45);
    max-height: 220px;
    overflow-y: auto;
}

.dyn-logs::-webkit-scrollbar {
    width: 6px;
}
.dyn-logs::-webkit-scrollbar-thumb {
    background: #2d2d38;
    border-radius: 20px;
}

/* individual log entries */
.entry {
    font-size: 13px;
    padding: 4px 0;
    color: #dcdcec;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(4px);
    animation: fadeInLog 0.28s ease forwards;
}

.entry .time {
    color: #8f8f9f;
    min-width: 140px;
    font-size: 12px;
}

/* subtle fade-in animation */
@keyframes fadeInLog {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- FOOT NOTE ---- */
.note {
    margin-top: 20px;
    font-size: 12px;
    opacity: 0.6;
}




/* PANEL GLOBAL */
.info-panel {
    background: #0d0d14;
    border: 1px solid #2b2b38;
    border-radius: 14px;
    padding: 26px;
    font-family: "JetBrains Mono", monospace;
    box-shadow: 0 0 20px rgba(108,92,231,0.12);
}

/* HEADER */
.panel-header {
    font-size: 15px;
    color: #eaeafa;
    margin-bottom: 20px;
    font-weight: 600;
}

.prompt {
    color: #6dfc8f;
    margin-right: 6px;
}

/* STATUS LINES */
.panel-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 14px;
    color: #d5d5e0;
}

.panel-row strong {
    color: #ffffff;
}

.value {
    color: #9fd3ff;
}

.meta {
    color: #b8b8c5;
    font-size: 12px;
}

/* GREEN DOT */
.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.dot.green { background: #6dfc8f; }

/* SECTION TITLES */
.section-title {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #8f8fa3;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* CAPABILITIES */
.capabilities {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}
.capabilities li {
    padding: 3px 0;
    font-size: 13px;
    color: #d6d6e5;
}

/* LOG BOX */
.dyn-logs {
    background: #0b0b11;
    border-left: 3px solid #6c5ce7;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: inset 0 0 14px rgba(0,0,0,0.35);
    max-height: 200px;
    overflow-y: auto;
}

.entry {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #e3e3ee;
    opacity: 0;
    transform: translateY(4px);
    animation: fadeIn 0.25s ease forwards;
}

.entry .time {
    color: #8f90a3;
    min-width: 140px;
}

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.note {
    margin-top: 18px;
    font-size: 12px;
    opacity: 0.65;
}

/* ========================================= */
/*        PREMIUM TECH BADGES (CuteOps)      */
/* ========================================= */

.pro-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.badge-pro {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #e8e8f4;

    background: linear-gradient(135deg, #161620 0%, #1d1d28 100%);
    border: 1px solid #2d2d3a;
    border-radius: 10px;

    box-shadow: 0 0 12px rgba(108, 92, 231, 0.12);
    backdrop-filter: blur(4px);

    transition: all .18s ease;
}

.badge-pro:hover {
    border-color: #6c5ce7;
    box-shadow: 0 0 18px rgba(108, 92, 231, 0.25);
    transform: translateY(-1px);
}

.badge-pro .icon {
    opacity: 0.85;
    font-size: 15px;
}
