@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Design Tokens & CSS Variables */
:root {
  /* Colors */
  --bg-void: #050505;
  --bg-surface: #1b110a;
  --bg-surface-dim: #1b110a;
  --bg-surface-bright: #43372e;
  --bg-surface-container-lowest: #150c06;
  --bg-surface-container-low: #241912;
  --bg-surface-container: #281d15;
  --bg-surface-container-high: #33281f;
  --bg-surface-container-highest: #3f3229;
  
  --primary: #ffb77f;
  --on-primary: #4e2600;
  --primary-container: #ff8a00;
  --on-primary-container: #613100;
  
  --secondary: #c9c6c5;
  --on-secondary: #313030;
  --secondary-container: #4a4949;
  
  --text-white: #ffffff;
  --text-primary: #f3dfd1;
  --text-secondary: #ddc1ae;
  --text-muted: #a58c7b;
  
  --outline: #a58c7b;
  --outline-variant: #564334;
  --border-color: #232323;
  --border-hover: rgba(255, 138, 0, 0.4);
  
  --glow-primary: 0px 0px 20px rgba(255, 138, 0, 0.25);
  --glow-intense: 0px 0px 25px rgba(255, 138, 0, 0.4);
  --glow-button: 0px 0px 15px rgba(255, 138, 0, 0.5);
  
  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-smooth: 600ms cubic-bezier(.22,.61,.36,1);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-void);
  /* Grain overlay */
  background-image: 
    radial-gradient(at 0% 0%, rgba(255, 138, 0, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(67, 55, 46, 0.15) 0px, transparent 50%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
}

/* Grid & Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 5, 5, 0.75);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 64px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

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

nav a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.nav-cta {
  background: transparent;
  border: 1px solid var(--primary-container);
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-cta:hover {
  background: var(--primary-container);
  color: var(--bg-void);
  box-shadow: var(--glow-button);
  transform: translateY(-2px);
}

/* Button Styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-container);
  color: var(--bg-void);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-intense);
  background: #ff9f24;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 16px 32px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  border-color: var(--primary-container);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.hero-title span {
  color: var(--primary-container);
  background: linear-gradient(135deg, #ff8a00 0%, #ffc078 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.hero-trust-notes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.hero-trust-notes span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust-notes .dot {
  width: 4px;
  height: 4px;
  background-color: var(--outline-variant);
  border-radius: 50%;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 28px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: var(--transition-smooth);
}

.hero-image-wrapper:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow-primary);
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
  object-fit: cover;
}

/* Badges / Trustbar Row */
.trustbar {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(13, 13, 13, 0.3);
}

.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.trustbar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 24px 16px;
  border-radius: 16px;
  background: rgba(20, 20, 20, 0.4);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.trustbar-card:hover {
  background: rgba(40, 29, 21, 0.2);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.trustbar-card i {
  color: var(--primary-container);
  width: 24px;
  height: 24px;
}

.trustbar-card span {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

/* Section Common Styles */
.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  max-width: 700px;
  margin-bottom: 64px;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-container);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 16px;
}

.section-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Stop starting scratch section */
.two-col-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.features-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.features-left h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.features-left p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.features-right-card {
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 40px;
  transition: var(--transition-smooth);
}

.features-right-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow-primary);
}

.features-right-card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--text-white);
  margin-bottom: 24px;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.feature-checklist li i {
  color: var(--primary-container);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-checklist li strong {
  color: var(--text-white);
  display: block;
  margin-bottom: 2px;
}

/* Workflow Architecture Grid */
#workflows {
  scroll-margin-top: 100px;
}
.workflow-arch-section {
  background: radial-gradient(circle at center, rgba(40, 29, 21, 0.15) 0%, transparent 70%);
}

.workflow-arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.workflow-arch-card {
  background: rgba(13, 13, 13, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.workflow-arch-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--glow-primary);
}

.workflow-arch-body {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.workflow-tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
}

.workflow-tag.marketing { background: rgba(255, 138, 0, 0.15); color: #ffb77f; }
.workflow-tag.sales { background: rgba(136, 206, 255, 0.15); color: #88ceff; }
.workflow-tag.operations { background: rgba(0, 179, 252, 0.15); color: #00b3fc; }
.workflow-tag.analytics { background: rgba(255, 180, 171, 0.15); color: #ffb4ab; }
.workflow-tag.finance { background: rgba(255, 220, 196, 0.15); color: #ffdcc4; }
.workflow-tag.hr { background: rgba(200, 230, 255, 0.15); color: #c8e6ff; }

.workflow-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-white);
}

.workflow-files {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.workflow-file-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.workflow-file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: monospace;
  font-size: 12px;
  color: var(--text-secondary);
}

.workflow-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.workflow-file-item i {
  width: 14px;
  height: 14px;
  color: var(--outline);
}

.workflow-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px;
  border-radius: 8px;
  border-left: 2px solid var(--primary-container);
}

.center-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Categories Section */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 32px;
  transition: var(--transition-smooth);
}

.category-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow-primary);
  transform: translateY(-4px);
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 138, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-container);
  margin-bottom: 24px;
}

.category-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text-white);
  margin-bottom: 16px;
}

.category-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-secondary);
}

.category-bullets li::before {
  content: "•";
  color: var(--primary-container);
  font-weight: bold;
}

/* How It Works Timeline */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  margin-top: 64px;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--border-color) 0%, var(--primary-container) 50%, var(--border-color) 100%);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

.timeline-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-void);
  border: 2px solid var(--primary-container);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--glow-primary);
  justify-self: center;
  z-index: 3;
}

.timeline-node.glow {
  background: var(--primary-container);
  color: var(--bg-void);
  box-shadow: var(--glow-intense);
}

.timeline-content {
  background: rgba(20, 20, 20, 0.4);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  border-color: var(--border-hover);
  background: rgba(40, 29, 21, 0.15);
}

.timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text-white);
  margin-bottom: 8px;
}

.timeline-content p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.timeline-row.left-content .timeline-content-left {
  text-align: right;
}

.timeline-row.right-content .timeline-content-right {
  text-align: left;
}

/* Who This Is For Section */
.who-chips-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 40px;
}

.who-chip {
  background: rgba(20, 20, 20, 0.5);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.who-chip:hover {
  border-color: var(--border-hover);
  color: var(--primary);
}

.who-chip.active {
  background: var(--bg-surface-container);
  border-color: var(--primary-container);
  color: var(--primary);
  box-shadow: var(--glow-primary);
}

/* Pricing Section */
.pricing-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

.pricing-card {
  position: relative;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--border-hover);
  border-radius: 28px;
  padding: 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--glow-primary);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  box-shadow: var(--glow-intense);
  border-color: var(--primary-container);
  transform: translateY(-4px);
}

.badge-ribbon {
  position: absolute;
  top: 25px;
  right: -55px;
  background: var(--primary-container);
  color: var(--bg-void);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 45px;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.pricing-title {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--text-white);
  margin-bottom: 8px;
}

.pricing-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

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

.price-original {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
  margin-bottom: 4px;
}

.price-current {
  font-family: var(--font-sans);
  font-size: 64px;
  font-weight: 700;
  color: var(--primary-container);
  display: block;
  text-shadow: var(--glow-primary);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  margin-bottom: 40px;
  padding-left: 20px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.pricing-features li i {
  color: var(--primary-container);
  font-size: 14px;
}

.pricing-card .btn-primary {
  width: 100%;
  justify-content: center;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(20, 20, 20, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
}

.faq-icon {
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-content {
  padding: 0 24px 24px 24px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.faq-item.active {
  border-color: var(--border-hover);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item.active .faq-body {
  max-height: 200px; /* Adjust as needed */
}

/* Footer Section */
footer {
  border-top: 1px solid var(--border-color);
  padding: 64px 0;
  background: rgba(5, 5, 5, 0.9);
}

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

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-left .logo-wrapper .logo-img {
  height: 28px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  gap: 32px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 24px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-subtitle {
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust-notes {
    justify-content: center;
  }
  .hero-image-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }
  .trustbar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .two-col-features {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .workflow-arch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .who-is-for-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center;
  }
  .who-is-for-grid div {
    text-align: center !important;
  }
  .who-is-for-grid .who-chips-wrapper {
    justify-content: center !important;
  }
}

@media (max-width: 768px) {
  .trustbar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-arch-grid {
    grid-template-columns: 1fr;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .timeline-line {
    left: 20px;
  }
  .timeline-row {
    grid-template-columns: 40px 1fr;
    margin-bottom: 32px;
  }
  .timeline-node {
    justify-self: flex-start;
    margin-left: 0;
  }
  .timeline-row.left-content .timeline-content-left {
    text-align: left;
  }
  .timeline-row.right-content .timeline-content-right {
    text-align: left;
  }
  /* Hide middle column spacing */
  .timeline-row .timeline-node {
    grid-column: 1;
  }
  .timeline-row .timeline-content {
    grid-column: 2;
  }
  nav {
    display: none; /* Can build mobile menu toggle if needed, or keep header clean */
  }
  .header-container {
    height: 70px;
  }
  .hero {
    padding-top: 130px;
  }
}

@media (max-width: 480px) {
  .trustbar-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card {
    padding: 32px 20px;
  }
  .price-current {
    font-size: 48px;
  }
}

/* Accent Glow Pulse Animation */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 138, 0, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 138, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 138, 0, 0);
  }
}

/* Repository Explorer Styles */
.repo-explorer {
  display: grid;
  grid-template-columns: 350px 1fr;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(13, 13, 13, 0.85);
  box-shadow: var(--glow-primary);
  min-height: 580px;
}

.repo-sidebar {
  background: rgba(8, 8, 8, 0.65);
  border-right: 1px solid var(--border-color);
  padding: 24px;
  overflow-y: auto;
  max-height: 600px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.repo-sidebar-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

/* Category Filter Tabs */
.repo-category-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-top: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 4px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.repo-category-tabs::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.repo-tab {
  background: rgba(5, 5, 5, 0.3);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.repo-tab:hover {
  border-color: var(--primary-container);
  color: var(--primary);
  background: rgba(255, 138, 0, 0.05);
}

.repo-tab.active {
  background: rgba(255, 138, 0, 0.12);
  border-color: var(--primary-container);
  color: var(--primary);
  box-shadow: 0 0 10px rgba(255, 138, 0, 0.1);
}

.repo-search {
  width: 100%;
  padding: 10px 14px;
  background: rgba(5, 5, 5, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 12px;
  transition: var(--transition-smooth);
}

.repo-search:focus {
  outline: none;
  border-color: var(--primary-container);
  box-shadow: 0 0 10px rgba(255, 138, 0, 0.15);
}

.repo-folder-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.repo-folder-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  user-select: none;
  text-align: left;
}

.repo-folder-item:hover {
  background: rgba(255, 138, 0, 0.08);
  color: var(--primary);
}

.repo-folder-item.active {
  background: rgba(255, 138, 0, 0.12);
  border-color: rgba(255, 138, 0, 0.25);
  color: var(--primary);
  font-weight: 600;
  box-shadow: inset 0 0 10px rgba(255, 138, 0, 0.05);
}

.repo-folder-item i {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.repo-preview {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
  max-height: 600px;
  background: rgba(13, 13, 13, 0.3);
}

.repo-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 20px;
}

.repo-preview-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--text-white);
  line-height: 1.3;
}

.repo-node-canvas {
  background: #070708;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  gap: 16px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.repo-node-canvas::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.02) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
}

.repo-node-box {
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  z-index: 2;
  transition: var(--transition-smooth);
  position: relative;
  flex-shrink: 0; /* Prevents squashing when horizontal scrolling is active */
}

.repo-node-box:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 138, 0, 0.35);
  box-shadow: 0 4px 20px rgba(255, 138, 0, 0.15);
}

.repo-node-box.trigger { border-left: 3px solid #ff8a00; }
.repo-node-box.ai { border-left: 3px solid #00b3fc; }
.repo-node-box.logic { border-left: 3px solid #88ceff; }
.repo-node-box.action { border-left: 3px solid #ffb4ab; }

.repo-node-box i {
  color: var(--primary-container);
  width: 14px;
  height: 14px;
}

.repo-node-connector {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--border-color) 0%, rgba(255, 138, 0, 0.4) 50%, var(--border-color) 100%);
  position: relative;
  z-index: 1;
  flex-shrink: 0; /* Prevents line width compression */
}

/* Custom Scrollbar Styles for Glassmorphism Containers */
.repo-sidebar::-webkit-scrollbar,
.repo-preview::-webkit-scrollbar,
.repo-node-canvas::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.repo-sidebar::-webkit-scrollbar-track,
.repo-preview::-webkit-scrollbar-track,
.repo-node-canvas::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.repo-sidebar::-webkit-scrollbar-thumb,
.repo-preview::-webkit-scrollbar-thumb,
.repo-node-canvas::-webkit-scrollbar-thumb {
  background: rgba(255, 138, 0, 0.2);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.repo-sidebar::-webkit-scrollbar-thumb:hover,
.repo-preview::-webkit-scrollbar-thumb:hover,
.repo-node-canvas::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 138, 0, 0.4);
}

@media (max-width: 900px) {
  .repo-explorer {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .repo-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    max-height: 240px; /* Reduced sidebar height on mobile for scroll efficiency */
  }
  .repo-preview {
    max-height: none; /* Let details container flow naturally with page scroll */
    overflow-y: visible; /* Prevent nested vertical scroll hijacking on small screens */
    background: rgba(13, 13, 13, 0.1);
    padding: 24px 16px;
  }
}

/* ==========================================
   PHONEPE SECURE CHECKOUT MODAL STYLES
   ========================================== */

/* PhonePe Checkout Modal Overlay */
.checkout-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(4, 4, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.checkout-modal-overlay.show {
  opacity: 1;
}

/* Modal Content Container */
.checkout-modal-content {
  position: relative;
  background: linear-gradient(135deg, rgba(27, 17, 10, 0.95) 0%, rgba(5, 5, 5, 0.98) 100%);
  border: 1px solid rgba(255, 138, 0, 0.2);
  border-radius: 24px;
  padding: 40px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8), var(--glow-primary);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.checkout-modal-overlay.show .checkout-modal-content {
  transform: scale(1);
}

/* Close button */
.checkout-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.checkout-close-btn:hover:not(:disabled) {
  color: var(--primary);
  background: rgba(255, 138, 0, 0.1);
}

.checkout-close-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.checkout-close-btn i {
  width: 20px;
  height: 20px;
}

/* Header */
.checkout-header {
  text-align: center;
}

.checkout-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.checkout-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Form Styles */
#checkout-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.checkout-form-group label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.checkout-form-group .required-asterisk {
  color: var(--primary-container);
  margin-left: 2px;
}

.checkout-form-group .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.checkout-form-group .input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.checkout-form-group input,
.checkout-form-group select {
  width: 100%;
  padding: 12px 16px 12px 48px;
  background: #0b0704;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: var(--transition-smooth);
}

.checkout-form-group input::placeholder {
  color: rgba(221, 193, 174, 0.3);
}

.checkout-form-group input:focus,
.checkout-form-group select:focus {
  outline: none;
  border-color: var(--primary-container);
  box-shadow: 0 0 12px rgba(255, 138, 0, 0.25);
  background: #150c06;
}

/* Dropdown Option List customization */
.checkout-form-group select option {
  background-color: #0b0704;
  color: var(--text-primary);
}

.checkout-form-group select option:disabled {
  color: rgba(221, 193, 174, 0.3);
}

/* Submit Button Customizations */
.btn-checkout-submit {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 15px;
  border-radius: 10px;
  margin-top: 8px;
  border: none;
}

.btn-checkout-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: var(--bg-surface-container-highest);
  color: var(--text-muted);
}

.btn-checkout-submit .spinner {
  margin-left: 8px;
}

.btn-checkout-submit .btn-icon {
  margin-left: 8px;
  width: 16px;
  height: 16px;
}

/* Security and Provider badges */
.checkout-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  font-size: 11px;
  color: var(--text-muted);
}

.checkout-footer span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Spinning Animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.spinner {
  animation: spin 1s linear infinite;
  display: inline-block;
  width: 16px;
  height: 16px;
}

/* Responsive adjustment for modal */
@media (max-width: 480px) {
  .checkout-modal-content {
    padding: 32px 20px;
    gap: 20px;
  }
  .checkout-title {
    font-size: 22px;
  }
  .checkout-footer {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
}
