/* =========================================
   Fusify.ai One | One-Pager Styles
   ========================================= */

:root {
  --color-bg: #0a0a0f;
  --color-bg-alt: #111118;
  --color-surface: #1a1a24;
  --color-border: #2a2a3a;
  --color-text: #e4e4ed;
  --color-text-muted: #9494a8;
  --color-accent: #6c5ce7;
  --color-accent-light: #a29bfe;
  --color-accent-glow: rgba(108, 92, 231, 0.25);
  --color-white: #ffffff;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Container */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
}

.logo span {
  color: var(--color-accent-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

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

.btn-nav {
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}

.btn-nav:hover {
  background: var(--color-accent-light) !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-block;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 24px var(--color-accent-glow);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--color-accent-glow);
}

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

.btn-outline:hover {
  border-color: var(--color-accent-light);
  color: var(--color-accent-light);
}

.btn-full {
  width: 100%;
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1.1rem;
}

/* =========================================
   Hero
   ========================================= */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, var(--color-accent-glow) 0%, transparent 60%);
}

.hero-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-light);
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-accent-light);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================
   Sections
   ========================================= */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--color-bg-alt);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent-light);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.75;
}

/* =========================================
   Features Grid
   ========================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =========================================
   Steps / How It Works
   ========================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.step {
  position: relative;
  padding: 32px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* =========================================
   Pricing
   ========================================= */
.pricing-card {
  max-width: 480px;
  margin: 48px auto 0;
  background: var(--color-surface);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
  box-shadow: 0 8px 48px var(--color-accent-glow);
}

.pricing-header {
  margin-bottom: 32px;
}

.pricing-name {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent-light);
  margin-bottom: 8px;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-white);
}

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

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text);
  padding-left: 28px;
  position: relative;
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-accent-light);
  font-weight: 700;
}

.pricing-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Exit Strategy */
.exit-strategy {
  max-width: 640px;
  margin: 56px auto 0;
  text-align: center;
  background: rgba(108, 92, 231, 0.06);
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: var(--radius);
  padding: 32px;
}

.exit-strategy h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.exit-strategy p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.exit-strategy strong {
  color: var(--color-accent-light);
}

/* =========================================
   FAQ Section
   ========================================= */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-white);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-accent-light);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform var(--transition), color var(--transition);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-accent-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 0 22px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* =========================================
   CTA Section
   ========================================= */
.section-cta {
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, var(--color-accent-glow) 0%, transparent 60%);
}

.section-cta .section-text {
  margin: 0 auto 40px;
}

/* =========================================
   Footer
   ========================================= */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 24px;
    gap: 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding: 130px 0 80px;
  }

  .section {
    padding: 72px 0;
  }

  .features-grid,
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
