/* amrtarek.site | dark landing (refined, responsive) */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #000;
  --muted: #9aa6b2;
  --accent: #00ff99;
  /* neon green */
  --accent-2: #00ff99;
  /* cyan */
  --code-bg: #0b0b0b;
  --code-top: #0e0e0f;
  --code-border: rgba(255, 255, 255, 0.06);
  --code-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

/* Base typography | fluid */
html,
body {
  height: 100%;
  background: var(--bg);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

.md h1 { margin-left: 0; }
.md h2 { margin-left: 1rem; }
.md h3 { margin-left: 2rem; }
.md h4 { margin-left: 3rem; }
.md h5 { margin-left: 4rem; }
.md h6 { margin-left: 5rem; }

hr {
  border: 0;
  height: 1px;
  margin: 2rem 0;
  background: linear-gradient(to right, transparent, #00ffc6, transparent);
  opacity: .6;
}

section a {
  color: #00ff99;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0,255,153,.45);
    border-bottom-color: rgba(0, 255, 153, 0.45);
  transition: border-color .2s ease, opacity .2s ease, text-shadow .2s ease;
}

.no-border {
  border: none !important;
}


.hero-logo {
  width: 30vw;
  max-width: 240px;
  filter: drop-shadow(0 0 20px rgba(0,255,140,0.4));
  cursor: pointer;
  transition: transform .2s ease-in-out;
}

.hero-logo:hover { transform: scale(1.05); }

/* Fancy green gradient button */
.fancy-green-btn {
  border-radius: 50px;
  font-weight: 600;
  background: linear-gradient(135deg, #00ff9d, #00c26e);
  color: #000;
  transition: all .25s ease-in-out;
  box-shadow: 0 0 25px rgba(0, 255, 140, 0.4);
  text-decoration: none;
}

/* Button hover */
.fancy-green-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(0, 255, 140, 0.65);
  color: #000;
}

/* Circular arrow */
.circle-arrow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #000;
  font-size: 20px;
  font-weight: bold;
  transition: .2s ease;
  color: #FFF;
  margin-left: 15px;
}

/* Hover effect for arrow */
.fancy-green-btn:hover .circle-arrow {
  background: rgba(0,0,0,0.35);
  transform: translateX(4px);
}




/* Contact footer */
.contact {
  text-align: center;
  padding: clamp(1rem, 3vw, 1.25rem) 1rem calc(2rem + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: clamp(.9rem, 1.9vw, .95rem);
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  max-width: 980px;
  margin: 0 auto;
}

.contact a {
  color: #e7faff;
  text-decoration: none;
  border-bottom: 1px dashed color-mix(in oklab, var(--accent) 60%, transparent);
  padding: .1rem .05rem;
}

.contact a:hover {
  opacity: .95;
  border-bottom-color: color-mix(in oklab, var(--accent-2) 70%, transparent);
}

/* Focus visibility for keyboard users */
a:focus-visible,
button:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--accent) 70%, white 10%);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selection tint */
::selection {
  background: color-mix(in oklab, var(--accent) 30%, black);
  color: #fff;
}
