/* ===== Coral Sapphire Horizon ===== */
:root {
  --sapphire: #4296DF;
  --grey: #ACBCCC;
  --peach: #F5B387;
  --coral: #FB3811;
  --deep-blue: #4073A3;
  --bg: #0f1923;
  --bg-light: #162232;
  --text: #e8ecf0;
  --text-muted: #8fa3b8;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ===== Subtle grain texture ===== */
.grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.03;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Container ===== */
.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 30%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(66, 150, 223, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-left {
  text-align: center;
  flex-shrink: 0;
  min-width: 240px;
}

.hero-right {
  text-align: left;
  flex: 1;
}

.hero-right h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--peach);
  letter-spacing: -0.01em;
}

.hero-right p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.hero-right p:last-child {
  margin-bottom: 0;
}

.hero-right .welcome {
  color: var(--text);
  font-size: 1.15rem;
}

.hero-right .welcome strong {
  color: var(--peach);
}

/* ===== Avatar ===== */
.avatar-wrapper {
  margin-bottom: 2rem;
}

.avatar {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--deep-blue);
  box-shadow: 0 0 40px rgba(66, 150, 223, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 60px rgba(66, 150, 223, 0.25);
}

/* ===== Typography ===== */
h1 {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--text), var(--grey));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 420px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--peach);
  letter-spacing: -0.01em;
}

/* ===== Social Links ===== */
.socials {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
}

.socials a {
  color: var(--text-muted);
  transition: color 0.25s ease, transform 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.socials a:hover {
  color: var(--sapphire);
  transform: translateY(-2px);
}

.socials svg {
  width: 22px;
  height: 22px;
}



/* ===== Footer ===== */
footer {
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(172, 188, 204, 0.1);
}

footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-layout {
    flex-direction: column;
    gap: 2.5rem;
  }

  .hero-left {
    min-width: unset;
  }

  .hero-right {
    text-align: left;
  }

  h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .avatar {
    width: 200px;
    height: auto;
  }
}
