:root {
  --bg: #07111f;
  --bg-soft: #0d1b2d;
  --panel: rgba(15, 23, 42, 0.82);
  --panel-2: #101b2d;
  --text: #e8eefb;
  --muted: #a8b5d1;
  --line: rgba(255,255,255,0.09);
  --brand: #ff3d57;
  --brand-2: #7dd3fc;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 22px;
}

:root.light-theme {
  --bg: #f6f8fc;
  --bg-soft: #eef2f8;
  --panel: rgba(255,255,255,0.88);
  --panel-2: #ffffff;
  --text: #0f172a;
  --muted: #52607a;
  --line: rgba(15,23,42,0.09);
  --brand: #e11d48;
  --brand-2: #0369a1;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 61, 87, 0.12), transparent 26%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(7, 17, 31, 0.55);
  border-bottom: 1px solid var(--line);
}
.light-theme .site-header { background: rgba(246, 248, 252, 0.72); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), #ff7a8f);
  color: white;
  font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; }

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
}
.nav-links a:hover { color: var(--text); }

.theme-toggle {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 18px;
}

.hero {
  padding: 64px 0 30px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}
.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-2);
  margin: 0 0 10px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.95;
}
.hero-subtitle {
  margin: 16px 0 8px;
  font-size: 1.15rem;
  color: var(--muted);
}
.hero-text {
  max-width: 640px;
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin: 28px 0 30px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--brand), #ff6b81);
  color: white;
  box-shadow: var(--shadow);
  white-space: nowrap;   /* 🔥 prevents text from breaking */
  min-width: 160px;      /* ensures enough space */
  text-align: center;
}

.btn-secondary {
  border: 1px solid var(--line);
  background: var(--panel);
}
.hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hero-stats li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.hero-stats strong, .hero-stats span { display: block; }
.hero-stats span { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }

.hero-visual {
  position: relative;
  min-height: 620px;
}
.image-frame {
  max-width: 460px;
  margin: 0 auto;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* 👈 move image down */
}
.floating-card {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  max-width: 220px;
}
.floating-card span {
  display: block;
  color: var(--brand-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 5px;
}
.card-1 { top: 72px; left: 0; }
.card-2 { bottom: 15px; right: 40px; }

.section { padding: 34px 0 34px; }
.section-muted { background: rgba(255,255,255,0.02); }
.light-theme .section-muted { background: rgba(15, 23, 42, 0.03); }
.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}
.section-heading.center { text-align: center; margin-bottom: 26px; }
.content-card, .feature-card, .sidebar-card, .value-card, .quote-panel, .cta-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-card { padding: 28px; }
.card-grid, .values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-card, .value-card {
  padding: 24px;
}
.feature-card .icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  border-radius: 16px;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.06);
}
.quote-panel {
  padding: 34px;
  text-align: center;
}
.quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: var(--brand);
  margin: 0;
}
blockquote {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
}
.quote-author { color: var(--muted); margin-top: 12px; }

.blog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  align-items: start;
}
.sidebar-card { padding: 22px; }
.sidebar-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}
.sidebar-card li { margin: 10px 0; }
.sidebar-card a { color: var(--muted); }
.sidebar-card a:hover { color: var(--text); }
.sticky { position: sticky; top: 96px; }
.blog-post {
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.post-meta {
  margin-top: 0;
  color: var(--brand-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
}
.blog-post h2 {
  margin-top: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.1;
}
.blog-post h3 {
  margin-top: 34px;
  font-size: 1.4rem;
}
.inline-highlight {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  background: rgba(255,255,255,0.04);
  border-radius: 0 16px 16px 0;
}

.cta-section { padding-bottom: 60px; }
.cta-box {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 38px;
  color: var(--muted);
}
.footer-flex {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.icon {
  width: 30px;   /* increase size */
  height: 30px;
  object-fit: contain;
}

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #0077b5;
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
}

.btn-linkedin:hover {
  background-color: #005582;
}

.btn-website {
  background-color: #111;
  color: white;
}

.btn-website:hover {
  background-color: #333;
}

.icon {
  width: 18px;
  height: 18px;
}
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .32s; }

@media (max-width: 1080px) {
  .hero-grid,
  .two-col,
  .blog-layout,
  .card-grid,
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-layout { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .hero-stats { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav { flex-wrap: wrap; }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.95rem;
  }

  .hero-grid,
  .two-col,
  .card-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual { min-height: auto; }
  .floating-card {
    position: static;
    margin: 16px auto 0;
    max-width: 100%;
  }
  .blog-post, .content-card, .feature-card, .value-card, .cta-box, .quote-panel { padding: 22px; }
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}
