/* ---------- Colors & Fonts ---------- */
:root {
  --color-primary: #e63946;
  --color-text: #111;
  --color-text-2: #444;
  --color-bg: #fff;
  --border: #111;
  --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ---------- Base Styles ---------- */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

.logo {
  display: block;
  margin: 2rem auto;
  height: 60px;
}

.announcement {
  background: var(--color-primary);
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  word-wrap: break-word;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 4rem 1rem 5rem;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
}

.hero h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-subtitle {
  color: var(--color-text-2);
  font-size: 1.2rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
}

.hero-trust {
  color: #666;
  font-size: 0.95rem;
  margin-top: 1.5rem;
  font-style: italic;
}

.hero .tagline {
  color: var(--color-text-2);
  font-size: 1.2rem;
  max-width: 650px;
  margin: 1rem auto 0;
}

/* ---------- Buttons ---------- */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid var(--color-primary);
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: #d62839;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
}

.btn-secondary:hover {
  background: rgba(230, 57, 70, 0.05);
  transform: translateY(-1px);
}

.btn-primary-large {
  display: inline-block;
  padding: 1.25rem 3rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  background: var(--color-primary);
  color: white;
  border: none;
}

.btn-primary-large:hover {
  background: #d62839;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
}

/* ---------- Value Proposition ---------- */
.value-prop {
  padding: 4rem 1rem;
  background: white;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.value-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-weight: 600;
}

.value-card p {
  color: var(--color-text-2);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

/* ---------- How It Works ---------- */
.how-it-works {
  padding: 5rem 1rem;
  background: #f8f8f8;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-weight: 700;
}

.section-intro {
  text-align: center;
  font-size: 1.15rem;
  color: var(--color-text-2);
  max-width: 600px;
  margin: 0 auto 3.5rem;
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.step {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.step:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-weight: 600;
}

.step p {
  color: var(--color-text-2);
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 5rem 1rem;
  background: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  font-weight: 700;
}

.cta-text {
  font-size: 1.15rem;
  color: var(--color-text-2);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.contact-alt {
  margin-top: 1.5rem;
  color: var(--color-text-2);
  font-size: 0.95rem;
}

.contact-alt a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-alt a:hover {
  text-decoration: underline;
}

/* Remove old sections */
.pain-points,
.solution,
.benefits,
.pain-grid,
.pain-card,
.pain-icon,
.solution-grid,
.solution-step,
.benefit,
.solution-cta,
.benefits-grid,
.benefit-card,
.reference-benefits,
.ref-benefit {
  display: none;
}

/* ---------- Reference Program (kept minimal) ---------- */
.preview-announcement {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
}

.preview-box {
  position: relative;
  padding: 3rem 2rem;
  max-width: 700px;
  text-align: center;
  background: var(--color-bg);
}

.preview-box::before,
.preview-box::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.preview-box::before {
  top: 0;
  left: 0;
  border-top: 3px solid var(--color-primary);
  border-left: 3px solid var(--color-primary);
}

.preview-box::after {
  top: 0;
  right: 0;
  border-top: 3px solid var(--color-primary);
  border-right: 3px solid var(--color-primary);
}

.preview-box {
  background-image: 
    linear-gradient(var(--color-primary), var(--color-primary)),
    linear-gradient(var(--color-primary), var(--color-primary)),
    linear-gradient(var(--color-primary), var(--color-primary)),
    linear-gradient(var(--color-primary), var(--color-primary));
  background-size: 
    40px 3px,
    3px 40px,
    40px 3px,
    3px 40px;
  background-position: 
    bottom left, bottom left,
    bottom right, bottom right;
  background-repeat: no-repeat;
}

.preview-box h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.preview-box p {
  color: var(--color-text-2);
  line-height: 1.7;
  font-size: 1.05rem;
  margin: 0;
}

@media (max-width: 768px) {
  .preview-box {
    padding: 2.5rem 1.5rem;
  }
  
  .preview-box h2 {
    font-size: 1.5rem;
  }
  
  .preview-box p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .preview-announcement {
    padding: 2rem 1rem;
  }
  
  .preview-box {
    padding: 2rem 1rem;
  }
  
  .preview-box::before,
  .preview-box::after {
    width: 30px;
    height: 30px;
  }
  
  .preview-box {
    background-size: 
      30px 3px,
      3px 30px,
      30px 3px,
      3px 30px;
  }
  
  .preview-box h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .preview-box p {
    font-size: 0.95rem;
  }
}

/* ---------- Plans ---------- */
.plans {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.plan {
  position: relative;
  padding: 2rem;
  max-width: 400px;
  text-align: center;
  background: var(--color-bg);
}

.plan::before,
.plan::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.plan::before {
  top: 0;
  left: 0;
  border-top: 2px solid var(--color-primary);
  border-left: 2px solid var(--color-primary);
}

.plan::after {
  top: 0;
  right: 0;
  border-top: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
}

.plan {
  background-image: 
    linear-gradient(var(--color-primary), var(--color-primary)),
    linear-gradient(var(--color-primary), var(--color-primary)),
    linear-gradient(var(--color-primary), var(--color-primary)),
    linear-gradient(var(--color-primary), var(--color-primary));
  background-size: 
    20px 2px,
    2px 20px,
    20px 2px,
    2px 20px;
  background-position: 
    bottom left, bottom left,
    bottom right, bottom right;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease;
}

.plan:has(.button.primary:hover) {
  background-size: 
    30px 2px,
    2px 30px,
    30px 2px,
    2px 30px;
}

.plan:has(.button.primary:hover)::before,
.plan:has(.button.primary:hover)::after {
  width: 30px;
  height: 30px;
}

.actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 480px) {
  .actions {
    flex-direction: column;
  }
}

.existing-tenant {
  font-size: 0.9rem;
  color: var(--color-text-2);
  text-align: center;
  margin-top: 1rem;
}

.existing-tenant a {
  color: var(--color-primary);
  text-decoration: none;
}

.existing-tenant a:hover {
  text-decoration: underline;
}

.plan h3 {
  text-align: center;
  margin-bottom: 1rem;
}

.badge {
  border: 1px solid var(--border);
  color: var(--color-primary);
  font-size: 0.8rem;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.plan ul {
  list-style: none;
  padding: 0;
}

.plan li::before {
  content: "– ";
}

.button {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  transition: background 0.3s;
}

.button:hover {
  background: #c5303b;
}

.button.secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.button.secondary:hover {
  background: var(--color-primary);
  color: white;
}

/* ---------- Screenshots ---------- */
.screenshots {
  text-align: center;
  padding: 3rem 1rem;
}

.shot-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.shot-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.shot-grid img:hover {
  transform: scale(1.05);
}

/* ---------- Features Showcase ---------- */
.features-showcase {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features-showcase h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.features-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 2rem;
}

.features-preview-image {
  width: 100%;
  position: relative;
}

.features-preview-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
  display: block;
}

.features-preview-image img:hover {
  transform: scale(1.01);
}

.features-grid {
  position: absolute;
  top: -1.5rem;
  bottom: -1.5rem;
  right: -2rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(8, 1fr);
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.75rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 180px;
  align-content: center;
}

.feature-button:nth-child(7),
.feature-button:nth-child(8) {
  grid-column: auto;
}

.features-grid::after {
  content: none;
}

.feature-button:nth-child(7) {
  grid-column: auto;
}

.feature-button:nth-child(8) {
  grid-column: auto;
}

.feature-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.75rem 0.5rem;
  background: var(--color-bg);
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
  text-align: center;
  width: 100%;
}

.feature-button:hover {
  border-color: var(--color-primary);
  background: rgba(230, 57, 70, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feature-button.active {
  border-color: var(--color-primary);
  background: rgba(230, 57, 70, 0.08);
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.15);
}

.feature-button.active .feature-text {
  color: var(--color-primary);
  font-weight: 600;
}

.feature-text {
  font-size: 0.75rem;
  color: var(--color-text);
  font-weight: 500;
  white-space: normal;
  line-height: 1.2;
}

.features-cta {
  margin-top: 2rem;
}

.features-cta .button {
  padding: 0.8rem 2rem;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .features-grid {
    right: 0.5rem;
    width: 160px;
    padding: 0.6rem;
    gap: 0.3rem;
    top: -1rem;
    bottom: -1rem;
  }
  
  .feature-button {
    padding: 0.5rem 0.3rem;
  }
  
  .feature-text {
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  .features-showcase {
    padding: 2rem 1rem;
  }
  
  .features-showcase h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
  
  .features-showcase .container {
    padding: 0 1rem;
  }
  
  .features-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    margin: 0;
  }
  
  .features-preview-image {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .features-preview-image img {
    border-radius: 10px;
    border: 1px solid var(--border);
  }
  
  .features-grid {
    position: static;
    width: auto;
    max-width: 500px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border: 1px solid var(--border);
  }
  
  .feature-button {
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
  }
  
  .feature-text {
    font-size: 0.75rem;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .features-showcase {
    padding: 2rem 1rem;
  }
  
  .features-showcase h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .features-showcase .container {
    padding: 0 1rem;
  }
  
  .features-container {
    padding: 0;
    align-items: center;
  }
  
  .features-preview-image {
    margin-bottom: 1.5rem;
    width: 100%;
  }
  
  .features-preview-image img {
    border-radius: 10px;
    border: 1px solid var(--border);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    width: 100%;
    max-width: 100%;
  }
  
  .feature-button {
    padding: 0.9rem 0.5rem;
    min-height: 60px;
  }
  
  .feature-text {
    font-size: 0.8rem;
    font-weight: 500;
  }
  
  .feature-button.active .feature-text {
    font-weight: 600;
  }
}

/* ---------- FAQ ---------- */
.faq {
  padding: 3rem 1rem;
}

.faq h2 {
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 2rem;
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 0;
  transition: all 0.3s ease;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-item button {
  font-weight: bold;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
  color: var(--color-text);
  padding: 1.25rem 2rem 1.25rem 0;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item button:hover {
  color: var(--color-primary);
}

.faq-item button::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item button.active::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  padding: 0;
}

.faq-item button.active + .faq-answer {
  max-height: 500px;
  opacity: 1;
  padding: 0 0 1.25rem 0;
}

.faq-item p {
  margin: 0;
  color: var(--color-text-2);
  line-height: 1.6;
}

@media (max-width: 480px) {
  .faq-item button {
    font-size: 0.95rem;
    padding: 1rem 1.5rem 1rem 0;
  }
  
  .faq-item button::after {
    font-size: 1.25rem;
  }
  
  .faq-item button.active + .faq-answer {
    padding: 0 0 1rem 0;
  }
}

/* Responsive for new sections */
@media (max-width: 768px) {
  .hero {
    padding: 3rem 1rem 4rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 320px;
  }
  
  .value-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .how-it-works h2,
  .cta-section h2 {
    font-size: 1.85rem;
  }
  
  .section-intro,
  .cta-text {
    font-size: 1.05rem;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .how-it-works,
  .cta-section {
    padding: 4rem 1rem;
  }
}

@media (max-width: 480px) {
  .announcement {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    line-height: 1.4;
  }
  
  .hero {
    padding: 2.5rem 1rem 3rem;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .how-it-works h2,
  .cta-section h2 {
    font-size: 1.65rem;
  }
  
  .value-prop,
  .how-it-works,
  .cta-section {
    padding: 3rem 1rem;
  }
  
  .value-card,
  .step {
    padding: 2rem 1.5rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
  }
  
  .btn-primary-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
    max-width: 280px;
  }
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  color: var(--color-text-2);
  font-size: 0.9rem;
  padding: 2rem 0;
}
