/* ============================================================
   Portfolio Alex.dev — Dark NOC Theme
   ============================================================ */
/*@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700&family=Inter:wght@300;400;500;600;700;800&display=swap');


*/
:root {
  --bg:     #07070f;
  --bg2:    #0f0f1a;
  --bg3:    #161628;
  --bg4:    #1e1e35;
  --cyan:   #00d4ff;
  --purple: #7b2fff;
  --green:  #00ff88;
  --pink:   #ff2d78;
  --amber:  #f59e0b;
  --text:   #e8eaf0;
  --muted:  #6b7280;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
  --body: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--body); min-height: 100vh; }
a { color: inherit; text-decoration: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 3px; }

/* ── NAV ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100;
       background: rgba(7,7,15,.9); backdrop-filter: blur(20px);
       border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center;
             justify-content: space-between; height: 64px; padding: 0 2rem; }
.nav-logo { font-family: var(--mono); font-size: 1.1rem; font-weight: 700; color: var(--cyan); }
.nav-logo span { color: var(--purple); }
.nav-links { display: flex; gap: .5rem; align-items: center; }
.nav-btn { background: none; border: 1px solid var(--border); color: var(--muted);
           padding: .4rem 1rem; border-radius: var(--radius-sm); font-family: var(--body);
           font-size: .85rem; cursor: pointer; transition: all .2s; }
.nav-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-btn.primary { background: var(--cyan); border-color: var(--cyan); color: #000; font-weight: 600; }
.nav-btn.primary:hover { background: #00bde0; }
.nav-avatar { width: 36px; height: 36px; border-radius: 50%;
              background: linear-gradient(135deg, var(--purple), var(--cyan));
              display: flex; align-items: center; justify-content: center;
              font-size: .8rem; font-weight: 700; color: #fff; cursor: pointer; }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center;
        padding: 6rem 2rem 4rem; position: relative; overflow: hidden; }
#particles { position: absolute; inset: 0; opacity: .35; pointer-events: none; }
.hero-content { max-width: 780px; text-align: center; position: relative; z-index: 1; }
.hero-tag { font-family: var(--mono); font-size: .78rem; color: var(--cyan); letter-spacing: .15em;
            margin-bottom: 1.25rem; }
.hero-tag::before { content: '> '; color: var(--purple); }
h1.hero-title { font-size: clamp(2rem, 5.5vw, 4.2rem); font-weight: 800; line-height: 1.1;
                margin-bottom: 1.25rem; letter-spacing: -.02em; }
.hero-title .g { background: linear-gradient(135deg, var(--cyan), var(--purple));
                 -webkit-background-clip: text; -webkit-text-fill-color: transparent;
                 background-clip: text; }
.hero-sub { font-size: 1.05rem; color: var(--muted); line-height: 1.7;
            max-width: 500px; margin: 0 auto 2rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn { padding: .7rem 1.6rem; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600;
       cursor: pointer; transition: all .2s; border: none; display: inline-flex; align-items: center; gap: .45rem; }
.btn-cyan   { background: var(--cyan);   color: #000; }
.btn-cyan:hover { background: #00bde0; transform: translateY(-2px); }
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: #6a28dd; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-danger { background: #ff2d7820; border: 1px solid #ff2d7840; color: var(--pink); }
.btn-danger:hover { background: #ff2d7835; }
.btn-sm { padding: .45rem 1rem; font-size: .82rem; }
.btn-full { width: 100%; padding: .85rem; font-size: .95rem; border-radius: var(--radius-sm);
            cursor: pointer; font-weight: 700; font-family: var(--body); transition: all .2s; border: none; }

/* ── TERMINAL ── */
.terminal { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
            padding: 1.25rem 1.5rem; font-family: var(--mono); font-size: .8rem;
            max-width: 520px; margin: 2.5rem auto 0; text-align: left; }
.term-bar { display: flex; gap: 6px; margin-bottom: 1rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-r{background:#ff5f57}.dot-y{background:#ffbd2e}.dot-g{background:#28ca41}
.term-line { line-height: 1.9; color: var(--muted); }
.tc { color: var(--cyan); } .tg { color: var(--green); } .tp { color: var(--purple); }
.cursor { display: inline-block; width: 8px; height: 14px; background: var(--cyan);
          animation: blink 1s infinite; vertical-align: middle; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── STATS BAR ── */
.stats-bar { background: var(--bg2); border-top: 1px solid var(--border);
             border-bottom: 1px solid var(--border); padding: 1.5rem 2rem; }
.stats-inner { max-width: 1200px; margin: 0 auto;
               display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
               gap: 2rem; text-align: center; }
.stat-n { font-size: 1.8rem; font-weight: 700; font-family: var(--mono); }
.stat-l { font-size: .75rem; color: var(--muted); margin-top: .2rem;
          text-transform: uppercase; letter-spacing: .08em; }

/* ── SECTION ── */
.section { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem; }
.section-hd { display: flex; align-items: center; justify-content: space-between;
              margin-bottom: 1.75rem; flex-wrap: wrap; gap: .75rem; }
.section-title { font-size: 1.4rem; font-weight: 700; }
.section-title span { color: var(--cyan); font-family: var(--mono); }

/* ── FILTER ── */
.filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn { background: transparent; border: 1px solid var(--border); color: var(--muted);
              padding: .38rem .9rem; border-radius: 50px; font-size: .8rem; cursor: pointer;
              transition: all .2s; font-family: var(--body); }
.filter-btn:hover, .filter-btn.active { background: var(--cyan); border-color: var(--cyan); color: #000; }

/* ── SEARCH ── */
.search-wrap { position: relative; max-width: 320px; }
.search-wrap input { background: var(--bg2); border: 1px solid var(--border); color: var(--text);
                     padding: .5rem 1rem .5rem 2.5rem; border-radius: var(--radius-sm);
                     font-size: .85rem; width: 100%; outline: none; font-family: var(--body); }
.search-wrap input:focus { border-color: var(--cyan); }
.search-wrap .icon { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%);
                     color: var(--muted); font-size: .85rem; }

/* ── PROJECTS GRID ── */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.project-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
                padding: 1.5rem; cursor: pointer; transition: all .25s; position: relative; overflow: hidden; }
.project-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
                         opacity: 0; transition: opacity .2s; }
.project-card:hover { border-color: rgba(0,212,255,.2); transform: translateY(-4px); background: var(--bg3); }
.project-card:hover::before { opacity: 1; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.card-icon { width: 44px; height: 44px; border-radius: var(--radius-sm);
             display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.card-title { font-size: 1rem; font-weight: 700; margin-bottom: .45rem; }
.card-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.card-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tag { font-size: .72rem; padding: .2rem .55rem; border-radius: 4px;
       background: var(--bg4); color: var(--muted); font-family: var(--mono); }
.card-foot { display: flex; align-items: center; justify-content: space-between;
             padding-top: 1rem; border-top: 1px solid var(--border); }
.card-date { font-size: .73rem; color: var(--muted); font-family: var(--mono); }

/* ── BADGE ── */
.badge { font-size: .7rem; padding: .2rem .6rem; border-radius: 50px;
         font-family: var(--mono); font-weight: 500; }
.b-active { background: rgba(0,255,136,.1); color: var(--green); border: 1px solid rgba(0,255,136,.2); }
.b-done   { background: rgba(123,47,255,.1); color: var(--purple); border: 1px solid rgba(123,47,255,.2); }
.b-pause  { background: rgba(255,45,120,.1); color: var(--pink);   border: 1px solid rgba(255,45,120,.2); }
.b-wip    { background: rgba(0,212,255,.1);  color: var(--cyan);   border: 1px solid rgba(0,212,255,.2); }

/* ── AUTH PAGE ── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center;
             padding: 6rem 1.5rem 2rem; }
.auth-card { background: var(--bg2); border: 1px solid var(--border);
             border-radius: var(--radius-lg); padding: 2.5rem; width: 100%; max-width: 420px; }
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo .nm { font-family: var(--mono); font-size: 1.3rem; font-weight: 700; color: var(--cyan); }
.auth-logo .sb { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.auth-title { font-size: 1.4rem; font-weight: 700; text-align: center; margin-bottom: .4rem; }
.auth-sub   { font-size: .875rem; color: var(--muted); text-align: center; margin-bottom: 2rem; }
.auth-link  { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.auth-link a { color: var(--cyan); }

/* ── FORM ── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .82rem; color: var(--muted);
              margin-bottom: .45rem; font-family: var(--mono); }
.form-input { width: 100%; background: var(--bg3); border: 1px solid var(--border);
              border-radius: var(--radius-sm); padding: .72rem 1rem; color: var(--text);
              font-family: var(--body); font-size: .9rem; outline: none; transition: border-color .2s; }
.form-input:focus { border-color: var(--cyan); }
.form-input::placeholder { color: var(--muted); }
textarea.form-input { resize: vertical; }
select.form-input { cursor: pointer; }
select.form-input option { background: var(--bg3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-error { font-size: .78rem; color: var(--pink); margin-top: .35rem; font-family: var(--mono); }
.char-count { font-size: .73rem; color: var(--muted); text-align: right;
              margin-top: .3rem; font-family: var(--mono); }
.input-hint { font-size: .75rem; color: var(--muted); margin-top: .3rem; }

/* ── TAGS INPUT ── */
.tags-wrap { display: flex; flex-wrap: wrap; gap: .4rem; background: var(--bg3);
             border: 1px solid var(--border); border-radius: var(--radius-sm);
             padding: .55rem .75rem; min-height: 46px; cursor: text; transition: border-color .2s; }
.tags-wrap:focus-within { border-color: var(--cyan); }
.tag-pill { background: var(--bg4); border: 1px solid var(--border); color: var(--muted);
            font-size: .75rem; padding: .2rem .5rem; border-radius: 4px;
            display: flex; align-items: center; gap: .35rem; font-family: var(--mono); }
.tag-pill button { background: none; border: none; color: var(--muted); cursor: pointer;
                   font-size: 1rem; line-height: 1; padding: 0; }
.tag-pill button:hover { color: var(--pink); }
.tags-text-input { background: none; border: none; outline: none; color: var(--text);
                   font-size: .85rem; flex: 1; min-width: 80px; font-family: var(--mono); }

/* ── ICON / COLOR PICKER ── */
.icon-grid { display: grid; grid-template-columns: repeat(8,1fr); gap: .5rem; margin-top: .6rem; }
.icon-opt { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-sm);
            padding: .65rem; text-align: center; cursor: pointer; font-size: 1.15rem; transition: all .15s; }
.icon-opt:hover, .icon-opt.sel { background: rgba(0,212,255,.12); border-color: var(--cyan); }
.color-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.color-opt { width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
             border: 2px solid transparent; transition: all .15s; }
.color-opt:hover, .color-opt.sel { border-color: var(--text); transform: scale(1.2); }

/* ── REGISTER CARD ── */
.reg-card { background: var(--bg2); border: 1px solid var(--border);
            border-radius: var(--radius-lg); padding: 2rem; }
.reg-sec { font-size: .85rem; font-weight: 600; color: var(--cyan); font-family: var(--mono);
           margin-bottom: 1.25rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.form-actions { display: flex; gap: 1rem; justify-content: flex-end; margin-top: 2rem; flex-wrap: wrap; }

/* ── MODAL ── */
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 200;
            display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal-bg.open { display: flex; }
.modal { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg);
         padding: 2rem; width: 100%; max-width: 600px; max-height: 85vh; overflow-y: auto; }
.modal-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.modal-close { background: none; border: none; color: var(--muted); cursor: pointer;
               font-size: 1.2rem; padding: .25rem; border-radius: 4px; }
.modal-close:hover { color: var(--text); background: var(--bg3); }
.detail-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.25rem; }
.meta-item { background: var(--bg3); border-radius: var(--radius-sm); padding: .75rem; }
.meta-lbl { font-size: .72rem; color: var(--muted); font-family: var(--mono); margin-bottom: .2rem; }
.meta-val { font-size: .9rem; font-weight: 500; }

/* ── ALERT / TOAST ── */
.alert { padding: .75rem 1rem; border-radius: var(--radius-sm); font-size: .85rem; margin-bottom: 1rem; }
.alert-ok  { background: rgba(0,255,136,.08); border: 1px solid rgba(0,255,136,.25); color: var(--green); }
.alert-err { background: rgba(255,45,120,.08); border: 1px solid rgba(255,45,120,.25); color: var(--pink); }
#toast { position: fixed; bottom: 2rem; right: 2rem; z-index: 300; background: var(--bg2);
         border: 1px solid var(--border); border-radius: var(--radius-sm);
         padding: .85rem 1.25rem; font-size: .875rem;
         transform: translateY(100px); opacity: 0; transition: all .35s; max-width: 320px; }
#toast.show { transform: translateY(0); opacity: 1; }
#toast.ok   { border-color: rgba(0,255,136,.35); color: var(--green); }
#toast.err  { border-color: rgba(255,45,120,.35); color: var(--pink); }

/* ── DASHBOARD ── */
.dash-hd { margin-bottom: 2rem; }
.dash-title { font-size: 1.8rem; font-weight: 800; }
.dash-sub   { color: var(--muted); font-size: .9rem; margin-top: .4rem; }
.breadcrumb { font-family: var(--mono); font-size: .75rem; color: var(--muted); margin-bottom: .75rem; }
.breadcrumb a { color: var(--cyan); }
.demo-hint { background: rgba(0,212,255,.06); border: 1px solid rgba(0,212,255,.18);
             border-radius: var(--radius-sm); padding: .85rem 1rem; font-size: .78rem;
             font-family: var(--mono); color: var(--muted); margin-top: 1rem; }
.demo-hint .kw { color: var(--cyan); } .demo-hint .val { color: var(--green); }

/* ── EMPTY ── */
.empty { text-align: center; padding: 4rem 2rem; color: var(--muted); }
.empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: .3; }

/* ── FOOTER ── */
footer { text-align: center; padding: 2rem; border-top: 1px solid var(--border);
         color: var(--muted); font-size: .78rem; font-family: var(--mono); }
footer a { color: var(--cyan); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-inner { padding: 0 1rem; }
  .nav-links .nav-btn:not(.primary) { display: none; }
  .hero { padding: 5rem 1.25rem 3rem; }
  .section { padding: 2.5rem 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .detail-meta { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: repeat(5,1fr); }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; justify-content: center; }
}
/* ── LANDING / SEO SECTIONS ─────────────────────────────── */
.section { scroll-margin-top: 86px; }
.hero-wide { max-width: 980px; }
.nav-menu { flex-wrap: wrap; justify-content: flex-end; }
.section-hd-block { display: block; }
.section-lead { color: var(--muted); line-height: 1.75; max-width: 820px; margin-top: .75rem; }
.section-lead.compact { max-width: 650px; font-size: .9rem; }
.split-section { position: relative; }
.alt-section { max-width: none; padding-left: max(2rem, calc((100vw - 1200px) / 2 + 2rem)); padding-right: max(2rem, calc((100vw - 1200px) / 2 + 2rem)); background: linear-gradient(180deg, rgba(123,47,255,.05), rgba(0,212,255,.035)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.card-kicker { color: var(--cyan); font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .75rem; }
.about-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: 1.25rem; align-items: stretch; }
.about-card, .featured-card, .info-tile, .service-card, .media-card, .offline-card, .idea-card, .cta-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.featured-card { padding: 2rem; position: relative; overflow: hidden; }
.featured-card::after { content: ''; position: absolute; inset: auto -80px -100px auto; width: 260px; height: 260px; background: radial-gradient(circle, rgba(0,212,255,.18), transparent 68%); pointer-events: none; }
.featured-card h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.15; margin-bottom: 1rem; }
.featured-card p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.about-stack { display: grid; gap: 1rem; }
.info-tile { padding: 1.2rem; }
.info-tile strong { display: block; color: var(--text); margin-bottom: .45rem; }
.info-tile span { display: block; color: var(--muted); line-height: 1.6; font-size: .9rem; }
.mini-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.mini-tags span { background: rgba(0,212,255,.08); border: 1px solid rgba(0,212,255,.2); color: var(--cyan); padding: .3rem .65rem; border-radius: 999px; font-size: .75rem; font-family: var(--mono); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.service-card { padding: 1.45rem; transition: transform .25s, border-color .25s, background .25s; }
.service-card:hover, .media-card:hover, .offline-card:hover, .idea-card:hover, .image-card:hover { transform: translateY(-4px); border-color: rgba(0,212,255,.28); background: var(--bg3); }
.service-icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: rgba(0,212,255,.1); margin-bottom: 1rem; font-size: 1.35rem; }
.service-card h3, .media-card h3, .offline-card h3, .idea-card h3 { font-size: 1rem; margin-bottom: .65rem; }
.service-card p, .media-card p, .offline-card p, .idea-card p { color: var(--muted); line-height: 1.7; font-size: .9rem; }
.service-card ul { margin: 1rem 0 0 1rem; color: var(--muted); font-size: .82rem; line-height: 1.7; }
.service-card li::marker { color: var(--cyan); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.image-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s, border-color .25s, background .25s; }
.image-frame { min-height: 210px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.image-frame::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,212,255,.18), rgba(123,47,255,.18)); }
.image-frame::after { content: ''; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.image-frame span { position: relative; z-index: 1; font-size: 3rem; filter: drop-shadow(0 12px 30px rgba(0,0,0,.35)); }
.image-card-a .image-frame::before { background: radial-gradient(circle at 35% 30%, rgba(0,212,255,.25), transparent 36%), linear-gradient(135deg, rgba(0,212,255,.12), rgba(123,47,255,.18)); }
.image-card-b .image-frame::before { background: radial-gradient(circle at 70% 20%, rgba(0,255,136,.22), transparent 34%), linear-gradient(135deg, rgba(0,212,255,.12), rgba(0,255,136,.12)); }
.image-card-c .image-frame::before { background: radial-gradient(circle at 50% 35%, rgba(245,158,11,.22), transparent 35%), linear-gradient(135deg, rgba(123,47,255,.16), rgba(255,45,120,.12)); }
.image-card-d .image-frame::before { background: radial-gradient(circle at 30% 65%, rgba(255,45,120,.18), transparent 34%), linear-gradient(135deg, rgba(30,30,53,.95), rgba(0,212,255,.12)); }
.image-card figcaption { padding: 1rem; }
.image-card strong { display: block; margin-bottom: .35rem; }
.image-card small { color: var(--muted); line-height: 1.5; display: block; }
.media-grid, .offline-grid, .ideas-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.offline-grid, .ideas-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.media-card, .offline-card, .idea-card { padding: 1.35rem; transition: transform .25s, border-color .25s, background .25s; }
.media-preview { height: 160px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(0,212,255,.14), rgba(123,47,255,.2)); border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--cyan); margin-bottom: 1rem; font-family: var(--mono); }
.offline-card span { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.18); border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: 1.25rem; }
.idea-status { display: inline-flex; color: var(--green); background: rgba(0,255,136,.08); border: 1px solid rgba(0,255,136,.2); border-radius: 999px; padding: .22rem .6rem; font-size: .7rem; font-family: var(--mono); margin-bottom: .85rem; }
.process-section { max-width: none; padding-left: max(2rem, calc((100vw - 1200px) / 2 + 2rem)); padding-right: max(2rem, calc((100vw - 1200px) / 2 + 2rem)); background: rgba(255,255,255,.015); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.process-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1rem; }
.process-step { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.15rem; }
.process-step span { display: block; color: var(--cyan); font-family: var(--mono); margin-bottom: .65rem; }
.process-step strong { display: block; margin-bottom: .5rem; }
.process-step p { color: var(--muted); line-height: 1.6; font-size: .84rem; }
.cta-section { padding-top: 3rem; }
.cta-card { padding: 2rem; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2rem; align-items: center; background: linear-gradient(135deg, rgba(0,212,255,.08), rgba(123,47,255,.08)); }
.cta-card h2 { font-size: clamp(1.45rem, 3vw, 2.2rem); margin: 1rem 0 .8rem; }
.cta-card p { color: var(--muted); line-height: 1.7; max-width: 760px; }
.cta-actions { display: flex; flex-direction: column; gap: .75rem; min-width: 230px; }

@media (max-width: 1024px) {
  .service-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .media-grid, .offline-grid, .ideas-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-grid, .cta-card { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .nav-menu .nav-btn:not(.primary) { display: none; }
  .hero-btns { align-items: stretch; }
  .hero-btns .btn { justify-content: center; }
  .service-grid, .gallery-grid, .media-grid, .offline-grid, .ideas-grid, .process-grid { grid-template-columns: 1fr; }
  .alt-section, .process-section { padding-left: 1rem; padding-right: 1rem; }
  .featured-card, .cta-card { padding: 1.35rem; }
  .cta-actions { flex-direction: column; min-width: 0; }
}

/* ── UPLOADS / EXEMPLOS DAS SEÇÕES ─────────────────────── */
.example-tools { margin: 1rem 0 1.25rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.example-form-card { background: rgba(15,15,26,.92); border: 1px solid rgba(0,212,255,.18); border-radius: var(--radius-lg); padding: 1.25rem; margin: 0 0 1.25rem; box-shadow: 0 18px 60px rgba(0,0,0,.22); }
.example-form-card[hidden] { display: none; }
.public-toggle { display: flex; align-items: center; gap: .5rem; cursor: pointer; margin-top: .25rem; }
.upload-field .form-input { padding: .65rem; }
.form-actions-tight { margin-top: 1rem; }
.examples-grid { margin-top: 1.35rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.examples-title { grid-column: 1 / -1; color: var(--cyan); font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .25rem; }
.example-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s, border-color .25s, background .25s; min-width: 0; }
.example-card:hover { transform: translateY(-4px); border-color: rgba(0,212,255,.28); background: var(--bg3); }
.example-cover { display: flex; align-items: center; justify-content: center; height: 190px; background: linear-gradient(135deg, rgba(0,212,255,.12), rgba(123,47,255,.18)); overflow: hidden; }
.example-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.example-card:hover .example-cover img { transform: scale(1.04); }
.example-cover-empty span { font-size: 2.7rem; opacity: .9; filter: drop-shadow(0 14px 30px rgba(0,0,0,.3)); }
.example-body { padding: 1rem; }
.example-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: .55rem; }
.example-head h3 { font-size: 1rem; line-height: 1.35; }
.example-delete { background: rgba(255,45,120,.08); border: 1px solid rgba(255,45,120,.25); color: var(--pink); border-radius: 999px; padding: .18rem .55rem; font-size: .68rem; cursor: pointer; font-family: var(--mono); }
.example-delete:hover { background: rgba(255,45,120,.16); }
.example-body p { color: var(--muted); line-height: 1.65; font-size: .88rem; margin-bottom: .75rem; }
.example-meta { display: flex; align-items: center; justify-content: space-between; gap: .7rem; flex-wrap: wrap; color: var(--muted); font-size: .75rem; font-family: var(--mono); margin-bottom: .7rem; }
.example-link { color: var(--cyan); }
.example-attachments { display: grid; gap: .45rem; margin-top: .75rem; }
.example-attachment { display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: .5rem .65rem; color: var(--text); font-size: .78rem; min-width: 0; }
.example-attachment span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.example-attachment small { color: var(--muted); white-space: nowrap; }
.example-attachment:hover { border-color: rgba(0,212,255,.25); color: var(--cyan); }
.example-error { grid-column: 1 / -1; background: rgba(255,45,120,.08); border: 1px solid rgba(255,45,120,.22); color: var(--pink); border-radius: var(--radius); padding: .85rem 1rem; font-size: .85rem; }

@media (max-width: 1024px) {
  .examples-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .examples-grid { grid-template-columns: 1fr; }
  .example-form-card { padding: 1rem; }
}
