/* Unified Modern Styling for Flex Financial Reporting */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* Font optimization for better rendering */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Optimize text rendering for headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

/* =============================================================================
   BASE STYLES
   ============================================================================= */

/* Global font family */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* =============================================================================
   AUTHENTICATION PAGES (Login/Register)
   ============================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Catamaran:wght@300;400;500;700&family=Karla:wght@400;500;700&display=swap");

/* Auth card styling */
.auth-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 40px;
  margin-top: 30px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.auth-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* Auth headings */
.auth-card h2 {
  font-family: "Catamaran", sans-serif;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
  font-size: 28px;
  text-align: center;
}

/* Auth form groups */
.auth-form .form-group {
  margin-bottom: 20px;
  position: relative;
  animation: slideInFromLeft 0.5s ease-out;
  animation-fill-mode: both;
}

.auth-form .form-group:nth-child(1) {
  animation-delay: 0.1s;
}
.auth-form .form-group:nth-child(2) {
  animation-delay: 0.2s;
}
.auth-form .form-group:nth-child(3) {
  animation-delay: 0.3s;
}
.auth-form .form-group:nth-child(4) {
  animation-delay: 0.4s;
}
.auth-form .form-group:nth-child(5) {
  animation-delay: 0.5s;
}
.auth-form .form-group:nth-child(6) {
  animation-delay: 0.6s;
}

/* Auth labels */
.auth-form .control-label {
  font-family: "Karla", sans-serif;
  font-weight: 500;
  color: #555;
  margin-bottom: 8px;
  display: block;
  width: 100%;
  text-align: left;
}

/* Auth inputs */
.auth-form .form-control {
  height: 48px;
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 10px 15px;
  font-size: 16px;
  width: 100%;
  box-shadow: none;
  transition: all 0.3s ease;
}

.auth-form .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Auth buttons */
.auth-form .btn {
  height: 50px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 24px;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 15px;
  border: none;
  position: relative;
  overflow: hidden;
}

.auth-form .btn:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

.auth-form .btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-form .btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.auth-form .btn-primary:hover::before {
  left: 100%;
}

.auth-form .btn-primary:hover,
.auth-form .btn-primary:focus {
  background: linear-gradient(135deg, #2c3136, #1e2328);
  box-shadow: 0 6px 20px rgba(52, 58, 64, 0.4);
  transform: translateY(-2px);
}

.auth-form .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(52, 58, 64, 0.3);
}

/* Auth checkbox styling */
.auth-form .checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.auth-form .checkbox input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
  transition: all 0.3s ease;
}

.auth-form .checkbox label {
  font-weight: normal;
  color: #555;
}

/* Auth links */
.auth-form a {
  color: #667eea;
  transition: all 0.2s ease;
  text-decoration: none;
}

.auth-form a:hover {
  color: #5a67d8;
  text-decoration: underline;
}

.auth-links {
  margin-top: 20px;
}

.auth-links p {
  margin-bottom: 10px;
}

/* Separator styling */
.separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 25px 0;
  color: #777;
  font-size: 14px;
}

.separator::before,
.separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ddd;
}

.separator:not(:empty)::before {
  margin-right: 1em;
}

.separator:not(:empty)::after {
  margin-left: 1em;
}

/* SSO button container */
.sso-container {
  margin: 25px 0;
  display: flex;
  justify-content: center;
}

.sso-container [data-xero-sso] {
  transition: all 0.3s ease;
  overflow: hidden;
}

.sso-container [data-xero-sso]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Recaptcha container */
.recaptcha-container {
  margin: 20px 0;
  display: flex;
  justify-content: center;
}

/* Enhanced form group states */
.auth-form .form-group.focused .form-control {
  border-color: #343a40;
  box-shadow: 0 0 0 3px rgba(52, 58, 64, 0.15);
}

.auth-form .form-group.filled .control-label {
  color: #343a40;
  font-weight: 600;
}

/* Loading state for form submission */
.auth-form.loading .btn-primary {
  background: #ccc;
  cursor: not-allowed;
  position: relative;
}

.auth-form.loading .btn-primary::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Auth animations */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes errorAttention {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.auth-form .form-group.error-attention {
  animation: errorAttention 0.5s ease-in-out;
}

/* Auth responsive */
@media (max-width: 768px) {
  .auth-card {
    padding: 20px;
  }

  .auth-form .btn {
    height: 44px;
    font-size: 15px;
  }
}

/* =============================================================================
   SUPPORT PAGE STYLES
   ============================================================================= */

/* Support page container */
.support-container {
  padding: 0;
  font-family: "Inter", sans-serif;
}

/* Support hero section */
.support-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c3136 50%, #343a40 100%);
  padding: 100px 0;
  text-align: center;
  color: white;
  overflow: hidden;
}

.support-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="support-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23667eea" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23support-grain)"/></svg>')
    repeat;
  pointer-events: none;
}

.support-hero .section-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

.support-hero h1 {
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.support-hero .hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.6;
  max-width: 700px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Support hero accent elements */
.support-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #fdcc52);
}

/* Clean section styling */
.support-section {
  width: 100%;
  padding: 60px 0;
  margin-bottom: 0;
}

.support-section:first-child {
  background-color: #f8f9fa;
}

.support-section:nth-child(2) {
  background-color: #ffffff;
  border-top: 1px solid #e9ecef;
}

.support-section:nth-child(3) {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.support-section:last-child {
  margin-bottom: 0;
}

/* Content wrapper inside sections */
.section-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Support headings */
.support-section h2 {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 30px;
  font-size: 36px;
  letter-spacing: -0.02em;
  text-align: center;
}

.support-section h3 {
  font-weight: 500;
  color: #343a40;
  margin-bottom: 20px;
  font-size: 24px;
  letter-spacing: -0.01em;
  text-align: center;
}

/* Video container */
.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Support content */
.support-content {
  font-size: 16px;
  line-height: 1.7;
  color: #495057;
}

.support-content p {
  margin-bottom: 16px;
}

/* Quick Resources Grid Styling */
.support-content h4 {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 10px;
}

.support-content ul {
  list-style: none;
  padding: 0;
}

.support-content li {
  margin-bottom: 8px;
}

/* Support links */
.support-content a {
  color: #343a40;
  text-decoration: underline;
  text-decoration-color: #dee2e6;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.support-content a:hover {
  color: #212529;
  text-decoration-color: #343a40;
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
  .support-content div[style*="grid"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

/* Support responsive */
@media (max-width: 768px) {
  .support-hero {
    padding: 80px 0;
  }

  .support-hero h1 {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 20px;
  }

  .support-hero .hero-subtitle {
    font-size: clamp(16px, 4vw, 18px);
    padding: 0 20px;
  }

  .support-section {
    padding: 40px 0;
  }

  .section-content {
    padding: 0 20px;
  }

  .support-section h2 {
    font-size: 28px;
  }

  .support-section h3 {
    font-size: 20px;
  }
}

/* =============================================================================
   DOCUMENTATION PAGES
   ============================================================================= */

/* Documentation container */
.documentation-container {
  font-family: "Inter", sans-serif;
}

/* Documentation main content */
.documentation-main {
  padding: 20px 0;
  max-width: none;
}

/* Documentation headings */
.documentation-main h1 {
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  font-size: 36px;
  letter-spacing: -0.02em;
  border-bottom: 3px solid #667eea;
  padding-bottom: 12px;
}

.documentation-main h2 {
  font-weight: 600;
  color: #343a40;
  margin: 24px 0 12px 0;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.documentation-main h3 {
  font-weight: 500;
  color: #495057;
  margin: 50px 0 8px 0;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.documentation-main h4 {
  font-weight: 500;
  color: #6c757d;
  margin: 30px 0 6px 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}

/* Documentation content */
.documentation-main p {
  font-size: 15px;
  line-height: 1.5;
  color: #374151;
  margin-bottom: 12px;
}

.documentation-main ol,
.documentation-main ul {
  font-size: 15px;
  line-height: 1.5;
  color: #374151;
  margin-bottom: 12px;
}

.documentation-main li {
  margin-bottom: 4px;
}

/* Documentation links */
.documentation-main a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.documentation-main a:hover {
  color: #5a67d8;
  text-decoration: underline;
}

/* Documentation images */
.documentation-main img.img-inline {
  margin: 12px 0;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.documentation-main img.img-thumbnail {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 4px;
}

/* Documentation callouts */
.bs-callout {
  padding: 12px 16px;
  margin: 16px 0;
  border-left: 4px solid #e5e7eb;
  border-radius: 0 6px 6px 0;
  background-color: #f8f9fa;
}

.bs-callout-info {
  border-left-color: #3b82f6;
  background-color: #eff6ff;
}

.bs-callout-danger {
  border-left-color: #ef4444;
  background-color: #fef2f2;
}

.bs-callout-warning {
  border-left-color: #f59e0b;
  background-color: #fffbeb;
}

.bs-callout-success {
  border-left-color: #22c55e;
  background-color: #f0fdf4;
}

/* Info Panel Styling */
.info-panel-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  margin: 16px 0;
  overflow: hidden;
}

.info-panel-tabs {
  display: flex;
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
}

.info-tab {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: #6c757d;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
}

.info-tab:hover {
  color: #495057;
  background: rgba(102, 126, 234, 0.05);
}

.info-tab.active {
  color: #667eea;
  background: white;
  border-bottom-color: #667eea;
}

.info-panel-content {
  position: relative;
}

.info-tab-pane {
  display: none;
  padding: 16px 20px;
}

.info-tab-pane.active {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: white;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-icon.warning {
  background-color: #f59e0b;
}

.info-icon.info {
  background-color: #3b82f6;
}

.info-icon.danger {
  background-color: #ef4444;
}

.info-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.5;
  color: #374151;
}

.info-text strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* Responsive info panel */
@media (max-width: 768px) {
  .info-panel-tabs {
    flex-direction: column;
  }

  .info-tab {
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    border-right: none;
  }

  .info-tab.active {
    border-bottom-color: #e5e7eb;
    border-left: 3px solid #667eea;
  }

  .info-tab-pane.active {
    flex-direction: column;
    gap: 8px;
  }

  .info-icon {
    font-size: 18px;
  }
}

/* Documentation navigation */
.section-nav {
  position: static;
  background: white;
  border-right: 1px solid #e5e7eb;
}

/* Navigation header */
.nav-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.nav-header h4 {
  margin: 0 0 4px 0;
  font-weight: 600;
  font-size: 18px;
  color: white;
}

.nav-subtitle {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

/* Navigation list */
.nav-list {
  list-style: none;
  padding: 16px;
  margin: 0;
}

.nav-list > li {
  margin-bottom: 12px;
}

.nav-list > li:last-child {
  margin-bottom: 0;
}

.nav-list > li > a {
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 15px;
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid #e5e7eb;
  transition: color 0.2s ease;
}

.nav-list > li > a:hover {
  color: #667eea;
}

/* Nested navigation items */
.nav-list ul {
  list-style: none;
  margin: 8px 0 0 0;
  padding-left: 16px;
}

.nav-list ul li {
  margin-bottom: 4px;
}

.nav-list ul a {
  color: #6b7280;
  text-decoration: none;
  font-size: 13px;
  display: block;
  padding: 3px 0;
  transition: color 0.2s ease;
  line-height: 1.3;
}

.nav-list ul a:hover {
  color: #667eea;
}

/* Documentation responsive */
@media (max-width: 1200px) {
  .section-nav {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 32px;
  }
}

@media (max-width: 768px) {
  .documentation-main {
    padding: 20px 0;
  }

  .documentation-main h1 {
    font-size: 32px;
  }

  .documentation-main h2 {
    font-size: 24px;
  }

  .documentation-main h3 {
    font-size: 20px;
  }

  .section-nav {
    padding: 16px;
  }
}

/* =============================================================================
   PRICING PAGE STYLES
   ============================================================================= */

/* Pricing page container */
.pricing-container {
  font-family: "Inter", sans-serif;
}

/* Pricing hero section */
.pricing-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c3136 50%, #343a40 100%);
  padding: 100px 0;
  text-align: center;
  color: white;
  overflow: hidden;
}

.pricing-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pricing-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23667eea" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23pricing-grain)"/></svg>')
    repeat;
  pointer-events: none;
}

.pricing-hero .section-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

/* Pricing hero animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pricing-hero h1 {
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pricing-hero .hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.6;
  max-width: 700px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Pricing hero accent elements */
.pricing-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #fdcc52);
}

/* Pricing plans section */
.pricing-plans {
  padding: 80px 0;
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

/* Pricing cards */
.pricing-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  border: 2px solid #343a40;
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

/* Featured badge */
.featured-badge {
  position: absolute;
  top: 20px;
  right: 10px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Card header */
.pricing-card .card-header {
  padding: 40px 32px 32px;
  text-align: center;
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
}

.plan-name {
  font-size: 24px;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 12px;
}

.currency {
  font-size: 24px;
  font-weight: 500;
  color: #6c757d;
  margin-right: 4px;
}

.amount {
  font-size: 56px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
}

.period {
  font-size: 18px;
  font-weight: 500;
  color: #6c757d;
  margin-left: 4px;
}

.plan-price-au {
  font-size: 16px;
  color: #6c757d;
  font-weight: 500;
}

.gst-note {
  font-size: 14px;
  color: #9ca3af;
}

/* Card body */
.pricing-card .card-body {
  padding: 32px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 8px 0;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: #22c55e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
  margin-right: 16px;
  margin-top: 2px;
}

.feature-text {
  font-size: 16px;
  color: #374151;
  line-height: 1.5;
}

.btn-subscribe {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Trial notice */
.trial-notice {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin-bottom: 40px;
}

.trial-notice h4 {
  font-size: 24px;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 12px;
}

.trial-notice p {
  font-size: 16px;
  color: #3730a3;
  margin: 0;
  line-height: 1.6;
}

/* Pricing note */
.pricing-note {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.pricing-note p {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
  font-style: italic;
}

/* FAQ section */
.pricing-faq {
  background: #f8f9fa;
  padding: 80px 0;
}

.pricing-faq h2 {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 48px;
  font-size: 36px;
  letter-spacing: -0.02em;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.faq-item {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.faq-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 16px;
  line-height: 1.4;
}

.faq-item p {
  font-size: 16px;
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* Pricing responsive */
@media (max-width: 768px) {
  .pricing-hero {
    padding: 80px 0;
  }

  .pricing-hero h1 {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 20px;
  }

  .pricing-hero .hero-subtitle {
    font-size: clamp(16px, 4vw, 18px);
    padding: 0 20px;
  }

  .pricing-plans {
    padding: 60px 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }

  .pricing-card .card-header {
    padding: 32px 24px 24px;
  }

  .pricing-card .card-body {
    padding: 24px;
  }

  .amount {
    font-size: 48px;
  }

  .trial-notice {
    padding: 24px;
  }

  .trial-notice h4 {
    font-size: 20px;
  }

  .pricing-faq {
    padding: 60px 0;
  }

  .pricing-faq h2 {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-item {
    padding: 24px;
  }
}

/* =============================================================================
   FLEX DASHBOARD STYLES
   ============================================================================= */

/* Flex dashboard container */
.flex-dashboard {
  font-family: "Inter", sans-serif;
  padding: 20px 0;
}

/* Compact Header Bar */
.compact-header-bar {
  background: white;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
}

.header-title-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-title {
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.connection-badge {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.header-actions .btn {
  font-size: 12px;
  padding: 6px 12px;
}

/* Unified Action Bar */
.unified-action-bar {
  background: white;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
}

.primary-actions .btn-group {
  margin-right: 8px;
}

.secondary-actions .btn-group {
  gap: 4px;
}

.unified-action-bar .btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  margin-right: 4px;
}

.unified-action-bar .btn-sm:last-child {
  margin-right: 0;
}

/* Action bar */
.action-bar {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.action-bar .btn-group {
  margin-right: 12px;
  margin-bottom: 12px;
}

.action-bar .btn {
  border-radius: 6px;
  font-weight: 500;
  padding: 8px 12px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.action-bar .btn-success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: none;
  color: white;
}

.action-bar .btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.action-bar .btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  color: white;
}

.action-bar .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.action-bar .btn-outline-primary {
  border: 2px solid #667eea;
  color: #667eea;
  background: white;
}

.action-bar .btn-outline-primary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-1px);
}

.action-bar .btn-outline-secondary {
  border: 2px solid #6c757d;
  color: #6c757d;
  background: white;
}

.action-bar .btn-outline-secondary:hover {
  background: #6c757d;
  color: white;
  transform: translateY(-1px);
}

/* Connection status */
.connection-status {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  border-left: 4px solid #667eea;
}

.connection-status h4 {
  font-size: 18px;
  font-weight: 600;
  color: #343a40;
  margin: 0;
}

/* Early access section */
.early-access-section {
  margin-bottom: 32px;
}

.early-access-card {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.early-access-card .card-header {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 20px 24px;
  border-bottom: none;
}

.early-access-card .card-header h5 {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
}

.early-access-card .card-body {
  padding: 32px;
}

/* Installation steps */
.installation-steps {
  margin-top: 32px;
}

.step-item {
  position: relative;
}

.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 50px;
  bottom: -20px;
  width: 2px;
  background: #e5e7eb;
}

.step-number .badge {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.step-content h5 {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.step-content p {
  color: #6c757d;
  line-height: 1.6;
}

/* FAQ section */
.faq-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}

.faq-section h5 {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.faq-accordion .card {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin-bottom: 8px;
}

.faq-accordion .card-header {
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 16px;
}

.faq-accordion .btn-link {
  color: #343a40;
  text-decoration: none;
  font-weight: 500;
}

.faq-accordion .btn-link:hover {
  color: #667eea;
}

/* Connections table */
.connections-section {
  margin-top: 32px;
}

.table-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.nav-tabs {
  border-bottom: 2px solid #e5e7eb;
  background: #f8f9fa;
  margin: 0;
  padding: 0 24px;
}

.nav-tabs .nav-link {
  border: none;
  border-radius: 0;
  color: #6c757d;
  font-weight: 500;
  padding: 16px 24px;
  margin-right: 8px;
  transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
  color: #667eea;
  background: transparent;
  border-color: transparent;
}

.nav-tabs .nav-link.active {
  color: #667eea;
  background: white;
  border-color: transparent transparent #667eea transparent;
  border-bottom: 3px solid #667eea;
}

.tab-content {
  padding: 24px;
}

.table {
  margin: 0;
}

.table thead th {
  border-top: none;
  border-bottom: 2px solid #e5e7eb;
  font-weight: 600;
  color: #343a40;
  padding: 8px 12px;
  background: #f8f9fa;
  font-size: 14px;
}

.table tbody td {
  padding: 6px 12px;
  border-top: 1px solid #e5e7eb;
  vertical-align: middle;
  font-size: 14px;
  line-height: 1.4;
}

/* Small buttons for table actions */
.table .btn-sm {
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  font-weight: 500;
}

.table tbody tr:hover {
  background: #f8f9fa;
}

/* Refresh button */
.refresh-section {
  margin: 24px 0;
  text-align: right;
}

.refresh-section .btn {
  border-radius: 8px;
  font-weight: 500;
  padding: 10px 16px;
}

/* Alert improvements */
.alert {
  border-radius: 8px;
  border: none;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.alert-danger {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  color: #dc2626;
  border-left: 4px solid #dc2626;
}

.alert-success {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  color: #16a34a;
  border-left: 4px solid #16a34a;
}

.alert-info {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
  border-left: 4px solid #2563eb;
}

/* Responsive design */
@media (max-width: 768px) {
  .flex-dashboard {
    padding: 15px 0;
  }

  /* Compact header responsive */
  .compact-header-bar {
    padding: 12px 16px;
    margin-bottom: 12px;
  }

  .header-title-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .page-title {
    font-size: 20px;
  }

  .connection-badge {
    font-size: 11px;
    padding: 3px 8px;
  }

  /* Unified action bar responsive */
  .unified-action-bar {
    padding: 12px 16px;
    margin-bottom: 16px;
  }

  .unified-action-bar .d-flex {
    flex-direction: column;
    gap: 12px;
  }

  .primary-actions,
  .secondary-actions {
    width: 100%;
  }

  .unified-action-bar .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
  }

  .unified-action-bar .btn-sm {
    flex: 1;
    min-width: 120px;
    margin-right: 0;
    font-size: 12px;
    padding: 8px 6px;
  }

  .dashboard-header h2 {
    font-size: 28px;
  }

  .action-bar {
    padding: 16px;
  }

  .action-bar .btn-group {
    width: 100%;
    margin-bottom: 8px;
  }

  .action-bar .btn {
    width: 100%;
    margin-bottom: 8px;
  }

  .early-access-card .card-body {
    padding: 20px;
  }

  .step-item .d-flex {
    flex-direction: column;
  }

  .step-number {
    margin-bottom: 16px;
  }

  .nav-tabs {
    padding: 0 16px;
  }

  .tab-content {
    padding: 16px;
  }

  .table-container {
    border-radius: 8px;
  }

  .table thead th,
  .table tbody td {
    padding: 8px 6px;
    font-size: 13px;
  }
}

/* =============================================================================
   CUSTOMER REVIEWS SECTION
   ============================================================================= */

/* Customer reviews section */
.customer-reviews {
  background: #f8f9fa;
  padding: 80px 0;
  border-top: 1px solid #e9ecef;
}

/* Reviews header */
.reviews-header {
  text-align: center;
  margin-bottom: 60px;
}

.reviews-header h2 {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 24px;
  font-size: 36px;
  letter-spacing: -0.02em;
}

.reviews-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.star-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stars {
  color: #fbbf24;
  font-size: 24px;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.review-count {
  font-size: 16px;
  color: #6c757d;
  font-weight: 500;
}

/* Reviews grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

/* Review cards */
.review-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* Review header */
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.reviewer-details {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 4px 0;
}

.review-date {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
}

.review-stars {
  color: #fbbf24;
  font-size: 18px;
  letter-spacing: 1px;
}

/* Review content */
.review-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.review-text {
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  margin: 0;
  font-style: italic;
}

/* Reviews footer */
.reviews-footer {
  text-align: center;
}

.reviews-footer .btn {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.reviews-footer .btn-outline-primary {
  border: 2px solid #667eea;
  color: #667eea;
  background: white;
}

.reviews-footer .btn-outline-primary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Reviews responsive */
@media (max-width: 768px) {
  .customer-reviews {
    padding: 60px 0;
  }

  .reviews-header {
    margin-bottom: 40px;
  }

  .reviews-header h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .stars {
    font-size: 20px;
  }

  .rating-text {
    font-size: 16px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .review-card {
    padding: 24px;
  }

  .reviewer-avatar {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .reviewer-info {
    gap: 12px;
  }

  .review-title {
    font-size: 18px;
  }

  .review-text {
    font-size: 15px;
  }

  .reviews-footer .btn {
    padding: 14px 24px;
    font-size: 15px;
  }
}

/* =============================================================================
   SUBSCRIPTION PAGE STYLES
   ============================================================================= */

/* Subscription container - using flex-dashboard for compact layout */
.subscription-container {
  font-family: "Inter", sans-serif;
}

/* Subscription hero section */
.subscription-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c3136 50%, #343a40 100%);
  padding: 100px 0;
  text-align: center;
  color: white;
  overflow: hidden;
}

.subscription-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="subscription-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23667eea" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23subscription-grain)"/></svg>')
    repeat;
  pointer-events: none;
}

.subscription-hero .section-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

.subscription-hero h1 {
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.subscription-hero .hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.6;
  max-width: 700px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subscription hero accent elements */
.subscription-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #fdcc52);
}

/* Shared account card */
.shared-account-card {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.shared-account-card .card-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.shared-account-card .card-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 12px;
}

.shared-account-card .card-content p {
  color: #3730a3;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Status messages */
.status-message {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.status-message.success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
}

.status-message.error {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
}

.status-message .message-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  flex-shrink: 0;
}

.status-message.success .message-icon {
  background: #22c55e;
  color: white;
}

.status-message.error .message-icon {
  background: #ef4444;
  color: white;
}

.status-message .message-content h4 {
  margin: 0 0 8px 0;
  font-weight: 600;
  font-size: 18px;
}

.status-message.success .message-content h4 {
  color: #166534;
}

.status-message.error .message-content h4 {
  color: #dc2626;
}

.status-message .message-content p {
  margin: 0;
  line-height: 1.5;
}

.status-message.success .message-content p {
  color: #15803d;
}

.status-message.error .message-content p {
  color: #dc2626;
}

/* Invite card */
.invite-card {
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
  border: 1px solid #fed7aa;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.invite-card .invite-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.invite-card .invite-content h4 {
  font-size: 24px;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 12px;
}

.invite-card .invite-content p {
  color: #a16207;
  line-height: 1.6;
  margin-bottom: 20px;
}

.invite-card .invite-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Subscription plans section - compact spacing */
.subscription-plans {
  margin: 20px 0;
}

.subscription-plans h2 {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  font-size: 24px;
  letter-spacing: -0.02em;
  text-align: center;
}

.subscription-plans .section-subtitle {
  font-size: 14px;
  color: #6c757d;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Subscription info notice */
.subscription-info-notice {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 20px;
  margin: 20px auto 24px auto;
  max-width: 800px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.subscription-info-notice .info-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.subscription-info-notice .info-content {
  flex: 1;
}

.subscription-info-notice .info-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1e40af;
  margin: 0 0 8px 0;
}

.subscription-info-notice .info-content p {
  font-size: 14px;
  color: #3730a3;
  line-height: 1.5;
  margin: 0;
}

.subscription-info-notice .info-content strong {
  font-weight: 600;
  color: #1e40af;
}

/* Currency tabs */
.currency-tabs {
  max-width: 600px;
  margin: 0 auto;
}

.tab-nav {
  display: flex;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
}

.tab-button {
  flex: 1;
  padding: 12px 24px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-weight: 500;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-button.active {
  background: white;
  color: #667eea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-button:hover:not(.active) {
  color: #495057;
}

/* Tab content */
.tab-content-container {
  position: relative;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Subscription form card */
.subscription-form-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.plan-selector {
  margin-bottom: 24px;
}

.plan-selector label {
  display: block;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  background: white;
  transition: border-color 0.2s ease;
}

.form-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-subscribe {
  flex: 1;
  min-width: 150px;
}

/* Connection summary - compact spacing */
.connection-summary {
  margin: 20px 0;
}

.summary-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.summary-card .summary-icon {
  font-size: 48px;
  flex-shrink: 0;
}

.summary-card .summary-content {
  flex: 1;
}

.summary-card .summary-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.usage-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}

.usage-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.usage-progress {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  transition: width 0.3s ease;
}

.usage-note {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
  font-style: italic;
}

/* Section headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-header h2 {
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.01em;
}

.btn-refresh {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
}

.refresh-icon {
  font-size: 16px;
}

/* Tables */
.subscriptions-table-container,
.users-table-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.subscriptions-table,
.users-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.subscriptions-table thead th,
.users-table thead th {
  background: #f8f9fa;
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

.subscriptions-table tbody td,
.users-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}

.subscriptions-table tbody tr:last-child td,
.users-table tbody tr:last-child td {
  border-bottom: none;
}

.subscriptions-table tbody tr:hover,
.users-table tbody tr:hover {
  background: #f8f9fa;
}

/* Users table specific fixes */
.users-table .btn-sm {
  padding: 3px 8px;
  font-size: 11px;
  line-height: 1.2;
  border-radius: 4px;
}

/* User status alignment fix */
.user-status {
  display: table-cell;
  vertical-align: middle;
}

.user-status > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-status .status-indicator {
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.user-status .status-text {
  line-height: 1.4;
}

.status-indicator {
  font-size: 16px;
}

.status-text {
  font-weight: 500;
}

.trial-days {
  font-size: 12px;
  color: #dc2626;
  font-weight: 500;
}

/* Status row classes */
.status-active {
  background: rgba(34, 197, 94, 0.05);
}

.status-inactive {
  background: rgba(239, 68, 68, 0.05);
}

.status-trial {
  background: rgba(59, 130, 246, 0.05);
}

.status-expired {
  background: rgba(239, 68, 68, 0.05);
}

.status-accepted {
  background: rgba(34, 197, 94, 0.05);
}

.status-pending {
  background: rgba(245, 158, 11, 0.05);
}

/* User management - compact spacing */
.user-management {
  margin: 20px 0;
}

.user-invite-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  margin-bottom: 32px;
}

.user-invite-card .invite-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.user-invite-card .invite-info p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 24px;
}

.invite-form {
  max-width: 400px;
}

.invite-input-group {
  display: flex;
  gap: 12px;
}

.invite-input-group .form-control {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
}

.invite-input-group .form-control:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.invite-input-group .btn {
  padding: 12px 24px;
  white-space: nowrap;
}

/* User info */
.user-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-info .name {
  font-weight: 500;
  color: #1a1a1a;
}

.user-info .pending-note {
  font-size: 12px;
  color: #f59e0b;
  font-style: italic;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .subscription-hero {
    padding: 80px 0;
  }

  .subscription-hero h1 {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 20px;
  }

  .subscription-hero .hero-subtitle {
    font-size: clamp(16px, 4vw, 18px);
    padding: 0 20px;
  }

  .shared-account-card,
  .invite-card {
    flex-direction: column;
    padding: 24px;
  }

  .shared-account-card .card-icon,
  .invite-card .invite-icon {
    font-size: 24px;
  }

  .subscription-plans h2 {
    font-size: 28px;
  }

  .tab-nav {
    flex-direction: column;
    gap: 4px;
  }

  .subscription-form-card {
    padding: 24px;
  }

  .form-actions {
    flex-direction: column;
  }

  .summary-card {
    flex-direction: column;
    padding: 24px;
  }

  .summary-card .summary-icon {
    font-size: 32px;
  }

  .usage-stats {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .hidden-mobile {
    display: none;
  }

  .subscriptions-table thead th,
  .subscriptions-table tbody td,
  .users-table thead th,
  .users-table tbody td {
    padding: 12px 16px;
    font-size: 14px;
  }

  .user-invite-card {
    padding: 24px;
  }

  .invite-input-group {
    flex-direction: column;
  }

  .invite-input-group .btn {
    width: 100%;
  }
}

/* Tab functionality with JavaScript */
.subscription-container .tab-button {
  cursor: pointer;
}

/* =============================================================================
   LANDING PAGE STYLES
   ============================================================================= */

/* Modern Hero Section */
.modern-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #060606 0%, #343a40 100%);
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../Content/images/analytics-business-charts-34177.min.webp") center/cover;
  opacity: 0.1;
  z-index: 1;
}

.modern-hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 60px;
}

.hero-logo {
  margin-bottom: 40px;
}

.hero-logo img {
  max-width: 200px;
  height: auto;
}

.hero-text h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

.brand-highlight {
  color: #fdcc52;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Navbar brand styling */
.navbar-brand .brand-highlight {
  color: #fdcc52;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
  color: white !important;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 800px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn-hero {
  padding: 20px 40px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #fdcc52, #f39c12);
  color: #1a1a1a;
  border: none;
  box-shadow: 0 8px 32px rgba(253, 204, 82, 0.3);
  transition: all 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(253, 204, 82, 0.4);
  color: #1a1a1a;
  text-decoration: none;
}

.trial-note {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Social proof styling */
.social-proof {
  margin-bottom: 32px;
}

.trust-indicator {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 500;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* CTA buttons container */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.btn-demo {
  padding: 20px 40px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-demo:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  color: white;
  text-decoration: none;
}

/* Platform Icons */
.platform-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}

.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.platform-item span {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.platform-connector {
  font-size: 24px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

/* Enhanced Modern Overview Section */
.modern-overview {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  position: relative;
  overflow: hidden;
}

.modern-overview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23667eea" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.overview-content {
  position: relative;
  z-index: 2;
}

/* Overview Header */
.overview-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.overview-header h2 {
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.overview-subtitle {
  font-size: 22px;
  color: #4a5568;
  line-height: 1.6;
  font-weight: 400;
  margin: 0;
}

/* Statistics Container */
.stats-container {
  margin-bottom: 80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #667eea;
  margin-bottom: 12px;
  line-height: 1;
  font-family: "Inter", sans-serif;
}

.stat-label {
  font-size: 16px;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Benefits Showcase */
.benefits-showcase {
  margin-bottom: 80px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-highlight {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.benefit-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-highlight:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 70px rgba(102, 126, 234, 0.15);
}

.benefit-highlight:hover::before {
  opacity: 1;
}

.benefit-icon-wrapper {
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

/* Icon classes for benefits */
.icon-lightning::before {
  content: "⚡";
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

.icon-layers::before {
  content: "📊";
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

.icon-shield::before {
  content: "🔒";
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

.benefit-highlight:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.benefit-content {
  position: relative;
  z-index: 2;
}

.benefit-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.benefit-content p {
  color: #4a5568;
  line-height: 1.7;
  margin: 0;
  font-size: 16px;
}

/* Trust Section */
.trust-section {
  text-align: center;
}

.trust-content {
  max-width: 800px;
  margin: 0 auto;
}

.trust-text {
  font-size: 18px;
  color: #4a5568;
  margin-bottom: 32px;
  font-weight: 500;
}

.certifications {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
}

.cert-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.cert-icon {
  width: 20px;
  height: 20px;
  background: #22c55e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.cert-badge span:last-child {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

/* Section Header (for other sections) */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 20px;
  color: #6c757d;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-overview {
    padding: 60px 0;
  }

  .overview-header {
    margin-bottom: 60px;
  }

  .overview-header h2 {
    font-size: 36px;
  }

  .overview-subtitle {
    font-size: 18px;
  }

  .stats-container {
    margin-bottom: 60px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-item {
    padding: 30px 15px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-label {
    font-size: 14px;
  }

  .benefits-showcase {
    margin-bottom: 60px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .benefit-highlight {
    padding: 32px 24px;
  }

  .benefit-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .benefit-content h3 {
    font-size: 20px;
  }

  .benefit-content p {
    font-size: 15px;
  }

  .certifications {
    gap: 16px;
  }

  .cert-badge {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Benefits Summary Section */
.benefits-summary {
  padding: 80px 0;
  background: #f8f9fa;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-item {
  background: white;
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.benefit-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.benefit-content p {
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
  font-size: 16px;
}

/* FAQ Section */
.modern-faq {
  padding: 80px 0;
  background: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.faq-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.4;
}

.faq-item p {
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
  font-size: 16px;
}

/* Benefits and FAQ responsive */
@media (max-width: 768px) {
  .benefits-summary,
  .modern-faq {
    padding: 60px 0;
  }

  .benefits-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .benefit-item {
    padding: 32px 24px;
  }

  .benefit-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin-bottom: 20px;
  }

  .benefit-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .benefit-content p {
    font-size: 15px;
  }

  .faq-item {
    padding: 24px;
  }

  .faq-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .faq-item p {
    font-size: 15px;
  }
}

/* Modern Features Section */
.modern-features {
  padding: 80px 0;
  background: #f8f9fa;
}

.features-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features-showcase {
  display: flex;
  justify-content: center;
}

.screenshot-container {
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.3s ease;
}

.screenshot-container:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.screenshot-container img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.feature-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.feature-content p {
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* Enhanced Video Section */
.modern-video {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.modern-video::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>')
    repeat;
  pointer-events: none;
}

.video-content {
  position: relative;
  z-index: 1;
}

.video-header {
  text-align: center;
  margin-bottom: 60px;
}

.video-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #2c3e50;
}

.video-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.video-showcase {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.video-main {
  position: relative;
}

.video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
  background: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.2);
}

.video-wrapper lite-youtube {
  border-radius: 20px;
}

.video-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  gap: 10px;
}

.video-badge span {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.video-badge .duration {
  background: rgba(102, 126, 234, 0.9);
}

.video-features {
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  height: fit-content;
}

.features-header {
  margin-bottom: 30px;
}

.features-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.features-header p {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.5;
}

.feature-list {
  margin-bottom: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f3f4;
}

.feature-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.video-feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.feature-text p {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.4;
  margin: 0;
}

.video-cta {
  display: flex;
  justify-content: center;
}

.btn-video,
.btn-docs {
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-video {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
}

.btn-video:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-docs {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-docs:hover {
  background: #667eea;
  color: white;
}

.video-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.video-stats .stat-item {
  text-align: center;
}

.video-stats .stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 5px;
}

.video-stats .stat-label {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
}

/* Video Section Responsive Design */
@media (max-width: 1024px) {
  .video-showcase {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .video-features {
    order: -1;
  }
}

@media (max-width: 768px) {
  .modern-video {
    padding: 60px 0;
  }

  .video-header h2 {
    font-size: 2rem;
  }

  .video-subtitle {
    font-size: 1.1rem;
  }

  .video-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .video-features {
    padding: 20px;
  }
}

/* Modern Security Section */
.modern-security {
  padding: 80px 0;
  background: #f8f9fa;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}

.security-visual {
  display: flex;
  justify-content: center;
}

.security-visual img {
  max-width: 300px;
  height: auto;
}

.security-content h2 {
  font-size: 36px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.security-content > p {
  font-size: 18px;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 32px;
}

.security-features {
  margin-bottom: 40px;
}

.security-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.security-check {
  width: 24px;
  height: 24px;
  background: #22c55e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.security-item span {
  color: #374151;
  line-height: 1.5;
}

.trust-badges {
  display: flex;
  gap: 32px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.trust-item span {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
}

/* Modern Testimonials Section */
.modern-testimonials {
  padding: 80px 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.testimonials-content h2 {
  font-size: 36px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.testimonials-content > p {
  font-size: 18px;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 32px;
}

.trust-features {
  margin-bottom: 40px;
}

.trust-badges .trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trust-check {
  width: 24px;
  height: 24px;
  background: #3b82f6;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.trust-item span {
  color: #374151;
  line-height: 1.5;
}

.certification-badge {
  display: flex;
  justify-content: center;
}

.testimonials-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 20px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  margin: 0;
}

.testimonial-card blockquote p {
  font-size: 16px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-card cite {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
  font-style: normal;
}

/* Modern CTA Section */
.modern-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c3136 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: #fdcc52;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content > p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cta-note {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-weight: 500;
}

/* Landing page responsive */
@media (max-width: 1200px) {
  .features-container,
  .security-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .features-showcase {
    order: 2;
  }

  .features-grid {
    order: 1;
  }
}

@media (max-width: 768px) {
  .modern-hero {
    min-height: 80vh;
    padding: 60px 0;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .btn-hero {
    padding: 16px 32px;
    font-size: 18px;
  }

  .platform-icons {
    gap: 20px;
  }

  .platform-connector {
    display: none;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 18px;
  }

  .modern-overview,
  .modern-features,
  .modern-video,
  .modern-security,
  .modern-testimonials,
  .modern-cta {
    padding: 60px 0;
  }

  .features-grid {
    gap: 24px;
  }

  .feature-card {
    padding: 24px;
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .screenshot-container {
    transform: none;
    padding: 16px;
  }

  .video-wrapper {
    padding: 16px;
  }

  .security-content h2,
  .testimonials-content h2,
  .cta-content h2 {
    font-size: 28px;
  }

  .security-content > p,
  .testimonials-content > p,
  .cta-content > p {
    font-size: 16px;
  }

  .testimonials-cards {
    gap: 20px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* =============================================================================
   SHARED UTILITY CLASSES
   ============================================================================= */

/* Text utilities */
.text-muted {
  color: #6c757d !important;
}

.text-center {
  text-align: center;
}

/* Spacing utilities */
.mb-0 {
  margin-bottom: 0 !important;
}
.mb-1 {
  margin-bottom: 8px !important;
}
.mb-2 {
  margin-bottom: 16px !important;
}
.mb-3 {
  margin-bottom: 24px !important;
}
.mb-4 {
  margin-bottom: 32px !important;
}

.mt-0 {
  margin-top: 0 !important;
}
.mt-1 {
  margin-top: 8px !important;
}
.mt-2 {
  margin-top: 16px !important;
}
.mt-3 {
  margin-top: 24px !important;
}
.mt-4 {
  margin-top: 32px !important;
}

/* Button utilities */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
  color: white;
  text-decoration: none;
}

/* Card utilities */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.card-body {
  padding: 24px;
}

.card-header {
  padding: 16px 24px;
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
  font-weight: 600;
  color: #1a1a1a;
}

/* Alert utilities */
.alert {
  padding: 16px 20px;
  margin: 16px 0;
  border-radius: 8px;
  border: 1px solid transparent;
}

.alert-info {
  background-color: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

.alert-warning {
  background-color: #fffbeb;
  border-color: #fed7aa;
  color: #92400e;
}

.alert-danger {
  background-color: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

.alert-success {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}
