/* ============================================================
   Flink Manager Product Page — Light Theme (matches site)
   ============================================================ */

/* --- Variables (shared with style.css) --- */
:root {
  --fm-primary: #4d7cff;
  --fm-primary-dark: #3b6aee;
  --fm-accent: #8b5cf6;
  --fm-accent-cyan: #06b6d4;
  --fm-bg-primary: #ffffff;
  --fm-bg-secondary: #f8fafc;
  --fm-bg-card: #ffffff;
  --fm-bg-card-hover: #f1f5f9;
  --fm-text-primary: #0f172a;
  --fm-text-secondary: #475569;
  --fm-text-muted: #94a3b8;
  --fm-border-subtle: rgba(0, 0, 0, 0.06);
  --fm-border-medium: rgba(0, 0, 0, 0.10);
  --fm-gradient: linear-gradient(135deg, #4d7cff 0%, #8b5cf6 50%, #06b6d4 100%);
  --fm-gradient-subtle: linear-gradient(135deg, rgba(77, 124, 255, 0.06) 0%, rgba(139, 92, 246, 0.04) 100%);
  --fm-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --fm-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --fm-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
  --fm-shadow-glow: 0 0 0 4px rgba(77, 124, 255, 0.12);
  --fm-radius-sm: 8px;
  --fm-radius-md: 12px;
  --fm-radius-lg: 20px;
  --fm-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base --- */
.flink-manager-page {
  background: var(--fm-bg-primary);
  color: var(--fm-text-secondary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* --- Hero --- */
.fm-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--fm-bg-primary);
  overflow: hidden;
}
.fm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}
.fm-hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.fm-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.fm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 120px 0 80px;
}
.fm-badge {
  display: inline-block;
  background: var(--fm-gradient-subtle);
  color: var(--fm-accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  border: 1px solid rgba(139, 92, 246, 0.15);
}
.fm-hero-content h1 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -1.5px;
  color: var(--fm-text-primary);
}
.fm-hero-content h1 span {
  background: var(--fm-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fm-hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fm-text-secondary);
  margin: 0 0 36px;
  max-width: 540px;
}
.fm-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.fm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: var(--fm-radius-lg);
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--fm-transition);
  border: 0;
  position: relative;
  overflow: hidden;
}
.fm-btn-primary {
  background: var(--fm-gradient);
  color: #fff;
}
.fm-btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.fm-btn-primary:hover {
  color: #fff;
  box-shadow: var(--fm-shadow-glow), var(--fm-shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}
.fm-btn-outline {
  background: transparent;
  color: var(--fm-text-primary);
  border: 1px solid var(--fm-border-medium);
}
.fm-btn-outline:hover {
  background: var(--fm-bg-card-hover);
  border-color: var(--fm-primary);
  color: var(--fm-primary);
  transform: translateY(-2px);
  text-decoration: none;
}
.fm-btn-lg {
  padding: 18px 40px;
  font-size: 17px;
}
.fm-btn-block {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* --- Sections --- */
.fm-section {
  padding: 100px 0;
}
.fm-section-header {
  text-align: center;
  margin-bottom: 60px;
}
.fm-section-header h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 0 0 15px;
  padding-bottom: 15px;
  color: var(--fm-text-primary);
  position: relative;
}
.fm-section-header h2::after {
  position: absolute;
  content: "";
  background: var(--fm-gradient);
  height: 3px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
  border-radius: 2px;
}
.fm-section-desc {
  font-size: 17px;
  color: var(--fm-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- What Is Section --- */
.fm-what-is {
  background: var(--fm-bg-secondary);
  position: relative;
}
.fm-what-is::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--fm-gradient);
  opacity: 0.2;
}
.fm-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.fm-feature-card {
  background: var(--fm-bg-card);
  border: 1px solid var(--fm-border-subtle);
  border-radius: var(--fm-radius-md);
  padding: 36px 28px;
  transition: all var(--fm-transition);
  box-shadow: var(--fm-shadow-sm);
}
.fm-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.2);
  box-shadow: var(--fm-shadow-md);
}
.fm-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--fm-radius-sm);
  background: var(--fm-gradient-subtle);
  border: 1px solid var(--fm-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.fm-feature-icon i {
  font-size: 24px;
  color: var(--fm-primary);
}
.fm-feature-card h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--fm-text-primary);
}
.fm-feature-card p {
  font-size: 14px;
  color: var(--fm-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* --- Demo Section --- */
.fm-demo {
  background: var(--fm-bg-primary);
}
.fm-demo-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--fm-bg-card);
  border: 1px solid var(--fm-border-subtle);
  border-radius: var(--fm-radius-md);
  padding: 60px;
  box-shadow: var(--fm-shadow-sm);
}
.fm-demo-text h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--fm-text-primary);
}
.fm-demo-text p {
  font-size: 16px;
  color: var(--fm-text-secondary);
  line-height: 1.7;
  margin: 0 0 28px;
}
.fm-demo-visual {
  display: flex;
  justify-content: center;
}
.fm-demo-image {
  width: 100%;
  max-width: 420px;
  border-radius: var(--fm-radius-md);
  border: 1px solid var(--fm-border-subtle);
  box-shadow: var(--fm-shadow-md);
}

/* --- Showcase Grid --- */
.fm-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.fm-showcase-item {
  border-radius: var(--fm-radius-md);
  border: 1px solid var(--fm-border-subtle);
  box-shadow: var(--fm-shadow-sm);
  overflow: hidden;
  transition: all var(--fm-transition);
  background: var(--fm-bg-card);
}
.fm-showcase-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--fm-shadow-lg);
  border-color: rgba(139, 92, 246, 0.25);
}
.fm-showcase-item img {
  display: block;
  width: 100%;
  height: auto;
}
.fm-demo-placeholder {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 16 / 10;
  background: var(--fm-gradient-subtle);
  border: 2px dashed var(--fm-border-medium);
  border-radius: var(--fm-radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all var(--fm-transition);
}
.fm-demo-placeholder:hover {
  border-color: var(--fm-primary);
}
.fm-demo-placeholder i {
  font-size: 48px;
  color: var(--fm-primary);
  opacity: 0.7;
}
.fm-demo-placeholder span {
  font-size: 14px;
  color: var(--fm-text-muted);
  font-weight: 500;
}

/* --- Trial Section --- */
.fm-trial {
  background: var(--fm-bg-secondary);
  position: relative;
}
.fm-trial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--fm-gradient);
  opacity: 0.2;
}
.fm-trial-card {
  text-align: center;
  background: var(--fm-gradient-subtle);
  border: 1px solid var(--fm-border-subtle);
  border-radius: var(--fm-radius-md);
  padding: 60px 40px;
}
.fm-trial-card h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--fm-text-primary);
}
.fm-trial-card > p {
  font-size: 16px;
  color: var(--fm-text-secondary);
  margin: 0 0 48px;
}
.fm-trial-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.fm-step {
  background: var(--fm-bg-card);
  border: 1px solid var(--fm-border-subtle);
  border-radius: var(--fm-radius-md);
  padding: 28px 24px;
  text-align: center;
  width: 200px;
  transition: all var(--fm-transition);
  box-shadow: var(--fm-shadow-sm);
}
.fm-step:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.2);
  box-shadow: var(--fm-shadow-md);
}
.fm-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fm-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.fm-step h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--fm-text-primary);
}
.fm-step p {
  font-size: 13px;
  color: var(--fm-text-muted);
  margin: 0;
  line-height: 1.5;
}
.fm-step-arrow {
  color: var(--fm-text-muted);
  font-size: 20px;
}

/* --- Pricing Section --- */
.fm-pricing {
  background: var(--fm-bg-primary);
}
.fm-pricing-cta {
  text-align: center;
  padding: 24px 0 16px;
}
.fm-pricing-cta .fm-btn {
  padding: 16px 48px;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.fm-pricing-cta .fm-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--fm-shadow-md);
}

/* --- Footer CTA --- */
.fm-footer-cta {
  background: var(--fm-gradient-subtle);
  text-align: center;
  padding: 80px 0;
  position: relative;
}
.fm-footer-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--fm-gradient);
  opacity: 0.2;
}
.fm-footer-cta h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--fm-text-primary);
}
.fm-footer-cta p {
  font-size: 16px;
  color: var(--fm-text-secondary);
  margin: 0 0 32px;
}

/* --- Footer --- */
.fm-footer {
  background: var(--fm-bg-primary);
  border-top: 1px solid var(--fm-border-subtle);
  padding: 24px 0;
  text-align: center;
}
.fm-footer p {
  font-size: 13px;
  color: var(--fm-text-muted);
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .fm-hero-content {
    padding: 100px 0 60px;
  }
  .fm-showcase-grid {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }
  .fm-demo-card {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 32px;
  }
  .fm-demo-visual {
    order: -1;
  }
  .fm-trial-steps {
    flex-direction: column;
  }
  .fm-step-arrow {
    transform: rotate(90deg);
  }
  .fm-step {
    width: 100%;
    max-width: 280px;
  }
}
