/* ============================================
   NFTY Custom Components - World-Class SaaS Design
   ============================================ */

/* CSS Variables */
:root {
  --nfty-black: #000000;
  --nfty-dark: #0a0a0f;
  --nfty-darker: #1a1a2e;
  --nfty-orange: #ff6b35;
  --nfty-orange-hover: #ff8555;
  --nfty-orange-glow: rgba(255, 107, 53, 0.4);
  --gradient-orange: linear-gradient(135deg, #ff6b35 0%, #ff9d5c 100%);
  --problem-red: #ff4757;
  --problem-bg: rgba(255, 71, 87, 0.08);
  --solution-green: #2ed573;
  --solution-bg: rgba(46, 213, 115, 0.08);
  --text-white: #ffffff;
  --text-light: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.6);
  --border-color: rgba(255, 255, 255, 0.1);
  --surface-elevated: rgba(255, 255, 255, 0.03);
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 80px;
  --space-4xl: 120px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* Navigation */
.nfty-nav {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  min-height: 64px;
  padding: 0;
}

.nfty-nav .container {
  max-width: 1280px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nfty-nav .navbar-brand img {
  height: 36px;
}

.nfty-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  padding: 8px 16px;
  transition: color 0.2s ease;
}

.nfty-nav .nav-link:hover,
.nfty-nav .nav-link.active {
  color: var(--nfty-orange);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  background: linear-gradient(180deg, #1a0a00 0%, #000000 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-white);
}

.hero-title .highlight {
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 22px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 700px;
}

@media (min-width: 768px) {
  .hero-title { font-size: 64px; }
  .hero-tagline { font-size: 24px; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 80px; }
}

/* Capability Pills */
.capability-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  justify-content: center;
}

.capability-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.capability-pill:hover {
  border-color: var(--nfty-orange);
  background: rgba(255, 107, 53, 0.1);
}

.capability-pill svg {
  width: 18px;
  height: 18px;
  color: var(--nfty-orange);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  min-height: 52px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-orange);
  color: white;
  box-shadow: 0 4px 20px var(--nfty-orange-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--nfty-orange-glow);
  color: white;
}

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

.btn-outline:hover {
  border-color: var(--nfty-orange);
  background: rgba(255, 107, 53, 0.1);
  color: var(--text-white);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 18px;
  min-height: 60px;
}

/* ============================================
   Section Styling
   ============================================ */
.section-padding {
  padding: 100px 0;
}

@media (min-width: 768px) {
  .section-padding { padding: 120px 0; }
}

.section-dark {
  background: var(--nfty-black);
}

.section-darker {
  background: linear-gradient(180deg, var(--nfty-dark) 0%, var(--nfty-black) 100%);
}

.section-gradient {
  background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section-header h2 { font-size: 48px; }
}

/* ============================================
   Feature Cards (Differentiators)
   ============================================ */
.feature-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 107, 53, 0.1);
  border: 2px solid rgba(255, 107, 53, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: rgba(255, 107, 53, 0.15);
  border-color: var(--nfty-orange);
  transform: scale(1.05);
}

.feature-icon svg {
  width: 36px;
  height: 36px;
  color: var(--nfty-orange);
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

/* ============================================
   Product Cards (POS, HIPAA)
   ============================================ */
.product-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px 40px;
  height: 100%;
  transition: all 0.3s ease;
}

.product-card:hover {
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: var(--shadow-lg);
}

.product-card.highlight {
  border-color: rgba(255, 107, 53, 0.4);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, transparent 100%);
}

.product-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 107, 53, 0.15);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--nfty-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}

.product-card .subtitle {
  font-size: 16px;
  color: var(--nfty-orange);
  margin-bottom: 20px;
}

.product-card p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 24px;
}

/* Product Flow Visual */
.product-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
}

.flow-step svg {
  width: 20px;
  height: 20px;
  color: var(--nfty-orange);
}

.flow-arrow {
  color: var(--text-muted);
  font-size: 18px;
}

/* Benefit Pills in Product Cards */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--text-light);
}

.benefit-item svg {
  width: 22px;
  height: 22px;
  color: var(--solution-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(46, 213, 115, 0.1);
  border: 1px solid rgba(46, 213, 115, 0.3);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--solution-green);
}

.trust-badge svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   Problem/Solution Cards
   ============================================ */
.usecase-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.usecase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: var(--shadow-lg);
}

.usecase-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border-color);
}

.usecase-header h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.usecase-header svg {
  width: 24px;
  height: 24px;
  color: var(--nfty-orange);
}

.usecase-body {
  padding: 0;
}

.problem-section,
.solution-section {
  padding: 20px 28px;
}

.problem-section {
  background: var(--problem-bg);
  border-left: 3px solid var(--problem-red);
}

.solution-section {
  background: var(--solution-bg);
  border-left: 3px solid var(--solution-green);
}

.problem-section .label,
.solution-section .label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.problem-section .label {
  color: var(--problem-red);
}

.solution-section .label {
  color: var(--solution-green);
}

.problem-section p,
.solution-section p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
}

/* ============================================
   How It Works - Timeline
   ============================================ */
.timeline-container {
  position: relative;
}

.timeline-step {
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.step-number {
  font-size: 56px;
  font-weight: 900;
  color: var(--nfty-orange);
  line-height: 1;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.step-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 107, 53, 0.1);
  border: 2px solid rgba(255, 107, 53, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.timeline-step:hover .step-icon {
  background: rgba(255, 107, 53, 0.15);
  border-color: var(--nfty-orange);
  transform: scale(1.1);
}

.step-icon svg,
.step-icon i {
  color: var(--nfty-orange);
  font-size: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-step h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.timeline-step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 280px;
  margin: 0 auto;
}

/* Timeline connector line */
@media (min-width: 768px) {
  .timeline-container::before {
    content: '';
    position: absolute;
    top: 100px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-color) 10%, var(--border-color) 90%, transparent);
    z-index: 0;
  }
  
  .timeline-step {
    position: relative;
    z-index: 1;
  }
}

/* ============================================
   CTA Path Cards
   ============================================ */
.path-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.path-card:hover {
  transform: translateX(8px);
  border-color: var(--nfty-orange);
  background: rgba(255, 107, 53, 0.05);
}

.path-card-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.path-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.path-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--nfty-orange);
}

.path-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-white);
  margin: 0;
}

.path-card-arrow {
  width: 40px;
  height: 40px;
  background: var(--nfty-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.path-card:hover .path-card-arrow {
  transform: scale(1.1);
  box-shadow: 0 4px 20px var(--nfty-orange-glow);
}

.path-card-arrow svg {
  width: 20px;
  height: 20px;
  color: white;
}

/* ============================================
   Forms
   ============================================ */
.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--text-white);
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--nfty-orange);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px var(--nfty-orange-glow);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
  display: block;
}

/* ============================================
   Footer
   ============================================ */
.nfty-footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border-color);
  background: var(--nfty-black);
}

.footer-brand h3 {
  font-family: 'Blippo', 'Montserrat', sans-serif;
  color: var(--nfty-orange);
  font-size: 32px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================
   Utilities
   ============================================ */
.text-center { text-align: center; }
.text-orange { color: var(--nfty-orange); }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 48px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 48px; }


/* ============================================
   Responsive
   ============================================ */
@media (max-width: 991px) {
  .nfty-nav .navbar-collapse {
    background: rgba(0, 0, 0, 0.98);
    padding: 20px;
    margin-top: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
  }
}

@media (max-width: 768px) {
  .section-padding { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }
  .section-header h2 { font-size: 32px; }
  .product-card { padding: 32px 24px; }
  .feature-card { padding: 32px 24px; }
  .timeline-step { margin-bottom: 48px; }
}

/* ============================================
   Offcanvas (Keep existing)
   ============================================ */
.offcanvas {
  background: var(--nfty-dark);
  color: var(--text-light);
}

.offcanvas-header {
  border-bottom: 1px solid var(--border-color);
}

.offcanvas-title {
  color: var(--text-white);
}
