/* ==========================================================================
   HarmonyITC &mdash; Design Studio & Editorial Tech Aesthetic
   Inspired by modern digital studio editorial designs
   ========================================================================== */

/* --------------------------------------------------
   Design Tokens & Color Palette
   -------------------------------------------------- */
:root {
  --bg-dark: #111a16;
  --bg-card: #17241e;
  --bg-card-subtle: #141f1a;
  
  --accent-lime: #d4f570;
  --accent-lime-hover: #c4e95d;
  --text-dark: #111a16;
  
  --text-primary: #f4f6f0;
  --text-secondary: #8e9e94;
  --text-muted: #5e7065;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-lime: rgba(212, 245, 112, 0.35);

  --font-serif: 'Fraunces', 'Playfair Display', Didot, 'Bodoni MT', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-full: 9999px;
  --radius-arched: 140px 24px 24px 24px;
  
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* --------------------------------------------------
   Header / Navigation
   -------------------------------------------------- */
.site-header {
  width: 100%;
  padding: 2.25rem 4rem 1.5rem;
  background-color: transparent;
  position: relative;
  z-index: 20;
}

.header-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--accent-lime);
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.brand-logo:hover .logo-mark {
  transform: rotate(45deg);
}

.brand-name {
  font-weight: 700;
  color: var(--text-primary);
}

.brand-slash {
  color: var(--text-muted);
  font-weight: 400;
  margin: 0 0.15rem;
}

/* Center Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: #c9d6ce;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

/* Header Lime CTA Button */
.pill-btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-lime);
  color: var(--text-dark);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.65rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.pill-btn-lime:hover {
  background-color: var(--accent-lime-hover);
  transform: translateY(-1px);
}

.pill-btn-lime:active {
  transform: translateY(1px);
}

.arrow-icon {
  display: inline-block;
  transition: transform 0.2s ease;
}

.pill-btn-lime:hover .arrow-icon {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------
   Hero Section
   -------------------------------------------------- */
.hero-section {
  padding: 3rem 4rem 6rem;
  max-width: 1440px;
  margin: 0 auto;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
}

.hero-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

/* Left Column: Copy */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow-tag {
  color: var(--accent-lime);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.2vw, 4.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

.hero-subtext {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 3rem;
}

/* Hero Actions Row */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.75rem;
}

.large-btn {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.text-link-action {
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  transition: var(--transition-smooth);
}

.link-label {
  border-bottom: 1px solid rgba(244, 246, 240, 0.45);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.text-link-action:hover .link-label {
  border-bottom-color: var(--accent-lime);
  color: var(--accent-lime);
}

.arrow-icon-sm {
  transition: transform 0.2s ease;
}

.text-link-action:hover .arrow-icon-sm {
  transform: translate(2px, -2px);
  color: var(--accent-lime);
}

/* Status Indicator Chip */
.status-indicator-box {
  margin-top: 0.5rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1rem;
  background-color: rgba(23, 36, 30, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-lime);
  box-shadow: 0 0 8px var(--accent-lime);
  animation: pulseDot 2s infinite ease-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.85); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.85); opacity: 0.8; }
}

.status-chip-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* --------------------------------------------------
   Right Column: Asymmetric Arched Visual Frame
   -------------------------------------------------- */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
}

.visual-frame {
  width: 100%;
  height: 540px;
  border-radius: var(--radius-arched);
  overflow: hidden;
  position: relative;
  background-color: var(--bg-card);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-frame:hover .hero-image {
  transform: scale(1.03);
}

.image-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(17, 26, 22, 0) 65%,
    rgba(17, 26, 22, 0.4) 100%
  );
  pointer-events: none;
}

/* Floating Badge at Bottom-Left of the Image */
.floating-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  z-index: 5;
  background-color: #17241e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-lime);
  display: inline-block;
  box-shadow: 0 0 6px rgba(212, 245, 112, 0.6);
}

.badge-text {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------
   Interactive Modal / Drawer
   -------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 12, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: #15221b;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  padding: 2.75rem 2.25rem;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-eyebrow {
  color: var(--accent-lime);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 0.65rem;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.modal-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.form-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.15rem;
  background-color: #101a14;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: var(--accent-lime);
  box-shadow: 0 0 0 3px rgba(212, 245, 112, 0.2);
}

.full-width {
  width: 100%;
  justify-content: center;
  padding: 0.95rem;
  margin-top: 0.5rem;
}

.modal-feedback {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  min-height: 20px;
}

.modal-feedback.success {
  color: var(--accent-lime);
}

.modal-feedback.error {
  color: #f87171;
}

.modal-footer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.direct-label {
  color: var(--text-muted);
}

.copy-email-link {
  background: none;
  border: none;
  color: var(--accent-lime);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  width: fit-content;
}

.copied-badge {
  background-color: var(--accent-lime);
  color: var(--text-dark);
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.copied-badge.show {
  opacity: 1;
}

/* --------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------- */
@media (max-width: 1100px) {
  .site-header {
    padding: 1.75rem 2.5rem;
  }

  .hero-section {
    padding: 2.5rem 2.5rem 4rem;
  }

  .hero-container {
    gap: 3rem;
  }

  .visual-frame {
    height: 460px;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 1.5rem 1.5rem;
  }

  .nav-links {
    display: none; /* Mobile menu simplification */
  }

  .hero-section {
    padding: 1.5rem 1.5rem 4rem;
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-headline {
    font-size: 2.75rem;
  }

  .visual-frame {
    height: 380px;
    border-radius: 90px 20px 20px 20px;
  }

  .floating-badge {
    bottom: -12px;
    left: 8px;
    padding: 0.6rem 1rem;
  }
}

@media (max-width: 500px) {
  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
  }

  .pill-btn-lime.large-btn {
    width: 100%;
    justify-content: center;
  }

  .visual-frame {
    height: 300px;
    border-radius: 60px 16px 16px 16px;
  }
}
