/* Modern Executive Light-Theme Glassmorphism Styling for PlanOcto.App Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-input: #f1f5f9;
  --border-glass: #e2e8f0;
  --border-glow: rgba(79, 70, 229, 0.35);
  --accent-primary: #4f46e5;
  --accent-secondary: #6366f1;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-rose: #e11d48;
  --accent-purple: #7c3aed;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--text-main);
}

/* Background Soft Pastel Glows */
.bg-glow-1 {
  position: absolute;
  top: -5%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(248, 250, 252, 0) 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.bg-glow-2 {
  position: absolute;
  top: 35%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(248, 250, 252, 0) 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

.bg-glow-3 {
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(248, 250, 252, 0) 70%);
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
}

/* Navigation Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.85rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-main);
  text-decoration: none;
}

.nav-brand img {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent-primary);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
  color: #fff;
  padding: 0.65rem 1.35rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(79, 70, 229, 0.45);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  padding: 0.65rem 1.35rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

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

/* Hero Section */
.hero-section {
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  text-align: center;
  position: relative;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: #e0e7ff;
  border: 1px solid #c7d2fe;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #3730a3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.1);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 2.5rem;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* Dashboard Mockup Card (Light Mode) */
.mockup-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 1.5rem;
}

.mockup-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

/* Interactive Simulator */
.simulator-box {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 3rem;
  text-align: left;
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.08);
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.slider-group {
  margin-bottom: 1.25rem;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

input[type=range] {
  width: 100%;
  accent-color: var(--accent-primary);
}

.result-card {
  background: #f8fafc;
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-val {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--accent-primary);
}

/* Feature Grid */
.features-section {
  padding: 6rem 0;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.12);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e0e7ff;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.feature-body {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Hero 3D Octopus Feature Graphic Box */
.octo-hero-showcase {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(30, 27, 75, 0.35);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin: 4rem 0;
  color: #ffffff;
}

.octo-hero-text {
  padding: 3.5rem;
  text-align: left;
}

.octo-hero-text h3 {
  color: #ffffff;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.octo-hero-text p {
  color: #c7d2fe;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.octo-hero-img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

/* Pricing Grid */
.pricing-section {
  padding: 6rem 0;
  background: #f1f5f9;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
}

.pricing-card.popular {
  border: 2px solid var(--accent-primary);
  box-shadow: 0 20px 45px -10px rgba(79, 70, 229, 0.2);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  margin: 1rem 0;
  color: var(--text-main);
}

.price-amount span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.feature-list {
  list-style: none;
  text-align: left;
  margin: 2rem 0;
}

.feature-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.feature-list li i {
  color: var(--accent-emerald);
  font-weight: 800;
}

/* Footer */
footer {
  background: #ffffff;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--accent-primary);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Responsive Grid Classes & Mobile Overrides */
.mockup-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: left;
}

.simulator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.capitalizer-container {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.06);
}

.capitalizer-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Comprehensive Responsive Breakpoints */
@media (max-width: 992px) {
  .features-grid, .pricing-grid, .footer-grid, .octo-hero-showcase, .capitalizer-container {
    grid-template-columns: 1fr;
  }
  .mockup-stats-grid, .templates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1rem;
  }
  .hero-section {
    padding-top: 6.5rem;
    padding-bottom: 3rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .mockup-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .mockup-header span {
    font-size: 0.7rem;
  }
  .simulator-grid {
    grid-template-columns: 1fr;
  }
  .simulator-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .octo-hero-text {
    padding: 2rem 1.5rem;
  }
  .octo-hero-text h3 {
    font-size: 1.75rem;
  }
  .capitalizer-container {
    padding: 1.5rem;
    gap: 2rem;
  }
  .result-val {
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  .mockup-stats-grid, .templates-grid, .capitalizer-results-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta a {
    width: 100%;
    justify-content: center;
  }
  .nav-brand {
    font-size: 1.15rem;
  }
  .nav-brand img {
    width: 28px !important;
    height: 28px !important;
  }
  .mockup-card {
    padding: 1rem;
    border-radius: 16px;
  }
  .simulator-box {
    padding: 1.25rem;
    border-radius: 16px;
  }
  .result-card {
    padding: 1rem;
  }
}
