/* Founder page (app/Views/me.php) — dark navy take on the Thewebr brand (public/assets/css/business.css) */
:root {
  --bg: #061224;
  --bg-2: #0b1f3a;
  --card: #0d223f;
  --card-2: #11294b;
  --navy: #0b1f3a;
  --accent: #f5a524;
  --accent-dark: #d98b0b;
  --teal: #14c9a5;
  --text: #e6edf7;
  --muted: #8fa0bb;
  --line: rgba(143, 160, 187, .16);
  --line-2: rgba(143, 160, 187, .28);
  --radius: 16px;
  --shadow: 0 14px 34px rgba(0, 0, 0, .35);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, .5);
  --font: "Plus Jakarta Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, "Courier New", monospace;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--navy); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; position: relative; }
.section { position: relative; padding: 96px 0; }
.section--alt { background: var(--bg-2); }
/* circuit-grid backdrop */
.section--alt::before, .hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(143, 160, 187, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 160, 187, .06) 1px, transparent 1px); background-size: 48px 48px; }
.section--alt::before { mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); }

/* code-style labels: // 01. about */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--teal); }
.eyebrow b { color: var(--accent); font-weight: 600; }
.eyebrow::before { content: "//"; color: var(--muted); }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; font-weight: 800; color: #fff; margin-top: 10px; letter-spacing: -.02em; }
.sec-head h2 .tag { font-family: var(--mono); color: var(--accent); font-weight: 600; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 2px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--navy); box-shadow: 0 10px 28px rgba(245, 165, 36, .3); }
.btn-primary:hover { background: #ffb53d; }
.btn-ghost { border-color: var(--line-2); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .5); }

/* ---------- Top bar ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, padding .3s; padding: 18px 0; }
.topbar.scrolled { background: rgba(6, 18, 36, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0, 0, 0, .3); padding: 10px 0; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tb-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 18px; }
.tb-brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.tb-brand small { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--teal); line-height: 1.3; }
.tb-nav { display: flex; align-items: center; gap: 4px; }
.tb-nav a { color: var(--muted); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.tb-nav a:hover, .tb-nav a.active { color: #fff; background: rgba(255, 255, 255, .07); }
.tb-nav a.active::before { content: "> "; font-family: var(--mono); color: var(--accent); }
.tb-nav .tb-site { margin-left: 8px; background: var(--accent); color: var(--navy); }
.tb-nav .tb-site:hover { background: #ffb53d; color: var(--navy); }
.tb-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; color: #fff; font-size: 24px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 80% 20%, rgba(19, 49, 92, .9), transparent 65%), radial-gradient(600px 400px at 0% 100%, rgba(20, 201, 165, .08), transparent 60%), var(--bg); color: #fff; padding: 150px 0 120px; }
.hero::before { mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(20, 201, 165, .08); border: 1px solid rgba(20, 201, 165, .3); font-family: var(--mono); font-size: 13px; color: var(--teal); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(20, 201, 165, .25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(20, 201, 165, 0); } }
.hero h1 { font-size: clamp(40px, 6.5vw, 72px); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; margin-top: 22px; }
.hero h1 span { color: var(--accent); }
.hero-role { font-family: var(--mono); font-size: clamp(17px, 2.2vw, 22px); font-weight: 500; margin-top: 16px; color: var(--muted); min-height: 1.6em; }
.hero-role .kw { color: #c792ea; }
.hero-role .typed { color: var(--teal); }
.typed-cursor { color: var(--accent); }
.hero-lead { font-size: 17px; color: var(--muted); max-width: 560px; margin-top: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-social { display: flex; gap: 10px; margin-top: 36px; align-items: center; }
.hero-social span { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-right: 6px; }
.hero-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 20px; transition: background .2s, transform .2s, color .2s; }
.hero-social a:hover { background: var(--accent); color: var(--navy); transform: translateY(-3px); }

.hero-visual { position: relative; justify-self: center; width: min(100%, 400px); }
.hero-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 360 / 387; box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 18, 36, .7)); }
/* corner brackets */
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; width: 56px; height: 56px; border: 3px solid var(--accent); z-index: 2; pointer-events: none; }
.hero-visual::before { top: -14px; left: -14px; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.hero-visual::after { bottom: -14px; right: -14px; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }

.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(13, 34, 63, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line-2); color: var(--text); border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.3; animation: float 5s ease-in-out infinite; }
.chip i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; font-size: 18px; background: rgba(245, 165, 36, .14); color: var(--accent); }
.chip strong { display: block; font-size: 16px; color: #fff; }
.chip-1 { right: -36px; top: 36px; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* terminal window */
.term { position: absolute; z-index: 3; left: -56px; bottom: 28px; width: 250px; background: #050e1c; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow-lg); font-family: var(--mono); font-size: 12px; overflow: hidden; animation: float 6s ease-in-out infinite; animation-delay: -3s; }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #0b1a30; border-bottom: 1px solid var(--line); }
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; }
.term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 6px; color: var(--muted); font-size: 11px; }
.term-body { padding: 12px 14px; line-height: 1.7; color: var(--text); }
.term-body .p { color: var(--teal); }
.term-body .o { color: var(--muted); }
.term-body .s { color: var(--accent); }
.caret { display: inline-block; width: 7px; height: 14px; background: var(--accent); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Tech marquee ---------- */
.marquee { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 15px; color: var(--muted); white-space: nowrap; transition: color .2s; }
.marquee-track span:hover { color: #fff; }
.marquee-track i { font-size: 26px; color: var(--accent); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { padding: 72px 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { position: relative; padding: 26px; display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--accent), var(--teal)); }
.stat i { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(245, 165, 36, .12); color: var(--accent); font-size: 24px; }
.stat strong { display: block; font-family: var(--mono); font-size: 30px; font-weight: 700; line-height: 1.1; color: #fff; }
.stat span { font-size: 14px; color: var(--muted); font-weight: 600; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--line-2); }
.about-exp { position: absolute; right: -24px; bottom: 32px; background: var(--card-2); border: 1px solid var(--line-2); color: #fff; padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg); text-align: center; }
.about-exp strong { display: block; font-family: var(--mono); font-size: 36px; line-height: 1; color: var(--accent); font-weight: 700; }
.about-exp span { font-size: 13px; color: var(--muted); }
.about-body p { color: var(--muted); margin-bottom: 14px; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0; }
.info-item { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color .2s, box-shadow .2s; min-width: 0; }
.info-item:hover { border-color: rgba(245, 165, 36, .5); box-shadow: var(--shadow); }
.info-item i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--bg-2); color: var(--accent); font-size: 18px; }
.info-item small { display: block; font-family: var(--mono); font-size: 11px; color: var(--teal); }
.info-item span, .info-item a { font-weight: 700; color: #fff; font-size: 15px; overflow-wrap: anywhere; }
.info-item a:hover { color: var(--accent); }

/* ---------- Skills ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.skill-card { position: relative; background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.skill-card:hover { border-color: rgba(245, 165, 36, .4); transform: translateY(-4px); }
.skill-card h3 { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 22px; }
.skill-card h3 i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); color: var(--accent); font-size: 20px; }
.skill { margin-bottom: 18px; }
.skill:last-child { margin-bottom: 0; }
.skill-top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.skill-top span:last-child { font-family: var(--mono); font-weight: 500; color: var(--teal); }
.bar { height: 6px; border-radius: 99px; background: rgba(143, 160, 187, .12); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--accent)); box-shadow: 0 0 12px rgba(245, 165, 36, .5); transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }

/* ---------- Journey / timeline ---------- */
.journey-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.col-title { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 26px; }
.col-title i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(245, 165, 36, .12); color: var(--accent); font-size: 20px; }
.col-title + .timeline { margin-bottom: 44px; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--teal) 40%, var(--line)); }
.tl-item { position: relative; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 16px; transition: box-shadow .2s, border-color .2s, transform .2s; }
.tl-item:hover { box-shadow: var(--shadow); border-color: rgba(245, 165, 36, .45); transform: translateX(4px); }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 26px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--teal); }
.tl-item.current::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px rgba(245, 165, 36, .2); }
.tl-when { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: rgba(20, 201, 165, .1); color: var(--teal); margin-bottom: 8px; }
.tl-item.current .tl-when { background: rgba(245, 165, 36, .14); color: var(--accent); }
.tl-item h4 { font-size: 17px; font-weight: 800; color: #fff; line-height: 1.35; }
.tl-org { font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.tl-item ul { margin-top: 10px; }
.tl-item li { position: relative; padding-left: 18px; font-size: 14px; color: var(--muted); margin-top: 4px; }
.tl-item li::before { content: ">"; position: absolute; left: 0; top: 0; font-family: var(--mono); font-size: 13px; color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.tags i { color: var(--accent); font-size: 16px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { position: relative; padding: 30px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.svc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.svc:hover::after { transform: scaleX(1); }
.svc-num { position: absolute; top: 24px; right: 26px; font-family: var(--mono); font-size: 13px; color: rgba(143, 160, 187, .4); }
.svc-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-2); color: var(--accent); font-size: 26px; margin-bottom: 20px; transition: background .25s, color .25s; }
.svc:hover .svc-icon { background: var(--accent); color: var(--navy); }
.svc h3 { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.svc p { font-size: 15px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--card-2) 0%, var(--bg-2) 100%); border: 1px solid var(--line-2); color: #fff; border-radius: 24px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: "</>"; position: absolute; right: 24px; top: -30px; font-family: var(--mono); font-size: 180px; font-weight: 700; color: rgba(245, 165, 36, .06); line-height: 1; pointer-events: none; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.cta-band p { color: var(--muted); margin-top: 6px; }
.cta-band .hero-cta { margin-top: 0; position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-cards { display: grid; gap: 16px; }
.c-card { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: box-shadow .2s, border-color .2s, transform .2s; }
a.c-card:hover { box-shadow: var(--shadow); border-color: rgba(245, 165, 36, .5); transform: translateY(-2px); }
.c-card i { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(245, 165, 36, .12); color: var(--accent); font-size: 22px; }
.c-card small { display: block; font-family: var(--mono); font-size: 12px; color: var(--teal); }
.c-card strong { font-size: 16px; color: #fff; overflow-wrap: anywhere; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; border: 1px solid var(--line-2); background: var(--card); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.9); }

/* ---------- Footer ---------- */
.foot { background: #040c18; border-top: 1px solid var(--line); color: var(--muted); padding: 28px 0; font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot code { font-family: var(--mono); font-size: 13px; color: var(--teal); }
.foot a { color: #fff; font-weight: 700; }
.foot a:hover { color: var(--accent); }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--accent); color: var(--navy); font-size: 26px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .skills-grid, .services-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .tb-toggle { display: grid; place-items: center; }
  .tb-nav { position: fixed; inset: 70px 16px auto; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .25s; }
  .tb-nav.open { opacity: 1; visibility: visible; transform: none; }
  .tb-nav a { padding: 12px 16px; font-size: 15px; }
  .tb-nav .tb-site { margin: 6px 0 0; text-align: center; }
  .hero { padding: 120px 0 90px; }
  .hero .wrap, .about-grid, .journey-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: min(78%, 320px); }
  .term { left: -24px; }
  .about-grid { gap: 40px; }
  .about-photo { max-width: 420px; }
  .about-exp { right: -12px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .skills-grid, .services-grid, .info-grid, .stats-grid { grid-template-columns: 1fr; }
  .chip-1 { right: -12px; }
  .term { left: -10px; width: 210px; font-size: 11px; }
  .cta-band { padding: 32px 24px; }
  .hero-cta .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
