* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #FAFBFC;
  color: #1F2937;
  line-height: 1.6;
}

/* COLOR THEMES - Dark institutional design matching PipOrix logo */
:root {
  --primary-blue: #3B82F6;
  --primary-dark: #0A1F44;
  --dark-bg: #001F44;
  --secondary-purple: #7C3AED;
  --accent-teal: #14B8A6;
  --success-green: #10B981;
  --warning-amber: #F59E0B;
  --error-red: #EF4444;
  --neutral-gray: #6B7280;
  --light-gray: #F3F4F6;
  --white: #FFFFFF;
}

/* HEADER STYLING */
.header {
  background: white;
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 32px;
  width: auto;
}

.tagline {
  font-size: 12px;
  color: #6B7280;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.nav-item {
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-item:hover {
  color: #2563EB;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2563EB;
}

.auth-btn {
  background: #2563EB;
  color: white !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
}

.auth-btn:hover {
  background: #1D4ED8;
  color: white;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #0A1F44 0%, #001F44 100%);
  padding: 100px 0;
  text-align: center;
  border-bottom: 1px solid #1E40AF;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  color: #FFFFFF;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  color: #93C5FD;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 15px;
  color: #BFDBFE;
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* HERO PAGE */
.hero-page {
  background: linear-gradient(135deg, #0A1F44 0%, #001F44 100%);
  padding: 60px 0;
  border-bottom: 1px solid #1E40AF;
}

.hero-page h1 {
  font-size: 40px;
  color: #FFFFFF;
  margin-bottom: 12px;
  font-weight: 700;
}

.hero-page p {
  font-size: 16px;
  color: #93C5FD;
}

/* BUTTONS */
.btn {
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: #3B82F6;
  color: white;
}

.btn-primary:hover {
  background: #2563EB;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: white;
  color: #2563EB;
  border: 1px solid #E5E7EB;
}

.btn-secondary:hover {
  background: #F3F4F6;
  border-color: #D1D5DB;
}

.btn-full {
  width: 100%;
}

.btn-large {
  padding: 14px 32px;
  font-size: 16px;
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

.section h2 {
  font-size: 36px;
  color: #111827;
  margin-bottom: 12px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 16px;
  color: #6B7280;
  margin-bottom: 48px;
  max-width: 600px;
}

/* GRID SYSTEMS */
.grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* CARDS */
.capability-card, .feature-block, .platform-box, .signal-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 28px;
  transition: all 0.3s ease;
}

.capability-card:hover, .feature-block:hover, .platform-box:hover {
  border-color: #2563EB;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.capability-card h3, .feature-block h3, .platform-box h3, .signal-card h3 {
  font-size: 18px;
  color: #111827;
  margin-bottom: 12px;
  font-weight: 600;
}

.capability-card p, .feature-block p, .platform-box p, .signal-card p {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 16px;
}

.icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  font-size: 13px;
  color: #374151;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.feature-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10B981;
  font-weight: bold;
}

/* FLOW DIAGRAM */
.flow-diagram {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  padding: 32px 0;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 32px;
  margin-top: 32px;
}

.flow-stage {
  flex-shrink: 0;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 20px;
  min-width: 200px;
}

.flow-title {
  font-size: 12px;
  color: #6B7280;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.flow-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-item {
  font-size: 13px;
  color: #374151;
  background: white;
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid #E5E7EB;
  text-align: center;
}

.flow-item.accepted {
  background: #D1FAE5;
  color: #065F46;
  border-color: #6EE7B7;
}

.flow-item.rejected {
  background: #FEE2E2;
  color: #7F1D1D;
  border-color: #FECACA;
}

.flow-arrow {
  flex-shrink: 0;
  font-size: 24px;
  color: #9CA3AF;
}

/* PROCESS FLOW */
.process-flow {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 180px;
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #2563EB;
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.step-content h4 {
  font-size: 14px;
  color: #111827;
  margin-bottom: 8px;
  font-weight: 600;
}

.step-content p {
  font-size: 13px;
  color: #6B7280;
}

/* COMPARISON TABLE */
.comparison-table {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 32px;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #F9FAFB;
  border-bottom: 2px solid #E5E7EB;
  font-weight: 600;
}

.header-cell {
  padding: 16px;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid #E5E7EB;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comp-cell {
  padding: 16px;
  font-size: 14px;
  color: #374151;
}

.comparison-header + .comparison-row .comp-cell:nth-child(3) {
  color: #10B981;
  font-weight: 500;
}

/* DECISION OUTCOMES */
.decision-outcomes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.outcome {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}

.outcome.accept {
  border-color: #10B981;
  background: #F0FDF4;
}

.outcome.accept h3 {
  color: #065F46;
  font-size: 24px;
}

.outcome.reject {
  border-color: #EF4444;
  background: #FEF2F2;
}

.outcome.reject h3 {
  color: #7F1D1D;
  font-size: 24px;
}

.outcome p {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* AUTH SECTION */
.auth-section {
  padding: 60px 0;
  min-height: calc(100vh - 200px);
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.auth-form {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 40px;
}

.auth-form h2 {
  font-size: 28px;
  color: #111827;
  margin-bottom: 8px;
  font-weight: 700;
}

.auth-form > p {
  color: #6B7280;
  margin-bottom: 32px;
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: 14px;
  color: #374151;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-remember, .form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
}

.form-remember {
  justify-content: space-between;
}

.form-checkbox {
  margin-bottom: 24px;
}

.form-remember input, .form-checkbox input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.forgot-link {
  color: #2563EB;
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: #1D4ED8;
}

.form-checkbox label {
  margin: 0;
  cursor: pointer;
}

.form-checkbox a {
  color: #2563EB;
  text-decoration: none;
}

.auth-divider {
  text-align: center;
  margin: 24px 0;
  font-size: 13px;
  color: #9CA3AF;
}

.auth-footer {
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
  color: #9CA3AF;
}

.auth-footer a {
  color: #2563EB;
  text-decoration: none;
}

.auth-info {
  padding: 40px;
}

.auth-info h3 {
  font-size: 24px;
  color: #111827;
  margin-bottom: 12px;
  font-weight: 700;
}

.auth-info p {
  color: #6B7280;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.8;
}

/* DASHBOARD */
.dashboard-section {
  padding: 60px 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.metric-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.metric-card h3 {
  font-size: 13px;
  color: #6B7280;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.metric-value {
  font-size: 32px;
  color: #2563EB;
  font-weight: 700;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 12px;
  color: #9CA3AF;
}

.dashboard-section-box {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
}

.dashboard-section-box h2 {
  margin-bottom: 24px;
}

.trades-table, .signals-table, .notifications-list {
  min-height: 200px;
  color: #6B7280;
  font-size: 14px;
}

/* CTA SECTION */
.cta {
  background: linear-gradient(135deg, #0A1F44 0%, #001F44 100%);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta.blue-theme {
  background: linear-gradient(135deg, #0A1F44 0%, #001F44 100%);
}

.cta.purple-theme {
  background: linear-gradient(135deg, #0A1F44 0%, #001F44 100%);
}

.cta.pink-theme {
  background: linear-gradient(135deg, #0A1F44 0%, #001F44 100%);
}

.cta.dark-theme {
  background: linear-gradient(135deg, #0A1F44 0%, #001F44 100%);
}

.cta-section {
  background: linear-gradient(135deg, #0A1F44 0%, #001F44 100%);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  color: white;
  font-size: 36px;
  margin-bottom: 12px;
}

.cta p {
  color: #D1D5DB;
  font-size: 16px;
  margin-bottom: 32px;
}

.cta-section h2 {
  color: white;
  font-size: 36px;
  margin-bottom: 12px;
}

.cta-section p {
  color: #D1D5DB;
  font-size: 16px;
  margin-bottom: 32px;
}

/* MOBILE APP DOWNLOADS */
.mobile-apps {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border-bottom: 1px solid #BAE6FD;
}

.mobile-apps h2 {
  color: #0C4A6E;
}

.mobile-apps .section-subtitle {
  color: #0369A1;
}

.app-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.app-download-card {
  background: white;
  border: 2px solid #BAE6FD;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.app-download-card:hover {
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
  transform: translateY(-4px);
  border-color: #2563EB;
}

.app-icon-large {
  font-size: 64px;
  margin-bottom: 16px;
}

.app-download-card h3 {
  font-size: 18px;
  color: #0C4A6E;
  margin-bottom: 8px;
  font-weight: 600;
}

.app-download-card p {
  font-size: 14px;
  color: #0369A1;
  margin-bottom: 20px;
}

/* ABOUT PAGE SECTIONS */
.about-intro {
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  color: #1E3A8A;
  margin-bottom: 20px;
  font-size: 32px;
}

.about-content p {
  font-size: 15px;
  color: #334155;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-content strong {
  color: #2563EB;
}

/* STORY GRID */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.story-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 28px;
  border-left: 4px solid #2563EB;
  transition: all 0.3s ease;
}

.story-card:hover {
  border-left-color: #7C3AED;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.story-card h3 {
  color: #111827;
  margin-bottom: 12px;
  font-size: 18px;
}

.story-card p {
  color: #6B7280;
  margin-bottom: 16px;
  font-size: 14px;
}

/* VALUES GRID */
.team-values {
  background: linear-gradient(135deg, #F5F3FF 0%, #FAF5FF 100%);
}

.team-values h2 {
  color: #6B21A8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  background: white;
  border: 1px solid #E9D5FF;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: all 0.3s ease;
}

.value-card:hover {
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
  transform: translateY(-2px);
}

.value-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.value-content h4 {
  color: #1F2937;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
}

.value-content p {
  color: #6B7280;
  font-size: 13px;
  line-height: 1.6;
}

/* TECHNOLOGY SECTION */
.technology {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
}

.technology h2 {
  color: #15803D;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.tech-card {
  background: white;
  border: 2px solid #86EFAC;
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s ease;
}

.tech-card:hover {
  border-color: #10B981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.tech-card h3 {
  color: #065F46;
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: 600;
}

.tech-card p {
  color: #047857;
  font-size: 13px;
  line-height: 1.6;
}

/* COMMITMENT SECTION */
.commitment-box {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 28px;
  border-left: 4px solid #2563EB;
}

.commitment-box:last-child {
  margin-bottom: 0;
  border-left-color: #10B981;
}

.commitment-box h3 {
  color: #111827;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
}

.commitment-box p {
  color: #6B7280;
  margin-bottom: 16px;
  font-size: 14px;
}

/* CONTACT PAGE */
.contact-main {
  background: #FFFFFF;
}

.contact-main.light-theme {
  background: #FFFFFF;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}

.contact-form-box, .contact-info-box {
  background: white;
  border-radius: 8px;
  padding: 32px;
}

.contact-form-box {
  border: 1px solid #E5E7EB;
}

.contact-info-box {
  border: 1px solid #E5E7EB;
}

.contact-form-box h2, .contact-info-box h2 {
  color: #111827;
  margin-bottom: 28px;
  font-size: 22px;
  font-weight: 600;
}

.contact-form-box h3, .contact-info-box h3 {
  color: #111827;
  margin-bottom: 28px;
  font-size: 20px;
  font-weight: 600;
}

.contact-item {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid #E5E7EB;
}

.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-item h4 {
  color: #1F2937;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-item p {
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 8px;
}

.contact-item a {
  color: #3B82F6;
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  color: #2563EB;
}

.contact-desc {
  color: #9CA3AF;
  font-size: 12px;
  margin-top: 4px;
}

.info-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 16px;
  margin-top: 16px;
}

.info-card h4 {
  color: #1F2937;
  margin-bottom: 8px;
}

.info-card p {
  color: #6B7280;
  font-size: 12px;
}

/* FORM STYLING */
.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form .form-group {
  margin-bottom: 24px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: 14px;
  color: #374151;
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: #F59E0B;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.contact-form select {
  cursor: pointer;
}

/* FAQ */
.faq-theme {
  background: #FFFFFF;
}

.faq-section {
  background: #FFFFFF;
}

.faq-theme h2 {
  color: #7F1D1D;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.faq-item {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #3B82F6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.faq-item h4 {
  color: #1F2937;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 600;
}

.faq-item p {
  color: #6B7280;
  font-size: 13px;
  line-height: 1.6;
}

.footer {
  background: #1F2937;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  align-items: start;
}

.footer-section h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
}

.footer-section p {
  color: #D1D5DB;
  margin-bottom: 16px;
}

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

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

.footer-section a {
  color: #93C5FD;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #374151;
  text-align: center;
}

.footer-bottom p {
  color: #9CA3AF;
  font-size: 14px;
}

/* RESPONSIVE */
/* ENGINE SHOWCASE SECTION */
.engines-showcase-section {
  background: linear-gradient(135deg, #F8FAFC 0%, #F0F9FF 100%);
  padding: 80px 0;
  border-top: 1px solid #E0F2FE;
  border-bottom: 1px solid #E0F2FE;
}

/* PORTFOLIO SHOWCASE SECTION */
.portfolio-showcase-section {
  background: linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 100%);
  padding: 80px 0;
  border-top: 1px solid #E9D5FF;
  border-bottom: 1px solid #E9D5FF;
}

.portfolio-showcase-title {
  color: #6B21A8 !important;
}

.portfolio-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

.portfolio-widget {
  background: linear-gradient(135deg, #F3E8FF 0%, #EDE9FE 100%);
  border-image: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%) 1;
}

.portfolio-widget:hover {
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.25);
}

.portfolio-widget .widget-title-group h3 {
  color: #7C3AED;
}

.portfolio-badge {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  color: #7C3AED;
  border: 1px solid #D8B4FE;
}

.portfolio-widget .feature-icon {
  color: #7C3AED;
}

/* COMPLETE INTELLIGENCE STACK SECTION */
.complete-synergy-section {
  text-align: center;
  padding: 0 20px;
}

.complete-synergy-title {
  font-size: 32px;
  color: #6B21A8;
  margin-bottom: 40px;
  font-weight: 700;
}

.intelligence-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 40px 30px;
  background: linear-gradient(135deg, #FAFBFC 0%, #F0F9FF 100%);
  border-radius: 12px;
  border: 2px solid #E0F2FE;
}

.pillar {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  padding: 20px 16px;
  min-width: 100px;
  transition: all 0.3s ease;
}

.pillar-die {
  border-color: #BFDBFE;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}

.pillar-die:hover {
  border-color: #3B82F6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.pillar-die .pillar-label {
  color: #3B82F6;
}

.pillar-gmie {
  border-color: #A7F3D0;
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
}

.pillar-gmie:hover {
  border-color: #10B981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
  transform: translateY(-2px);
}

.pillar-gmie .pillar-label {
  color: #10B981;
}

.pillar-portfolio {
  border-color: #D8B4FE;
  background: linear-gradient(135deg, #F3E8FF 0%, #EDE9FE 100%);
}

.pillar-portfolio:hover {
  border-color: #7C3AED;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
  transform: translateY(-2px);
}

.pillar-portfolio .pillar-label {
  color: #7C3AED;
}

.pillar-framework {
  border-color: #1E40AF;
  background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%);
}

.pillar-framework:hover {
  border-color: #0C4A6E;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
  transform: translateY(-2px);
}

.pillar-framework .pillar-label,
.pillar-framework .pillar-subtext {
  color: #FFFFFF;
}

.pillar-label {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.pillar-subtext {
  font-size: 11px;
  color: #6B7280;
  line-height: 1.4;
  font-weight: 500;
}

.pillar-connector {
  font-size: 20px;
  color: #9CA3AF;
  font-weight: 600;
}

.stack-description {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* RESPONSIVE STACK */
@media (max-width: 1024px) {
  .intelligence-pillars {
    padding: 32px 24px;
    gap: 12px;
  }
  
  .pillar {
    min-width: 90px;
    padding: 16px 12px;
  }
  
  .pillar-label {
    font-size: 14px;
  }
  
  .pillar-subtext {
    font-size: 10px;
  }
}

.showcase-title {
  font-size: 40px;
  color: #0C4A6E;
  text-align: center;
  margin-bottom: 12px;
  font-weight: 700;
}

.showcase-subtitle {
  font-size: 16px;
  color: #0369A1;
  text-align: center;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.engines-showcase {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
}

.engine-widget {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px solid #E0F2FE;
}

.engine-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 100%);
  pointer-events: none;
}

.engine-widget:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
  border-color: #93C5FD;
}

.die-widget {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border-image: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) 1;
}

.die-widget:hover {
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.25);
}

.gmie-widget {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border-image: linear-gradient(135deg, #10B981 0%, #059669 100%) 1;
}

.gmie-widget:hover {
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.25);
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-bottom: 1px solid #E5E7EB;
  background: rgba(255, 255, 255, 0.8);
}

.engine-icon {
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.widget-title-group {
  flex: 1;
}

.widget-title-group h3 {
  font-size: 22px;
  margin: 0;
  font-weight: 700;
}

.die-widget .widget-title-group h3 {
  color: #3B82F6;
}

.gmie-widget .widget-title-group h3 {
  color: #10B981;
}

.engine-acronym {
  font-size: 12px;
  color: #6B7280;
  margin: 4px 0 0 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.widget-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  margin: 0 24px;
  margin-top: -8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.die-badge {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
  color: #3B82F6;
  border: 1px solid #BFDBFE;
}

.gmie-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
  color: #10B981;
  border: 1px solid #A7F3D0;
}

.widget-content {
  flex: 1;
  padding: 28px 24px;
}

.widget-description {
  font-size: 15px;
  color: #374151;
  margin-bottom: 20px;
  line-height: 1.6;
  font-weight: 500;
}

.widget-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #4B5563;
}

.feature-icon {
  flex-shrink: 0;
  font-weight: 700;
}

.die-widget .feature-icon {
  color: #3B82F6;
}

.gmie-widget .feature-icon {
  color: #10B981;
}

.widget-footer {
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid #E5E7EB;
  text-align: center;
}

.confidence-label {
  font-size: 12px;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ENGINE SYNERGY SECTION */
.engine-synergy {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border-radius: 12px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 400px;
  border: 2px solid #334155;
  position: relative;
  overflow: hidden;
}

.engine-synergy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  pointer-events: none;
}

.synergy-content {
  position: relative;
  z-index: 1;
}

.synergy-title {
  font-size: 32px;
  color: #FFFFFF;
  margin: 0 0 24px 0;
  font-weight: 700;
  line-height: 1.3;
}

.synergy-equation {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 16px 0;
  letter-spacing: 1px;
}

/* PRICING SECTION */
.pricing-section {
  background: #FFFFFF;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 80px;
}

.pricing-card {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: #3B82F6;
  background: linear-gradient(135deg, #F8FAFC 0%, #F0F9FF 100%);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.2);
}

.pricing-badge {
  display: inline-block;
  background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 100%);
  color: #374151;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  width: fit-content;
}

.pricing-badge.popular {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: white;
}

.pricing-card h3 {
  font-size: 24px;
  color: #111827;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.currency {
  font-size: 20px;
  color: #6B7280;
  font-weight: 600;
}

.price {
  font-size: 48px;
  color: #3B82F6;
  font-weight: 700;
}

.period {
  font-size: 14px;
  color: #6B7280;
  font-weight: 600;
}

.pricing-description {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 24px;
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  flex: 1;
}

.pricing-features li {
  font-size: 14px;
  color: #374151;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  font-weight: 500;
}

.pricing-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10B981;
  font-weight: bold;
  font-size: 16px;
}

.pricing-card .btn {
  margin-top: auto;
}

/* PRICING COMPARISON TABLE */
.pricing-comparison {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  padding: 32px;
  margin-top: 60px;
}

.pricing-comparison h3 {
  font-size: 22px;
  color: #111827;
  margin-bottom: 28px;
  font-weight: 700;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 16px;
  background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
  padding: 16px;
  border-radius: 8px 8px 0 0;
  border-bottom: 2px solid #E5E7EB;
}

.header-cell {
  font-weight: 700;
  color: #111827;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #E5E7EB;
  align-items: center;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comp-cell {
  font-size: 14px;
  color: #374151;
  text-align: center;
}

.comparison-row:first-child .comp-cell:first-child {
  text-align: left;
  font-weight: 600;
  color: #111827;
}

.comparison-row .comp-cell:first-child {
  text-align: left;
  font-weight: 500;
  color: #1F2937;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-card {
    padding: 24px;
  }
  
  .pricing-amount {
    margin-bottom: 12px;
  }
  
  .price {
    font-size: 36px;
  }
  
  .pricing-features li {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
  }
  
  .header-cell,
  .comp-cell {
    font-size: 12px;
  }
  
  .pricing-comparison {
    padding: 20px;
  }
}

.synergy-description {
  font-size: 14px;
  color: #E2E8F0;
  margin: 20px 0 16px 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.synergy-detail {
  font-size: 14px;
  color: #CBD5E1;
  line-height: 1.7;
  max-width: 280px;
}

/* RESPONSIVE GRID */
@media (max-width: 1024px) {
  .engines-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .engine-synergy {
    grid-column: 1 / -1;
    min-height: 300px;
    padding: 40px 28px;
  }
  
  .synergy-title {
    font-size: 28px;
  }
  
  .synergy-equation {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .engines-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .engine-synergy {
    grid-column: 1;
    min-height: 280px;
    padding: 32px 24px;
  }
  
  .showcase-title {
    font-size: 28px;
  }
  
  .showcase-subtitle {
    font-size: 14px;
    margin-bottom: 40px;
  }
  
  .synergy-title {
    font-size: 24px;
  }
  
  .synergy-equation {
    font-size: 20px;
  }
  
  .widget-header {
    padding: 20px 16px;
  }
  
  .widget-content {
    padding: 20px 16px;
  }
  
  .widget-badge {
    margin: 0 16px;
    margin-top: -6px;
  }
  
  .portfolio-showcase {
    max-width: 100%;
    margin-bottom: 40px;
  }
  
  .complete-synergy-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  .intelligence-pillars {
    flex-direction: column;
    gap: 12px;
    padding: 24px 16px;
  }
  
  .pillar {
    width: 100%;
    min-width: unset;
  }
  
  .pillar-connector {
    display: none;
  }
  
  .stack-description {
    font-size: 13px;
    padding: 0 12px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .app-download-grid {
    grid-template-columns: 1fr;
  }
}

/* PIPORIX BRANDING SECTION */
.piporix-branding {
  background: linear-gradient(135deg, #0A1F44 0%, #001F44 100%);
  color: white;
  padding: 80px 0;
  border-bottom: 3px solid #2563EB;
}

.branding-banner {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.branding-badge {
  display: inline-block;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(37, 99, 235, 0.5);
}

.branding-headline {
  font-size: 48px;
  color: #FFFFFF;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, #FFFFFF 0%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.branding-subheading {
  font-size: 20px;
  color: #93C5FD;
  margin-bottom: 40px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.branding-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.branding-feature {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.branding-feature:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.feature-emoji {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.feature-text {
  font-size: 14px;
  color: #BFDBFE;
  line-height: 1.6;
}

.feature-text strong {
  color: #FFFFFF;
  display: block;
  margin-bottom: 4px;
}

.branding-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* RESPONSIVE BRANDING */
@media (max-width: 1024px) {
  .branding-headline {
    font-size: 36px;
  }
  
  .branding-subheading {
    font-size: 18px;
  }
  
  .branding-features {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .piporix-branding {
    padding: 60px 0;
  }
  
  .branding-headline {
    font-size: 28px;
  }
  
  .branding-subheading {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .branding-features {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
  }
  
  .branding-feature {
    padding: 16px;
  }
  
  .feature-emoji {
    font-size: 24px;
    margin-bottom: 8px;
  }
  
  .feature-text {
    font-size: 12px;
  }
}

/* LOGO FALLBACK - Fix for missing logo on live site */
.logo {
  max-width: 120px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Fallback if logo doesn't load */
.logo-section::before {
  content: 'PipOrix';
  display: none;
  font-size: 18px;
  font-weight: 700;
  color: #0A1F44;
  letter-spacing: 2px;
}

.logo-section img:not([src]),
.logo-section img[src=""],
.logo-section img.logo-error {
  display: none;
}

.logo-section:has(img[src=""]) ::before {
  display: block;
}
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.flow-box {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  padding-top: 60px;
}

.flow-box:hover {
  border-color: #2563EB;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.flow-step {
  position: absolute;
  top: -16px;
  left: 32px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.flow-box h3 {
  font-size: 18px;
  color: #111827;
  margin-bottom: 16px;
  font-weight: 600;
}

.flow-box p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.8;
}

/* DECISION OUTCOMES */
.decision-outcomes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.outcome {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}

.outcome.accept {
  border-color: #10B981;
  background: #F0FDF4;
}

.outcome.accept h3 {
  color: #065F46;
  font-size: 24px;
}

.outcome.reject {
  border-color: #EF4444;
  background: #FEF2F2;
}

.outcome.reject h3 {
  color: #7F1D1D;
  font-size: 24px;
}

.outcome.modify {
  border-color: #F59E0B;
  background: #FFFBEB;
}

.outcome.modify h3 {
  color: #92400E;
  font-size: 24px;
}

.outcome p {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.outcome ul {
  list-style: none;
  padding: 0;
}

.outcome li {
  font-size: 13px;
  color: #374151;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.outcome.accept li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10B981;
  font-weight: bold;
}

.outcome.reject li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #EF4444;
  font-weight: bold;
}

.outcome.modify li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  color: #F59E0B;
}

.audit-section {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 32px;
  margin-top: 48px;
}

.audit-section h3 {
  font-size: 18px;
  color: #111827;
  margin-bottom: 12px;
  font-weight: 600;
}

.audit-section p {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 20px;
}

/* RESPONSIVE DECISION FLOW */
@media (max-width: 768px) {
  .decision-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .flow-box {
    padding: 28px;
    padding-top: 56px;
  }
  
  .flow-step {
    width: 44px;
    height: 44px;
    font-size: 18px;
    top: -12px;
  }
}
/* WHY PIPORIX SECTION */
.why-piporix {
  background: white;
}

.why-card {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border: 2px solid #BFDBFE;
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: #2563EB;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
  transform: translateY(-4px);
  background: linear-gradient(135deg, #E0F2FE 0%, #BFDBFE 100%);
}

.why-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.why-card h3 {
  font-size: 16px;
  color: #0C4A6E;
  margin-bottom: 12px;
  font-weight: 600;
}

.why-card p {
  font-size: 14px;
  color: #0369A1;
  line-height: 1.6;
  margin: 0;
}

/* CONSENT MODAL */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 8px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
  font-size: 24px;
  color: #0A1F44;
  margin-bottom: 16px;
  font-weight: 700;
}

.modal-content > p {
  font-size: 14px;
  color: #475569;
  margin-bottom: 24px;
}

.consent-check {
  margin-bottom: 16px;
}

.consent-check label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
  line-height: 1.5;
}

.consent-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin-top: 3px;
  flex-shrink: 0;
}

#acceptBtn {
  width: 100%;
  margin-top: 24px;
}

/* PRICING PAGE */
.pricing-section {
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.pricing-card {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.highlight {
  border-color: #2563EB;
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.15);
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563EB;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

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

.pricing-header h2 {
  margin: 0 0 12px 0;
  font-size: 20px;
  color: #0A1F44;
}

.price {
  font-size: 36px;
  font-weight: 700;
  color: #2563EB;
}

.price span {
  font-size: 16px;
  color: #6B7280;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  text-align: left;
}

.pricing-features li {
  font-size: 14px;
  color: #475569;
  padding: 10px 0;
  border-bottom: 1px solid #E5E7EB;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #F9FAFB;
  border-left: 4px solid #2563EB;
  padding: 24px;
  margin-bottom: 16px;
  border-radius: 4px;
}

.faq-item h3 {
  margin: 0 0 12px 0;
  color: #0A1F44;
  font-size: 16px;
}

.faq-item p {
  margin: 0;
  color: #475569;
  font-size: 14px;
}

/* LEGAL CONTENT */
.legal-content {
  background: white;
}

.legal-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
}

.legal-text h2 {
  font-size: 22px;
  color: #0A1F44;
  margin: 32px 0 16px 0;
  font-weight: 700;
}

.legal-text h2:first-child {
  margin-top: 0;
}

.legal-text p {
  margin: 0 0 16px 0;
}

.legal-text ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-text li {
  margin-bottom: 8px;
}

.hero-page {
  background: linear-gradient(135deg, #0A1F44 0%, #001F44 100%);
  padding: 60px 0;
  border-bottom: 1px solid #1E40AF;
}

.hero-page h1 {
  font-size: 40px;
  color: #FFFFFF;
  margin-bottom: 12px;
  font-weight: 700;
}

.hero-page p {
  font-size: 16px;
  color: #93C5FD;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .pricing-card.highlight {
    transform: scale(1);
  }
  
  .legal-text {
    font-size: 14px;
  }
  
  .modal-content {
    padding: 24px;
    margin: 20px;
  }
}

/* COMPLIANCE & SIGNUP IMPROVEMENTS */
.regulatory-section {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
}

.regulatory-section h3 {
  font-size: 16px;
  color: #0A1F44;
  margin-bottom: 12px;
  font-weight: 600;
}

.compliance-checkbox {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.compliance-checkbox:hover {
  border-color: #2563EB;
  background: #F0F9FF;
}

.compliance-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 8px;
}

.compliance-checkbox input[type='checkbox'] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #2563EB;
  flex-shrink: 0;
}

.checkbox-label {
  font-size: 14px;
  color: #111827;
  font-weight: 500;
  line-height: 1.5;
}

.checkbox-label a {
  color: #2563EB;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.checkbox-label a:hover {
  color: #1D4ED8;
}

.required {
  color: #EF4444;
  font-weight: 700;
}

.checkbox-description {
  font-size: 12px;
  color: #6B7280;
  margin: 8px 0 0 32px;
  line-height: 1.5;
}

.auth-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.auth-benefits li {
  padding: 16px 0;
  border-bottom: 1px solid #E5E7EB;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.auth-benefits li strong {
  color: #0A1F44;
  display: block;
  margin-bottom: 4px;
}

.auth-benefits li:last-child {
  border-bottom: none;
}

.auth-security {
  background: #F0FDF4;
  border: 1px solid #BBFD5A;
  border-radius: 6px;
  padding: 16px;
  margin-top: 24px;
}

.auth-security h4 {
  color: #15803D;
  margin: 0 0 8px 0;
  font-size: 14px;
}

.auth-security p {
  color: #166534;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

/* FOOTER IMPROVEMENTS */
.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
}

.footer-bottom a:hover {
  opacity: 0.8;
}

/* FORM STYLING ENHANCEMENTS */
.form-group input:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#signupSubmit:disabled {
  background: #D1D5DB;
  cursor: not-allowed;
  opacity: 0.6;
}

#signupSubmit:enabled {
  cursor: pointer;
}

#signupSubmit:enabled:hover {
  background: #1D4ED8;
}
