﻿/* Base */
:root {
  --gray: #d9d9d9;
  --black: #0a0a0a;
  --text-dark: #111;
  --text-dim: #6b7280;
  --white: #fff;
  --primary: #22c55e;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--black);
  color: var(--text-dark);
  -webkit-text-size-adjust: 100%;
}

/* Top nav */
.nav-bar { position: absolute; top: 18px; left: 0; right: 0; z-index: 20; }
.nav-inner { width: min(1200px, 92%); margin: 0 auto; display: flex; align-items: center; justify-content: flex-end; }
.logo { width: 44px; height: 44px; border: 3px solid #111; display: grid; place-items: center; font-weight: 800; border-radius: 6px; background: var(--gray); }
.menu { display: flex; gap: 28px; align-items: center; }
.menu a { color: var(--white); text-decoration: none; font-weight: 600; }
.btn-contact { background: var(--white); color: #111 !important; padding: 10px 16px; border-radius: 24px; }

/* Improve safe-area handling for iOS notches */
.nav-bar { top: max(12px, env(safe-area-inset-top, 12px)); }

/* Hero split */
.hero { position: relative; min-height: 100vh; display: grid; grid-template-columns: 52% 48%; overflow: hidden; z-index: 10; padding-top: env(safe-area-inset-top, 0); }
.panel { position: relative; }
.panel-left { background: var(--gray); clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); display: grid; align-items: center; }
.panel-right { background: var(--black); }

/* Breathing effect for portrait */
.panel-right::before {
  content: "";
  position: absolute;
  inset: -12% -8% -12% -8%;
  background:
    radial-gradient(320px 240px at 65% 18%, rgba(124,108,247,0.14), transparent 60%),
    radial-gradient(380px 260px at 10% 82%, rgba(34,197,94,0.12), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
}

@keyframes breathePortrait {
  0%   { transform: translateY(0) scale(1); filter: drop-shadow(0 14px 36px rgba(0,0,0,0.5)); }
  50%  { transform: translateY(-3px) scale(1.015); filter: drop-shadow(0 18px 42px rgba(0,0,0,0.55)); }
  100% { transform: translateY(0) scale(1); filter: drop-shadow(0 14px 36px rgba(0,0,0,0.5)); }
}

.portrait {
  animation: breathePortrait 6.5s ease-in-out infinite;
  will-change: transform, filter;
}

@media (prefers-reduced-motion: reduce) {
  .portrait { animation: none; }
}

/* Left content */
.intro { width: min(640px, 76%); margin: 0 auto; }
.kicker { font-size: 28px; margin: 0 0 12px; }
.title { margin: 0 0 10px; font-size: clamp(42px, 8vw, 84px); font-weight: 900; letter-spacing: -0.5px; }
.role { color: #374151; font-weight: 600; margin: 0 0 24px; line-height: 1.7; }
.socials { display: flex; gap: 18px; margin-bottom: 16px; }
.social { width: 58px; height: 58px; display: grid; place-items: center; background: #e6e6e6; border-radius: 8px; color: #111; font-weight: 800; text-decoration: none; box-shadow: 0 8px 16px rgba(0,0,0,0.12); }

/* Buttons */
.btn { display: inline-block; padding: 12px 18px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.btn-primary { background: var(--primary); color: #0b1220; box-shadow: 0 6px 18px rgba(34,197,94,0.28); border: 1px solid rgba(255,255,255,0.15); }
.btn-ghost { background: rgba(255,255,255,0.10); color: #e5e7eb; border: 1px solid rgba(255,255,255,0.14); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Portrait */
.portrait { position: absolute; right: 6%; bottom: 0; height: 92vh; max-height: 960px; object-fit: contain; }

/* Sections */
.section { background: #0e131a; color: #e5e7eb; padding: 64px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.section-alt { background: #0b0f14; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.section-inner { width: min(1100px, 92%); margin: 0 auto; }
.section h2 { margin: 0 0 14px; font-size: 24px; letter-spacing: 0.2px; }
.section h2::before { content: ""; display: inline-block; width: 6px; height: 20px; background: var(--primary); border-radius: 4px; margin-right: 10px; vertical-align: -3px; }
.section p { margin: 0; color: #cfd8e3; line-height: 1.9; }

/* Cards used in overview sections */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 16px; box-shadow: 0 1px 0 rgba(0,0,0,0.2); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.35); border-color: rgba(255,255,255,0.16); }
.card h3 { margin: 0 0 8px; color: #fff; font-size: 20px; }
.card p { margin: 0; color: #d6dee9; }

/* Bullets */
.bullet-list { margin: 8px 0 0; padding-left: 18px; color: #c7cbd4; }
.bullet-list li { margin: 6px 0; }
.bullet-list li::marker { color: var(--primary); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .panel-left { clip-path: none; }
  .panel-right { display: grid; place-items: center; padding: 24px 0 0; }
  .portrait { position: static; height: 56vh; }
  .nav-inner { width: min(1200px, 94%); }
  .grid3 { grid-template-columns: 1fr; }
}

/* Extra small phones */
@media (max-width: 640px) {
  .menu { gap: 16px; }
  .menu a { font-size: 14px; }
  .btn-contact { padding: 8px 12px; border-radius: 18px; }
  .intro { width: 88%; }
  .kicker { font-size: 18px; }
  .title { font-size: clamp(32px, 10vw, 48px); }
  .role { font-size: 14px; margin-bottom: 16px; }
  .social { width: 48px; height: 48px; border-radius: 10px; }
  .btn { padding: 10px 14px; border-radius: 10px; }
  .portrait { height: 48vh; }
}

@media (max-width: 420px) {
  .menu { gap: 12px; }
  .intro { width: 92%; }
  .social { width: 44px; height: 44px; }
  .cta { gap: 8px; }
  .btn { padding: 9px 12px; }
} 
