/* ==========================================================================
   Hazel Ventures - Stylesheet (Deep Navy Dark Mode)
   ========================================================================== */

/* Design Tokens & Variables */
:root {
  --bg-color: #0b1121;
  --bg-card: #151d30;
  --bg-input: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --color-accent: #38bdf8; /* Sleek sky blue/neon cyan */
  --color-accent-hover: #0ea5e9;
  --color-accent-glow: rgba(56, 189, 248, 0.15);
  --color-success: #10b981;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 189, 248, 0.3);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --max-width: 1200px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Resets & Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* Core Container Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography Elements */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
}

p {
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Buttons Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #0b1121;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

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

.btn-block {
  width: 100%;
}

.btn-icon {
  margin-right: 0.5rem;
}

/* Badges & Section Tags */
.badge {
  display: inline-block;
  background-color: rgba(56, 189, 248, 0.1);
  color: var(--color-accent);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.section-tag {
  display: inline-block;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

/* Section Common Layout */
.section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4.5rem auto;
}

.section-header h2 {
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(11, 17, 33, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(11, 17, 33, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.nav-logo span {
  font-weight: 300;
  color: var(--text-secondary);
}

/* Hero Section */
.hero-section {
  padding: 12rem 0 8rem 0;
  background-image: radial-gradient(circle at 50% -20%, rgba(56, 189, 248, 0.12) 0%, transparent 55%);
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background-color: rgba(99, 102, 241, 0.08);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  margin-bottom: 1.75rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  max-width: 750px;
  margin: 0 auto 3rem auto;
  font-weight: 400;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Problem Section */
.problem-section {
  background-color: rgba(255, 255, 255, 0.01);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.problem-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3rem 2.5rem;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.problem-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.05);
}

.card-icon {
  background-color: rgba(56, 189, 248, 0.08);
  color: var(--color-accent);
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(56, 189, 248, 0.15);
}

.problem-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Framework / Process Section */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.framework-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3rem 2.5rem;
  border-radius: 12px;
  position: relative;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.framework-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.framework-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.06);
}

.framework-card:hover::before {
  opacity: 1;
}

.framework-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.25rem;
  color: rgba(56, 189, 248, 0.15);
  margin-bottom: 1.25rem;
  line-height: 1;
}

.framework-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.framework-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Conclusion Box styling */
.framework-conclusion {
  background: linear-gradient(135deg, #151d30 0%, #0c1222 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 4.5rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.framework-conclusion::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 100px;
  background-color: rgba(56, 189, 248, 0.05);
  filter: blur(50px);
  pointer-events: none;
}

.conclusion-badge {
  display: inline-block;
  background-color: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.framework-conclusion h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.framework-conclusion p {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

/* Founder Section */
.founder-section {
  background-color: rgba(255, 255, 255, 0.005);
}

.founder-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.founder-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.founder-card:hover .founder-img {
  transform: scale(1.03);
}

.founder-img-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background-radial: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.founder-info h2 {
  margin-bottom: 0.25rem;
}

.founder-title {
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 2rem;
  font-weight: 500;
}

.founder-bio {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.founder-bio p {
  font-size: 0.98rem;
  line-height: 1.7;
}

.founder-quote {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.25rem;
  font-style: italic;
  color: var(--text-primary);
  font-size: 1.05rem;
}

/* Playbook Download Embed */
.playbook-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
  background: linear-gradient(145deg, #151d30 0%, #0f1626 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.playbook-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-image: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.playbook-visual {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.pdf-cover {
  width: 250px;
  height: 340px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border-radius: 8px 16px 16px 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 15px 15px 35px rgba(0, 0, 0, 0.6);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotateY(-15deg) rotateX(10deg);
  transform-style: preserve-3d;
  transition: var(--transition-smooth);
  position: relative;
}

.playbook-box:hover .pdf-cover {
  transform: rotateY(-5deg) rotateX(5deg) translateY(-8px);
  box-shadow: 20px 25px 45px rgba(0, 0, 0, 0.7);
  border-color: rgba(56, 189, 248, 0.4);
}

/* Spine accent of the book preview */
.pdf-cover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px 0 0 8px;
}

.pdf-badge {
  background-color: var(--color-accent);
  color: #0b1121;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  align-self: flex-start;
  letter-spacing: 0.05em;
  margin-left: 10px;
}

.pdf-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  margin-left: 10px;
  letter-spacing: 0.1em;
}

.pdf-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffffff;
  line-height: 1.15;
  margin: 1.5rem 0 0.5rem 10px;
}

.pdf-subtitle {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-left: 10px;
  font-weight: 500;
}

.pdf-footer {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-left: 10px;
  font-weight: 600;
}

.playbook-content h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.playbook-content p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.playbook-bullets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bullet-icon {
  color: var(--color-accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.bullet-item span {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 17, 33, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 540px;
  border-radius: 16px;
  padding: 3rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.modal-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.modal-header h2 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.modal-header p {
  font-size: 0.95rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.form-status {
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.25rem;
  transition: var(--transition-smooth);
}

.form-status.success {
  color: var(--color-success);
}

.form-status.error {
  color: #ef4444;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--bg-card);
  border-left: 4px solid var(--color-accent);
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  border-radius: 0 8px 8px 0;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  pointer-events: none;
  max-width: 400px;
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-left-color: var(--color-success);
}

/* Footer Section */
.footer {
  background-color: #080c16;
  padding: 5rem 0 3rem 0;
  font-size: 0.9rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-logo span {
  font-weight: 300;
  color: var(--text-secondary);
}

.footer-left p {
  max-width: 400px;
  line-height: 1.6;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  text-align: right;
}

.footer-contact h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-email {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: var(--transition-smooth);
}

.footer-email:hover {
  color: var(--color-accent-hover);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.footer-bottom {
  margin-top: 2rem;
  color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .offer-layout,
  .founder-card,
  .playbook-box {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .founder-card {
    padding: 3rem;
  }
  
  .founder-img-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }
  
  .playbook-visual {
    margin-bottom: 1.5rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-right {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  :root {
    --max-width: 100%;
  }
  
  .container {
    padding: 0 1.25rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .hero-section {
    padding: 10rem 0 6rem 0;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .founder-card {
    padding: 2rem 1.5rem;
  }
  
  .framework-conclusion {
    padding: 2.5rem 1.25rem;
  }

  .framework-conclusion p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .playbook-box {
    padding: 2.5rem 1.5rem;
  }
  
  .modal-card {
    padding: 2rem 1.5rem;
    height: 100%;
    border-radius: 0;
    max-width: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .modal-close-btn {
    top: 1rem;
    right: 1rem;
  }
  
  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: calc(100% - 2rem);
  }
}
