/* ===== GLOBAL ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #ff6b35;
  --dark: #1a1a2e;
  --mid: #444;
  --light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

/* ===== NAV ===== */
nav {
  background: var(--white);
  border-bottom: 1px solid #eee;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  text-decoration: none;
}

.nav-links a {
  margin-left: 24px;
  color: var(--mid);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--orange); text-decoration: none; }

/* ===== HERO / BIO ===== */
.hero {
  text-align: center;
  padding: 56px 24px 40px;
  max-width: 560px;
  margin: 0 auto;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange);
  margin-bottom: 16px;
  background: #ddd;
}

.avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ff9f6b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 16px;
  border: 3px solid var(--orange);
}

.hero h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero .handle {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.hero .bio {
  color: var(--mid);
  font-size: 0.97rem;
  margin-bottom: 28px;
}

/* ===== LINK BUTTONS ===== */
.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 32px;
  padding: 0 24px;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.97rem;
  background: var(--white);
  border: 2px solid #e8e8e8;
  color: var(--dark);
  transition: all 0.2s;
  text-align: center;
  cursor: pointer;
}

.link-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.link-btn.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.link-btn.primary:hover {
  background: #e5572a;
  color: var(--white);
}

.link-btn .icon { font-size: 1.2rem; }

/* ===== AD UNIT ===== */
.ad-unit {
  background: var(--light);
  border: 1px dashed #ccc;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  color: #999;
  font-size: 0.85rem;
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ===== SOCIALS ===== */
.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--dark);
  transition: all 0.2s;
}

.social-icon:hover {
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  transform: scale(1.1);
}

/* ===== BLOG PREVIEW ===== */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.blog-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s;
}

.blog-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--orange);
  transform: translateY(-2px);
  text-decoration: none;
}

.blog-card .tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.88rem;
  color: var(--mid);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--dark), #2d2d5e);
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin: 0 auto;
}

/* ===== CONTENT PAGES ===== */
.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

.content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--dark);
}

.content p {
  color: var(--mid);
  margin-bottom: 16px;
}

.content ul, .content ol {
  color: var(--mid);
  padding-left: 24px;
  margin-bottom: 16px;
}

.content ul li, .content ol li {
  margin-bottom: 8px;
}

/* ===== BLOG POST ===== */
.post-meta {
  font-size: 0.88rem;
  color: #999;
  margin-bottom: 24px;
}

.post-meta span { margin-right: 16px; }

.post-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 32px 0 12px;
}

.post-body p {
  color: var(--mid);
  margin-bottom: 18px;
}

.post-body ul {
  color: var(--mid);
  padding-left: 24px;
  margin-bottom: 18px;
}

.post-body ul li { margin-bottom: 8px; }

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-size: 0.97rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}

.form-group textarea { height: 140px; resize: vertical; }

.btn-submit {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover { background: #e5572a; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 28px 24px;
  font-size: 0.88rem;
}

footer a { color: rgba(255,255,255,0.6); }
footer a:hover { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .nav-links a { margin-left: 14px; font-size: 0.88rem; }
  .page-header h1 { font-size: 1.5rem; }
  .hero h1 { font-size: 1.35rem; }
}
